Skip to main content
agents() returns the registered-agents client. A registered agent’s name works in a job’s agents[].name like a built-in.

create

Register an agent from an install script’s text, or from a local directory. run_command runs with sh -c at the task’s working directory; what it can rely on, and the registration limit, are on agents.

list, get, upsert, delete

Your agents, one agent, replace one without a gap, or delete one. Past jobs keep the agent they recorded. upsert creates when the name is free and replaces when it is not, consuming no new slot; it is a full replacement, so an omitted env becomes empty.