CLI
Use the Teleon CLI to authenticate, deploy, and manage your agents
Installation
Credentials are stored in ~/.teleon/config.json.
Quick reference
| Command | Description |
|---|---|
teleon version | Print version |
teleon login | Authenticate with the platform |
teleon init | Scaffold a new project |
teleon dev start | Start local dev server |
teleon exec run <file> | Execute an agent from a file |
teleon deploy | Deploy agents to the platform |
teleon push | Push code updates to a live deployment |
teleon logs | View agent logs (local or deployed) |
teleon agents list | List registered agents |
teleon helix status | Show Helix runtime status |
teleon cortex stats <agent> | Show Cortex memory stats |
teleon sentinel status | Show Sentinel safety status |
Authentication
teleon login
Authenticate with the Teleon platform.
Options
| Flag | Default | Description |
|---|---|---|
--api-key | API key (skip browser flow) | |
--browser / --no-browser | --browser | Open browser for login |
API key formats: tlk_live_* (production), tlk_test_* (test).
teleon auth status
Check authentication status.
teleon auth whoami
Show current authenticated user info.
teleon auth logout
Remove stored credentials.
Project initialization
teleon init
Scaffold a new Teleon project from a template.
Development
teleon dev start
Start the local development server with automatic agent discovery.
Dev server endpoints
| Endpoint | Description |
|---|---|
GET / | Dashboard UI |
GET /health | Health check |
GET /agents | List all discovered agents |
GET /agents/{name} | Agent details and docs |
POST /agents/{name}/execute | Execute an agent |
GET /docs | Swagger UI |
Execution
teleon exec run
Execute an agent directly from a Python file.
Options
| Flag | Description |
|---|---|
--agent-name | Agent to execute (required if file has multiple agents) |
--input-data | Input as JSON string |
--input-file | Input from a JSON file |
Deployment
teleon deploy
Deploy agents from the current directory to the Teleon platform.
Options
| Flag | Default | Description |
|---|---|---|
--env | production | Environment: production or preview |
--project | Project name |
Subcommands
| Subcommand | Description |
|---|---|
teleon deploy status | Show deployment statuses |
teleon deploy delete <name> | Delete a deployment |
teleon deploy rollback | Roll back to a previous deployment version |
teleon push
Push code changes to an already-running deployment.
Options
| Flag | Short | Description |
|---|---|---|
--deployment | -d | Deployment ID to push to |
--agent | -a | Agent name to push |
--force | -f | Skip confirmation prompt |
--message | -m | Deployment message/note |
Subcommands
| Subcommand | Description |
|---|---|
teleon push status | Check push operation status |
teleon push history | View push history |
Logs
teleon logs
View agent logs (local or remote).
Agents
teleon agents
Manage and inspect Teleon agents.
Helix
teleon helix
Manage Helix runtime and scaling.
Cortex
teleon cortex
Manage Cortex memory.
Sentinel
teleon sentinel
Manage Sentinel safety and compliance.
Configuration
Precedence
- Command-line flags
- Environment variables
teleon.yaml~/.teleon/config.json- Defaults
Environment variables
| Variable | Description |
|---|---|
TELEON_API_KEY | API key for SDK (used by deployed agents) |
TELEON_AUTH_TOKEN | Auth token (used by CLI for platform API) |
TELEON_ENV | Environment: dev, staging, production |
TELEON_PLATFORM_URL | Platform API URL |
TELEON_LOGIN_URL | Login page URL |
TELEON_LLM_MODEL | Default LLM model |
OPENAI_API_KEY | OpenAI API key |
ANTHROPIC_API_KEY | Anthropic API key |
DATABASE_URL | PostgreSQL connection string |
REDIS_URL | Redis connection string |
Notes on production deployments
For production deployments, you’ll typically configure runtime behavior via the helix={...} block in @client.agent(...).
Production environment variables (Helix)
When running on the Teleon platform, Helix production features may use these environment variables:
| Variable | Description |
|---|---|
TELEON_DEPLOYMENT_ID | Deployment identifier |
TELEON_API_KEY | API key for authentication |
TELEON_PLATFORM_URL | Platform API URL |
TELEON_METRICS_INTERVAL | Metrics reporting interval (seconds) |
TELEON_METRICS_BATCH_SIZE | Max metrics batch size |
Troubleshooting
command not found: teleon
Not authenticated
No agents found
Make sure your agent file uses the @client.agent or @agent decorator.