claude-code  by jarmuine

CLI for AI-powered software engineering and agentic workflows

Created 1 month ago
2,150 stars

Top 20.4% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Summary

This repository mirrors a publicly exposed source snapshot of Anthropic's Claude Code CLI, intended for educational, defensive security research, and software supply-chain analysis. It benefits technical users by enabling study of real-world agentic CLI systems, packaging failures, and secure development practices.

How It Works

Built on Bun and TypeScript with a React+Ink terminal UI, Claude Code orchestrates interactions with Claude for software engineering tasks. Its architecture features a robust Tool System (~40 modules like Bash, File I/O, Web Search, LSP) with defined schemas and permissions, and a Command System (~50 user-facing slash commands like /commit, /review). A Service Layer handles external integrations, while a Bridge System enables bidirectional communication with IDE extensions (VS Code, JetBrains). A Permission System enforces user approval for tool invocations. Notable design patterns include parallel prefetching and lazy loading for optimized startup, agent swarms, and a skill system for reusable workflows.

Quick Start & Requirements

  • Runtime: Bun
  • Language: TypeScript (strict)
  • Terminal UI: React + Ink
  • Dependencies: Commander.js, Zod v4, ripgrep, MCP SDK, LSP, Anthropic SDK, OpenTelemetry, gRPC, GrowthBook, OAuth 2.0, JWT, macOS Keychain.
  • No explicit installation or run commands are provided.
  • No direct links to official quick-start guides or demos are available.

Highlighted Details

  • Extensive Tooling: Features approximately 40 agent tools (e.g., BashTool, FileReadTool, WebSearchTool, LSPTool) and 50 user-facing slash commands (e.g., /commit, /review, /config, /vim).
  • IDE Integration: The "Bridge System" facilitates seamless bidirectional communication between the CLI and IDE extensions like VS Code and JetBrains.
  • Optimized Startup: Achieves fast boot times through parallel prefetching of critical resources (MDM settings, keychain) and lazy loading of non-essential modules.
  • Feature Flagging: Leverages Bun's bun:bundle and GrowthBook for efficient dead code elimination and dynamic feature management.

Maintenance & Community

Maintained by a university student for educational and defensive security research only. Explicitly disclaims affiliation with Anthropic. No community links are provided.

Licensing & Compatibility

The README does not specify a license. As a research archive derived from a public exposure, its use beyond educational and security research may be restricted, and commercial compatibility is not guaranteed.

Limitations & Caveats

This is a mirrored snapshot of source code exposed via an npm package's source map, intended strictly for research and analysis. It is not an official Anthropic product, lacks explicit licensing, and users should not expect ongoing maintenance or support. Its primary purpose is to study supply-chain vulnerabilities and agentic system architecture.

Health Check
Last Commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
128 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Elvis Saravia Elvis Saravia(Founder of DAIR.AI).

DeepCode by HKUDS

0.5%
16k
AI agents transform ideas into production-ready code
Created 1 year ago
Updated 1 day ago
Feedback? Help us improve.