Skip to content

Agent.update

PATCH /{namespace}/agents/{id}

Changes the given properties of an Agent.

Noun
Agent
Mode
do
Event
Agent.updated

Update changes the given properties of an Agent. It is inherited: every Noun has get, list, create, update and delete.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Agent.
instructionstextWhat the Agent does and how.
modelstringThe 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.updated.
  • 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.update

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.