OlympHill
Claw Code logo

Claw Code一款开源的 AI 编程代理框架和命令行工具,基于 Claude Code 重构,适用于本地开发者工作流。

4.2 (6)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

Claw Code 是一个开源的 AI 编程代理框架,作为对 Claude Code 代理架构的重构。它完全从头开始使用 Python 和 Rust 构建,具有模块化的结构,其中 72.9% 的代码库使用 Rust 以实现高性能运行时执行,27.1% 使用 Python 以实现代理编排和 LLM 集成。 Claw Code 拥有一个强大的工具系统,包含 19 个内置、权限控制的工具,包括文件读取、bash 执行、网页抓取和 Git 操作。该框架还包含一个查询引擎,负责管理 LLM API 调用、响应流、缓存策略和多步骤编排。 该框架的架构允许创建子代理,称为“swarms”,以并行化复杂任务。这使得系统可以将大型工程挑战分解为可独立执行的组件。 Claw Code 在开发者社区中引起了广泛关注,在 GitHub 上获得了超过 48,000 个星标和 56,000 个复刻。该项目正在积极维护中,有 335 个活跃的关注者,超过 2,100 个开放的社区问题。 总体而言,Claw Code 提供了一种可靠且可定制的替代专有 AI 编程代理框架,为开发者提供了对其工作流的控制权和透明的架构。

主要功能

  • 基于插件的工具系统
  • LLM 提供商抽象层
  • 核心查询引擎
  • 权限控制的工具系统
  • 多代理编排
  • 高性能 Rust 运行时

价格

模型
Free
评分
4.2 / 5 (6)

使用场景

在本地运行 AI 编程代理

使用命令行工具在本地开发者工作流中调用 AI 编程代理,无需依赖专有的基于云的工具。

Claude Code 的开源替代品

对于需要开源编码代理的团队或个人来说,这是一种对 Claude Code 的重构,他们可以检查和修改该代理。

构建自定义编码代理工作流

利用该框架扩展或集成 AI 编程代理功能到自定义开发者工具和管道中。

实验代理内部机制

研究和修改开源代码库,以了解 AI 编程代理的结构,并 prototype 新的代理行为。

优点 & 缺点

优点

  • 开源且完全透明
  • Rust 和 Python 的模块化架构
  • 具有权限控制工具的强大工具系统
  • 用于并行化复杂任务的多代理编排
  • 具有提供商无关设计的 configurable 查询引擎

缺点

  • 仍然是一个相对较新的项目
  • 可能在其初始发布版本中存在限制
  • 由于其自定义架构而具有更陡峭的学习曲线

评测

4.2

6 个评分的平均值。

5
1
4
5
3
0
2
0
1
0

登录以留下评测。

Leila Hassan

Leila Hassan

Mar 31, 2026

Years in this space

I've evaluated a lot of these over the years. What stands out here is the core workflow — handled better than most — and it saves real time. The docs could be deeper is my one real gripe. Worth the time if this is your use case.

JK

Joanna Kowalski

Mar 12, 2026

Use it every day

Honestly didn't expect to like it this much. The API is exactly what I needed, and the value for money is strong. I do wish a few rough edges remain, but I reach for it almost every day now and it just clicks.

CL

Camille Laurent

Oct 18, 2025

Solid for our team

We rolled this out across the team last quarter and support is responsive. The integrations fits neatly into how we already work, and the automation removed a step we used to do by hand. but it has held up under daily use.

HT

Hiroshi Tanaka

Oct 9, 2025

Solid for our team

We rolled this out across the team last quarter and it is genuinely easy to set up. The dashboard fits neatly into how we already work, and the API removed a step we used to do by hand. The docs could be deeper, which is the main caveat, but it has held up under daily use.

GO

Grace Okafor

Oct 4, 2025

Use it every day

Honestly didn't expect to like it this much. The dashboard is exactly what I needed, and it saves real time. I do wish the mobile experience lags, but I reach for it almost every day now and it just clicks.

Jamal Carter

Jamal Carter

Aug 9, 2025

Does the job

Pretty happy overall. The core workflow just works and the value for money is strong. A few rough edges remain can be annoying, but no dealbreakers — I'd recommend it to a friend without hesitating.

问答

Is Claw Code safe to use?

Claw Code itself is open source and auditable. However, users should exercise caution with the broader ecosystem: a supply-chain attack on March 31, 2026 affected npm-based Claude Code installations. Always install from official sources, verify dependency integrity, and review lockfiles for unauthorized packages.

Asked by Elif Yildiz · Mar 13, 2026

Who created Claw Code?

Claw Code was created by Sigrid Jin (@sigridjineth), a developer profiled by the Wall Street Journal as one of the world's most active Claude Code users, having processed over 25 billion tokens. The project is maintained under the instructkr organization on GitHub and welcomes community contributions.

Asked by Dalia Haddad · Feb 28, 2026

What languages and technologies does Claw Code use?

The codebase is composed of Rust (72.9%) and Python (27.1%). Python handles the agent orchestration layer, command parsing, and LLM integration. Rust implements performance-critical runtime paths, with an active migration branch targeting a fully native runtime for maximum performance and memory safety.

Asked by Adaeze Uche · Feb 23, 2026

Does Claw Code contain Anthropic's proprietary code or model weights?

No. Claw Code is a clean-room implementation written entirely from scratch. Independent code audits confirm that the project contains no Anthropic proprietary source code, no model weights, no API keys, and no user data. The implementation is architecturally informed but legally independent.

Asked by Nikolai Petrenko · Jan 28, 2026

What is Claw Code?

Claw Code is an open-source AI coding agent framework built in Python and Rust. It is a clean-room rewrite of the Claude Code agent harness architecture, featuring multi-agent orchestration, a plugin-based tool system, memory management, and terminal-native AI development workflows.

Asked by Aaliyah Johnson · Jan 22, 2026

提问

编码代理 的替代品