AI & ML

Claude Code Architecture

How Claude Code reads your repository, calls tools through MCP, and edits code from the terminal.

Free to start · Fully editable · Export GIF, MP4, PNG & SVG

What's in this template

6 connected components you can rename, recolor, and extend with AI.

Claude ModelYour RepoVS CodeMCP ServersCLI ToolsWorkspace Files

This diagram shows how Claude Code — Anthropic’s agentic coding tool — fits together. At the center is the terminal agent. It is powered by a Claude model, reads and writes the files in your Git repository, and runs commands in your shell. It reaches the outside world through MCP (Model Context Protocol) servers and your installed tooling, and integrates with your editor so changes show up live in VS Code.

Use it to explain agentic coding to your team, to document how an AI assistant is wired into your developer workflow, or to plan which MCP servers and tools to expose. Every node is editable, so you can map it to your exact setup.

Great for

  • Explaining agentic coding to your team
  • Documenting an AI developer workflow
  • Planning which MCP servers to expose
  • Onboarding engineers to AI tooling
  • Conference talk on AI coding agents

Make your own version with AI

Prefer to start from your own content? Describe it in one sentence and Infogiph generates a claude code architecture you can edit and animate. For example:

“Claude Code Architecture showing Claude Model, Your Repo, VS Code, MCP Servers, CLI Tools and Workspace Files”

Try it in the AI diagram generator, or read How to turn text into an infographic.

How to customize this template

  1. Open it in the canvas with Use this template.
  2. Split RAG into two paths: ingestion (chunk, embed, index) runs ahead of time, while retrieval runs on every query. Label which is which.
  3. Name the real components, such as the chat model, embedding model and vector database, and swap icons for their logos so the diagram matches your stack.
  4. Add the nodes that show control: evaluation, guardrails, human review and logging. That is where reviewers look for risk.
  5. For agent loops, try the Cycle style so plan, act and observe read as a loop rather than a list.
  6. Export a PNG or SVG for docs and slides, or a GIF or MP4 to keep the animation.

Frequently asked questions

What is Claude Code?+

Claude Code is Anthropic’s agentic coding tool that runs in your terminal. It uses a Claude model to read your codebase, run commands, call tools and edit files directly, acting like a pair programmer that can take actions.

How does Claude Code connect to other tools?+

It uses MCP (Model Context Protocol) servers plus your installed CLI tooling. MCP gives the agent a standard way to access data sources and external services such as databases, issue trackers and browsers.

Does Claude Code work with my editor?+

Yes. It integrates with editors like VS Code so the agent’s edits appear in your IDE, while still running from the terminal against your real repository.

Can I adapt this diagram to my setup?+

Absolutely. Rename nodes, add the specific MCP servers and tools you use, change the look, and export to PNG, SVG, GIF or MP4.

Related templates

View all AI & ML →

Make it yours in seconds

Open the claude code architecture in the Infogiph canvas, then edit, animate, and export.

Use this template