Skip to main content
Building your voice agent with Claude Code, Cursor, Windsurf, Codex, or a prompt-based builder like Lovable or v0? Give the tool access to AssemblyAI’s live docs and a system prompt that encodes the non-obvious gotchas, and it writes code that runs the first time instead of hallucinating fields.

Connect the docs

Point your AI coding agent at AssemblyAI’s live docs so it writes correct, current code instead of guessing from stale training data. Claude Code, Cursor, Windsurf, Codex, or any MCP client — add the AssemblyAI docs MCP server, https://mcp.assemblyai.com/docs. For Claude Code:
Lovable, v0, and other prompt-based builders — link the docs in your prompt, e.g. https://www.assemblyai.com/docs/voice-agents/voice-agent-api. Then describe what you want. To build the browser agent from the Quickstart, paste:

Give it a system prompt

Drop the prompt below into your assistant’s system prompt or rules file. It encodes the non-obvious gotchas the API reference doesn’t lead with, points the assistant at the right reference pages for everything else, and gives it sensible defaults for audio, turn detection, and tool design.