Skip to content

Agent.create

POST /{namespace}/agents

Creates an Agent.

Noun
Agent
Mode
do
Event
Agent.created

Create makes a new Agent from the inputs below. It is inherited: every Noun has get, list, create, update and delete.

Inputs

InputTypeRequiredDescription
instructionstextrequiredWhat the Agent does and how.
modelstringrequiredThe model the Agent runs on.
toolsstring[]The tools the Agent may call.
skillslist of SkillThe Skills it loads.
memorystringOne of tenant (one Memory per Customer Tenant) or startup (one Memory for the Startup).
maxStepsintegerThe most steps one Task may take.
budgetmoneyThe most one Task may spend; the Mandate’s Limits apply as well.
handoffslist of RoleThe Roles it hands work to.

Outputs

OutputTypeRequiredDescription
agentAgentrequiredThe Agent.

Effects

  • Emits Agent.created.
  • Two-way: try, send, do.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Agent.create

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.