Overview
Deploy your agents withziet deploy. Your code goes live with API endpoints, CLI access, and dashboard UI.
https://api.ziet.ai/agents/{agent_id}/run
Quick Deploy
1
Write your agent
2
Deploy
3
Test it
Deploy Commands
Deploy All Agents
Deploy all agents in your project:Deploy Specific Agent
Deploy only one agent:Deploy to Environment
Specify production or development:Deploy Options
Project Structure
Recommended layout:requirements.txt.
Configuration (Optional)
requirements.txt
List your Python dependencies:Environment Variables
Set secrets in the dashboard:- Dashboard
- CLI
- Go to Settings → Environment Variables
- Click Add Variable
- Enter key and value
- Click Save
- Deploy (variables are automatically available)
Environments
Development vs Production
Test in development before going to production:Versioning
Automatic Versioning
Each deployment creates a new version:Rollback
Roll back to a previous version:Best Practices
Use environment variables for secrets
Use environment variables for secrets
Never hardcode API keys:
Test locally first
Test locally first
Use separate environments
Use separate environments
Keep dependencies minimal
Keep dependencies minimal
Only include what you need in
requirements.txt:Troubleshooting
Deployment fails
Deployment fails
Solutions:
Missing dependencies
Missing dependencies
Solution: Add to Then redeploy:
requirements.txtEnvironment variables not working
Environment variables not working
Solutions:
- Check dashboard: Settings → Environment Variables
- Verify exact name:
- Redeploy: