stereOS is a Linux-based operating system purpose-built for AI agents, developed by Paper Computer Co. and written primarily in Nix. The project takes a hardened, minimal approach to creating machine images called mixtapes that bundle a stripped-down Linux system with specific AI agent harnesses. The repository is classified by GitGenius across multiple domains including stereo vision, depth estimation, image processing, computer vision, camera calibration, 3D reconstruction, machine learning, and neural networks, though the core focus remains on providing a secure operating system foundation for autonomous agents.
The stereOS architecture centers on a minimal system design with orchestration daemons that manage agent lifecycle and provide control plane functionality. The system defines two primary user contexts: an admin user and group for administrative operations with a home directory at /home/admin, and an agent user and group that runs with restricted privileges in /home/agent/workspace. Two key daemons handle system operations: stereosd serves as the stereOS system daemon, while agentd manages agent lifecycle and operations. These components work together to create a controlled environment where AI agents can operate with appropriate security boundaries.
The project uses a mixtape distribution model where each mixtape represents a complete machine image bundled with a specific AI agent binary and its dependencies. The initial mixtape offering is opencode-mixtape, which includes the opencode binary and requires either an ANTHROPIC_API_KEY or OPENAI_API_KEY. Each mixtape appends its agent package to stereos.agent.extraPackages, which adds the binary to the agent user's restricted PATH. Development variants of mixtapes include profiles/dev.nix for local SSH key injection during development.
stereOS supports multiple output formats to accommodate different deployment scenarios. The canonical artifact is a raw EFI image suitable for Apple Virt Framework booting. QCOW2 format is derived from the raw image via qemu-img convert for QEMU and KVM environments. Kernel artifacts including bzImage, initrd, cmdline, and init files enable direct-kernel booting that bypasses UEFI and GRUB. The distribution system, implemented via lib/dist.nix:mkDist, assembles all formats into a publish-ready directory with zstd compression at level 19 and generates a mixtape.toml manifest containing SHA-256 checksums and file sizes for every artifact.
The system declares two custom NixOS options: stereos.ssh.authorizedKeys accepts a list of SSH public keys for admin and agent users to facilitate development access, while stereos.agent.extraPackages allows adding packages to the agent's restricted PATH. External dependencies include agentd and stereosd as flake inputs providing NixOS modules and overlays, nixpkgs at version 26.05 for base packages, and dagger from the Dagger project for CI engine functionality.
According to GitGenius activity tracking, the repository shows responsive issue and pull request handling with a median response latency of 1.7 hours across tracked items and a mean latency of 22.0 hours. The most active contributors tracked are bdougie with 6 events, jpmcb with 4 events, and elliottminns with 1 event. The repository shares contributors with continuedev/continue, home-assistant/core, and modelcontextprotocol/inspector, indicating cross-project collaboration within the AI agent and smart home ecosystems.