Expand description
POST /api/v1/agent/create, the Agents tool’s create: a named agent made from a seeded template, the way the
new-agent picker makes one (agentdefcreatefromtemplate), so an agent can add to My Agents without the operator’s
hands. It is not a worker: it has no leader, takes no place among the caller’s live workers, can be given a seat
(Agents set_seat) and is started with Agents open.
Where it runs is asked for as in spawn (container::decide): runtime, container_image and container
limits. Making an agent starts nothing and spends nothing, but it adds an agent the user will see, so it asks the
user as spawn does, unless the user’s own turn asked for it.
Functions§
- create 🔒
- discard_
created 🔒 - Remove an agent whose set-up failed after it was made, as the
deleteagentRPC deletes one. - find_
template 🔒 - The seeded template
wantednames: its id, slug or name. - handle_
agent_ 🔒create - make 🔒
- Make the agent, as
placementsays, and link its account; removed again if it can’t be finished. - message 🔒
- pick_
route 🔒 - The route and model a created agent is asked to run on. A created agent has no leader to inherit from; the
harness is its template’s, so
harnesscan only confirm it.