Welcome to the Agent OS documentation. Agent OS is a kernel architecture for governing autonomous AI agents with deterministic policy enforcement.
| Guide | Time | Description |
|---|---|---|
| 5-Minute Quickstart | 5 min | Minimal setup, maximum speed |
| 30-Minute Deep Dive | 30 min | Comprehensive walkthrough |
| First Governed Agent | 15 min | Build a complete agent |
| Cheatsheet | - | Quick reference card |
Learn by doing with our Jupyter notebooks:
| Notebook | Time | Description |
|---|---|---|
| Hello Agent OS | 5 min | Your first governed agent |
| Episodic Memory | 15 min | Persistent agent memory |
| Time-Travel Debugging | 20 min | Replay agent decisions |
| Verification | 15 min | Detect hallucinations |
| Multi-Agent Coordination | 20 min | Agent trust protocols |
| Policy Engine | 15 min | Deep dive into policies |
- Using Message Bus Adapters - Connect agents with Redis, Kafka, NATS
- Creating Custom Tools - Build safe tools for agents
- Kernel Internals - How the kernel works
- Framework Integrations - LangChain, OpenAI, CrewAI
- Dependencies - Package dependencies
- Security Specification - Security model
- FAQ - Common questions and answers
- RFC-003: Agent Signals - POSIX-style signals
- RFC-004: Agent Primitives - Core primitives
- Carbon Auditor - Fraud detection example
- DeFi Sentinel - Attack detection
- Grid Balancing - Multi-agent coordination
# Core package
pip install agent-os
# With all features
pip install agent-os-kernel[full]macOS/Linux:
curl -sSL https://get.agent-os.dev | bashWindows (PowerShell):
iwr -useb https://get.agent-os.dev/win | iexfrom agent_os import KernelSpace
kernel = KernelSpace(policy="strict")
@kernel.register
async def my_agent(task: str):
return f"Processed: {task}"
# Run with kernel governance
result = await kernel.execute(my_agent, "analyze data")βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β USER SPACE (Agent Code) β
β Your agent code runs here. Can crash, hallucinate. β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β KERNEL SPACE (Agent OS) β
β Policy Engine checks every action before execution β
β If policy violated β SIGKILL (non-catchable) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Agent OS uses POSIX-style signals for control:
| Signal | Description |
|---|---|
SIGKILL |
Terminate immediately (cannot be caught) |
SIGSTOP |
Pause for human review |
SIGCONT |
Resume execution |
Policies define what agents can and cannot do:
policies:
- name: read_only
deny:
- action: file_write
- action: database_write| IDE | Status | Link |
|---|---|---|
| VS Code | β Available | Marketplace |
| JetBrains | β Available | Plugin |
| Cursor | β Available | Extension |
| GitHub Copilot | β Available | Extension |
Pre-built templates for common use cases:
| Template | Use Case |
|---|---|
| secure-coding | General development |
| data-protection | PII handling |
| enterprise | Production deployments |
# Use a template
agentos init my-project --template secure-coding