Skip to content
AgentOS
DocumentationDefine an agent

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.

agents/support-triage.yamlYAML
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: 600

Fields

FieldDescription
nameUnique within the workspace. Lowercase letters, numbers and hyphens.
descriptionOne sentence. Shown in lists and in approval requests.
modelThe model profile to use: fast, balanced or reasoning.
instructionsWhat the agent should do, inline or as a path to a file.
triggersWhat starts a run.
toolsThe tools the agent may call, written as server.tool.
policiesOptional. Policies attached to this agent in addition to the workspace defaults.
memoryThe scopes the agent can read and write.
sandboxOptional. The sandbox template used when the agent runs code.
limitsConcurrency, 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.

ProfileIntended for
fastLow-latency work such as classification and routing.
balancedGeneral-purpose reasoning and drafting.
reasoningMulti-step analysis for high-stakes work.

Model usage is billed by your model provider, through your own accounts. See pricing.

Triggers

TriggerStarts a run when
webhookA connected system sends an event, such as zendesk/ticket.created.
eventAn event arrives on a subscribed stream, such as pagerduty/incident.triggered.
scheduleA cron expression matches. Schedules use UTC.
APIA client calls the runs endpoint. Every agent can be started this way. See the API overview.
AgentAnother 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.

LimitEffect
concurrencyThe number of runs in progress at once. Further runs wait in a queue.
max_durationA run that exceeds it is stopped and marked as failed. Time spent waiting for an approval does not count.
daily_budget_usdModel 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.