Documentation Index
Fetch the complete documentation index at: https://docs.castari.com/llms.txt
Use this file to discover all available pages before exploring further.
cast deploy
Deploy an agent to Castari.Usage
Arguments
| Argument | Description | Required |
|---|---|---|
slug | Agent slug | No (read from castari.json if in project directory) |
Examples
Deploy from a Castari project directory
If you’re inside a directory with acastari.json file, just run:
slug field from castari.json. If no slug field is present, it derives the slug from the name field.
Deploy a specific agent
my-agent, pulling code from its configured git repository.
What Happens During Deploy
Agent Configuration
Your agent needs acastari.json file:
Redeploying
Runningcast deploy on an already-deployed agent will redeploy it:
- Previous sandbox is destroyed
- New sandbox is created
- Latest code is deployed
Errors
| Error | Cause | Fix |
|---|---|---|
Agent not found | Invalid slug | Check cast agents list for correct slug |
castari.json not found | Not in a project directory | Specify the slug explicitly or cd to your project |
npm install failed | Dependency error | Check package.json, run npm install locally first |
Authentication required | Not logged in | Run cast login |
See Also
- cast init — Create a new agent from a template
- cast invoke — Invoke a deployed agent
- Your First Agent — Understand agent structure