openagent

作者 Th0rgal已验证

Self-hosted orchestrator for AI autonomous agents. Run Claude Code & Open Code in isolated linux workspaces. Manage your skills, configs and encrypted secrets with a git repo.

142
Stars
13
Forks
Rust
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/Th0rgal/openagent

快速入门

使用 openagent 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

sandboxed.sh

sandboxed.sh

Self-hosted mission-execution backend for autonomous AI agents
Isolated Linux workspaces with Claude Code, OpenCode, Codex, Gemini, and Grok runtimes
Driven over MCP by a coordinator like Hermes — sandboxed.sh runs the missions

Formerly known as Open Agent

Website · Discord · Vision · Architecture · Features · Ecosystem · Screenshots · Getting Started


sandboxed.sh Dashboard

Ready to deploy? Jump to the installation comparison, or go straight to the Docker guide / native guide.


Vision

What if you could:

Hand off entire dev cycles. Point an agent at a GitHub issue, let it write code, test by launching desktop applications, and open a PR when tests pass. You review the diff, not the process.

Run multi-day operations unattended. Give an agent SSH access to your home GPU through a VPN. It reads Nvidia docs, sets up training, fine-tunes models while you sleep.

Keep sensitive data local. Analyze your sequenced DNA against scientific literature. Local inference, isolated containers, nothing leaves your machines.


Architecture

sandboxed.sh is the mission-execution backend of a two-part system — the half an autonomous agent drives over MCP to actually build things in isolation. The other half is a coordinator that decides what to do and when: we run our own Hermes fork — hermes-agent (the Python gateway + CLI) and its bundled hermes-desktop Electron app (apps/desktop/) — but any MCP-capable assistant works. The agent never runs untrusted code itself; it hands each unit of work to sandboxed.sh, which runs it in a throwaway workspace/container and streams back structured results. Four concepts tie the system together:

ConceptWhat it isWhere it lives
ProjectThe durable unit of work (an audit, a paper, a benchmark). First-class object with a mode (active / blocked / paused), an autonomy grant (merge authority, budget, parallelism), tracks, and open decisions.projects.db on the sandboxed.sh host, served at /api/projects/*
ControllerA coordinator cron that wakes on a schedule, reads its control conversation + GitHub + the project state, and dispatches work. Each controller owns its project(s) and reports structured status trailers; it can also launch missions on another project when it depends on that project's output (see Coordination between controllers).Coordinator (e.g. a Hermes cron with the project MCP tools)
Conversation (control session)The durable Hermes chat thread; the one bound to a project is its control conversation — where you (or the controller) talk. Continuations roll over, so it's addressed by route, not a frozen ID.Coordinator, binding stored in projects.db
MissionOne unit of autonomous execution: an agent in an isolated workspace/container running a harness (Claude Code, Codex, …) that writes code, runs builds, opens PRs. Tagged with project/track.sandboxed.sh workspaces
             decide / coordinate                      build / execute
  ┌────────────────────────────────┐      ┌────────────────────────────────────┐
  │  Coordinator (Hermes)          │ MCP  │  sandboxed.sh                      │
  │                                ├─────▶│                                    │
  │  controller crons              │      │  missions in isolated workspaces   │
  │  control conversations         │      │  (systemd-nspawn / Docker)         │
  │  project tools + start_mission │◀─────┤  projects.db · event stream        │
  └────────────────────────────────┘ SSE/ └────────────────────────────────────┘
                                  webhooks

Controllers write structured project state through MCP tools (list_projects, update_project_status, set_project_grant, link_mission_to_project, …) instead of free text; a state ingestor also folds controller status trailers from deliveries into the project record, so the roster stays current even for text-only updates.

Rule of thumb: a controller drives a project through its control conversation by dispatching missions. Decide/coordinate → the assistant; build/execute in isolation → a sandboxed mission. In-conversation subagents are for quick reasoning and decomposition; anything needing a real filesystem, git, builds, or a PR gets dispatched as a mission.

The same project roster is rendered by three surfaces: the web dashboard's board (/), the desktop Projects board, and the iOS app's Projects tab.


Features

  • Multi-Runtime Support: Run Claude Code, OpenCode, Codex, Gemini, and Grok agents in the same infrastructure
  • Projects & Controllers: First-class projects (mode, autonomy grant, tracks, decisions) driven by scheduled controllers over MCP — structured state, not status prose
  • Mission Control: Start, stop, and monitor agents remotely with real-time streaming
  • Isolated Workspaces: Containerized Linux environments (systemd-nspawn) with per-mission directories
  • Git-backed Library: Skills, tools, rules, agents, and MCPs versioned in a single repo
  • Assistant Gateway: Manage Telegram gateway compatibility from the top-level Assistant UI while Hermes takes over assistant runtime over MCP
  • Automations: Schedule recurring agent runs with cron-like triggers
  • Model Routing: Provider fallback chains with health checks and rate-limit handling
  • MCP Registry (optional): Extra tool servers (desktop/playwright/etc.) when needed
  • OpenAI-compatible Proxy Queue Mode: Optional deferred execution for /v1/chat/completions when all routed providers are temporarily rate-limited
  • Native Inference Protocols: Capability-gated Chat Completions, Responses, and Anthropic Messages with provider-specific reasoning continuity; see docs/INFERENCE_PROTOCOLS.md
  • Multi-platform: Web dashboard (Next.js) and iOS app (SwiftUI) with Picture-in-Picture

Ecosystem

The coordinator — the agent that decides what to run and drives sandboxed.sh over MCP:

  • Hermes (our fork): the coordinator we run in production — a Python gateway + CLI plus the bundled hermes-desktop Electron app (apps/desktop/). It owns the control conversations, controller crons, and the project MCP tools (start_mission, link_mission_to_project, …). Any MCP-capable assistant can take this role; Hermes is the reference implementation. See its FORK.md for how our changes are layered on upstream to stay easy to update.

The runtimes — the coding agents sandboxed.sh executes inside isolated workspaces:

  • Claude Code: Anthropic's official coding agent with native skills support (.claude/skills/)
  • OpenCode: Open-source coding agent
  • Codex, Gemini, and Grok: Native CLI backends for OpenAI, Google, and xAI coding agents

Each runtime executes inside isolated workspaces, so bash commands and file operations are scoped correctly. sandboxed.sh handles orchestration, workspace isolation, and Library-based configuration management.


Screenshots

Dashboard Overview

Real-time monitoring with CPU, memory, network graphs and mission timeline


Library Skills Editor

Git-backed Library with skills, commands, rules, and inline editing


MCP Servers

MCP server management with runtime status and Library integration


Getting Started

Choose your installation method

Docker (recommended)Native (bare metal)
Best forGetting started, macOS users, quick deploymentProduction servers, maximum performance
PlatformAny OS with DockerUbuntu 24.04 LTS
Setup time~5 minutes~30 minutes
Container workspacesYes (with privileged: true)Yes (native systemd-nspawn)
Desktop automationYes (headless Xvfb inside Docker)Yes (native X11 or Xvfb)
PerformanceGood (slight overhead on macOS)Best (native Linux)
Updatesdocker compose pull / rebuildGit pull + cargo build, or one-click from dashboard

Docker (recommended for most users)

git clone https://github.com/Th0rgal/sandboxed.sh.git
cd sandboxed.sh
cp .env.example .env
# Edit .env with your settings
docker compose up -d

Open http://localhost:3000 — that's it.

For container workspace isolation (recommended), uncomment privileged: true in docker-compose.yml.

Full Docker setup guide

Native (bare metal)

For production servers running Ubuntu 24.04 with maximum performance and native systemd-nspawn isolation.

Full native installation guide

First-time setup

After installation, follow the Getting Started Guide for:

  • Configuring your backend connection
  • Setting up your library repository
  • Exploring skills and tools
  • Creating your first mission

AI-assisted setup

Point your coding agent at the installation guide and let it handle the deployment:

"Deploy Sandboxed.sh on my server at 1.2.3.4 with domain agent.example.com"


Documentation

User Guides

Architecture & APIs

Setup Guides

Reference


Development

Setup git hooks

Enable pre-push formatting checks to catch CI failures locally:

git config core.hooksPath .githooks

This runs cargo fmt --check before each push. If formatting issues are found, run cargo fmt --all to fix them.


Status

Work in Progress — This project is under active development. Contributions and feedback welcome.

License

MIT

常见问题

What is openagent?

openagent is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Th0rgal. Self-hosted orchestrator for AI autonomous agents. Run Claude Code & Open Code in isolated linux workspaces. Manage your skills, configs and encrypted secrets with a git repo. It has 142 GitHub stars.

Is openagent safe to use?

Yes. openagent passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install openagent?

Clone the repository with "git clone https://github.com/Th0rgal/openagent" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is openagent written in?

openagent is primarily written in Rust. It is open-source under Th0rgal on GitHub, so you can review or fork the full source.

Are there alternatives to openagent?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh openagent against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情