explaingit

sanbuphy/learn-coding-agent

11,854Audience · developerComplexity · 1/5LicenseSetup · easy

TLDR

A multilingual research document collection analyzing how Claude Code works internally, covering its telemetry, internal codenames, agent loop architecture, remote configuration controls, and upcoming features based on publicly available observations.

Mindmap

mindmap
  root((learn-coding-agent))
    What it does
      Claude Code analysis
      Multilingual docs
      Public observations
    Reports
      Telemetry collection
      Internal codenames
      Remote config controls
      Upcoming features
    Architecture
      Agent loop
      Tool execution
      Sub-agents
    Languages
      English
      Japanese
      Korean
      Chinese
    Audience
      AI tool researchers
      Developers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Study how Claude Code's agent loop processes tool calls and decides when to stop looping

USE CASE 2

Review what telemetry and usage data Claude Code collects and sends back to Anthropic

USE CASE 3

Understand the internal architecture including the 40+ built-in tools, 80+ slash commands, and source directory structure

USE CASE 4

Learn about Claude Code's remote configuration polling and how it handles settings updates

Getting it running

Difficulty · easy Time to first run · 5min
Research and personal study only, commercial use and unauthorized redistribution are prohibited by the repository's non-commercial disclaimer.

In plain English

This repo is a study resource compiled from publicly available discussions and references about Claude Code, Anthropic's command-line AI coding agent. It does not contain the Claude Code source code. Instead, the author gathered publicly shared technical observations about how the tool works internally and organized them into analysis documents available in four languages: English, Japanese, Korean, and Chinese. The main content is a set of five reports covering telemetry collection, internal codenames, a mode that hides AI authorship in open-source repositories, remote configuration controls, and details about upcoming features. The telemetry report explains what usage data the tool sends back, noting there is no accessible opt-out for first-party logging. The codename report documents internal project names such as Capybara, Tengu, and Numbat. The remote-control report describes how the application polls a server for settings updates every hour, and how rejecting certain changes causes the application to exit. The repo also includes an architecture overview of the agent loop at the core of the tool: the user sends a message, the AI returns a response, and if the model requests a tool action the system executes it and loops back. The README notes this loop sits under additional production layers handling permissions, streaming, concurrency, sub-agents, and persistent state. A statistics section covers the analyzed codebase: roughly 1,884 TypeScript files, over 512,000 lines of code, about 40 built-in tools, and over 80 slash commands. A directory reference traces the internal source structure by filename and function. The repository carries a non-commercial research disclaimer throughout, prohibiting commercial or unauthorized use. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Based on the learn-coding-agent architecture overview, explain how Claude Code decides which tool to call next and when to stop the agent loop
Prompt 2
What telemetry does Claude Code collect according to the learn-coding-agent analysis, and is there any way to control what gets sent?
Prompt 3
Explain the agent loop pattern from learn-coding-agent in plain terms so I can implement a similar loop in my own AI coding tool
Prompt 4
What are the internal codenames Capybara, Tengu, and Numbat in Claude Code and what parts of the system do they refer to?
Prompt 5
How does Claude Code poll for remote settings updates and what happens when the application rejects a configuration change?
Open on GitHub → Explain another repo

← sanbuphy on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.