Skip to content
AgentOS
DocumentationCore concepts

Get started

Core concepts

Workspaces, agents, runs, steps, tools, policies and scopes.

A small set of objects appears throughout the product. This page defines each of them and shows how they relate.

Workspace

A workspace is the top-level container for agents, integrations, policies, memory and logs. It lives in one data region and has its own members, roles and environments. Most companies use a single workspace with a staging and a production environment.

Agent

An agent is a versioned definition of a job: which model profile to use, what the instructions are, what starts it, which tools it may call and what its limits are. Deploying a change creates a new version, and earlier versions stay available for rollback. See Define an agent.

Run and steps

A run is one execution of an agent, from trigger to final output. It is made of steps, and each step is recorded with its input, output, duration and cost.

StepWhat it records
TriggerThe event, schedule or API call that started the run.
ModelA request to a model profile, with token counts.
ToolA call to an MCP tool, and the policy decision that allowed it.
MemoryA read from or a write to a memory scope.
SandboxCode executed in a sandbox, with its output and network attempts.
ApprovalA pause while a person decides, and who decided.
OutputThe result returned to the caller or written to a system.

A run is always in one of six states.

StatusMeaning
runningSteps are executing.
awaiting_approvalPaused until an approver decides or the approval times out.
succeededEvery step completed.
failedA step failed after its retries. The run can be resumed from that step.
blockedA policy denied an action the run needed.
cancelledStopped by a person or through the API.

Tools and integrations

Tools come from MCP servers connected to the workspace. A tool is addressed as server.tool, for example zendesk.get_ticket. Each tool has a workspace-wide permission, and an agent only receives the tools listed in its manifest. See MCP integrations.

Policy

A policy is a set of rules evaluated before an action runs. Each rule has one of three effects: allow, require_approval or deny. When no rule allows an action, it is denied. See Permissions and policies.

Memory scope

Memory is stored in scopes. A scope sets who shares the entries, how long they are kept and what is redacted before they are stored. See Memory.

Sandbox

A sandbox is a short-lived, isolated environment for code that an agent writes. It starts from a template with no credentials and no network access. See Sandboxed execution.

Environment

Environments separate configuration, credentials and traffic. An agent version is promoted from one environment to the next, and each API key belongs to a single environment.

Members and roles

People sign in through your identity provider. Each member has one role.

RoleCan do
OwnerFull access, including billing and deleting the workspace.
AdminManage members, integrations, policies and settings.
BuilderCreate and deploy agents in the environments they are granted.
ApproverApprove or reject actions routed to them or their groups.
ViewerRead-only access to agents, runs and the audit log.