Open Source โ€ข MIT License โ€ข Production Ready

Agent OS

The Linux Kernel for AI Agents

Current AI frameworks let LLMs decide everythingโ€”including whether to follow safety rules. Agent OS inverts this: the kernel decides, the LLM just computes. Zero policy violations. Guaranteed.

0% Safety Violations
<5ms Enforcement Latency
6+ Framework Integrations
4 Core Modules
$ pip install agent-os-kernel

Why Agent OS?

The difference between hoping your agent behaves and guaranteeing it.

โŒ

The Problem: Hope-Based Safety

system_prompt = """
You are a helpful assistant.
Please don't delete important files.
Be careful with sensitive data.
Always ask before taking action.
"""
# ๐Ÿคž Hope the LLM complies...
Result: 26.67% safety violations in testing
โœ…

The Solution: Kernel Enforcement

from agent_os import KernelSpace

kernel = KernelSpace(policy="strict")

@kernel.register
async def my_agent(task):
    # Kernel intercepts every action
    # Blocked actions never execute
    return await process(task)
Result: 0% policy violations guaranteed

The OS Analogy

Agent OS applies proven operating system principles to AI governance.

User Space (Untrusted)
Your Agent Code
Can crash, hallucinate, try dangerous thingsโ€”but the kernel intercepts first.
โ†“ Every action passes through the kernel โ†“
Kernel Space (Trusted)
Agent OS
Policy Engine Flight Recorder Signal Dispatch CMVK IATP
If agent violates policy โ†’ SIGKILL (non-catchable). No exceptions.

Get Started in 2 Minutes

1

Install

pip install agent-os-kernel
2

Create a Governed Agent

from agent_os import KernelSpace

kernel = KernelSpace(policy="strict")

@kernel.register
async def my_agent(task: str):
    # Your agent logic here
    # Kernel enforces policies automatically
    return f"Completed: {task}"
3

Execute Safely

import asyncio

result = asyncio.run(kernel.execute(my_agent, "analyze data"))
print(result)  # "Completed: analyze data"
Full Quickstart Guide โ†’