Concepts

Agents

An agent is the actor. It is the unit of identity, governance, versioning, and execution โ€” everything else (tools, connectors, skills, knowledge) is something an agent is granted or attached to.

The definition: Agent.md

An agent is defined by a markdown file with YAML frontmatter. The frontmatter declares capability; the body is the agent's role and instructions.

---
name: exec-assistant
description: Schedules meetings and keeps the calendar tidy.
model: default              # a tier (default/cheap/strong) or a concrete model id
tools:                      # built-in tools + connectors this agent may call
  - calendar
  - current_time
skills:                     # reusable playbooks
  - schedule-meeting
knowledge:                  # attached knowledge collections (enables search_knowledge)
  - team-handbook
memory: user                # user | agent | user+agent | none
autonomy: supervised        # supervised | trusted | autonomous
---

# Role
You are an executive assistant. Book meetings, protect focus time, and
always confirm a proposed slot with the user before creating an event.
FieldPurpose
modelA routing tier (default, cheap, strong) or a concrete model id. Tiers let the org re-point models without editing agents.
toolsDeclarable built-in tools and connectors. This is the grant โ€” nothing outside this list is callable.
skillsAttached playbooks. Also switches on load_skill and run_skill_script.
knowledgeKnowledge collections. Switches on search_knowledge and the citation contract.
memoryMemory scope. Switches on remember / recall.
mcp_serversReferences to registered MCP servers in the Tools Library.
autonomyHow much the agent may do without a human. Capped by the org's autonomy floor.

Authoring a new agent

There are three ways to create an agent, and all of them produce the same thing โ€” a versioned Agent.md:

Whichever you use, the agent is created in your personal workspace at version 1, and a security scan runs on it automatically. Nothing is shared until you promote it. The usual path from here is: author โ†’ test and certify in the Playground โ†’ promote through team and org rings (Build & promote).

The file is the source of truth No authoring surface hides a private format. Everything an agent is โ€” model, tools, skills, knowledge, autonomy โ€” lives in Agent.md, which is what makes agents diffable, reviewable, and portable.

Kinds of agent

KindDescription
nativeThe normal case: an Agent.md running on the platform.
orchestratorBuilt-in supervisor. Plans a goal, routes each step to the best visible agent, then synthesizes the result. It delegates rather than calling tools itself.
a2aA remote agent registered from a signed agent card, invoked over the A2A protocol. It gets the same runs, budget, and kill-switch parity as a native agent.
architectA meta-agent that helps author new Agent.md definitions. It drafts into a buffer and validates โ€” it never saves to the registry itself.

Rings and visibility

Every agent lives in a ring, which determines who can see and run it: personal โ†’ team โ†’ org โ†’ public. Visibility is enforced in the data layer, not in the UI: a repository query simply cannot return an agent the caller may not see. This holds everywhere โ€” catalog search, the orchestrator's router, and the API.

Versions

Agent versions are immutable. Editing an agent creates a new version; the agent row carries a pointer to the current one.

Promotion: personal โ†’ shared

Sharing an agent with your team or org is a reviewed promotion, not a toggle. The pipeline gates in order โ€” see Build & promote for the evaluation sets and scanning behind these gates:

  1. Propose

    The owner proposes the personal agent for a target ring.
  2. Automated gates

    The scan must have passed; the agent must meet its evaluation floors (a minimum number of cases, and โ€” for write-capable agents โ€” refusal, injection, and red-team categories); the eval run must be green.
  3. Human review

    A reviewer sees the gate reports and the candidate definition, then approves, requests changes, or rejects.
  4. Approve

    Approval copies the agent and version into the target ring and freezes its skill references to exact versions, so the shared copy can't drift when the author keeps editing their original.
  5. Staged rollout

    Optionally approve to a pilot group first; the agent stays invisible to everyone else until it's rolled out.

Autonomy

Autonomy decides which actions need a human. The effective level is the lower of what the agent declares and the org's policy floor.

LevelBehaviour
supervisedEvery write parks for approval. The default.
trustedOrdinary writes run; destructive operations still park.
autonomousWrites run unattended โ€” subject to explicit approval policies, which always win.
Approval policies always win An explicit approval policy (or an agent flagged requires_approval) parks the action regardless of autonomy level. Autonomy can only relax the baseline write-parking, never an explicit rule.

Runs

Every invocation creates a run with a strict state machine โ€” only declared transitions are allowed, and every status write goes through that gate.

StatusMeaning
queued โ†’ runningCreated, then picked up by a worker with a heartbeat lease.
awaiting_approvalParked on a write. Approve or deny to continue.
awaiting_inputParked on a question to the user, or a missing connector credential.
pausedA long-running background run, resumable from its last checkpoint.
succeeded / failed / canceledTerminal. A worker that dies mid-run has its lease expire and is reaped to failed, never left hanging.

Lifecycle controls