AgentIndex icon
AgentIndex
工具分类热门最新对比
提交工具
首页/
Code Assistant/
learn-claude-code
learn-claude-code logo

learn-claude-code

活跃·★ 63.6k·MIT·更新于 2026-05-29
★ 最受欢迎★ 时下流行

通过从零开始构建一个现代AI代理,学习其工作原理,尤其是类似Claude Code的代理。

本仓库提供了一个实践教程,通过从零开始构建一个现代AI代理来学习其工作原理,强调模型与工具交互的核心循环。它将复杂的代理概念简化为迭代版本,从基本的Bash代理到复杂的基于技能的系统。

#AI代理#Claude#Python#Bash脚本#代理技能
$ 安装
$ pip install -r requirements.txt
↗ 访问官网★ GitHub
01

功能特性

01理解核心代理循环模式
02学习有效的AI交互工具设计
03实现显式规划以预测AI行为
04通过子代理隔离管理上下文和内存
05使用技能按需注入领域专业知识
02

兼容性

Claude (Models)
支持
已通过文档验证
Kode CLI
支持
已通过文档验证
Cursor
支持
已通过文档验证
Agent Skills Specification
原生支持
已通过文档验证
03

快速开始

1
$ pip install -r requirements.txt
04

使用场景

↳从零开始学习构建现代AI编码代理
↳开发AI代理的自定义工具和技能
↳根据不同复杂级别搭建新的代理项目
05

同类工具

Context7 logo
Context7★ 56.4k
Context7 MCP 为大型语言模型提供最新、版本特定的代码文档和示例,以避免过时或虚假的信息。
vs →
awesome-cursorrules logo
awesome-cursorrules★ 39.8k
一组配置文件,通过自定义规则和行为来增强 Cursor AI 编辑器的体验。
vs →
mindsdb logo
mindsdb★ 39.2k
MindsDB 使得人类、AI、代理和应用程序能够从大规模数据源中获取高度准确的答案。
vs →
GitHub MCP Server logo
GitHub MCP Server★ 30.3k
GitHub MCP 服务器将AI工具直接连接到GitHub平台,使AI代理、助手和聊天机器人能够通过自然语言交互管理GitHub资源和自动化工作流。
vs →
Brave Search MCP logo
Brave Search MCP★ 86.5k
此仓库是模型上下文协议(MCP)参考实现的集合,展示了如何为大型语言模型提供安全、受控的工具和数据源访问。
vs →
Microsoft AutoGen logo
Microsoft AutoGen★ 58.5k
AutoGen是一个用于创建多智能体AI应用的框架,这些应用可以自主运行或与人类协作。
vs →
CrewAI logo
CrewAI★ 52.4k
CrewAI 是一个从零开始构建的精益、快速的 Python 框架,用于创建自主的 AI 代理并进行多代理自动化。
vs →
Open Interpreter logo
Open Interpreter★ 63.7k
Open Interpreter 允许大型语言模型在本地运行代码(如Python、Javascript、Shell等),通过终端提供类似ChatGPT的自然语言界面。
vs →
查看全部替代品 →

相关搜索

learn-claude-code 替代工具最佳 Code Assistant 工具 2026开源 Code Assistantlearn-claude-code 教程learn-claude-code 对比AI AgentsClaudePython

评论

登录后发表评论
  • Q
    Quinn Davis2026年5月7日

    Wrote about this in my AI engineering newsletter — the bottom-up approach to understanding Claude Code is refreshing compared to top-down API docs.

  • Lane Lee
    Lane Lee2026年5月1日

    Used for robust automation workflows, the framework stays out of the way — bash is all you need - write a nano claude code 0 - 1. The maintainers are responsive to issues.

  • M
    Marlowe Zhang2026年4月29日

    The efficient agent design scales well from prototype to production. Runs fine on Node 20.

  • E
    Elliot Brown2026年4月28日

    not a developer but i followed along. actually understood what was happening. rare for this kind of repo

  • S
    Sutton White2026年4月26日

    This repo reframed how I think about Claude Code. The 'Bash is all you need' premise sounds reductive but the examples prove the point.

  • Skyler Rivera
    Skyler Rivera2026年4月22日

    As a CS educator, this is the most digestible intro to agent internals I've found. Assigning it as supplementary reading.

  • P
    Phoenix Brown2026年4月22日

    The clean approach to agent memory is more reliable than alternatives — bash is all you need - write a nano claude code 0 - 1. No complaints after 2 months of use.

  • H
    Hayden Patel2026年4月18日

    Multi-agent write coordination is handled better than competing frameworks — bash is all you need - write a nano claude code 0 - 1. Solid addition to the AI tooling stack.

  • O
    Oakley Kim2026年4月18日

    good starting point before diving into the full Claude Code SDK. sets the right mental model

  • J
    Jordan Brown2026年4月12日

    The code is deliberately simple. That's the point. Understanding the skeleton makes the full framework less intimidating.

  • S
    Sutton Nguyen2026年3月18日

    The robust agent design scales well from prototype to production — bash is all you need - write a nano claude code 0 - 1. Solid addition to the AI tooling stack.

  • C
    Corey Davis2026年1月30日

    The minimal Python + Bash approach means zero environment issues. Runs anywhere, no dependency hell.

  • D
    Dakota Davis2026年1月30日

    went through the nano implementation in an afternoon. learned more about how agents actually work than from reading docs

本页内容
01功能特性02兼容性03快速开始04使用场景05同类工具
统计
GitHub Stars★ 63.6k
最后更新1天前
状态活跃
许可证MIT
分类代码助手
热度趋势 (30d)
+2.5k↑ 4.7%
链接
文档↗讨论↗问题↗版本↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|由十年 iOS 开发者构建。
QYSGitHub请作者喝咖啡 ☕

按分类浏览

代码助手工作流自动化RAG / 知识库多智能体浏览器自动化大模型基础设施开发者工具可观测性

与 Anthropic, OpenAI 或 Microsoft 无关。