Guides
How scripts, knowledge bases, and voice settings come together to make a working agent.
An agent in Samwad is made up of four pieces:
The script is plain language, not code. Describe the agent's goal, its tone, and how it should react in a few common situations. Think of it as onboarding a new phone rep, not writing a state machine.
Upload documents — pricing sheets, product FAQs, policy pages — under Agent → Knowledge Base. The agent references these when a caller asks something the script doesn't cover directly, instead of guessing or going silent.
Keep source documents current — the agent is only as accurate as what it's given. Stale pricing or outdated policies in the knowledge base will surface in live calls.
Pick a voice and default language per agent. Samwad supports Hindi, English, and code-mixed conversation, and will follow the caller if they switch languages mid-call. Adjust speaking pace and tone (formal, friendly, brisk) to match how your business already talks to customers.
Configure what happens at the edges of a conversation:
Run test calls from the agent editor before flipping to live — covering the happy path, an off-script question, and the handoff condition. See the Quickstart for how to trigger a test call from the API as well.