{"id":51147034,"url":"https://github.com/mifunedev/openharness","last_synced_at":"2026-06-26T04:00:16.661Z","repository":{"id":347240300,"uuid":"1193297270","full_name":"mifunedev/openharness","owner":"mifunedev","description":"🏗️ We provide the Sandbox. You choose the Harness.","archived":false,"fork":false,"pushed_at":"2026-06-25T06:04:35.000Z","size":9128,"stargazers_count":20,"open_issues_count":16,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-25T08:06:27.281Z","etag":null,"topics":["claude","claude-code","codex","deepagents","docker","gemini-cli","langchain","nvidia","openai","openclaw","opencode","openshell","pi-mono","sandbox"],"latest_commit_sha":null,"homepage":"https://oh.mifune.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mifunedev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-27T04:26:44.000Z","updated_at":"2026-06-24T07:23:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mifunedev/openharness","commit_stats":null,"previous_names":["ryaneggz/open-harness","mifunedev/openharness"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/mifunedev/openharness","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifunedev%2Fopenharness","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifunedev%2Fopenharness/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifunedev%2Fopenharness/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifunedev%2Fopenharness/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mifunedev","download_url":"https://codeload.github.com/mifunedev/openharness/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifunedev%2Fopenharness/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34802385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-26T02:00:06.560Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude","claude-code","codex","deepagents","docker","gemini-cli","langchain","nvidia","openai","openclaw","opencode","openshell","pi-mono","sandbox"],"created_at":"2026-06-26T04:00:15.603Z","updated_at":"2026-06-26T04:00:16.651Z","avatar_url":"https://github.com/mifunedev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏗️ Open Harness\n\n**Open Harness** is a Docker-based agent harness for **one project**, agent-tended over time. One `docker compose up` gives you a long-lived sandbox where Claude (or another agent of your choice) runs against a single repo, branch, and identity — not a multi-tenant comparison rig.\n\n- **One project, one sandbox.** A single container scoped to a single repo. The agent owns its branch and its workspace; you keep your laptop clean.\n- **Agents that work while you sleep.** A tiny croner runtime reads `crons/*.md` markdown and wakes the agent on a schedule.\n- **Host dependencies: Docker + Git.** No Node, no Python, no toolchain rot on your laptop.\n- **Composable infra.** Cherry-pick Cloudflare tunnels, SSH, Caddy gateway, or pack-supplied services via Compose overlays.\n- **Slack-ready.** The `pi-messenger-bridge` package bridges Slack (and other messengers) to a Pi agent — see [docs/integrations/slack.md](docs/integrations/slack.md).\n- **Multi-agent? Add a pack.** Other multi-agent setups ship as separate packs — see [`@ryaneggz/mifune`](https://github.com/ryaneggz/mifune).\n\n---\n\n## 📦 Install\n\n**Option A — Upstream (try it without any setup):**\n\n```bash\ncurl -fsSL https://oh.mifune.dev/install.sh | bash\n```\n\nReview-first alternative (no extra dependency):\n\n```bash\ncurl -fsSL -o openharness-install.sh https://oh.mifune.dev/install.sh\n# Review openharness-install.sh in your editor or pager before running it.\nbash openharness-install.sh\n```\n\nIf you already use [`vet`](https://github.com/vet-run/vet), you can review and approve the same installer with `vet https://oh.mifune.dev/install.sh`. `vet` is optional; Open Harness requires Docker with the Compose plugin and Git on the host.\n\nClones into `~/.openharness`, offers to share your host `gh` token, writes `.devcontainer/.env`, and builds the image (~10 min cold, ~30s warm). Required host dependencies: [Docker](https://docs.docker.com/get-docker/) with the Compose plugin and [Git](https://git-scm.com/).\n\n**Option B — Fork and clone (recommended for self-hosting):**\n\n```bash\n# 1. Fork on GitHub, then clone YOUR fork:\ngit clone https://github.com/\u003cyour-org\u003e/\u003cyour-fork\u003e.git \u0026\u0026 cd \u003cyour-fork\u003e\n# 2. Bootstrap — installer auto-detects the local clone, no env vars needed:\nbash .oh/scripts/install.sh\n```\n\n**Option C — Clone upstream, then re-point to your repo:**\n\n```bash\ngit clone https://github.com/mifunedev/openharness.git my-harness \u0026\u0026 cd my-harness\ngit remote set-url origin https://github.com/\u003cyour-org\u003e/\u003cyour-repo\u003e.git\nbash .oh/scripts/install.sh\n```\n\n\u003cdetails\u003e\u003csummary\u003eAdvanced: install directly from your fork without cloning first\u003c/summary\u003e\n\n```bash\nOH_GITHUB_REPO=\u003cyour-org\u003e/\u003cyour-fork\u003e curl -fsSL \\\n  https://raw.githubusercontent.com/\u003cyour-org\u003e/\u003cyour-fork\u003e/main/scripts/install.sh | bash\n```\n\nReview-first fork install:\n\n```bash\ncurl -fsSL -o openharness-install.sh \\\n  https://raw.githubusercontent.com/\u003cyour-org\u003e/\u003cyour-fork\u003e/main/scripts/install.sh\n# Review openharness-install.sh, then run it against your fork.\nOH_GITHUB_REPO=\u003cyour-org\u003e/\u003cyour-fork\u003e bash openharness-install.sh\n```\n\nIf your fork uses a default branch other than `main`, set `OH_GITHUB_REF=\u003cbranch\u003e` and replace `main` in the URL. See [Installation docs](https://oh.mifune.dev/docs/installation) for all environment overrides.\n\n\u003c/details\u003e\n\n## 🚀 Use it\n\n```bash\ncd ~/.openharness\nmake shell       # enter the isolated sandbox\n# inside the sandbox, launch any core agent:\n#   claude     # Claude Code (default)\n#   codex      # OpenAI Codex CLI\n#   opencode   # OpenCode (optional: set install.opencode: true in harness.yaml and rebuild)\n#   pi         # Pi Coding Agent\n#   deepagents # LangChain DeepAgents (optional: set install.deepagents: true in harness.yaml and rebuild)\n#   hermes     # Nous Research Hermes (optional: set install.hermes: true in harness.yaml and rebuild)\n#   grok       # xAI Grok Build (optional: set install.grok_build: true in harness.yaml and rebuild)\nmake destroy     # stop and remove the sandbox\nmake help        # all targets\n```\n\n## 🧪 Testing\n\n- Property-based testing convention: [docs/property-testing.md](docs/property-testing.md)\n\nPrefer VS Code or remote SSH? Use the Dev Containers extension's \"Attach to Running Container\" against `openharness`, or SSH into your host first and then attach.\n\n## ⚙️ Configure (optional)\n\n`harness.yaml` is the tracked config for shared non-secret settings (optional\ninstalls, Slack allowlists, compose overlays, and any sandbox defaults you\nintentionally want in git). `.devcontainer/.env` is gitignored and holds\nhost-local defaults generated by the installer (`SANDBOX_NAME`, `TZ`, git\nidentity) plus secrets (`GH_TOKEN`, `PI_SLACK_APP_TOKEN`, `PI_SLACK_BOT_TOKEN`).\nActive keys in `harness.yaml` override `.devcontainer/.env`. Apply changes\nwith `make destroy \u0026\u0026 make sandbox`.\n\n\u003cdetails\u003e\u003csummary\u003eManual setup (no installer)\u003c/summary\u003e\n\n```bash\ngit clone https://github.com/mifunedev/openharness.git \u0026\u0026 cd openharness\nmake sandbox\nmake shell\n```\n\n\u003c/details\u003e\n\n## ✨ What you get\n\n| | |\n|---|---|\n| **Core agents** | Defaults: Claude Code, Codex, Pi. Optional: OpenCode, DeepAgents, Hermes, Grok Build |\n| **Runtimes** | Node 22, pnpm, Bun, uv (Python) |\n| **DevOps** | Docker CLI + Compose, GitHub CLI, cloudflared, tmux, croner |\n| **Browser** | agent-browser + Chromium (headless) |\n| **One project, one sandbox** | A single container scoped to a single repo and branch |\n| **Crons** | Markdown-defined schedules in `crons/*.md` driven by the in-container croner runtime |\n| **Multi-agent** | Install a harness pack such as [`@ryaneggz/mifune`](https://github.com/ryaneggz/mifune) for additional multi-agent setups |\n\n## 📚 Where to go next\n\n- [Quickstart](https://oh.mifune.dev/docs/quickstart) — full step-by-step\n- [Crons](https://oh.mifune.dev/docs/crons/overview) — markdown-defined autonomous tasks\n\n## 🧹 Cleanup\n\n```bash\nmake destroy\n```\n\n## 🤝 Contributing \u0026 community\n\nOpen Harness is maintained under the [`mifunedev`](https://github.com/mifunedev) org — the canonical repo is [github.com/mifunedev/openharness](https://github.com/mifunedev/openharness). To run your own, fork it (see **Option B** above) and open PRs back upstream. Issues and PRs welcome; if Open Harness is useful to you, please [give us a star](https://github.com/mifunedev/openharness/stargazers).\n\n## 📄 License\n\nMIT.\n\n---\n\n[Full documentation](https://oh.mifune.dev/docs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmifunedev%2Fopenharness","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmifunedev%2Fopenharness","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmifunedev%2Fopenharness/lists"}