#7575th of 88 in Learning and cookbooks
how-to-build-a-coding-agent
Go workshop that builds a Claude-based coding agent in six steps
- Stars
- 5.9k
- License
- no license
- Last commit
- Oct 2026
- Language
- Go
5,397 on 21 Apr 20265,920 on 10 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A tutorial repo with six runnable Go programs, from a basic Claude chat loop to an agent with file read, directory listing, bash, file edit and ripgrep code search tools. Each step adds one tool to a shared event loop that passes tool requests from the Anthropic API to local functions and returns the results. It is teaching material, not a production agent.
Who it is for: Developers learning how coding agents and tool-calling loops work
Strengths
- Incremental files (chat.go to code_search_tool.go) make each added tool easy to diff
- Small Go codebase; tool input schemas are generated from Go structs
- Sample files and a --verbose flag help inspect the agent loop
- Architecture diagrams explain the inference and tool-execution loop
Weaknesses
- Anthropic Claude API only; no other providers covered
- No license file, so reuse terms are unclear
- Bash and edit tools have no sandboxing beyond a 'safe commands' note
- Workshop code, not a maintained library or CLI product
What it needs
- no GPU
- Needs Go 1.24.2+, Anthropic API key, ripgrep
- Models: Anthropic Claude
Quick answers
Is how-to-build-a-coding-agent open source?
Its code is public on GitHub, but the repository has no license, so by default nobody may reuse it.
Does how-to-build-a-coding-agent need a GPU?
No, it runs without one.
Also in Learning and cookbooks
See all 88| Rank | Project | Score |
|---|---|---|
| 1 | ai-engineering-from-scratchHands-on AI engineering curriculum with 542 lessons across 20 phases | 91 out of 100 |
| 2 | generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript | 83 out of 100 |
| 3 | rag_techniquesCollection of 42 runnable notebooks implementing RAG techniques | 81 out of 100 |
| #4 | cs249r_bookOpen textbook and course materials for machine learning systems engineering | 81 out of 100 |
| #5 | ai-for-beginners24-lesson AI curriculum with notebooks in PyTorch and TensorFlow | 80 out of 100 |