Anthropic's terminal-native coding agent for repo understanding, edits, tests, and git workflows.
$npm install -g @anthropic-ai/claude-code
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
Claude Code is a terminal coding agent for working inside a local repository. It combines prompt-driven code assistance with direct access to files, shell commands, git workflows, plugins, and MCP-connected tools.
What It Enables
- Inspect a repo, request edits, run tests or shell commands, and let the agent apply changes in the same terminal session.
- Resume or fork sessions, use project or user skills, and install plugins to capture repeatable development workflows.
- Run one-off prompts with
--printfor scripted code review, patch generation, summaries, or schema-checked structured output.
Agent Fit
- Headless mode supports
--print, JSON and stream-json output, JSON schema validation, stdin input formats, and explicit tool permission flags. - Unattended use is possible, but the default product is still an interactive agent shell with auth, approvals, and session state that usually need preconfiguration.
- Best fit is as a higher-level repo automation loop when you want an agent to inspect, change, and verify code directly from the shell; it can also connect to MCP-based setups when needed.
Caveats
- Behavior is model-driven rather than subcommand-driven, so repeatability is weaker than with narrow deterministic service CLIs.
- Login, permissions, plugins, and MCP servers can trigger interactive setup unless you lock them down in settings before automation.