Agents
An agent is a definition stored in your workspace. Running it combines the definition with the run’s input, the conversation so far, and whatever the agent is allowed to use.
| Field | Meaning |
|---|---|
slug | URL name, unique in the workspace: 3–64 characters of a-z, 0-9 and -, starting with a letter. Cannot change. |
display_name, description | For people. |
instructions | The system instructions (up to 32,000 characters). |
model | Model at the Ngamia model gateway. Defaults to the workspace’s default_model, then the platform default. |
knowledge | Gives the agent the knowledge_search tool over this workspace’s knowledge. Answers then cite sources. |
tools | Business tools by exact tool_id@version (up to 32). Only tools the platform operator has enabled are offered. |
memory | Remembers facts about each end user across runs, when the memory engine is enabled. |
max_steps | Model calls per run, 1–64 (default 8). |
max_total_tokens | Token budget per run, 1,000–1,000,000 (default 60,000). |
archived | Archived agents keep their definition but cannot start runs. |
version | Increases on every change. |
Changing an agent safely
PUT /v1/agents/{slug} replaces the whole definition. Send the version you
edited: if someone saved a newer version first, you get 409 conflict and
nothing changes. Reload, merge, and save again.
Runs already in progress keep the definition they started with. New runs pick up a change within 30 seconds.
Citations
With knowledge: true, the agent searches before answering facts. The model
must cite each supported claim. The runtime then:
- removes citations to passages that were not actually retrieved;
- numbers the real ones
[1],[2]and lists them under Sources:.
Tools that the policy marks as needing a person’s approval are refused in this release. Read-only and low-risk tools run. See Status and limits.