极客时间 Tony Bai - 从 0 开始构建 Agent Harness

从零基础到构建智能代理

编辑点评

深入浅出,系统讲解智能代理构建,涵盖上下文工程、稳定性控制、多智能体协作等多个方面,适合初学者及进阶者。

⭐ 编辑推荐

极客时间Tony Bai主讲,带你从零开始构建智能代理,掌握端到端实战技能。

课程亮点

系统学习智能代理构建
实战项目驱动学习
适合初学者及进阶者

课程目录

📁 09_课程跟练,逐步扩展你的 Agent
    📁 _assets
        972842_img_001.jpg  [531.3 KB]
    更多资源分享.txt  [64.0 B]
    阶段作业|让你的 Agent 学会“慢思考 + 动手做事”.md  [12.9 KB]
    阶段作业|让你的 Agent 学会“慢思考 + 动手做事”(1).md  [12.5 KB]
📁 08_结语&测试
    📁 _assets
        985312_img_001_20260619_223609.png  [5.7 KB]
        985312_img_001.png  [5.7 KB]
        985304_img_002.jpg  [204.3 KB]
        985304_img_001.png  [819.3 KB]
        985304_img_001_20260619_223609.png  [819.3 KB]
        985304.mp3  [13.0 MB]
    更多资源分享.txt  [64.0 B]
    结课测试|来赴一场满分之约!_20260619_223609.md  [746.0 B]
    结课测试|来赴一场满分之约!.md  [767.0 B]
    结束语|Agent 的尽头是 OS,大模型时代开发者的驾驭新征程.md  [12.9 KB]
    结束语|Agent 的尽头是 OS,大模型时代开发者的驾驭新征程_20260619_223609.md  [12.9 KB]
📁 07_第六章:端到端实战串讲
    📁 _assets
        984337_img_006.png  [244.1 KB]
        984337_img_005.png  [112.1 KB]
        984337_img_004.png  [43.0 KB]
        984337_img_003.png  [204.7 KB]
        984337_img_002.png  [250.5 KB]
        984337.mp3  [13.9 MB]
        984337_img_001.png  [339.5 KB]
        984326_img_001.jpg  [165.9 KB]
    更多资源分享.txt  [64.0 B]
    22|实战串讲(下):打造 AgentOps 小助手,在飞书中触发日志分析与故障修复审批_20260619_223609.md  [35.8 KB]
    22|实战串讲(下):打造 AgentOps 小助手,在飞书中触发日志分析与故障修复审批.md  [35.5 KB]
    21|实战串讲(上):拼装完整 CLI 引擎,完成未知项目的文件探索与重构_20260619_223609.md  [36.8 KB]
    21|实战串讲(上):拼装完整 CLI 引擎,完成未知项目的文件探索与重构.md  [37.6 KB]
📁 06_第五章:可观测性与科学度量
    📁 _assets
        981494_img_002.png  [256.2 KB]
        981494.mp3  [14.4 MB]
        981494_img_001.png  [201.5 KB]
        981479_img_001_20260619_223607.png  [1.2 MB]
        981479_img_001.png  [1.2 MB]
        981479.mp3  [13.0 MB]
        981027_img_002_20260619_223607.png  [236.5 KB]
        981027_img_002.png  [236.5 KB]
        981027_img_001_20260619_223607.png  [414.5 KB]
        981027_img_001.png  [414.5 KB]
        981027.mp3  [9.7 MB]
    更多资源分享.txt  [64.0 B]
    20|科学度量:如何构建 Benchmark 自动化评估脚本,科学量化 Harness 引擎性能?_20260619_223607.md  [27.4 KB]
    20|科学度量:如何构建 Benchmark 自动化评估脚本,科学量化 Harness 引擎性能?.md  [27.8 KB]
    19|洞察黑盒:为 Agent 引入 Tracing 机制复盘失败决策路径.md  [27.8 KB]
    19|洞察黑盒:为 Agent 引入 Tracing 机制复盘失败决策路径_20260619_223607.md  [27.2 KB]
    18|成本与状态追踪:在 Harness 层拦截并记录 Token 消耗与执行耗时_20260619_223607.md  [21.9 KB]
    18|成本与状态追踪:在 Harness 层拦截并记录 Token 消耗与执行耗时.md  [22.4 KB]
📁 05_第四章:稳定性控制与多智能体
    📁 _assets
        979413_img_001_20260619_223605.png  [643.0 KB]
        979413_img_001.png  [643.0 KB]
        979413.mp3  [12.7 MB]
        979408_img_003.png  [59.6 KB]
        979408_img_002.png  [195.4 KB]
        979408_img_002_20260619_223607.png  [195.4 KB]
        979408_img_001_20260619_223607.png  [474.2 KB]
        979408.mp3  [13.4 MB]
        979408_img_001.png  [474.2 KB]
        979401_img_001_20260619_223607.png  [640.5 KB]
        979401.mp3  [11.6 MB]
        979401_img_001.png  [640.5 KB]
    更多资源分享.txt  [64.0 B]
    17|任务委派:引入 Subagent 隔离复杂探索任务的上下文瓶颈_20260619_223607.md  [31.0 KB]
    16|防御纵深:利用 Middleware 实现高危命令拦截与飞书人工审批_20260619_223607.md  [27.4 KB]
    17|任务委派:引入 Subagent 隔离复杂探索任务的上下文瓶颈.md  [31.6 KB]
    16|防御纵深:利用 Middleware 实现高危命令拦截与飞书人工审批.md  [28.0 KB]
    15|行为干预:防止 Agent 陷入“死循环”的 System Reminders 机制_20260619_223607.md  [26.4 KB]
    15|行为干预:防止 Agent 陷入“死循环”的 System Reminders 机制.md  [26.9 KB]
📁 04_第三章:上下文工程体系
    📁 _assets
        978775_img_001_20260619_223605.png  [1.9 MB]
        978775.mp3  [20.8 MB]
        978775_img_001.png  [1.9 MB]
        978759_img_001.jpg  [2.0 MB]
        977397_img_001.jpg  [716.0 KB]
        978759.mp3  [10.6 MB]
        977397.mp3  [14.5 MB]
        977388.mp3  [15.1 MB]
        977388_img_001.jpg  [1.4 MB]
        975209_img_001_20260619_223605.png  [2.2 MB]
        975209.mp3  [13.3 MB]
        975209_img_001.png  [2.2 MB]
    更多资源分享.txt  [64.0 B]
    14|错误自愈:上下文感知的 Error Recovery 提示模板注入机制_20260619_223605.md  [25.3 KB]
    13|记忆沉淀:状态外部化,基于文件系统的持久化记忆与待办管理_20260619_223604.md  [39.2 KB]
    14|错误自愈:上下文感知的 Error Recovery 提示模板注入机制.md  [25.8 KB]
    13|记忆沉淀:状态外部化,基于文件系统的持久化记忆与待办管理.md  [39.9 KB]
    11|会话管理:Session 物理隔离与 Working Memory 的底层实现_20260619_223605.md  [26.9 KB]
    12|突破内存:基于阶梯降级的 Context Compaction 策略_20260619_223605.md  [28.9 KB]
    12|突破内存:基于阶梯降级的 Context Compaction 策略.md  [29.4 KB]
    10|提示词组装:告别面条代码,动态加载 AGENTS.md 与外挂 Skills_20260619_223605.md  [33.3 KB]
    11|会话管理:Session 物理隔离与 Working Memory 的底层实现.md  [27.5 KB]
    10|提示词组装:告别面条代码,动态加载 AGENTS.md 与外挂 Skills.md  [33.9 KB]
📁 03_第二章:极简工具与物理交互
    📁 _assets
        975185_img_009_20260619_223604.png  [213.6 KB]
        975185_img_009.png  [213.6 KB]
        975185_img_008_20260619_223604.png  [388.5 KB]
        975185_img_007_20260619_223603.png  [162.8 KB]
        975185_img_008.png  [388.5 KB]
        975185_img_007.png  [162.8 KB]
        975185_img_006.png  [201.9 KB]
        975185_img_006_20260619_223603.png  [201.9 KB]
        975185_img_005_20260619_223603.png  [125.1 KB]
        975185_img_004_20260619_223603.png  [446.3 KB]
        975185_img_005.png  [125.1 KB]
        975185_img_004.png  [446.3 KB]
        975185_img_003.png  [183.2 KB]
        975185_img_002_20260619_223603.png  [117.4 KB]
        975185_img_003_20260619_223603.png  [183.2 KB]
        975185_img_001.png  [950.7 KB]
        975185_img_002.png  [117.4 KB]
        975185_img_001_20260619_223604.png  [950.7 KB]
        975185.mp3  [11.6 MB]
        973865_img_001.jpeg  [2.8 MB]
        973865.mp3  [17.3 MB]
        970299.mp3  [8.9 MB]
        970299_img_001.jpg  [1.1 MB]
        970292.mp3  [14.1 MB]
        970292_img_001.jpg  [636.9 KB]
        969870_img_001.jpg  [888.6 KB]
        969870.mp3  [11.1 MB]
    更多资源分享.txt  [64.0 B]
    09|飞书集成:打通真实世界,将 go-tiny-claw 接入飞书机器人的事件流_20260619_223604.md  [24.9 KB]
    09|飞书集成:打通真实世界,将 go-tiny-claw 接入飞书机器人的事件流.md  [25.5 KB]
    08|并发提效:如何让 Agent 在单轮中并行调用多个互相独立的工具?_20260619_223603.md  [36.7 KB]
    08|并发提效:如何让 Agent 在单轮中并行调用多个互相独立的工具?.md  [37.4 KB]
    07|容错艺术:实现支持多级模糊匹配的稳健 Edit 工具_20260619_223603.md  [27.6 KB]
    07|容错艺术:实现支持多级模糊匹配的稳健 Edit 工具.md  [28.2 KB]
    06|大道至简:解密 OpenClaw 最简工具集法则与 YOLO 执行哲学_20260619_223604.md  [29.9 KB]
    06|大道至简:解密 OpenClaw 最简工具集法则与 YOLO 执行哲学.md  [30.6 KB]
    05|动作延伸:构建强扩展性的 Tool Registry 与分发机制.md  [26.5 KB]
    05|动作延伸:构建强扩展性的 Tool Registry 与分发机制_20260619_223604.md  [25.9 KB]
📁 02_第一章:认知与核心引擎
    📁 _assets
        967860_img_001_20260619_223603.png  [421.1 KB]
        967860_img_001.png  [421.1 KB]
        967860.mp3  [10.0 MB]
        967578.mp3  [11.5 MB]
        967578_img_001.jpg  [762.3 KB]
        967512_img_001.png  [40.2 KB]
        967512_img_002.jpg  [320.3 KB]
        967512_img_001_20260619_223603.png  [40.2 KB]
        967512.mp3  [14.2 MB]
        967047_img_003.png  [1.0 MB]
        967047_img_002.png  [288.6 KB]
        967047.mp3  [10.3 MB]
        967047_img_001_20260619_223603.png  [131.5 KB]
        967047_img_001.png  [131.5 KB]
        967047_img_002_20260619_223603.png  [288.6 KB]
    更多资源分享.txt  [64.0 B]
    04|大脑接入:抽象 Provider 接口,适配 Claude 与 OpenAI 兼容大模型_20260619_223603.md  [35.7 KB]
    04|大脑接入:抽象 Provider 接口,适配 Claude 与 OpenAI 兼容大模型.md  [35.7 KB]
    03|慢思考与自省:在 ReAct 循环中剥离独立的 Thinking 阶段_20260619_223603.md  [36.9 KB]
    03|慢思考与自省:在 ReAct 循环中剥离独立的 Thinking 阶段.md  [37.6 KB]
    02|核心心脏:手写 Agent 的 Main Loop_20260619_223603.md  [33.7 KB]
    02|核心心脏:手写 Agent 的 Main Loop.md  [34.5 KB]
    01|架构演进:从 Framework 到 Harness,Agent 到底需要怎样的底层支撑?_20260619_223603.md  [20.8 KB]
    01|架构演进:从 Framework 到 Harness,Agent 到底需要怎样的底层支撑?.md  [21.2 KB]
📁 01_开篇词
    📁 _assets
        967026_img_002_20260619_223602.png  [454.3 KB]
        967026_img_003.png  [1.0 MB]
        967026.mp3  [13.7 MB]
        967026_img_002.png  [454.3 KB]
        967026_img_001.png  [349.6 KB]
    开篇词|框架正在坍塌:像写操作系统一样,复刻 OpenClaw 的底层 Harness_20260619_223602.md  [22.7 KB]
    开篇词|框架正在坍塌:像写操作系统一样,复刻 OpenClaw 的底层 Harness.md  [22.9 KB]
📁 代码
    📁 build-agent-harness-from-scratch
        📁 ch01
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [887.0 B]
                go.mod  [54.0 B]
        📁 ch02
            📁 go-tiny-claw
                📁 internal
                    📁 engine
                        loop.go  [2.3 KB]
                    📁 provider
                        interface.go  [480.0 B]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        registry.go  [277.0 B]
                📁 cmd
                    📁 claw
                        main.go  [1.4 KB]
                go.mod  [54.0 B]
        📁 ch03
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [1.7 KB]
                📁 internal
                    📁 engine
                        loop.go  [3.1 KB]
                    📁 provider
                        interface.go  [480.0 B]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        registry.go  [277.0 B]
                go.mod  [54.0 B]
        📁 ch04
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [1.5 KB]
                📁 internal
                    📁 engine
                        loop.go  [3.1 KB]
                    📁 provider
                        openai.go  [3.8 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        registry.go  [277.0 B]
                go.sum  [2.3 KB]
                go.mod  [402.0 B]
        📁 ch05
            📁 go-tiny-claw
                📁 internal
                    📁 engine
                        loop.go  [3.1 KB]
                    📁 provider
                        openai.go  [3.8 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        registry.go  [1.8 KB]
                        read_file.go  [1.7 KB]
                📁 cmd
                    📁 claw
                        main.go  [884.0 B]
                hello.txt  [121.0 B]
                go.sum  [2.3 KB]
                go.mod  [402.0 B]
        📁 ch06
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [1.1 KB]
                📁 internal
                    📁 engine
                        loop.go  [3.1 KB]
                    📁 provider
                        openai.go  [3.8 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [1.8 KB]
                        bash.go  [1.9 KB]
                        read_file.go  [1.7 KB]
                go.sum  [2.3 KB]
                go.mod  [402.0 B]
        📁 ch07
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [1.1 KB]
                📁 internal
                    📁 engine
                        loop.go  [3.1 KB]
                    📁 provider
                        openai.go  [3.8 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [1.8 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                server.go  [244.0 B]
                go.sum  [2.3 KB]
                go.mod  [402.0 B]
        📁 ch08
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [1.2 KB]
                📁 internal
                    📁 engine
                        loop.go  [3.6 KB]
                    📁 provider
                        openai.go  [3.8 KB]
                        claude.go  [3.7 KB]
                        interface.go  [480.0 B]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [1.8 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                go.sum  [2.3 KB]
                go.mod  [402.0 B]
                c.txt  [57.0 B]
                b.txt  [63.0 B]
                a.txt  [57.0 B]
        📁 ch09
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [1.2 KB]
                📁 internal
                    📁 feishu
                        bot.go  [3.3 KB]
                    📁 engine
                        reporter.go  [297.0 B]
                        loop.go  [2.6 KB]
                    📁 provider
                        openai.go  [3.8 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [1.8 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch10
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [1.1 KB]
                📁 internal
                    📁 context
                        skill.go  [2.3 KB]
                        composer.go  [1.9 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reporter.go  [297.0 B]
                        loop.go  [2.9 KB]
                    📁 feishu
                        bot.go  [3.3 KB]
                    📁 provider
                        openai.go  [3.8 KB]
                        claude.go  [3.7 KB]
                        interface.go  [480.0 B]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [1.8 KB]
                        read_file.go  [1.7 KB]
                        bash.go  [1.9 KB]
                        edit_file.go  [4.6 KB]
                📁 workspace
                    📁 .claw
                        📁 skills
                            📁 git-workflow
                                SKILL.md  [465.0 B]
                    AGENTS.md  [376.0 B]
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch11
            📁 go-tiny-claw
                📁 internal
                    📁 context
                        skill.go  [2.3 KB]
                        session.go  [1.6 KB]
                        composer.go  [1.9 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reporter.go  [297.0 B]
                        loop.go  [3.0 KB]
                    📁 feishu
                        bot.go  [3.3 KB]
                    📁 provider
                        openai.go  [3.8 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [1.8 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                📁 cmd
                    📁 claw
                        main.go  [2.4 KB]
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch12
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [1.5 KB]
                📁 internal
                    📁 context
                        skill.go  [2.3 KB]
                        session.go  [1.6 KB]
                        composer.go  [1.9 KB]
                        compactor.go  [2.3 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reporter.go  [297.0 B]
                        loop.go  [3.1 KB]
                    📁 feishu
                        bot.go  [3.3 KB]
                    📁 provider
                        openai.go  [3.8 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [1.8 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                mock_log.txt  [18.9 KB]
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch13
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [2.0 KB]
                📁 internal
                    📁 context
                        skill.go  [2.3 KB]
                        session.go  [1.6 KB]
                        composer.go  [4.1 KB]
                        compactor.go  [2.3 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reporter.go  [297.0 B]
                        loop.go  [4.1 KB]
                    📁 feishu
                        bot.go  [3.3 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 provider
                        openai.go  [3.7 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [1.8 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch14
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [2.0 KB]
                📁 internal
                    📁 context
                        skill.go  [2.3 KB]
                        session.go  [1.6 KB]
                        recovery.go  [2.9 KB]
                        composer.go  [4.1 KB]
                        compactor.go  [2.3 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reporter.go  [297.0 B]
                        loop.go  [4.2 KB]
                    📁 feishu
                        bot.go  [3.3 KB]
                    📁 provider
                        openai.go  [3.7 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        write_file.go  [1.8 KB]
                        read_file.go  [1.7 KB]
                        registry.go  [1.8 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                📁 workspace
                    auth.go  [147.0 B]
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch15
            📁 go-tiny-claw
                📁 internal
                    📁 context
                        session.go  [1.6 KB]
                        skill.go  [2.3 KB]
                        compactor.go  [2.3 KB]
                        recovery.go  [2.9 KB]
                        composer.go  [4.1 KB]
                    📁 feishu
                        bot.go  [3.3 KB]
                    📁 engine
                        reminder.go  [1.8 KB]
                        reporter.go  [297.0 B]
                        terminal_reporter.go  [1.2 KB]
                        loop.go  [4.1 KB]
                    📁 provider
                        openai.go  [3.7 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [1.8 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                📁 cmd
                    📁 claw
                        main.go  [1.6 KB]
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch16
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [2.4 KB]
                📁 internal
                    📁 context
                        session.go  [1.6 KB]
                        skill.go  [2.3 KB]
                        recovery.go  [2.9 KB]
                        composer.go  [4.1 KB]
                        compactor.go  [2.3 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reminder.go  [1.8 KB]
                        reporter.go  [297.0 B]
                        loop.go  [4.1 KB]
                    📁 feishu
                        bot.go  [4.6 KB]
                        approval.go  [2.0 KB]
                    📁 provider
                        openai.go  [3.7 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [2.9 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch17
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [2.2 KB]
                📁 internal
                    📁 context
                        skill.go  [2.3 KB]
                        session.go  [1.6 KB]
                        recovery.go  [2.9 KB]
                        composer.go  [4.1 KB]
                        compactor.go  [2.3 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reporter.go  [297.0 B]
                        loop.go  [7.7 KB]
                        reminder.go  [1.8 KB]
                    📁 feishu
                        bot.go  [4.6 KB]
                        approval.go  [2.0 KB]
                    📁 provider
                        openai.go  [3.7 KB]
                        interface.go  [480.0 B]
                        claude.go  [3.7 KB]
                    📁 schema
                        message.go  [865.0 B]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [2.9 KB]
                        subagent.go  [2.4 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                📁 workspace
                    📁 legacy
                        📁 v1
                            📁 auth
                                config.txt  [49.0 B]
                    fake2.go  [26.0 B]
                    fake1.go  [23.0 B]
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch18
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [1.9 KB]
                📁 internal
                    📁 context
                        skill.go  [2.3 KB]
                        session.go  [2.0 KB]
                        recovery.go  [2.9 KB]
                        composer.go  [4.1 KB]
                        compactor.go  [2.3 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reporter.go  [297.0 B]
                        reminder.go  [1.8 KB]
                        loop.go  [7.7 KB]
                    📁 feishu
                        bot.go  [4.6 KB]
                        approval.go  [2.0 KB]
                    📁 observability
                        tracker.go  [1.9 KB]
                    📁 provider
                        openai.go  [3.9 KB]
                        interface.go  [480.0 B]
                        claude.go  [4.0 KB]
                    📁 schema
                        message.go  [1.2 KB]
                    📁 tools
                        write_file.go  [1.8 KB]
                        registry.go  [2.9 KB]
                        subagent.go  [2.4 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch19
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [1.6 KB]
                📁 internal
                    📁 context
                        skill.go  [2.3 KB]
                        session.go  [2.0 KB]
                        recovery.go  [2.9 KB]
                        composer.go  [4.1 KB]
                        compactor.go  [2.3 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reminder.go  [1.8 KB]
                        reporter.go  [297.0 B]
                        loop.go  [9.2 KB]
                    📁 feishu
                        bot.go  [4.6 KB]
                        approval.go  [2.0 KB]
                    📁 observability
                        tracker.go  [1.9 KB]
                        trace.go  [2.3 KB]
                    📁 provider
                        openai.go  [3.9 KB]
                        interface.go  [480.0 B]
                        claude.go  [4.0 KB]
                    📁 schema
                        message.go  [1.2 KB]
                    📁 tools
                        write_file.go  [1.8 KB]
                        subagent.go  [2.4 KB]
                        registry.go  [3.6 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                📁 workspace
                    .gitkeeper
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch20
            📁 go-tiny-claw
                📁 cmd
                    📁 bench
                        main.go  [1.8 KB]
                    📁 claw
                        main.go  [1.6 KB]
                📁 internal
                    📁 context
                        skill.go  [2.3 KB]
                        session.go  [2.0 KB]
                        recovery.go  [2.9 KB]
                        composer.go  [4.1 KB]
                        compactor.go  [2.3 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reporter.go  [297.0 B]
                        reminder.go  [1.8 KB]
                        loop.go  [9.2 KB]
                    📁 eval
                        benchmark.go  [4.8 KB]
                    📁 feishu
                        bot.go  [4.6 KB]
                        approval.go  [2.0 KB]
                    📁 observability
                        tracker.go  [1.9 KB]
                        trace.go  [2.3 KB]
                    📁 provider
                        openai.go  [3.9 KB]
                        interface.go  [480.0 B]
                        claude.go  [4.0 KB]
                    📁 schema
                        message.go  [1.2 KB]
                    📁 tools
                        write_file.go  [1.8 KB]
                        subagent.go  [2.4 KB]
                        registry.go  [3.6 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                📁 workspace
                    📁 test_001_edit_1777616352
                        📁 .claw
                            📁 traces
                                trace_test_001_edit_1777616362547486000.json  [2.8 KB]
                        config.json  [44.0 B]
                    📁 test_002_code_gen_1777616362
                        📁 .claw
                            📁 traces
                                trace_test_002_code_gen_1777616387392749000.json  [11.0 KB]
                        math_test.go  [1.2 KB]
                        math.go  [63.0 B]
                        go.mod  [27.0 B]
                    .gitkeeper
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
                go.mod  [447.0 B]
        📁 ch21
            📁 go-tiny-claw
                📁 cmd
                    📁 claw
                        main.go  [3.4 KB]
                    📁 bench
                        main.go  [1.8 KB]
                📁 internal
                    📁 context
                        skill.go  [2.3 KB]
                        session.go  [2.0 KB]
                        recovery.go  [2.9 KB]
                        composer.go  [4.1 KB]
                        compactor.go  [2.3 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reporter.go  [297.0 B]
                        reminder.go  [1.8 KB]
                        loop.go  [9.8 KB]
                    📁 eval
                        benchmark.go  [4.8 KB]
                    📁 feishu
                        bot.go  [4.6 KB]
                        approval.go  [2.0 KB]
                    📁 observability
                        trace.go  [2.3 KB]
                        tracker.go  [1.9 KB]
                    📁 provider
                        openai.go  [3.9 KB]
                        interface.go  [480.0 B]
                        claude.go  [4.0 KB]
                    📁 schema
                        message.go  [1.2 KB]
                    📁 tools
                        write_file.go  [1.8 KB]
                        subagent.go  [2.4 KB]
                        edit_file.go  [4.6 KB]
                        read_file.go  [1.7 KB]
                        registry.go  [3.6 KB]
                        bash.go  [1.9 KB]
                📁 workspace
                    TODO.md  [522.0 B]
                    README.md  [2.5 KB]
                    PLAN.md  [965.0 B]
                    main_mutex.go  [435.0 B]
                    main_atomic_load_store.go  [466.0 B]
                    main_atomic_cas.go  [532.0 B]
                    main.go  [340.0 B]
                    main_atomic.go  [391.0 B]
                    demo.go  [2.9 KB]
                    benchmark.go  [1.7 KB]
                    .gitkeeper
                go.mod  [447.0 B]
                README.md  [1.1 KB]
                go.sum  [5.6 KB]
        📁 ch22
            📁 go-tiny-claw
                📁 cmd
                    📁 agentops
                        main.go  [3.4 KB]
                    📁 bench
                        main.go  [1.8 KB]
                    📁 claw
                        main.go  [3.4 KB]
                📁 internal
                    📁 context
                        skill.go  [2.3 KB]
                        session.go  [2.0 KB]
                        recovery.go  [2.9 KB]
                        composer.go  [4.1 KB]
                        compactor.go  [2.3 KB]
                    📁 engine
                        terminal_reporter.go  [1.2 KB]
                        reporter.go  [297.0 B]
                        reminder.go  [1.8 KB]
                        loop.go  [9.8 KB]
                    📁 eval
                        benchmark.go  [4.8 KB]
                    📁 feishu
                        bot.go  [6.1 KB]
                        approval.go  [3.0 KB]
                    📁 observability
                        tracker.go  [1.9 KB]
                        trace.go  [2.3 KB]
                    📁 provider
                        openai.go  [3.9 KB]
                        interface.go  [480.0 B]
                        claude.go  [4.0 KB]
                    📁 schema
                        message.go  [1.2 KB]
                    📁 tools
                        write_file.go  [1.8 KB]
                        subagent.go  [2.4 KB]
                        registry.go  [3.6 KB]
                        read_file.go  [1.7 KB]
                        edit_file.go  [4.6 KB]
                        bash.go  [1.9 KB]
                📁 workspace
                    📁 .claw
                        📁 skills
                            📁 ops_troubleshoot
                                SKILL.md  [1.1 KB]
                    nginx.conf  [190.0 B]
                    error.log  [138.8 KB]
                    AGENTS.md  [698.0 B]
                    .gitkeeper
                README.md  [1.1 KB]
                go.mod  [447.0 B]
                go.sum  [5.6 KB]

适合人群

  • 智能代理开发者
  • 人工智能爱好者
  • 软件工程师

学习收获

掌握智能代理构建方法
提升端到端实战能力
深入理解智能代理技术

祝您学习愉快!

学有所成,前程似锦!