- What’s in an agent — every option, explained.
- Create an agent via the UI — the options available in the chat UI today.
- Create an agent via the API — the full agent spec, with every field.
What’s in an agent
Each option below is part of the agent definition. The Set in line on each shows where you can configure it today — the chat UI, the API, or both.Model
Model
temperature, max_tokens, top_p, top_k, reasoning_effort, and more — which are forwarded to the provider as-is.Set in: UI (which model) · API (model + parameters)Instructions
Instructions
MCP servers (tools)
MCP servers (tools)
- Which tools are enabled or disabled — expose everything, only read-only tools, or a specific list.
- Preload — load a server’s full tool definitions upfront, or (default) discover them on demand to keep context lean. See Deferred Tool Loading. The preload toggle is also in the UI.
- Tool approval — pause before sensitive tool calls until a human approves. See below.
Tool approval (API only)
Tool approval (API only)
["@write", "@destructive"]), the agent pauses for approval before running it. Read-only tools run autonomously.
The chat UI pauses on a sensitive tool call with Allow / Deny.
require_approval_for_tools).Set in: APISkills
Skills
SKILL.md instruction packs that teach the agent specialized procedures — querying a database, following an escalation playbook, drafting release notes. Attach them by name; the agent loads the full skill only when it decides the skill is relevant.Attaching skills requires the agent’s sandbox to be enabled.Set in: UI + APISandbox
Sandbox
Generative UI
Generative UI

A Generative UI response with a chart rendered inline in chat.
Ask clarifying questions
Ask clarifying questions

The chat UI renders the question and options as a selectable card.
Dynamic sub-agents
Dynamic sub-agents

The agent fans out to parallel subagents, each shown as its own trace under Agent steps.
Context management (API only)
Context management (API only)
Iteration limit (API only)
Iteration limit (API only)
Response format (API only)
Response format (API only)
Seed messages (API only)
Seed messages (API only)
Create an agent via the UI
- Open TrueForge and use the chat UI to create or edit an agent.
- Select a model from the providers you configured under Settings → Models.
- Attach connectors (MCP servers) the agent should use — and set each server’s preload toggle if you want its tools loaded upfront.
- Attach skills if the agent should follow specialized procedures (requires sandbox enabled).
- Write focused instructions — role, audience, and behavior.
- Set the Capabilities toggles (all on by default): Generative UI, Ask clarifying questions, and Dynamic sub-agents.
- Save the agent so it appears in the Agent Library.

Save a reusable agent from the chat UI.
Create an agent via the API
The SDK and HTTP API expose every option through the agent spec. You either save the spec as a named, reusable agent and reference it by name, or pass it inline when you open a session. All fields aresnake_case, and every field except model has a default.
Save and run an agent
Connect the client
token.Save the spec as a named agent
agents.create (POST /api/v1/agents) stores the spec under a unique name and returns the agent with its server-generated id. The name is immutable and must be unique — a duplicate returns 409.Open a session and run turns
agents methods:
The full agent spec
Themanifest you save (or the inline spec) is the agent spec below — every field, with defaults.
model
The only required field.
model.params recognizes max_tokens, temperature, top_p, top_k, parallel_tool_calls (boolean), and reasoning_effort (string). Extra keys are allowed and forwarded to the provider as-is.
instructions
Set via: UI + API
Optional string. The agent’s system prompt — its role, behavior, and constraints.
mcp_servers
Optional array. Each entry attaches a configured MCP server by name:
@read-only, @write, and @destructive selectors are resolved from the tool annotations published by the MCP server.
skills
Set via: UI + API
Optional array of name-only references to configured skills:
., _, and - (max 64 characters). Attaching skills requires config.sandbox.enabled: true.
config
Runtime behavior. Every field has a default, so config can be omitted entirely.
config.sandbox
config.context_management
response_format
Set via: API
Optional. Constrains the agent’s final output: { "type": "text" } (default), { "type": "json_object" }, or { "type": "json_schema", "json_schema": { ... } }.