Prerequisites
- A free Cartesia account (sign up here)
- Python 3.9+
- An LLM API key (Anthropic, OpenAI, Google, etc.)
- uv (Python package and project manager)
Install the CLI
Install uv
Install uv, a fast Python package manager to manage dependencies and virtual environments.Create your agent
Create a new project and install dependencies. uv will automatically set up a virtual environment and manage your packages.main.py:
Test locally
Start your agent server.Deploy
Link your project and deploy.Set environment variables
Configure your API key for the deployed agent..env file:
Make a call
Call your agent from your phone.Next steps
Add tools
Connect databases, APIs, and external services
Configure prompts
Customize system prompts and conversation flow
Calls API
Connect web clients via WebSocket
Agent Builder
Build agents visually in the Playground