Skip to main content
workers

Minimal Example

Full Example


Required Fields


Resource Fields


Scaling Fields

All scaling fields are optional.

Runtime Options

Python

  • Python 3.10+
  • Include requirements.txt for dependencies
  • Dependencies installed on first deploy

Node.js

  • Node.js 20.x
  • Include package.json for dependencies
  • Uses npm install on first deploy

Examples

Minimal (zero cold starts)

High throughput

Long-running tasks


Validation

Deploy validates your agent.yaml:
Common errors:
  • name contains invalid characters
  • runtime not recognized
  • module file not found
  • entrypoint function not found

Quick Start

Deploy your first agent →