Server SDKs
Build AI agents, control calls, send messages, and more
Append content to an existing section.
Title of the section to update.
Content to add.
Text to append to the section body.
A single bullet point to add.
Multiple bullet points to add.
AgentBase — Returns this for method chaining.
AgentBase
this
1import { AgentBase } from '@signalwire/sdk';23const agent = new AgentBase({ name: 'support', route: '/support' });4agent.promptAddSection('Rules', {5 bullets: ['Be polite.'],6});7agent.promptAddToSection('Rules', { bullet: 'Never lie.' });8agent.promptAddToSection('Rules', {9 bullets: [10 'Keep responses concise',11 'Ask clarifying questions when needed',12 ],13});14await agent.serve();