Home / Open Source / claude-code

claude-code

An agentic AI coding tool that runs in your terminal, understands your codebase, and helps you write code, fix bugs, and manage git workflows using natural language commands.

PythonAgent
โญ GitHubhttps://github.com/anthropics/claude-code
139,336
Stars
+6,287
Star growth
Jul 25, 2026
Last updated
2,055
Clicks

Claude Code โ€” Agentic AI Coding Tool by Anthropic

GitHub: https://github.com/anthropics/claude-code


Overview

Claude Code is an agentic coding assistant built by Anthropic that runs directly in your terminal (and IDE). Unlike traditional autocomplete tools, Claude Code understands your entire codebase contextually and can take autonomous multi-step actions โ€” reading files, editing code, running bash commands, managing git workflows, and more โ€” all driven by natural language instructions.

It is powered by Anthropic's Claude models (defaulting to Claude Sonnet) and supports integration with Claude API, Amazon Bedrock, Google Vertex AI, and Microsoft Foundry.


Key Features

๐Ÿง  Codebase Understanding

Claude Code reads and navigates your project files, understands the architecture, and provides context-aware suggestions and edits. It uses dedicated tools (Read, Edit, Glob, Grep) to interact with files rather than relying on shell commands like cat or sed.

๐Ÿ’ฌ Natural Language Interface

You can interact with Claude Code using plain English (or other languages). There is no need to memorize commands โ€” just describe what you want, and Claude Code will figure out the steps.

๐Ÿ”„ Git Workflow Automation

Claude Code can handle full git workflows: creating branches, committing changes, writing commit messages, and even opening pull requests โ€” all through natural language.

๐Ÿ–ฅ๏ธ Multi-Surface Support

  • Terminal โ€” the primary interface, run claude in any project directory
  • VS Code / Cursor / JetBrains โ€” IDE extensions with sidebar panel support
  • GitHub Actions โ€” tag @claude in any PR or issue to trigger automated code review, implementation, or bug fixing

๐Ÿ”Œ Plugin & MCP Support

Claude Code supports Model Context Protocol (MCP) servers, allowing dynamic integration of external tools and data sources. The official plugin registry (anthropics/claude-plugins-official) curates high-quality community plugins.

๐ŸŽ™๏ธ Voice Mode

A voice STT (speech-to-text) interface is available, supporting 20+ languages including English, Russian, Japanese, Chinese, and more.

๐Ÿ”’ Security Review

A built-in /security-review slash command (and companion GitHub Action) performs OWASP-aligned security analysis on code changes, flagging injection attacks, authentication issues, data exposure, and cryptographic weaknesses.

โš™๏ธ Scripting & Automation (--bare flag)

For CI/CD pipelines and headless automation, the --bare flag disables interactive features and runs Claude Code purely as a scripted API client โ€” compatible with ANTHROPIC_API_KEY-based authentication.


Installation

# Recommended: install via npm globally
npm install -g @anthropic-ai/claude-code

# Navigate to your project and start
cd your-project
claude

Note: npm installation is being phased out in favor of platform-specific installers. Refer to the official setup docs for the latest recommended installation method.


How It Works

Claude Code wraps the core Claude API agent loop with a production-grade harness:

User Input โ†’ Claude API (claude-sonnet) โ†’ Tool Use Decision
                    โ†“
          Execute Tools (Read / Edit / Bash / Git / MCP)
                    โ†“
          Append Results โ†’ Loop until task complete

The agent can use 40+ built-in tools including file read/write, bash execution, glob search, grep, git operations, and MCP-connected external tools.


GitHub Actions Integration

Claude Code integrates with GitHub via the anthropics/claude-code-action:

  • Tag @claude in any PR comment or issue to trigger Claude
  • Claude can answer questions, review code, implement features, and open PRs
  • Supports Anthropic API, AWS Bedrock, Google Vertex AI, and Microsoft Foundry as backends

Example workflow trigger:

@claude Please refactor this function to be more readable and add unit tests.

Data & Privacy

When using Claude Code, Anthropic collects:

  • Usage data (code acceptance/rejection)
  • Associated conversation data
  • Bug reports submitted via /bug

Anthropic applies limited retention periods for sensitive information and does not use this feedback to train models without consent.


Ecosystem

Repository Description
anthropics/claude-code Core CLI tool
anthropics/claude-code-action GitHub Actions integration
anthropics/claude-code-security-review AI-powered security review action
anthropics/claude-plugins-official Official curated plugin directory
anthropics/claude-quickstarts Starter projects using Claude API

Community


Summary

Claude Code is more than a code autocomplete tool โ€” it is a fully agentic software engineering assistant that can autonomously plan, execute, and iterate on multi-step coding tasks. Its tight integration with terminals, IDEs, and GitHub makes it suitable for individual developers and enterprise CI/CD pipelines alike.