Minimal Example
Full Example
Required Fields
| Field | Type | Description |
|---|---|---|
name | string | Unique agent identifier (lowercase, hyphens allowed) |
runtime | string | python3 or nodejs20 |
module | string | Entry point file (agent.py or index.js) |
entrypoint | string | Handler function name |
Resource Fields
| Field | Type | Default | Description |
|---|---|---|---|
memory | int | 512 | Memory limit in MB |
timeout | int | 300 | Max execution time in seconds |
Scaling Fields
All scaling fields are optional.| Field | Type | Default | Description |
|---|---|---|---|
min_workers | int | 1 | Minimum warm workers |
max_workers | int | 10 | Maximum workers |
scale_up_threshold | float | 3.0 | Scale up when queue/workers > this |
scale_down_threshold | float | 0.5 | Scale down when queue/workers < this |
idle_timeout_seconds | int | 300 | Remove idle workers after this |
Runtime Options
Python
- Python 3.10+
- Include
requirements.txtfor dependencies - Dependencies installed on first deploy
Node.js
- Node.js 20.x
- Include
package.jsonfor dependencies - Uses npm install on first deploy
Examples
Minimal (zero cold starts)
High throughput
Long-running tasks
Validation
Deploy validates your agent.yaml:namecontains invalid charactersruntimenot recognizedmodulefile not foundentrypointfunction not found
Quick Start
Deploy your first agent →

