# AgentOS

An agent runtime built from narrow, single-purpose Rust worker binaries that each register functions and triggers on a shared engine, which handles routing, retries, state and traces for all of them.

AgentOS reduces an agent runtime to three primitives: a Worker is one binary per domain that connects to the engine over WebSocket, a Function is a named handler a Worker registers, and a Trigger binds a Function to an HTTP route, a cron schedule, or a pub/sub topic. The engine itself owns routing, retries, state and tracing, so individual Workers stay narrow.

A reference deployment boots 64 Rust workers and one Python worker registering 257 functions, reachable either through a terminal UI with a chat view and a worker-catalog browser, or directly over HTTP. Workers are grouped by responsibility, such as reasoning, state, coordination and execution, and communicate only through the engine's function-trigger contract, with no shared in-process state between them.

It is written in Rust and TypeScript and licensed under Apache-2.0.

Website: https://agentsos.sh
