Overview
Cartesia’s CLI enables developers to create, deploy and manage their Voice Agents through the command line.Installation
Install and download from our servers:Quick Start
1
Login with API key
Authenticate with your Cartesia API key.
To make an API key, go to play.cartesia.ai/keys and select your organization.
2
Create an agent
Create a new agent from a template.
3
Initialize your agent
Give your agent a name and link it to your organization.
4
Deploy your agent
Deploy your agent to make it available in the playground.
Features
Initialize a Project
Link any directory to a new or existing Cartesia agent:Chat with Your Agent
Test the text reasoning logic for your voice agent locally. Terminal 1. Run your text logic fastapi server:Commands
Authentication
To get an API key, go to play.cartesia.ai/keys, select your organization, and generate a new key.Voice Agents
Deploy your agent to Cartesia cloud.Deployments
Deployments are versions of your agent running on Cartesia’s cloud. When we receive a new deployment, cartesia servers will rebuild the virtual environment, instantiate your project, and perform a health check to ensure it is ready to receive calls. To see all of your deployments:Environment Variables
Create, list, and remove environment variables for your agent. Set environment variables for your agent:.env file: