agentos
Give agents an operating system as a library. Runs in your existing backend – no sandboxes, VMs, or SaaS. Powered by WebAssembly & V8 isolates.
MCP Agents Market is an independent directory. We are not affiliated with rivet-dev or agentos, and we do not host or distribute it. All links point to the official GitHub repository.
agentOS is a lightweight operating system library that runs AI agents directly inside your backend process using WebAssembly and V8 isolates, eliminating the need for sandboxes or microVMs. It provides a virtualized environment with filesystem, process execution, and network capabilities, delivering 92x faster cold starts and 47x less memory overhead compared to traditional sandbox solutions. The library ships with built-in support for Pi, Claude Code, Codex, and OpenCode agents via the Agent Client Protocol, and allows developers to integrate agents through direct function bindings rather than network calls. Designed as an npm package, it embeds into existing Node.js applications and offers granular permission controls, automatic persistence, and optional sandbox mounting for heavier workloads.
Key Features
Use Cases
- 01Embedding coding agents directly into backend APIs without external sandbox infrastructure
- 02Running lightweight command-line tools and scripts with sub-10ms cold start latency
- 03Building multi-tenant agent platforms where each user session requires isolated execution environments
- 04Integrating AI assistants into existing Node.js applications with direct access to backend functions
- 05Creating cost-optimized agent deployments with up to 254x lower execution costs than sandbox solutions
- 06Orchestrating agent-to-agent delegation workflows with shared host-level coordination
Related Agents
View morehermes-agent
The agent that grows with you
agency-agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
openinterpreter
A coding agent for open models like Kimi K3
cline
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
agentos — FAQ
What is agentOS and what does it do?+
agentOS is a library that provides a lightweight operating system environment for AI agents, running inside your Node.js process using WebAssembly and V8 isolates. It allows agents like Pi, Claude Code, Codex, and OpenCode to execute code, manipulate files, and interact with your backend through direct function bindings rather than network calls.
How do I install and set up the agentOS AI sub-agent?+
Install agentOS via npm with 'npm install @rivet-dev/agentos @agentos-software/pi', then create a server file that initializes the VM with your chosen agents and a client file that connects to the server endpoint. Run the server with 'npx tsx server.ts' and execute client commands from a separate process.
Which AI clients and frameworks work with agentOS?+
agentOS works with Pi, Claude Code, Codex, and OpenCode agents through the Agent Client Protocol. It also integrates with Vercel Eve and Flue frameworks as a sandbox backend, and can connect to any frontend or backend client via its typed client API.
Do I need API keys or special prerequisites to use agentOS?+
You need an Anthropic API key to use the Pi or Claude Code agents, passed through the environment configuration when opening a session. The core agentOS library itself requires Node.js and npm, with no additional cloud services or external dependencies for basic operation.
Is agentOS free and open source?+
Yes, agentOS is open source under the Apache 2.0 license. You can self-host it anywhere as an npm package, or optionally deploy to Rivet Cloud for managed infrastructure.
How does agentOS compare to traditional sandbox solutions?+
agentOS runs inside your process as a library rather than as a separate container or microVM, providing 92x faster cold starts, 47x lower memory usage, and up to 254x cost reduction. For workloads requiring full Linux environments, agentOS supports mounting external sandboxes on demand while maintaining its lightweight baseline footprint.
How do I install agentos?+
Open the source repository on GitHub and follow its README. agentos is a agent — MCP Agents Market links you directly to the official repo.
Is agentos free?+
agentos is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.