百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

claudecode

> AI 编程
开源

开源 ClaudeCode 遭泄露。功能与 Claude 代码相同,由 Anthropic 编写,使用 Rust 编写,即可免费立即使用。

1.2K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

开源 ClaudeCode 遭泄露。功能与 Claude 代码相同,由 Anthropic 编写,使用 Rust 编写,即可免费立即使用。

ClaudeCode (Open Source)

A high-performance, open-source AI coding agent written in Rust.

ClaudeCode is a terminal-native CLI agent designed to bring advanced LLM capabilities directly into your development workflow. Built for speed, safety, and efficiency, it provides an interactive agent shell, workspace-aware tools, and persistent session management. It is an independent open-source implementation inspired by Claude Code, not the official Anthropic product.

Star History

Related Projects

  • Anthropic developer docs
  • Anthropic
  • Anthropic on X

Key Features

  • Rust-powered: Built with Rust for memory safety, minimal binary size, and high execution speed.
  • Live TUI dashboard: A split-pane ratatui interface showing the agent's pipeline, a workspace tree that recolors as files are scanned/read/modified, and a syntax-highlighted diff that streams in character-by-character.
  • Agentic CLI: Interactive shell and one-shot prompt support for seamless terminal workflows.
  • Model flexible: Supports Anthropic-compatible and OpenAI-compatible providers, plus xAI/Grok aliases.
  • Workspace aware: Context-aware tools designed to understand your local codebase.
  • Session persistence: Resumeable sessions via JSON state management.
  • Extensible: Plugin-ready architecture for custom tools and skills.

Getting Started

Prerequisites

  1. Install Rust stable and Cargo.
  2. Set up your preferred API credentials.

Installation

From the repository root:

bash
cd rust
cargo build --release -p claw-cli

# Install locally to your PATH for global access
cargo install --path crates/claw-cli --locked

Usage

Start the interactive shell:

bash
claw

Run a single prompt:

bash
claw prompt "summarize this workspace"

Resume a previous session:

bash
claw --resume session.json /status

Launch the live split-pane dashboard (currently runs a scripted demo session):

bash
claw dashboard   # alias: claw tui

The dashboard renders three panels — Agent Pipeline (left, a live step log), Workspace + System State (right, a file tree that recolors as files are scanned/read/modified, plus a progress gauge), and Live Diff (bottom, a syntax-highlighted diff that types in line-by-line). Press q, Esc, or Ctrl-C to exit. The UI is driven entirely by an AgentEvent stream, so it can be wired to the real agent loop without touching the rendering code.

Run claw --help for the full command list, including agents, skills, and system-prompt flows.

Authentication

Configure your environment variables based on your preferred provider:

Anthropic

bash
export ANTHROPIC_API_KEY="..."
export ANTHROPIC_BASE_URL="https://api.anthropic.com"

OpenAI-compatible

bash
export OPENAI_API_KEY="..."
export OPENAI_BASE_URL="https://api.openai.com/v1"

Grok / xAI

bash
export XAI_API_KEY="..."
export XAI_BASE_URL="https://api.x.ai"

You can also authenticate via the CLI:

bash
claw login

Frequently Asked Questions

What is this project? This is an independent, open-source implementation of a terminal-based coding agent, architecturally inspired by Claude Code.

Why Rust? Rust provides the performance, concurrency, and memory safety required for a tool that interacts deeply with local file systems and high-latency LLM APIs.

Can I use local models? Yes, if your local inference server exposes an OpenAI-compatible API and you point the relevant base URL and API key at it.

Is this the official Anthropic Claude Code? No, this is a community-driven open-source project.

Development

We welcome contributions. Please refer to CLAW.md for workspace-specific workflow guidance.

bash
cd rust
cargo fmt
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace

Repository Structure

  • rust/: Core CLI and runtime implementation.
  • src/: Python support code and utilities.
  • tests/: Verification suites for agentic behaviors.
  • CLAW.md: Internal workflow documentation.

Notes

  • This project is an open-source implementation.
  • It is not affiliated with or endorsed by Anthropic.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustagentic-aianthropicclaude-codecoding

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.