Agent Manifest
A versioned, JSON-safe definition of steps, variables, conditions, loops, tools, outputs, and limits.
Open source agent infrastructure
Define an agent once, then run it with TypeScript or Python. Run locally, embed it in your application, or send it to a remote worker. You choose the models, tools, and infrastructure; Agent Runtime handles the steps, checkpoints, approvals, and progress events.
Apache-2.0 Node.js 22.20.0+ for TypeScript Python 3.11+
schemaVersion: '1.0'
id: release-brief
name: Release brief
model:
provider: openai
model: gpt-5.6
variables:
- key: topic
type: string
requiresOverride: true
- key: audience
type: string
value: customers
steps:
- id: draft
type: prompt
systemPrompt: Write concise release briefs.
prompt: Draft a brief about {{ topic }} for {{ audience }}.
outputVariable: draft
- id: review
type: prompt
prompt: |-
Improve this brief without adding claims:
{{ draft }}
includeInFinalOutput: trueDependency-aware execution
Before a run begins, Agent Runtime analyzes step outputs and variable reads to build an ordered execution plan. With parallel mode enabled, eligible independent branches run concurrently. Dependent steps wait for their inputs, and results commit in manifest order. Sequential execution remains the default.
Portable contracts
The agent describes its steps, variables, tools, and outputs. The run provides invocation values. The host connects models, credentials, state, generated files, and compute.
A versioned, JSON-safe definition of steps, variables, conditions, loops, tools, outputs, and limits.
A small invocation contract that references an agent and supplies validated runtime variable overrides.
Model providers, credentials, connections, persistence, compute, sandboxes, and telemetry remain under host control.
Included capabilities
Resolve declarative steps and variable dependencies into a deterministic execution plan with safe fan-out and fan-in.
OpenAI, Anthropic, Google, xAI, Groq, Cohere, and OpenAI-compatible endpoints through the AI SDK adapter.
Connect application tools and MCP servers. The host sets credentials and tool allowlists, and can pin approved MCP tool definitions.
Give agents access to a code base, document library, or scratch area. The host chooses visible files and read or write access; agents can only narrow that access.
Credential resolution, connection modes, tool allowlists, read/write narrowing, and host authorization hooks are enforced by the runtime.
Checkpoints, blocked runs, restart points, workspace commit points, and fenced execution attempts. TypeScript and Python can resume the same run.
Ordered lifecycle, model, tool, checkpoint, artifact, and text-delta events for CLIs, applications, and telemetry.
Run workspace operations in an isolated sandbox with command policies, limits, and execution records. Docker, Linux bubblewrap, and Modal providers are available.
Set a cumulative token budget for a run. Suspend before the next model call when reported usage reaches the limit, then resume with a higher limit.
Execution adapters
Execution adapters provide a consistent interface for submission, status, ordered events, results, resume, and cancellation. Move between local, child-process, and remote execution without changing the Agent Manifest.
Agent Run Manifest
Runtime variables must match declarations in the Agent Manifest. A run can override a default, satisfy a required input, or leave the agent-level value unchanged. It cannot introduce undeclared variables.
schemaVersion: '1.0'
agent:
ref: ./release-brief.agent.yaml
variables:
- key: topic
value: Agent Runtime public release
- key: audience
value: developersReliability and boundaries
Explicit state transitions, bounded operations, and recoverable execution make agent behavior easier to understand and operate.
Release status
Build and run the same portable agents in TypeScript or Python. Version 1.0.0 saves progress in the same format in both runtimes, so a run started in one language can resume in the other. Durable limits, blocked runs, and restart points make interrupted work easier to recover.
Developer documentation
Start with the TypeScript CLI or embed either runtime in an application. Choose a persistent run store when runs need to survive a process restart. The Python guide includes installation from PyPI and showcase examples.
Install the CLI, supply a model API key, and run a complete YAML example.
Start with defineAgent and createAgentRuntime. Add a persistent run store when runs need to survive a process restart.
Configure a workspace, choose a sandbox, and set the access and commands an agent can use.
Install from PyPI, embed the Python API, or run the Python showcase.
Continue with memory and context, the adapter catalog, or the contract reference.
Standalone by design
Clear Ideas Agent Runtime is a standalone open-source project for developers building agent execution into their own applications and infrastructure. Hosted Clear Ideas uses the same runtime foundation for Clear Ideas Agents, but it is not required to install, configure, or operate the runtime.