agents() or hosted().agents for registered custom agents. Built-in harness capabilities come from meta(). Examples use a configured client. Python examples run inside an async function.
create
Register a custom agent from an install script or local directory.Agent. See agent fields.
Parameters and behavior
Parameters and behavior
The build has internet access but no secrets. Its dependencies must be publicly fetchable, and installation must leave executables under
$PREFIX/bin. Read custom agents for the run contract.list
Browse registered agents visible in the chosen scope.AgentPage when awaited; an Agent per iteration.
Parameters and behavior
Parameters and behavior
Page fields are
items, nextCursor, hasMore in TypeScript; items, next_cursor, has_more in Python.get
Read a registered agent by name.Agent.
Parameters and behavior
Parameters and behavior
name is a required string. This reads registered agents; use meta() to discover built-in harnesses.upsert
Create or fully replace the registration under a name.Agent after replacement.
Parameters and behavior
Parameters and behavior
The first argument is the required name. Remaining fields match
create, except name is not repeated in the TypeScript input.This replaces the entire registration: omitting env clears it. The owning organization cannot change. Existing registrations can be updated without a delete-and-create gap.delete
Remove a registered agent.void / None).
Parameters and behavior
Parameters and behavior
name is required. Past jobs retain their recorded agent identity.Agent fields
Agent response
Agent response
Both SDKs use the same fields; Python returns an
Agent dataclass. source identifies how it was registered. The response does not contain the install script or source archive.Fields

