Skip to content

Latest commit

Β 

History

History
170 lines (119 loc) Β· 5.21 KB

File metadata and controls

170 lines (119 loc) Β· 5.21 KB

Agent OS Documentation

Welcome to the Agent OS documentation. Agent OS is a kernel architecture for governing autonomous AI agents with deterministic policy enforcement.

Quick Navigation

πŸš€ Getting Started

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

πŸ““ Interactive Notebooks

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

πŸ“š Tutorials

πŸ—οΈ Architecture

πŸ”§ Reference

πŸ“‹ RFCs

🎯 Case Studies


Installation

# Core package
pip install agent-os

# With all features
pip install agent-os-kernel[full]

One-Command Quickstart

macOS/Linux:

curl -sSL https://get.agent-os.dev | bash

Windows (PowerShell):

iwr -useb https://get.agent-os.dev/win | iex

Hello World

from 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")

Key Concepts

Kernel vs User Space

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              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)         β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Signals

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

Policies define what agents can and cannot do:

policies:
  - name: read_only
    deny:
      - action: file_write
      - action: database_write

IDE Extensions

IDE Status Link
VS Code βœ… Available Marketplace
JetBrains βœ… Available Plugin
Cursor βœ… Available Extension
GitHub Copilot βœ… Available Extension

Policy Templates

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

Support


Kernel-level safety for AI agents.

GitHub Β· Examples