The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Local harness substrate for agent sessions
Coven gives coding-agent CLIs a shared local runtime for one project. The Rust daemon owns session boundaries, PTY execution, event logging, and SQLite persistence, while clients like the CLI, TUI, and other integrations present the work.
Builders who want their agent sessions to stay inside a project boundary, keep state, and work across multiple harnesses.
You can run agent work through one local runtime instead of re-explaining context or trusting each client to enforce the rules.
What it does
Project-scoped session runtime
Runs agent sessions inside explicit local project boundaries.
Daemon-owned authority boundary
The Rust daemon handles cwd checks, PTY lifecycle, IPC enforcement, and security decisions.
Durable session state
Stores events and session data with SQLite-backed persistence.
Multi-harness support
Works with Codex, Claude Code, GitHub Copilot CLI, and future adapters through the same substrate.
Local client surface
Provides a CLI, interactive UI, session browser, and local API for observing and managing work.
Harness adapter contract
Defines how harness integrations should connect through the adapter contract and docs.
How to get it
- 1Run
npm install -g @opencoven/cli coven doctor
README
Coven
Local harness substrate for project-scoped agent sessions
Run Codex, Claude Code, GitHub Copilot CLI, and future coding harnesses inside explicit local project boundaries. Launch, observe, attach, and coordinate agent work through one neutral runtime substrate.
| ๐ Ecosystem | ๐ฌ Community | ๐ ๏ธ Development |
|---|---|---|
| Website | Discord | GitHub Issues |
| Documentation | X (@OpenCvn) | Public Roadmap |
| Submit Feedback | Contributing |
โ ๏ธ Early MVP โ Coven is a local-first runtime in active development. It is usable by adventurous developers on macOS, Linux, and Windows x64. The npm package is live. Expect rough edges.
External PRs are open โ Start from an issue for larger changes, keep PRs scoped, and include the readiness packet requested by the PR template.
What is Coven?
Coven is the local harness substrate for the OpenCoven ecosystem. It gives coding-agent CLIs like Codex and Claude Code a shared room where project work can happen visibly and safely.
One project. Any harness. Visible work.
- You choose the harness โ Codex, Claude Code, GitHub Copilot CLI, or future adapters.
- Coven owns the session โ project-scoped boundaries, PTY execution, event logging, SQLite persistence.
- Clients present the work โ CastCodes, the CLI/TUI, comux, or your own integration over the same-user local IPC API.
The Rust daemon is the authority boundary. All clients โ including the CLI itself โ are convenience layers. Security decisions flow inward to the daemon, never outward to clients. OpenClaw integrates only through the opt-in @opencoven/coven plugin in packages/openclaw-coven; OpenClaw core contains no Coven code.
Install
npm install -g @opencoven/cli
coven doctor
| Package | Platform |
|---|---|
@opencoven/cli | Universal wrapper โ auto-selects your platform |
@opencoven/cli-macos | macOS Apple Silicon |
@opencoven/cli-macos-x64 | macOS Intel x64 |
@opencoven/cli-linux-x64 | glibc-based Linux x64 (Alpine unsupported) |
@opencoven/cli-windows | Windows x64 |
The memory dashboard is an opt-in companion installed separately with
npm install -g @opencoven/coven-memory-dashboard (Node.js 24+); see
docs/reference/cli-observe.md.
Install routes (npm, cargo, source), platform behavior, service managers, and containers are documented at https://docs.opencoven.ai/docs/guide/install.
Quick start
cd /path/to/your/project
# 1. Complete provider-owned login
coven setup codex
# 2. Check local readiness
coven doctor
# 3. Start the daemon
coven daemon start
# 4. Launch a session
coven run codex "fix the failing tests"
# 5. Browse and manage sessions
coven sessions
# 6. Stop the daemon when done
coven daemon stop
Bare coven opens the interactive Coven UI instead โ see
Interactive UI. The command
reference lives at docs.opencoven.ai/docs/cli.
Documentation
Public installation, CLI, daemon, harness, API, memory, and troubleshooting documentation is canonical at docs.opencoven.ai. Start with:
- Getting started
- CLI reference
- Daemon
- Harnesses
- Local API
- Memory
- Troubleshooting โ or run
coven doctorfirst
This repository keeps only documentation that must evolve with the source:
| Local document | Why it remains here |
|---|---|
| API contract | Normative coven.daemon.v1 request, response, error, and compatibility contract |
| Architecture | Source-adjacent crate ownership, authority boundaries, and dependency direction |
| Session lifecycle | Normative state-machine and persistence behavior |
| Harness adapter contract | Maintainer and adapter-author implementation contract |
| CLI core functionality | Maintainer source map and verification loop |
| Documentation maintenance | Ownership rules for public docs versus repository contracts |
| Security policy | Vulnerability reporting and repository security policy |
| Reliability scorecard | Current outcome, recovery, release-quality, benchmark, and usefulness decision view |
Contributing
See CONTRIBUTING.md for the first-10-minutes checkout path, the full local development loop, and the PR readiness packet. The short rules:
- Rust is the authority layer. Launch, cwd validation, PTY lifecycle, session persistence, and IPC enforcement are Rust's responsibility; clients are never the trust boundary.
- Keep harness support focused on Codex, Claude Code, and GitHub Copilot CLI until adapter contracts are stable.
- Run
python scripts/check-secrets.pybefore every PR, including docs-only changes, and never commit runtime state (.coven/,*.sqlite*,*.sock,.env*,*.key).
Performance baselines collect trend data without gating merges:
cargo build -p coven-cli --locked
node scripts/benchmark-cli.mjs --binary target/debug/coven --iterations 3 --output /tmp/coven-perf.json
node scripts/benchmark-chaos.mjs --binary target/debug/coven --output /tmp/coven-chaos.json
Both use disposable COVEN_HOME directories and a fixture-only fake harness; scripts/benchmark-chaos.test.mjs gates deterministically in CI.
Security
Coven is pre-1.0 software. Treat it accordingly:
- Do not run untrusted harnesses or prompts in sensitive repositories. Session logs capture harness output; if the harness dumps secrets, Coven logs them.
- Do not paste secrets into prompts. Event payloads are redacted before API display, but defense in depth starts with not having secrets in prompts.
Reporting vulnerabilities: Please use GitHub Security Advisories for this repository. See SECURITY.md for the policy and Safety for the public trust boundary.
Roadmap
The milestone ledger lives in docs/ROADMAP.md; items move when they are designed, implemented, tested, and released.
License
MIT ยฉ Valentina Alexander and the OpenCoven contributors โ see LICENSE for full terms.
OpenCoven โ One project. Any harness. Visible work.
Files in the repo
- .cargo
- .github
- .superpowers
- assets
- avatars
- brand
- crates
- docs
- npm
- packages
- scripts
- skills
- spec
- specs
- web
- .gitignore
- AGENTS.md
- Cargo.lock
- Cargo.toml
- CHAT-QUICKSTART.md
- CLAUDE.md
- CONTRIBUTING.md
- deny.toml
- DESIGN.md
- LICENSE
- PATENTS
- PROVENANCE.md
- README.md
- SECURITY.md
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More harnesses
from vibe coding to agentic engineering - practice makes claude perfect
๐ The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.
Git. Ship. Done - Core

The most RAM efficient harness