New to Line? Start with the Quickstart to build and deploy your first agent.
Core Concepts
| Component | Purpose |
|---|---|
Agent | Controls the input/output event loop via a process method |
LlmAgent | Built-in agent that wraps 100+ LLM providers via LiteLLM |
Tools | Functions your agent can call—database lookups, handoffs, web search |
VoiceAgentApp | HTTP server that connects your agent to Cartesia’s audio infrastructure |
introduction when a call starts, then responds to whatever the user says using the LLM.
Features
- Real-time interruption support — Handles audio interruptions and turn-taking out-of-the-box.
- Tool calling — Connect to databases, APIs, and external services
- Multi-agent handoffs — Route conversations between specialized agents
- Web search — Built-in tool for real-time information lookup
Add Capabilities
Look up information
Handoff to another agent
Search the web
Code Examples
| Example | Description |
|---|---|
| Basic Chat | Simple conversational agent |
| Form Filler | Collect structured data via conversation |
| Multi-Agent | Hand off between specialized agents |
| Chat Supervisor | Fast chat model with powerful reasoning escalation |
| Echo Tool | Custom handoff tool implementation |
Integrations
| Integration | Description |
|---|---|
| Exa Web Research | Real-time web search |
| Browserbase | Fill web forms via voice |