Modular • Independent • Composable

Modules

Building Blocks for AI Governance

Agent OS is built on a modular architecture where each component solves a specific problem and can be used independently or together. Mix and match based on your needs.

Modular Architecture

Four layers of abstraction—from primitives to applications.

Layer 4: Applications
Your AI Agents
LangChain, CrewAI, AutoGen, custom agents—governed by Agent OS.
Layer 3: Framework
Agent OS Kernel
KernelSpace, Policy Engine, Signal Dispatch, Flight Recorder
Layer 2: Infrastructure
Core Modules
CMVK EMK IATP AMB
Layer 1: Primitives
Foundation
Cryptographic primitives, vector stores, message queues, consensus protocols

Module Independence Principle

Each module is a standalone package with zero cross-dependencies.

Monolithic Approach

# You want memory, but get everything
pip install mega-ai-framework  # 500MB
# Pulls in: ML models, databases, 
# message queues, vector stores...
Problem: Bloated dependencies, version conflicts

Agent OS Approach

# Install only what you need
pip install agent-os-emk  # Just memory
pip install agent-os-cmvk # Just verification
# Each module: < 50KB
Result: Minimal footprint, no conflicts

Installation

Install the full kernel or individual modules—your choice.

1

Full Kernel (All Modules)

# Install everything
pip install agent-os-kernel

# Includes: CMVK, EMK, IATP, AMB + KernelSpace
2

Individual Modules

# Cross-Model Verification
pip install agent-os-cmvk

# Episodic Memory
pip install agent-os-emk

# Inter-Agent Trust Protocol
pip install agent-os-iatp

# Agent Message Bus
pip install agent-os-amb
3

With Optional Backends

# EMK with PostgreSQL support
pip install agent-os-emk[postgres]

# AMB with Kafka support
pip install agent-os-amb[kafka]

# CMVK with all LLM providers
pip install agent-os-cmvk[all]

Module Comparison

Choose the right modules for your use case.

Module Problem Solved Use When Size
CMVK Hallucination detection High-stakes decisions, fact verification ~25KB
EMK Audit trails & debugging Compliance, debugging, reproducibility ~30KB
IATP Agent impersonation Multi-agent systems, zero-trust environments ~20KB
AMB Agent coordination Distributed agents, async workflows ~35KB

Combining Modules

Modules compose naturally for powerful combinations.

from agent_os import KernelSpace
from agent_os.cmvk import verify
from agent_os.emk import Memory
from agent_os.iatp import Identity
from agent_os.amb import MessageBus

# Initialize modules
kernel = KernelSpace(policy="strict")
memory = Memory(agent_id="finance-agent")
identity = Identity.create("finance-agent")
bus = MessageBus(backend="redis")

@kernel.register
async def finance_agent(task: str):
    # Verify critical decisions with CMVK
    decision = await verify(
        prompt=f"Should we approve: {task}",
        models=["gpt-4", "claude-3"],
        threshold=0.9
    )
    
    # Log to immutable memory
    await memory.store(
        content=f"Decision: {decision.result}",
        metadata={"consensus": decision.confidence}
    )
    
    # Sign and broadcast result
    signed_msg = identity.sign({"result": decision.result})
    await bus.publish("decisions", signed_msg)
    
    return decision.result