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.

Proposed V1 architecture

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).

Fig. 01Dashed borders are trust zones. AgentOS never holds your tool credentials and never proxies model traffic in V1.

What runs where.

The split is deliberate: it keeps secrets out of Corelia and lets you adopt AgentOS without moving your agents.

Responsibilities of the control plane and the execution environment
ConcernControl plane (Corelia)Execution environment (yours)
Agent codeVersion manifest onlyRuns here, in your process, container or pod
Tool credentialsNever receivedHeld by your tool functions
Model callsRecords tokens and latency reported by the SDKMade directly to your provider with your key
Tool decisionsEvaluates policy, returns allow / deny / require approvalSDK asks before each wrapped call and enforces the answer
LifecycleStates, leases, timeouts, retries, approvalsRunner heartbeats and checks for cancellation
IsolationWorkspace isolation of recordsProcess 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 development

The 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 development

Every 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 development

Before 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 development

A 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 development

Events 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 development

Token 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

Execution states
StateMeaningLeaves to
createdAccepted and validated; version pinned; idempotency key storedqueued, running (inline), failed (pre-check deny)
queuedWaiting for a runnerleased, cancelled, timed_out
leasedA runner holds a 60 s lease, renewed by heartbeatrunning, or back to queued if the lease lapses
runningThe agent loop is activeawaiting_approval, retry_scheduled, any terminal state
awaiting_approvalHeld on an approval request; wall clock runs, active time pausesrunning, failed (approval_expired), cancelled
retry_scheduledAttempt failed, retry allowed and no write step completedqueued (new attempt)
succeeded · failed · cancelled · timed_outTerminal. 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.

Integration categories and status
CategoryHow it worksStatus
Agent frameworksAny Python agent through SDK wrappers. Framework adapters map native tool calls automatically.SDK in development Adapters planned
Model providersAny provider your code calls. The SDK records provider-reported tokens; you set prices in a price book.In development
Tools and internal APIsAny Python function you wrap with a declared side effect.In development
NotificationsEmail for approvals. Slack, Teams and signed webhooks later.Email in development Others planned
Observability backendsOpenTelemetry import and export.Planned
TypeScriptThe 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.

Illustrative trace excerpt
Excerpt of an illustrative execution trace
SeqStepDecisionTimelineDuration
03Model call: plan—1.42 s
04metrics.query allow380 ms
05logs.search allow910 ms
08deploys.rollback (held) require approval2 min 14.0 s
09Approval decided: approved——
10deploys.rollback require approval4.80 s
  • model call
  • tool call
  • held for approval
Fig. 02

Same agent, three environments, three answers.

Bindings are per environment, so development can be permissive while production writes wait for a person.

Read the security model
Computed from sample policies
Effective decision for each tool, per environment (sample policies)
ToolSide effectdevelopmentstagingproduction
metrics.queryread allow allow allow
logs.searchread allow allow allow
deploys.listread allow allow allow
runbook.lookupread allow allow allow
deploys.rollbackwrite allow require approval require approval
status_page.postexternal deny deny deny
Fig. 03

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.

Developer overview
Conceptual
# 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)

Later 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.