AgentOS is built on three simple primitives that work together to create a powerful, polyglot agent operating system.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/iii-hq/agentos/llms.txt
Use this file to discover all available pages before exploring further.
The Three Primitives
Every component in AgentOS is built using these three fundamental concepts:Worker
A process that connects to the iii-engine and registers functions
Function
A callable unit of work with a unique ID and description
Trigger
An event that invokes a function (HTTP, queue, cron, etc.)
How It Works
Every component is a Worker that registers Functions and binds them to Triggers. Functions call each other viatrigger() regardless of programming language.
Real-World Example: Chat Flow
Here’s how a complete chat request flows through the system:Actual Code Example
Here’s the real code from the agent-core worker showing the complete flow:Key Benefits
No Vendor Lock-in
Every capability is a plain function. No frameworks, no magic.
Polyglot by Design
Write workers in Rust, TypeScript, or Python. They all communicate seamlessly.
Hot-Swappable
Replace any function without touching other components.
Testable
Every function can be tested independently. 2,506 tests across all languages.
Architecture Layers
AgentOS is structured in layers, each implemented as workers:Every layer connects to the same iii-engine bus. There’s no special hierarchy - just functions calling functions.
| Layer | Languages | Purpose | Example Workers |
|---|---|---|---|
| Hot Path | Rust | Performance-critical operations | agent-core, memory, llm-router, security, wasm-sandbox |
| Control Plane | Rust | Multi-tenant orchestration | realm, hierarchy, directive, mission, ledger, council, pulse, bridge |
| Application | TypeScript | Iteration speed, integrations | api, tools, workflows, swarm, knowledge-graph, session-replay |
| ML | Python | Machine learning workloads | embedding (SentenceTransformers) |
Next Steps
Workers
Learn how to create workers in Rust, TypeScript, and Python
Functions
Deep dive into function registration and invocation
Triggers
Explore HTTP, queue, cron, and pubsub triggers