claudecode  by soongenwong

High-performance AI coding agent for terminal workflows

Created 1 week ago

New!

921 stars

Top 39.4% on SourcePulse

GitHubView on GitHub
Project Summary

ClaudeCode is an open-source, terminal-native AI coding agent built in Rust, inspired by Anthropic's Claude Code. It aims to integrate advanced LLM capabilities directly into developer workflows, offering speed, safety, and efficiency through an interactive CLI. The project targets developers seeking a powerful, free, and locally runnable coding assistant.

How It Works

Built entirely in Rust, ClaudeCode prioritizes memory safety, minimal binary size, and high execution speed. It functions as an agentic CLI, supporting both interactive shell sessions and one-shot prompts. The agent is model-flexible, compatible with Anthropic-compatible and OpenAI-compatible LLM providers, and features workspace-aware tools designed to understand the local codebase context. Persistent session management allows users to resume work, and an extensible plugin-ready architecture supports custom tools.

Quick Start & Requirements

  • Prerequisites: Install Rust stable and Cargo. Configure API credentials for your chosen LLM provider (Anthropic, OpenAI, xAI).
  • Installation:
    • Build from source: cd rust && cargo build --release -p claw-cli
    • Install globally: cargo install --path crates/claw-cli --locked
  • Usage:
    • Start interactive shell: claw
    • Run single prompt: claw prompt "summarize this workspace"
    • Resume session: claw --resume session.json /status
  • Authentication: Set environment variables (e.g., ANTHROPIC_API_KEY, OPENAI_API_KEY) or use claw login.
  • Links: No external quick-start or demo links are provided.

Highlighted Details

  • Rust-powered: Delivers memory safety, speed, and efficiency.
  • Model Flexible: Supports Anthropic-compatible, OpenAI-compatible, and xAI/Grok providers.
  • Workspace Aware: Tools leverage local codebase context.
  • Session Persistence: Enables resuming agent sessions via JSON state.

Maintenance & Community

Contributions are welcomed, with internal workflow guidance available in CLAW.md. No specific community channels (e.g., Discord, Slack) or notable contributors/sponsorships are detailed in the provided README.

Licensing & Compatibility

The project is described as "Open Source," but a specific license type (e.g., MIT, Apache 2.0) is not explicitly stated in the README. This lack of explicit licensing information may present compatibility concerns for commercial use or derivative works.

Limitations & Caveats

ClaudeCode is an independent, community-driven implementation and is not affiliated with or endorsed by Anthropic. The absence of a clearly defined open-source license is a notable caveat that requires further investigation before adoption, particularly for commercial applications.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
4
Issues (30d)
9
Star History
937 stars in the last 10 days

Explore Similar Projects

Feedback? Help us improve.