@agent
decorator is used to define agent metadata and information about the runtime environment that will be provisioned to execute it.
@agent
decorator is the name
argument. The name
must be unique per workspace; changing the name
will create a new agent or overwrite an existing agent if the name
already exists.
Arguments
The name of the agent.
The plugins to install in the agent. Supported values:
CLAUDE_CODE
.CLAUDE_CODE
adds Node to your agent’s runtime and installs the Claude CLI.
The environment variables that are required to run your agent. Automations cannot be enabled when these are not defined.
The runtime to use for the agent. Supported values:
python3.9
, python3.10
, python3.11
, python3.12
.