claude-code  by claude-code-best

AI assistant CLI tool

Created 4 days ago

New!

12,849 stars

Top 4.0% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This project is a reverse-engineered reimplementation of Anthropic's official Claude Code CLI tool, aiming to replicate its core functionality and engineering capabilities. It offers a runnable, buildable version with fixed TypeScript types and enterprise-grade reliability, targeting developers and power users seeking to leverage Claude Code's features without direct access to the original.

How It Works

The project reconstructs Claude Code's architecture through reverse engineering, focusing on core components like a REPL interface (Ink), robust API communication across multiple providers (Anthropic, AWS Bedrock, Google Vertex, Azure Foundry), streaming dialogue, session management, context building, and an extensive tool system. It utilizes Bun for development and building, employing code splitting for modular output.

Quick Start & Requirements

  • Prerequisites: Bun >= 1.3.11 (latest recommended).
  • Installation: bun install
  • Running: bun run dev (development), bun run build (production).
  • Output: dist/ directory with cli.js and ~450 chunk files, compatible with Node.js and Bun.
  • Documentation: https://deepwiki.com/claude-code-best/claude-code

Highlighted Details

  • Comprehensive Toolset: Implements a vast array of tools including BashTool, FileRead/Edit/Write, AgentTool, WebFetch/Search, and numerous slash commands for session management, configuration, and code review.
  • Multi-Provider API Support: Integrates with Anthropic Direct, AWS Bedrock, Google Vertex, and Azure Foundry APIs.
  • Build & Runtime: Utilizes Bun for a fast build process with code splitting; output artifacts are compatible with both Bun and Node.js environments.
  • Reliability & Security: Advertised as having enterprise-grade reliability and being safe/virus-free.

Maintenance & Community

The project is updated rapidly. While pull requests are not currently accepted, users are encouraged to submit issues. Sponsorships are welcomed via claude-code-best@proton.me.

Licensing & Compatibility

This project is strictly for learning and research purposes only. All rights to Claude Code belong to Anthropic. It is not licensed for commercial use or integration into closed-source products.

Limitations & Caveats

All 31 feature flags are polyfilled to return false, disabling advanced functionalities like proactive agents (KAIROS), voice mode, and the embedded web browser tool. The project is a reverse-engineered effort, and certain functionalities may differ from or be absent compared to the original Anthropic tool. Pull requests are not currently accepted.

Health Check
Last Commit

9 hours ago

Responsiveness

Inactive

Pull Requests (30d)
39
Issues (30d)
74
Star History
13,118 stars in the last 4 days

Explore Similar Projects

Feedback? Help us improve.