Try describing what you need:

agentos logo

agentos

★ 4.9k
Apache License 2.0Open Source — No PaywallSingle Container — single container — minimal hosting footprintPackage · SourceNo external DB11+ active committers (12mo)

About

agentOS is a library for embedding agent execution directly into an application backend. It is aimed at developers who want to run AI agents with strong isolation and control without relying on...

Community Ratings

No ratings yet

Features

  • built-in agents
  • session management
  • universal transcript format
  • automatic persistence
  • framework integrations
  • Bash/Node.js/Python execution
  • filesystem mounts
  • bindings
  • cron jobs and webhooks
  • multiplayer collaboration

Details

Last Updated
Nov 5, 2026
Created
Feb 7, 2024
Install Methods
package-managersource
Requirements
Node.jsnpmRivet Actor runtime (for @rivet-dev/agentos)
Default Port
6420API server / agent runtime
Authentication
oauth
API
REST
Backup & Export
built-in-backup
Privacy & Independence
Cloud: Optional
User Model
Multi-User
Deployment

Deployment: Docker Compose ✓Single Container — minimal hosting footprintsingle container

Run agentos yourself

Pick how much you want to manage.

1 more way to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host.

Is this your project? Sponsor a listing

Run agentos with Docker Compose

Compose file from the agentos project repository.

1 service

no resource limits declared

needs persistent storage (8 volumes)

docker/dev/compose.yaml · @ 06db7b1 · scanned Nov 3, 2026

name: agentos-dev

services:
  dev:
    build:
      context: ../..
      dockerfile: docker/dev/Dockerfile
    working_dir: /build
    # Keep the container resident; drive it with `just dev-shell` / `docker compose exec`.
    command: ["sleep", "infinity"]
    stdin_open: true
    tty: true
    ports:
      # RivetKit engine: actor gateway + /inspector/* + custom-tab assets. The
      # hosted dashboard runs in the host browser and points at this port.
      - "6420:6420"
      # Vite dev server for examples/browser-terminal.
      - "5173:5173"
    # Docker Desktop's embedded resolver (192.168.65.7) intermittently stops
    # answering, which surfaces as EAI_AGAIN storms during `pnpm install`.
    dns:
      - 1.1.1.1
      - 8.8.8.8
    environment:
      # Unambiguous sidecar resolution; `just dev-bootstrap` builds this path.
      AGENTOS_SIDECAR_BIN: /build/target/debug/agentos-sidecar
      RUST_BACKTRACE: "1"
      # Vite/RivetKit must listen on all interfaces to be reachable from the host.
      HOST: 0.0.0.0
      # RivetKit binds the engine it spawns to loopback, which a published port
      # cannot reach. This is the supported override for that bind address
      # (rivetkit's `engineHost`); setting RIVET__GUARD__HOST does not work,
      # because RivetKit passes its own value to the engine process.
      RIVET_RUN_ENGINE_HOST: 0.0.0.0
    volumes:
      - ../..:/build:cached

      # Host node_modules are darwin-native — mask every bind-mounted tree that
      # holds platform binaries or build output with a container-owned volume.
      - node_modules:/build/node_modules
      - cargo_target:/build/target
      - toolchain_target:/build/toolchain/target

      # Only `toolchain/c/vendor` is safe to mount: it holds the large wasi-sdk
      # and llvm-project downloads and nothing deletes it. `sysroot`, `libs`,
      # `.cache`, and `toolchain/vendor` are `rm -rf`'d wholesale by the build,
      # which fails with EBUSY on a mount point — leave them on the bind mount.
      - toolchain_c_vendor:/build/toolchain/c/vendor

      # Caches outside the working tree.
      - cargo_registry:/usr/local/cargo/registry
      - cargo_git:/usr/local/cargo/git
      - pnpm_store:/root/.local/share/pnpm/store

volumes:
  node_modules:
  cargo_target:
  cargo_registry:
  cargo_git:
  pnpm_store:
  toolchain_target:
  toolchain_c_vendor:

This file may be out of date. Check the agentos documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Aug 7, 2026

Alternatives to agentos

omnara logo

omnara

3.4k
Omnara is an open-source managed agent platform for running AI agents on any model and any machine, with built-in tools, secrets, permissions, and streaming.
AI AgentsAI ToolingPlatform as a Service+3
10 ContainersFully FOSS
Details
OpenSandbox logo

OpenSandbox

16.5k
OpenSandbox is a platform for running AI agents in isolated sandboxes on local machines or Kubernetes clusters.
AI AgentsAI ToolingAI Harness+3
2 Containers
Details
runtm logo

runtm

304
Runtm is an open-source platform for spinning up isolated sandboxes where coding agents can build, test, and deploy software.
Self Hosting SolutionsAI AgentsAI Tooling+1
4 Containers
Details
daytona logo

daytona

71.4k
Daytona is a secure infrastructure runtime for running AI-generated code and agent workflows in isolated sandboxes.
Artificial IntelligenceAI AgentsAI Tooling+2
Details
flue logo

flue

8.6k
Flue is a TypeScript framework for building autonomous agents with a programmable harness, tools, skills, sandboxes, and deployment options.
AI AgentsAutomation ToolsAI Tooling+1
Details

Related Software

Pi logo

Pi

120.1k
Pi Agent Harness is a mono-repo for a self-extensible coding agent, including an interactive coding agent CLI, agent runtime, and a unified multi-provider LLM API.
AI HarnessAI AgentsAI Coding Assistant+1
Details
agent-vault logo

agent-vault

2.5k
An open-source HTTP credential proxy and vault that brokers API credentials for AI agents without exposing the secrets directly to the agents.
Secret ManagementProxy ServersSelf Hosting Solutions+2
2 Containers
Details
Composio logo

Composio

30.9k
Composio SDK provides TypeScript and Python libraries for integrating AI agents with external apps and services.
API ManagementAI AgentsAutomation Tools+2
Cloud Required
Details
Trigger.dev logo

Trigger.dev

16.7k
An open-source platform for building and deploying AI workflows and agents in TypeScript.
Task RunnersArtificial IntelligenceAutomation Tools+4
Details
onecli logo

onecli

3.6k
OneCLI is an open-source gateway that sits between AI agents and external services to inject and manage API credentials securely.
AI AgentsSecret ManagementModel Context Protocol+1
2 Containers
Details
openrig logo

openrig

8.6k
OpenRig is a CLI tool for defining, launching, and managing a team of AI coding agents in a persistent shared rig.
AI AgentsAI Coding AssistantAI Harness+1
Details
OpenHands logo

OpenHands

92.7k
An AI-driven development platform with a software agent SDK, CLI, local GUI, and hosted cloud offering.
Artificial IntelligenceAI Coding AssistantAI Agents+2
Single ContainerOpen Core
Details
mastra logo

mastra

29.3k
Mastra is a TypeScript framework for building AI-powered applications, agents, workflows, and MCP servers.
Artificial IntelligenceNot FOSSOpen-Washing Risk+4
2 ContainersOpen CoreNot FOSS
Details
ZeroClaw logo

ZeroClaw

24
A small Rust-based AI assistant infrastructure and autonomous runtime with pluggable providers, channels, memory, tools, and security policies.
Claws & ClankersAI AgentsAI Tooling+2
Details
collie logo

collie

1.6k
ColliePWA is a self-hosted mobile PWA for driving terminal AI agents like Claude Code, Codex, and OpenCode from a phone.
Mobile terminalsSelf Hosting SolutionsRemote Access+3
Details
Langfuse logo

Langfuse

37.0k
Langfuse is an open source LLM engineering platform for teams to develop, monitor, evaluate, and debug AI applications.
IDE ToolsArtificial IntelligencePermissive License+5
6 ContainersFOSS with Issues
Details
E2B logo

E2B

1.8k
An open-source runtime that powers E2B Cloud, providing isolated Firecracker microVM sandboxes that can be paused, resumed, and forked for running untrusted agent code.
AI AgentsAI ToolingOpen Core+1
21 ContainersOpen Core
Details