Platform · How it works
A control plane in the path of every tool call.
AgentOS is a control plane, not an agent framework. Your agents keep running in your infrastructure with your credentials. AgentOS registers each version, coordinates executions, decides which tool calls may run, holds sensitive ones for approval, and keeps an ordered record of what happened.
In developmentEverything on this page describes the proposed V1 design. Nothing is in production yet.
Three trust zones, seven flows.
Select a flow to see which components it connects and exactly what crosses the boundary.
Your infrastructure
- Your applicationSubmits tasks, reads results2
- Agent code + Corelia SDKDecorators around tools, a context per run
- RunnerLeases queued executions you host
- Tool functions + credentialsNever leave your infrastructure
Model & tool providers
- Model providersCalled with your keys
- Internal APIs & SaaS toolsCalled by your tool functions
Corelia AgentOS control plane
- Agent registryAgents, versions, tools, deployments
- Execution orchestratorLifecycle, leases, timeouts, retries2
- Tool governanceVersioned policies, decisions
- Human approvalRequests, expiry, immutable decisions
- ObservabilityOrdered events, spans, errors
- Usage & auditTokens, cost estimates, audit log
Flow 2 · Your application → Execution orchestrator
Submit task
Your application creates an execution with an agent, environment, input and idempotency key. The active version for that environment is pinned to the execution.
What crosses Task input as you send it (summaries by default).
What runs where.
The split is deliberate: it keeps secrets out of Corelia and lets you adopt AgentOS without moving your agents.
| Concern | Control plane (Corelia) | Execution environment (yours) |
|---|---|---|
| Agent code | Version manifest only | Runs here, in your process, container or pod |
| Tool credentials | Never received | Held by your tool functions |
| Model calls | Records tokens and latency reported by the SDK | Made directly to your provider with your key |
| Tool decisions | Evaluates policy, returns allow / deny / require approval | SDK asks before each wrapped call and enforces the answer |
| Lifecycle | States, leases, timeouts, retries, approvals | Runner heartbeats and checks for cancellation |
| Isolation | Workspace isolation of records | Process and network isolation are yours in V1 |
Six responsibilities, each with a boundary.
Each lists what V1 is designed to do, and what it explicitly will not do.
01
Agent registration
In developmentThe SDK sends a manifest the first time a new configuration runs: model settings, declared tools with side effects, limits and an optional git reference. Identical manifests map to the same immutable version.
In V1
- Agents and immutable versions
- Content-hash deduplication
- Auto-deploy to development only
Not in V1
- Agent marketplace or templates
- Editing agent code from the dashboard
02
Execution orchestration
In developmentEvery task becomes an execution with a pinned version, a state machine and attempts. Queued executions are leased to runners you host, renewed by heartbeat, and timed out by the control plane.
In V1
- Inline and queued modes
- Leases, heartbeats, timeouts, cancellation
- Execution-level retry when no write step completed
Not in V1
- Multi-agent graphs or DAG workflows
- Managed execution workers (planned as AgentGrid)
03
Tool governance
In developmentBefore each wrapped tool call, the SDK asks for a decision. The policy version bound to the agent and environment answers allow, deny or require approval with the matching rule. Writes fail closed if AgentOS is unreachable.
In V1
- Ordered rules with argument conditions
- Execution limits: steps, tool calls, duration, estimated cost
- Versioned policies with diffs
Not in V1
- Arbitrary code in policies
- Content inspection of model reasoning
04
Human approvals
In developmentA require-approval decision creates a durable request. The execution is held, the approver sees the exact call and arguments, and the immutable decision is returned to the waiting code.
In V1
- Approval queue with expiry
- Reason required on rejection
- Email notification
Not in V1
- Approvals in Slack or Teams (planned)
- Two-person approval (planned)
05
Tracing and telemetry
In developmentEvents carry a per-attempt sequence number so the timeline is ordered even when batches arrive late. Missing sequence numbers are shown as gaps rather than hidden.
In V1
- Model calls, tool calls, decisions, approvals, retries, errors
- Nested spans
- Failure groups and a changes feed
Not in V1
- OpenTelemetry import/export (planned)
- Generated failure explanations (planned, always labelled)
06
Usage reporting
In developmentToken counts come from what your provider reports. Cost is an estimate from a price book you edit, versioned so that old estimates stay explainable.
In V1
- Usage by agent, version, environment and tenant
- Latency and failure rates
- Price-book versions on every estimate
Not in V1
- Reselling or marking up model tokens
- Budgets with enforcement (planned)
Every execution has one of ten states.
Terminal states are succeeded, failed, cancelled and timed out. Failures always carry a reason.
created→queued→leased→running⇄awaiting_approval→succeeded
| State | Meaning | Leaves to |
|---|---|---|
created | Accepted and validated; version pinned; idempotency key stored | queued, running (inline), failed (pre-check deny) |
queued | Waiting for a runner | leased, cancelled, timed_out |
leased | A runner holds a 60 s lease, renewed by heartbeat | running, or back to queued if the lease lapses |
running | The agent loop is active | awaiting_approval, retry_scheduled, any terminal state |
awaiting_approval | Held on an approval request; wall clock runs, active time pauses | running, failed (approval_expired), cancelled |
retry_scheduled | Attempt failed, retry allowed and no write step completed | queued (new attempt) |
succeeded · failed · cancelled · timed_out | Terminal. Failures carry a reason such as tool_timeout, policy_denied or runner_lost. | A manual retry creates a new linked execution |
Tool and model integrations, stated honestly.
V1 has one supported integration: the Python SDK. Everything else is either something your code already does, or planned.
| Category | How it works | Status |
|---|---|---|
| Agent frameworks | Any Python agent through SDK wrappers. Framework adapters map native tool calls automatically. | SDK in development Adapters planned |
| Model providers | Any provider your code calls. The SDK records provider-reported tokens; you set prices in a price book. | In development |
| Tools and internal APIs | Any Python function you wrap with a declared side effect. | In development |
| Notifications | Email for approvals. Slack, Teams and signed webhooks later. | Email in development Others planned |
| Observability backends | OpenTelemetry import and export. | Planned |
| TypeScript | The same primitives as the Python SDK. | Planned |
One timeline, with the decision on every row.
The trace joins what observability tools see (model calls) with what usually goes unrecorded: the policy decision, the approval wait, and why a retry did or did not happen.
| Seq | Step | Duration |
|---|---|---|
| 03 | Model call: plan | 1.42 s |
| 04 | metrics.query | 380 ms |
| 05 | logs.search | 910 ms |
| 08 | deploys.rollback (held) | 2 min 14.0 s |
| 09 | Approval decided: approved | — |
| 10 | deploys.rollback | 4.80 s |
- model call
- tool call
- held for approval
Same agent, three environments, three answers.
Bindings are per environment, so development can be permissive while production writes wait for a person.
| Tool | Side effect | development | staging | production |
|---|---|---|---|---|
metrics.query | read | allow | allow | allow |
logs.search | read | allow | allow | allow |
deploys.list | read | allow | allow | allow |
runbook.lookup | read | allow | allow | allow |
deploys.rollback | write | allow | require approval | require approval |
status_page.post | external | deny | deny | deny |
Decorators in, runner optional.
Start inline in the service you already run. Move long-running or approval-heavy work to a queued runner when you need leases and retries.
# Conceptual: the Corelia SDK is in development
import corelia
agent = corelia.agent(
name="incident-triage",
model={"provider": "provider-a", "name": "large-2025", "temperature": 0.2},
limits={"max_steps": 20, "max_duration_s": 900, "max_est_cost_usd": 0.50},
)
@agent.tool(side_effect="read", idempotent=True, timeout_s=10)
def logs_search(service: str, query: str, minutes: int = 30):
return my_logs_client.search(service, query, minutes) # your code, your credentials
@agent.tool(side_effect="write", idempotent=False, timeout_s=60)
def deploys_rollback(service: str, to_version: str):
return my_deploy_client.rollback(service, to_version)# Conceptual: a runner leases queued executions from AgentOS
pip install corelia # not yet published
export CORELIA_API_KEY="ck_test_…" # runner-scoped key
corelia run worker:agent --environment productionLater modules share the same records.
Two possible extensions are on the roadmap. Neither exists, and neither has a release date.
Corelia AgentGrid Planned
Managed, isolated workers that run agent code for teams who don't want to host runners. A managed runner would lease work exactly like yours.
Corelia AgentShield Planned
Deeper governance: short-lived credentials minted per tool call, policy test suites, organisation-wide policies. It may remain part of AgentOS rather than a separate product.
See the architecture in motion.
The demo runs a sample agent through every flow on this page, including a policy gate and a failed tool call.