项目介绍
Agent 开发框架 · 2026-11-09 更新 · 本站尚未实测
Arachne 是 Strategic-Automation 组织发布的 Python 运行时,README 将其定位为“DSPy-native runtime for self-healing agent graphs”。它把自然语言目标转成带类型的图结构(GraphTopology),按依赖关系以并行波次执行节点,评估输出,并在运行失败或质量偏低时尝试修复或重新织图。
项目自带 CLI,目标会经过澄清、织图、工具准备、执行、评估等阶段;每次运行产生可持久保存的本地会话记录,便于审计、恢复和复用。README 明确标注 0.1.x 为 Beta,处于活跃开发期,接口可能变化,适合实验、研究流程和早期集成反馈,不建议视作稳定生产基座。
核心能力
点击能力名称查看输入、输出和原文依据。
- 目标澄清与织图:执行前可通过交互方式澄清模糊目标,再生成结构化图。
- DSPy 签名与 Pydantic 拓扑模型:README 强调用 DSPy 签名和 Pydantic 模型表达图,而非隐藏的提示链。
- 并行波次执行:依赖满足的独立节点以异步并发方式运行。
- 协议优先的工具解析:内置工具与 MCP 集成走同一解析路径。
- 自愈循环:失败或低分运行可采取定向重试、改路或重新织图。
- 人工监督:
--interactive模式允许用户查看并引导生成的计划。 - 会话优先:每次运行有本地持久记录,支持列出、查看、恢复与复用图。
以上能力均来自 README 的能力描述,实际效果与稳定性尚待核验。
实际应用场景
适用场景
适合希望把 Agent 工作表达为可检查图结构的研究者与早期集成者,例如:需要复现实验性多步任务编排、希望查看中间图与结果、需要在失败后尝试自动修复的场景。也适合评估 DSPy 与图编排结合的开发者。
若需要成熟稳定的生产级编排、可视化图形编辑器或开箱即用的托管服务,README 未提供相关承诺,应谨慎评估。
安装与接入
README 给出的起步流程是:克隆仓库、运行 quickstart.sh 设置向导(检查 Python 与 uv、安装依赖、协助生成本地配置文件),再用 uv run arachne run 执行目标。前置条件为 Python 3.11+ 与 uv。README 提供 uv sync --all-groups、uv run ruff check src/arachne tests、uv run pytest 供贡献者使用。
配置方面,README 说明支持项目级 ./arachne.yaml 与用户级 ~/.arachne/config.yaml,二者不会合并:存在项目文件时选项目文件,否则回退到用户文件;运行时覆盖值优先于所选 YAML 与内置默认值。具体安装步骤与完整参数应以官方文档 Getting started 与 CLI reference 为准。
README 提到 MCP 集成与工具解析,但本次采集未获取到 MCP 配置样例(GitHub HTTP 404),因此具体接入方式待核验,不建议照搬猜测配置。
使用条件与限制
- 是否需要部署
- 需自行准备运行环境,具体要求见正文
- 是否需要注册
- 账号和认证要求见正文;未明确说明的项目仍待核验
- 是否需要 API Key
- 待核验
- 费用与额度
- 费用边界见正文,项目许可不代表模型或托管服务免费
- 所需权限
- 待核验
- 许可证与服务条款
- 待核验
权限费用与限制
- 模型与 API Key:README 未明确列出所用模型提供方、模型清单或密钥配置方式,需查阅文档并待核验;若调用收费模型会产生相应费用,本地模型则另需考虑算力成本,具体以后端配置为准。
- 本地数据:会话与缓存的图保存在本地,具体位置与清理方式待核验。
- 工具权限:内置工具与 MCP 工具的运行范围、是否需要额外授权,README 未说明,待核验。
- 成熟度限制:0.1.x Beta,接口可能变化;README 将适用范围限定为实验与研究流程。
- 平台:README 仅要求 Python 3.11+,未声明操作系统支持范围;Windows 兼容性待核验。
国内使用情况
网友核验 用户经验分享
与站长实测独立,不代表官方认证或本站已实测。
最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。
分项统计、有效期与样本量
| 核验项目 | 有效人数 | 成功 / 部分 / 失败 / 无法判断 | 成功率 | 最近核验 / 有效期 |
|---|---|---|---|---|
| 官方网站访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| GitHub 仓库访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 安装与运行 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 官方服务国内连接 / MCP 连接 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 国内网络情况 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 国内模型兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 自定义 API | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外服务依赖 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外账号要求 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 中文界面 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 客户端兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 账号及费用信息 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。
最近有效核验
暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。
查看全部有效核验 →国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。
- 官方网站访问
- 尚未实测 待核验
- GitHub 仓库访问
- 尚未实测 待核验
- 官方服务国内连接
- 尚未实测 待核验
- 国内网络情况
- 尚未实测 待核验
- 国内模型兼容性
- 尚未实测 待核验
- 自定义 API
- 尚未实测 待核验
- 海外服务依赖
- 尚未实测 待核验
- 海外账号要求
- 尚未实测 待核验
- 中文界面
- 尚未实测 待核验
- 国内最后核验时间
- 尚未实测
许可与国内使用
仓库 LICENSE 为 MIT 许可证(Copyright (c) 2026 Strategic Automation Ltd.),覆盖仓库代码。模型服务、第三方工具与 MCP 服务器各自遵循其自身条款,是否免费需向对应服务商核验;开源许可不等于模型调用免费。
README 未提及托管服务、商业模块或部署地域。国内网络能否访问所需模型与依赖源、是否存在合规限制,资料未说明,均待核验。
项目资料与来源
字段依据与待核验事项
access:来源确认 · git clone https://github.com/Strategic-Automation/arachne.git
project_type:来源确认 · DSPy-native runtime for self-healing agent graphs
原始 README(折叠技术参考)
# <p align="center"><img src="docs/assets/logo.png" width="300" alt="Arachne Logo"></p>
# 🕷️ Arachne — DSPy-native runtime for self-healing agent graphs
[](https://opensource.org/licenses/MIT)
[](https://www.python.org/downloads/release/python-3110/)
[](https://github.com/Strategic-Automation/arachne/actions)
[](https://github.com/stanfordnlp/dspy)
**Stop prompting. Start programming.** Arachne turns natural-language goals into typed, inspectable, DSPy-native execution graphs. It weaves a directed graph, provisions tools, executes nodes in parallel waves, evaluates the output, and can repair or re-weave when a run fails.
> **Beta:** Arachne `0.1.x` is under active development. Interfaces may change while the runtime stabilises.
---
## Why Arachne?
Most agent systems are prompt chains wrapped in orchestration code. They are hard to inspect, hard to resume, and brittle when a tool fails. Arachne treats agent work as a graph-shaped programme:
| Problem | Arachne approach |
|---|---|
| Vague goals | Interactive goal clarification before execution |
| Brittle prompt chains | DSPy signatures and Pydantic topology models |
| Slow sequential plans | Topological wave execution with async concurrency |
| Lost state | Durable sessions, cached graphs, and checkpoints |
| Silent failure | Rules, semantic scoring, and human review gates |
| Expensive retries | Targeted retry, re-route, or re-weave repair strategies |
## Highlights
- **DSPy-native graph weaving** — goals become structured `GraphTopology` models rather than hidden prompt chains.
- **Parallel wave execution** — independent nodes run concurrently once their dependencies are satisfied.
- **Protocol-first tools** — built-in tools and MCP integrations share the same resolver path.
- **Self-healing loop** — failed or low-quality runs can be retried, re-routed, or re-woven.
- **Human oversight** — interactive mode lets users review and steer generated plans.
- **Session-first runtime** — every run has a durable local record for audit, resume, and reuse.
---
## Runtime lifecycle
```mermaid
graph TD
A[User goal]
B[Clarify goal]
C[Weave graph]
D[Provision tools]
E[Execute waves]
F[Evaluate result]
G[Return result]
H[Heal run]
A --> B
B --> C
C --> D
D --> E
E --> F
F --> G
F --> H
H --> C
```
## Architecture at a glance
```mermaid
graph LR
A[CLI]
B[Arachne core]
C[GraphWeaver]
D[WaveExecutor]
E[ToolResolver]
F[Built in tools]
G[MCP tools]
H[Evaluator]
I[AutoHealer]
J[Session store]
A --> B
B --> C
C --> D
D --> E
E --> F
E --> G
D --> H
H --> I
I --> C
B --> J
```
---
## Quick start
### 1. Clone the repository
```bash
git clone https://github.com/Strategic-Automation/arachne.git
cd arachne
```
### 2. Run the setup wizard
```bash
./quickstart.sh
```
The wizard checks your Python and `uv` setup, installs dependencies, and helps create local configuration files.
### 3. Run your first goal
```bash
uv run arachne run "Research the current state of humanoid robotics"
```
For extra control, enable interactive review:
```bash
uv run arachne run "Research the current state of humanoid robotics" --interactive
```
---
## Common commands
```bash
# Weave and execute a goal
uv run arachne run "Create a market map for open-source agent runtimes"
# Generate a graph without running it
uv run arachne weave "Compare DSPy and LangGraph for graph-based agents"
# List recent sessions
uv run arachne ls -n 5
# Read the latest result
uv run arachne cat last
# List cached graph topologies
uv run arachne graphs
# Reuse a previous graph
uv run arachne rerun <graph-id>
# Resume a failed run
uv run arachne resume <session-id>
```
## Configuration model
Arachne supports project-level and user-level YAML configuration, but it does not merge those two YAML files. The loader selects `./arachne.yaml` when it exists; otherwise it falls back to `~/.arachne/config.yaml`. Runtime override values still take priority over the selected YAML file and built-in defaults.
For the full configuration flow, see [Architecture deep dive](docs/explanation/architecture.md).
---
## Documentation
| Need | Start here |
|---|---|
| Install and run your first goal | [Getting started](docs/tutorials/getting-started.md) |
| Understand the system design | [Architecture deep dive](docs/explanation/architecture.md) |
| Use the CLI well | [CLI reference](docs/reference/cli.md) |
| Browse all docs | [Documentation index](docs/index.md) |
| Contribute safely | [Contributor guide](docs/roadmap/contributing.md) |
---
## Project status
Arachne is suitable for experimentation, research workflows, and early integrator feedback. The current focus is reliability, observability, graph reuse, and clearer extension points for tools and skills.
Planned areas:
- richer graph review and editing
- stronger resumability around checkpoints
- semantic graph reuse
- cleaner event streaming
- expanded MCP integration patterns
See [ROADMAP.md](ROADMAP.md) for more detail.
---
## Contributing
Contributions are welcome. Useful starting points:
- open an issue with a focused bug report or proposal
- improve documentation or examples
- add tests around graph execution, tool resolution, or session recovery
- keep PRs small and easy to review
Before opening a PR, run:
```bash
uv sync --all-groups
uv run ruff check src/arachne tests
uv run pytest
```
## License
Arachne is released under the MIT License. See [LICENSE](LICENSE) for details.
历史前置条件说明(补充参考)
Python 3.11+;需使用 uv 运行;需通过 quickstart.sh 生成本地配置;模型提供方与 API Key 配置方式 README 未说明,待核验;模型调用费用待核验;MCP 工具配置样例缺失,待核验;操作系统支持范围与 Windows 兼容性待核验。
项目来源与清单版权许可
https://github.com/Strategic-Automation/arachne
整理来源: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.