Skip to Content
Home

Claude Code

An AI-powered coding assistant that runs in your terminal, built with TypeScript and React (Ink).

At a Glance

MetricCount
CLI Commands103+
Built-in Tools45+
React Hooks87+
Major Modules39
Utility Modules298+

Documentation Sections

Architecture

High-level design: entry point, query engine, state management, terminal UI, and feature flags.

Commands

The command system: 103+ built-in commands, slash commands, and custom command extensions.

Tools

45+ development tools: file operations, bash execution, multi-agent delegation, MCP integration, and the permission system.

Subsystems

Major subsystems: MCP, skills, plugins, remote bridge, vim mode, coordinator, and session management.

Services

Service layer: API communication, analytics, LSP integration, and OAuth.

Internals

Deep internals: Ink rendering engine, React hooks catalog, keybindings, utilities, memory files, and constants.

Tech Stack

  • Runtime: Bun / Node.js
  • Language: TypeScript (strict)
  • UI Framework: React via custom Ink engine
  • AI Backend: Claude API (streaming)
  • Extension Protocol: Model Context Protocol (MCP)
  • Build: Bun bundler with feature flag dead-code elimination
Last updated on