octos-org/octos
Octos - Agentic Operating Systems
What it solves
Octos is an embeddable AI agent harness kernel written in Rust. It provides the core execution loop, context management, memory, and coordination logic needed to build AI agent applications without requiring developers to rebuild these foundational runtime components from scratch.
How it works
Octos operates as a reusable kernel with a programmable protocol boundary. It can be compiled directly into an application or hosted behind the Octos UI Protocol (OUP), a JSON-RPC 2.0 interface. This allows the kernel to handle agent execution and runtime state while the application owns the user interface and product workflow. The system is composed of several Rust crates, including octos-agent for execution and sandboxing, octos-memory for persistent retrieval, and octos-pipeline for managing workflow graphs.
Who it’s for
It is designed for developers building coding applications, agent-powered desktop apps, research services, workflow engines, or fleets of cooperating agents who want a robust, native execution layer.
Highlights
- Programmable Protocol (OUP): A JSON-RPC interface that allows human-facing clients or other agents to control the runtime via WebSockets or stdio.
- Context & Memory Management: Built-in support for context budget management, compaction (summarization), and a hybrid index for long-term memory.
- Durable Sessions: Supports session identity, conversation branching, and rollback, allowing clients to reconstruct state after a reload.
- Crate-based Architecture: Modular Rust libraries for LLM routing, plugin integration, and task supervision.
- Multi-Agent Coordination: Capabilities for managing child agents, independent peers with separate worktrees, and supervised background tasks.
- Extensible Tooling: Support for filesystem, shell, and MCP tools with configurable permission profiles and human-in-the-loop approval flows.
Related
- Project
- Project
- Project
- Project
- Project