---
type: library
origin: ultraworkersclaw-code The repo is finally unlocked. enjoy the party! The fastest repo in history to surpass 100K stars ⭐. Join Discord httpsdiscord.gg5TUQKqFWd Built in Rust using oh-my-codex.md
originPath: sources/ultraworkersclaw-code The repo is finally unlocked. enjoy the party! The fastest repo in history to surpass 100K stars ⭐. Join Discord httpsdiscord.gg5TUQKqFWd Built in Rust using oh-my-codex.md
ingested: 2026-05-07
tags: [claw-code, rust, ultraworkers, opencode, coding-agent]
---

## 摘要

ultraworkers/claw-code 是 `claw` CLI agent harness 的公开 Rust 实现，是史上最快突破 100K stars 的开源项目。claw 是一个 AI Coding Agent 的运行环境，支持 Anthropic API（Claude）、OpenAI API 等多模型平台。源码位于 `rust/` 目录，从源码构建而非通过 `cargo install claw-code` 安装（二进制已废弃）。

## 关键要点

- **Rust 实现**：纯 Rust 写的 claw CLI，比 Python reference 更接近生产级
- **快速开始**：`cargo build --workspace` → 设置 `ANTHROPIC_API_KEY` → `claw doctor` 验证 → `claw prompt "say hello"`
- **安装警告**：`cargo install claw-code` 装的是废弃桩，二进制名是 `claw-code-deprecated.exe`，应该 `cargo install agent-code` 或从源码构建
- **文档结构**：USAGE.md（用法）、rust/README.md（crate 详情）、PARITY.md（Rust 迁移状态）、ROADMAP.md（路线图）
- **Windows 支持**：PowerShell/Git Bash/WSL 均可，PowerShell 下二进制名为 `claw.exe`
- **与 OpenCode 关系**：OpenCode 是类似工具，claw-code 文档中有参考

## 本文件对 wiki 的贡献

- 新增实体：[[entities/ultraworkers-claw-code|ultraworkers/claw-code]]
- 新增概念：[[concepts/claw-code|claw-code]]（CLI Agent Harness）

## 相关页面

- [[entities/ultraworkers-claw-code|ultraworkers/claw-code]]
- [[concepts/claw-code|claw-code]]