Get started
Define an agent
The agent manifest: model, instructions, triggers, tools and limits.
An agent is defined in a manifest. The manifest is what gets reviewed, versioned and deployed, whether you write it by hand or build it in the console.
name: support-triagedescription: Classify inbound tickets and draft a first reply.model: balancedinstructions: prompts/support-triage.md triggers: - webhook: zendesk/ticket.created - schedule: "*/15 * * * *" # sweep for unassigned tickets tools: - zendesk.get_ticket - zendesk.add_comment - knowledge-base.search memory: scopes: [tenant, agent] retention: 180d limits: concurrency: 50 max_duration: 10m daily_budget_usd: 600Fields
| Field | Description |
|---|---|
name | Unique within the workspace. Lowercase letters, numbers and hyphens. |
description | One sentence. Shown in lists and in approval requests. |
model | The model profile to use: fast, balanced or reasoning. |
instructions | What the agent should do, inline or as a path to a file. |
triggers | What starts a run. |
tools | The tools the agent may call, written as server.tool. |
policies | Optional. Policies attached to this agent in addition to the workspace defaults. |
memory | The scopes the agent can read and write. |
sandbox | Optional. The sandbox template used when the agent runs code. |
limits | Concurrency, maximum run duration and a daily budget. |
Model profiles
Agents ask for a profile, not a specific model. Which provider and model serve each profile is a workspace setting, so you can change providers or add a fallback without editing agents.
| Profile | Intended for |
|---|---|
fast | Low-latency work such as classification and routing. |
balanced | General-purpose reasoning and drafting. |
reasoning | Multi-step analysis for high-stakes work. |
Model usage is billed by your model provider, through your own accounts. See pricing.
Triggers
| Trigger | Starts a run when |
|---|---|
webhook | A connected system sends an event, such as zendesk/ticket.created. |
event | An event arrives on a subscribed stream, such as pagerduty/incident.triggered. |
schedule | A cron expression matches. Schedules use UTC. |
| API | A client calls the runs endpoint. Every agent can be started this way. See the API overview. |
| Agent | Another agent calls this one as a tool. |
Limits
Limits are enforced by the platform, outside the model, so an agent cannot talk its way past them.
| Limit | Effect |
|---|---|
concurrency | The number of runs in progress at once. Further runs wait in a queue. |
max_duration | A run that exceeds it is stopped and marked as failed. Time spent waiting for an approval does not count. |
daily_budget_usd | Model spend per day. A policy decides what happens when it is reached. |
Versions and rollout
Every deployment creates a new version. A new version can start on a share of traffic while the current one serves the rest. Promote it when the results hold up, or roll back in one step. Each run records the version that served it.
Before promoting a version, replay recent runs against it and compare the outputs with what the current version produced.
Build one in the console
The new agent form in the demo console builds the same manifest step by step and shows the result before anything is deployed.