Simple Agent Manager — Open Source & Self-Hosted

The orchestration layer for
autonomous coding agents

SAM orchestrates Claude Code, Codex, or Gemini CLI on your cloud VMs — provisioning real devcontainer environments, managing lifecycles, and opening PRs autonomously. You bring the cloud. You bring the agent. We handle everything in between.

workspace — api-service
Claude Code just now

I'll refactor the authentication middleware to use JWT validation. Let me read the current implementation first.

Read src/middleware/auth.ts
Edit src/middleware/auth.ts +42 -18
Run npm test ?
Allow Deny
Supports
Claude Code
+
OpenAI Codex
+
Gemini CLI
MIT Licensed Self-Hosted BYOC

Agent orchestration
on infrastructure you own

Purpose-built for running autonomous coding agents on your own cloud. Multi-agent, multi-workspace, fully observable.

Multi-Agent Orchestration

Assign tasks to Claude Code, OpenAI Codex, or Gemini CLI — running in parallel across isolated workspaces. Warm node pooling means sequential tasks start in seconds. Bring your own API keys, stored encrypted.

Structured Visibility

Watch agents work in real time through the Agent Client Protocol. Tool calls, file diffs, permission requests, thinking blocks, and task progress — structured and readable, not raw terminal output.

Bring Your Own Cloud

Your code runs on your VMs, in your cloud account. Cloud credentials are encrypted per-user with AES-256 — never stored in plaintext anywhere. You control costs, regions, and data residency. Revoke access anytime by rotating your API key.

Project-Centric Workflows

Organize tasks, milestones, and workspaces by project. Persistent chat sessions, activity feeds, and cross-agent monitoring — all tied to your GitHub repos.

Real Dev Environments, Not Sandboxes

Agents work inside your repo's devcontainer — the same environment your team uses. Same toolchains, same test runners, same everything. Not a 5-minute throwaway sandbox. A real workspace a human can take over.

Open Source & Self-Hostable

MIT licensed. Self-host the control plane on Cloudflare's free tier. No vendor lock-in to any cloud provider or AI model.


From zero to coding agents in minutes

Three steps to coding agents working through your backlog on cloud VMs.

01

Connect Your Cloud

Add your Hetzner API token in the Settings page. Your credentials are encrypted per-user — SAM never stores provider keys as platform secrets.

Bring Your Own Cloud means you control costs, regions, and data residency.

02

Create a Workspace

Pick a GitHub repo (public or private via GitHub App), choose a VM size, and click Create. SAM provisions a node, builds your repo's devcontainer, and starts your chosen agent.

Your agent gets the same environment your developers use — not a stripped-down sandbox.

03

Manage From Anywhere

Your coding agents work on cloud VMs, so you're not tied to your laptop. Check in from your phone, tablet, or any browser. Sessions persist across reconnects.

Multiple workspaces can share a single node to cut costs.


Building the full
agent orchestration platform

SAM today orchestrates coding agents in project-scoped workspaces with real-time monitoring. Where it's heading: multi-cloud support, hierarchical task decomposition, and team-scale agent fleets.

Project-First Architecture

Shipped

Organize everything by project. Persistent chat sessions survive workspace stops. Activity feeds track what every agent did, across all workspaces.

Hierarchical Task Orchestration

Planned

Define high-level goals that get broken into tasks and delegated to agents across your fleet. The vision: agents that decompose work into subtasks, spin up new workspaces when needed, and coordinate autonomously — the orchestration layer between your roadmap and shipping code.

Cross-Workspace Monitoring

Shipped

See all active agent sessions and task progress from your dashboard. Jump directly into any conversation. Monitor work across your entire fleet of agents.

Multi-Cloud Providers

Planned

Hetzner today. DigitalOcean, Vultr, Scaleway, AWS, and GCP next. Bring whichever cloud you already use — or mix and match.

CLI for Power Users

Planned

Create workspaces, manage agents, and monitor sessions from your terminal. Script your agent workflows. Integrate with your existing toolchains.

Teams & Collaboration

Planned

Shared projects, usage visibility, and team-scoped infrastructure. Run a fleet of agents across your engineering team on shared nodes.


How SAM stacks up

Full infrastructure ownership, agent choice, and dramatically lower costs. The trade-off: you host it yourself.

SAM
Devin
Your code runs on Your cloud VMs Their infrastructure
Agent choice Claude Code, Codex, Gemini CLI Devin only
Environment Your repo's devcontainer Devin's sandbox
Monthly cost ~$4-15 (Hetzner direct) $500 flat
Open source MIT licensed Proprietary
Self-hostable Full platform No
Control plane cost Free (Cloudflare) Included
Multi-workspace nodes Multiple agents per VM Not applicable
Setup effort Self-hosted Zero config

Built in the open, shipped fast

Five phases shipped. Two more on the way — multi-cloud support and full agent orchestration.

Core Platform

Complete

Workspace management, GitHub OAuth, encrypted credential storage, Hetzner VM provisioning

Browser Terminal & Agent Chat

Complete

xterm.js WebSocket terminal, Go VM agent, JWT auth, structured agent chat UI via ACP

Multi-Agent Protocol

Complete

Claude Code, Codex, and Gemini CLI support. Tool call cards, permission dialogs, file diffs, thinking blocks

Multi-Workspace Nodes

Complete

Multiple isolated workspaces per VM, tab persistence, session ring buffer replay, node consolidation

Project-First Architecture

Complete

Projects as primary organizational unit, persistent chat sessions, Durable Object storage, activity feeds, task-driven chat, admin observability

Multi-Cloud & CLI

Planned

DigitalOcean, Vultr, Scaleway, and more. CLI for workspace management and agent scripting

Teams & Task Orchestration

Planned

Hierarchical task delegation, agent-to-agent subtask dispatch, team workspaces, usage visibility, SSO, and collaborative multi-agent workflows


Ready to orchestrate coding agents on your own infrastructure?

Self-host the control plane on Cloudflare's free tier. Bring your own cloud account. Your agents, your infrastructure, your code.