nano-claude-code

by TIC-DLUT · Agent Tool · ★ 25

About nano-claude-code

nano-claude-code 本项目是一个教学导向的开源实践项目。我们将抛弃 LangChain、抛弃 LlamaIndex,甚至抛弃官方 SDK,仅使用 Go 语言标准库(以及少量辅助库),在 7 天内从零开始,一行行写出一个Claude-Code like Coding Agent。 nano-claude-code 是一个受 Anthropic Claude Code 启发,使用 Golang 从零开始纯手工打造的轻量级 AI 编码智能体(Agent)。 没有 LangChain,没有复杂笨重的 AI 框架。这里甚至连调用 Anthropic 接口的 SDK 都是从零手写的。本项目旨在通过纯粹、清晰的 Go 代码,向你展示如何从最底层的 API 调用开始,一步步构建一个具备自主能力的 AI Agent。 为什么要“从零手搓”? 现在的 AI 封装库越来越厚重,当 Agent 陷入死循环、工具调用失败、或者上下文丢失时,新手往往不知所措。 作为教学项目,nano-claude-code 将带你亲自趟过这些坑: 亲自手写底层 SDK,搞懂 LLM 接口的 JSON Schema 长什么样。 亲自解析 SSE 流式响应,体验在终端打印“打字机”效果的快感。 亲自写一个 for 循环来实现 Agent 的“观察 - 思考 - 行动”(ReAct)闭环。 亲自赋予 LLM...

agentagent-developmentai-agentclaudeclaude-codeeducationalgolangllmteachingtutorial

Quick Facts

Stars25
Forks6
LanguageGo
CategoryAgent Tool
LicenseMIT
Quality Score50.6348614181831/100
Open Issues3
Last Updated2026-05-13
Created2026-03-28
Platformsclaude-code, go
Est. Tokens~36k

Compatible Skills

These tools work well together with nano-claude-code for enhanced workflows:

  • mini-claude-code — semantic(0.27)+complementary+same_lang+similar_pop+shared_platform (55%)
  • herald — semantic(0.22)+complementary+same_lang+similar_pop+shared_platform (53%)
  • learn-claude-code — semantic(0.65)+rare_topics+shared_platform (53%)
  • ccpeek — semantic(0.22)+complementary+same_lang+similar_pop+shared_platform (53%)

More Agent Tool Tools

Explore other popular agent tool tools:

View all Agent Tool tools →

Popular Go Agent Tools

Frequently Asked Questions

What is nano-claude-code?

nano-claude-code is 七天从零实现一个Claude Code。 Complete a Claude code from scratch in seven days.. It is categorized as a Agent Tool with 25 GitHub stars.

What programming language is nano-claude-code written in?

nano-claude-code is primarily written in Go. It covers topics such as agent, agent-development, ai-agent.

How do I install or use nano-claude-code?

You can find installation instructions and usage details in the nano-claude-code GitHub repository at github.com/TIC-DLUT/nano-claude-code. The project has 25 stars and 6 forks, indicating an active community.

What license does nano-claude-code use?

nano-claude-code is released under the MIT license, making it free to use and modify according to the license terms.

View on GitHub → Browse Agent Tool tools