Agent 开发框架

Coven|项目级AI编码代理本地运行时

Coven

Coven 是一个本地优先的运行时底座,让 Codex、Claude Code、GitHub Copilot CLI 等编码代理在明确的项目边界内启动、观察、接入与协调。

获取与使用

需要部署

按官方资料自行安装或部署

使用难度待核验
国内可用性待核验

2026-11-09 更新 · 本站尚未实测

项目介绍

Agent 开发框架 · 2026-11-09 更新 · 本站尚未实测

Coven 是 OpenCoven 生态中的本地 harness 底座,定位为“项目级 AI 编码代理会话的本地运行时”。它把 Codex、Claude Code、GitHub Copilot CLI 等编码代理 CLI 放进一个共享房间中运行,使项目工作可见、可控。README 将其描述为:一个项目、任意 harness、可见的工作。

Rust 守护进程是权限边界,负责启动、cwd 校验、PTY 生命周期、会话持久化与 IPC 强制执行;CLI、TUI、comux 或自建集成都是便利层,安全决策向内流向守护进程。项目目前处于早期 MVP 阶段,README 提示“会有粗糙边缘”,适合愿意尝鲜的开发者。

核心能力

点击能力名称查看输入、输出和原文依据。

  • 多 harness 支持:可选择 Codex、Claude Code、GitHub Copilot CLI 或未来的适配器。
  • 会话归属 Coven:项目范围边界、PTY 执行、事件日志与 SQLite 持久化由 Coven 负责。
  • 客户端呈现工作:CastCodes、CLI/TUI、comux 或通过同一用户本地 IPC API 的自建集成均可呈现会话。
  • 会话生命周期管理:启动守护进程、运行会话、浏览与管理会话、停止守护进程。
  • 诊断命令:coven doctor 用于检查本地就绪状态。

实际应用场景

适用场景

  • 在明确的项目目录内运行编码代理,由守护进程校验启动目录;这不等同于限制子进程所有文件与网络访问的安全沙箱。
  • 需要在同一台机器上同时使用多种编码代理 CLI,并统一观察与协调。
  • 希望会话状态持久化到本地 SQLite,并能事后浏览会话记录。
  • 开发者构建自己的客户端或集成,通过本地 IPC API 接入 Coven 会话。

安装与接入

README 给出的安装命令为:

npm install -g @opencoven/cli
coven doctor

npm 包按平台分发:@opencoven/cli 为通用包装器,自动选择平台;另有 macOS Apple Silicon、macOS Intel x64、glibc Linux x64(不支持 Alpine)、Windows x64 的专用包。另有一个可选的内存仪表盘,需单独安装:npm install -g @opencoven/coven-memory-dashboard(要求 Node.js 24+)。

快速开始步骤(来自 README):

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

直接运行 coven 会打开交互式 Coven UI。安装路径(npm、cargo、源码)、平台行为、服务管理器与容器用法见官方文档站。

使用条件与限制

是否需要部署
需自行准备运行环境,具体要求见正文
是否需要注册
账号和认证要求见正文;未明确说明的项目仍待核验
是否需要 API Key
待核验
费用与额度
费用边界见正文,项目许可不代表模型或托管服务免费
所需权限
待核验
许可证与服务条款
待核验

权限费用与限制

  • 安全边界:Coven 为 pre-1.0 软件。README 明确提醒:不要在敏感仓库中运行不受信任的 harness 或提示词;会话日志会捕获 harness 输出,若 harness 输出密钥,Coven 会记录下来。不要向提示词粘贴密钥;事件负载在 API 展示前会脱敏,但防御深度始于不将密钥放入提示词。
  • 费用:仓库代码以 MIT 许可发布,但 README 未说明 Coven 本身是否收费,也未说明所接入模型或云服务的费用。相关费用需向各 provider 及官方核验。
  • 登录:coven setup codex 完成的是 provider 侧登录,说明使用特定 harness 时可能需要该 provider 的账号或 API Key;具体认证方式与费用待核验。
  • 平台限制:Linux 包仅支持 glibc,Alpine 不支持;Windows 支持为 x64。
  • MCP 配置:本次采集未获取到 MCP 配置,README 亦未提及 MCP 端点,是否支持 MCP 待核验。

国内使用情况

网友核验 用户经验分享

与站长实测独立,不代表官方认证或本站已实测。

我要核验
0 位参与者0 份有效分项记录

最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。

分项统计、有效期与样本量
核验项目有效人数成功 / 部分 / 失败 / 无法判断成功率最近核验 / 有效期
官方网站访问00 / 0 / 0 / 0样本不足暂无 / 7 天
GitHub 仓库访问00 / 0 / 0 / 0样本不足暂无 / 7 天
安装与运行00 / 0 / 0 / 0样本不足暂无 / 30 天
官方服务国内连接 / MCP 连接00 / 0 / 0 / 0样本不足暂无 / 30 天
国内网络情况00 / 0 / 0 / 0样本不足暂无 / 7 天
国内模型兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
自定义 API00 / 0 / 0 / 0样本不足暂无 / 30 天
海外服务依赖
00 / 0 / 0 / 0样本不足暂无 / 30 天
海外账号要求
00 / 0 / 0 / 0样本不足暂无 / 30 天
中文界面
00 / 0 / 0 / 0样本不足暂无 / 30 天
客户端兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
账号及费用信息
00 / 0 / 0 / 0样本不足暂无 / 30 天

成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。

最近有效核验

暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。

查看全部有效核验 →

国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。

官方网站访问
尚未实测 待核验
GitHub 仓库访问
尚未实测 待核验
官方服务国内连接
尚未实测 待核验
国内网络情况
尚未实测 待核验
国内模型兼容性
尚未实测 待核验
自定义 API
尚未实测 待核验
海外服务依赖
尚未实测 待核验
海外账号要求
尚未实测 待核验
中文界面
尚未实测 待核验
国内最后核验时间
尚未实测

许可与国内使用

仓库代码采用 MIT 许可证(Copyright (c) 2026 Valentina Alexander),允许使用、复制、修改、合并、发布、分发、再许可和销售,需保留版权与许可声明。该许可仅覆盖仓库代码,不自动覆盖所接入的第三方模型、云服务或商业模块;这些部分的许可与费用需分别核验。

README 未说明服务部署地域、国内网络可用性、境内合规适配或国内模型支持情况;OpenClaw 仅通过 @opencoven/coven 插件集成,插件为 opt-in。国内使用相关条目均待核验。

项目资料与来源

官方网站 ↗

GitHub 仓库 ↗

官方文档 ↗

字段依据与待核验事项

access:来源确认 · npm install -g @opencoven/cli

project_type:来源确认 · Local harness substrate for project-scoped agent sessions

原始 README(折叠技术参考)
<p align="center">
  <img src="assets/opencoven/opencoven.svg" alt="OpenCoven logo" width="128" height="128">
</p>

# 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.

[![MIT License](https://img.shields.io/badge/license-MIT-9A8ECD?style=flat-square)](LICENSE)
[![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows%20x64-9A8ECD?style=flat-square)](https://docs.opencoven.ai/docs/guide/platforms)
[![npm](https://img.shields.io/badge/npm-%40opencoven%2Fcli-9A8ECD?style=flat-square)](https://www.npmjs.com/package/@opencoven/cli)
[![Built with Rust](https://img.shields.io/badge/built%20with-Rust-9A8ECD?style=flat-square)](https://www.rust-lang.org/)

| 🌐 **Ecosystem**                                      | 💬 **Community**                            | 🛠️ **Development**                                             |
| :---------------------------------------------------- | :------------------------------------------ | :------------------------------------------------------------- |
| [**Website**](https://opencoven.ai/)                  | [**Discord**](https://discord.gg/opencoven) | [**GitHub Issues**](https://github.com/OpenCoven/coven/issues) |
| [**Documentation**](https://docs.opencoven.ai/)       | [**X (\@OpenCvn)**](https://x.com/OpenCvn)  | [**Public Roadmap**](docs/ROADMAP.md)                          |
| [**Submit Feedback**](https://feedback.opencoven.ai/) |                                             | [**Contributing**](CONTRIBUTING.md)                            |

---

> **⚠️ 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](https://github.com/OpenCoven) ecosystem. It gives coding-agent CLIs like [Codex](https://github.com/openai/codex) and [Claude Code](https://docs.anthropic.com/en/docs/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

```bash
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`](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

```bash
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](https://docs.opencoven.ai/docs/cli/interactive). The command
reference lives at [docs.opencoven.ai/docs/cli](https://docs.opencoven.ai/docs/cli).

---

## Documentation

Public installation, CLI, daemon, harness, API, memory, and troubleshooting
documentation is canonical at **[docs.opencoven.ai](https://docs.opencoven.ai/)**.
Start with:

- [Getting started](https://docs.opencoven.ai/docs/guide/getting-started)
- [CLI reference](https://docs.opencoven.ai/docs/cli)
- [Daemon](https://docs.opencoven.ai/docs/daemon)
- [Harnesses](https://docs.opencoven.ai/docs/harnesses)
- [Local API](https://docs.opencoven.ai/docs/reference/api)
- [Memory](https://docs.opencoven.ai/docs/memory-models)
- [Troubleshooting](https://docs.opencoven.ai/docs/reference/troubleshooting) — or run `coven doctor` first

This repository keeps only documentation that must evolve with the source:

| Local document | Why it remains here |
| --- | --- |
| [API contract](docs/API-CONTRACT.md) | Normative `coven.daemon.v1` request, response, error, and compatibility contract |
| [Architecture](docs/ARCHITECTURE.md) | Source-adjacent crate ownership, authority boundaries, and dependency direction |
| [Session lifecycle](docs/SESSION-LIFECYCLE.md) | Normative state-machine and persistence behavior |
| [Harness adapter contract](docs/HARNESS-ADAPTERS.md) | Maintainer and adapter-author implementation contract |
| [CLI core functionality](docs/development/cli-core-functionality.md) | Maintainer source map and verification loop |
| [Documentation maintenance](docs/DOCS-MAINTENANCE.md) | Ownership rules for public docs versus repository contracts |
| [Security policy](SECURITY.md) | Vulnerability reporting and repository security policy |
| [Reliability scorecard](docs/reliability-scorecard.md) | Current outcome, recovery, release-quality, benchmark, and usefulness decision view |

---

## Contributing

See [CONTRIBUTING.md](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.py` before every PR**, including docs-only changes, and never commit runtime state (`.coven/`, `*.sqlite*`, `*.sock`, `.env*`, `*.key`).

Performance baselines collect trend data without gating merges:

```bash
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](https://github.com/OpenCoven/coven/security/advisories) for this repository. See [SECURITY.md](SECURITY.md) for the policy and [Safety](https://docs.opencoven.ai/docs/reference/safety) for the public trust boundary.

---

## Roadmap

The milestone ledger lives in [`docs/ROADMAP.md`](docs/ROADMAP.md); items move when they are designed, implemented, tested, and released.

---

## License

MIT © Valentina Alexander and the OpenCoven contributors — see [LICENSE](LICENSE) for full terms.

---

<div align="center">

**[OpenCoven](https://github.com/OpenCoven)** — One project. Any harness. Visible work.

</div>
历史前置条件说明(补充参考)

Node.js(npm 全局安装;内存仪表盘要求 Node.js 24+);平台为 macOS、Linux glibc x64(不支持 Alpine)、Windows x64;使用特定 harness 时需完成 provider 侧登录,可能涉及该 provider 的账号或 API Key;费用待核验;境外依赖情况待核验;MCP 配置本次未采集。

项目来源与清单版权许可

https://github.com/OpenCoven/coven

整理来源:https://github.com/slavakurilyak/awesome-ai-agents

清单版权与许可:

MIT License

Copyright (c) 2024 Slava Kurilyak

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.