Server SDKs
Build AI agents, control calls, send messages, and more
Add a subsection to an existing section.
Title of the parent section.
Subsection heading.
Optional subsection content.
Subsection body text.
Subsection bullet points.
AgentBase — Returns this for method chaining.
AgentBase
this
1import { AgentBase } from '@signalwire/sdk';23const agent = new AgentBase({ name: 'support', route: '/support' });4agent.promptAddSection('Capabilities', {5 body: 'You can help with the following:',6});7agent.promptAddSubsection('Capabilities', 'Orders', {8 body: 'Look up order status, process returns and exchanges.',9});10agent.promptAddSubsection('Capabilities', 'Billing', {11 body: 'Check account balances and explain recent charges.',12});13await agent.serve();