pi-book

作者 antinomie-lab已验证

Source-backed architecture notes on building an agent

366
Stars
11
Forks
Vue
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/antinomie-lab/pi-book

快速入门

使用 pi-book 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

English · 简体中文 · Español

Pi Agent

一本中文架构书的工作区。对象是 pi 仓库的 packages/agent

一个 agent 循环,被做成一个库。

这本书从代码出发,讲清楚 @earendil-works/pi-agent-core 是怎么搭起来的:它承诺什么、拒绝什么、支点在哪里。全书对应 pi 仓库 main 分支的 commit cd20a8d2e。代码引用写成 文件:行号,每个引用就地附上引文——读者不需要打开编辑器,就能核对书里任何一处论断。

多语言: 中文原稿在 agent/(唯一内容源头)。英文与西班牙文译本在 agent/en/agent/es/。Web 阅读器右上角可切换语言。

阅读方式

方式入口适合场景
🌐 Web 在线版books.antinomie.org/pi沉浸式阅读,代码引文高亮;可切换中 / EN / ES
📥 Markdown 版agent/ · en · es下载到本地,配合 AI(Claude / Cursor 等)边读边问、对照源码

读者假设

你会读 TypeScript,知道 LLM API 的基本概念(messages、tool calls、streaming),不需要事先了解 pi 仓库。

组织方式

整体 → 局部 → 横切。

  • 第一部分 · 整体(已发布两章):建立对整个系统的正确认知,不碰实现细节。读完这部分,你应该能凭记忆把这个系统画出来。
  • 第二部分 · 局部:逐个部件展开,顺序是依赖顺序——每章只依赖它前面的章。
  • 第三部分 · 横切:处理那些不属于任何单一部件的问题。

目录只列已发布的章节,后续章节随写随添。

工作区布局

  • agent/ —— 书的原稿(中文),唯一的内容源头。译本在 agent/en/agent/es/。可见 agent/README.mdagent/TRANSLATION.md

  • web/ —— 阅读器(Vite + Vue)。渲染 agent/ 下的中文原稿与译本,不存放正文内容。

    cd web && npm install && npm run dev
    

体例

引文规则、三种卡片组件(插叙 / 岔路 / 为什么不去),范围之外,都写在 agent/README.md 的「体例」一节。

Star History

Star History Chart

常见问题

What is pi-book?

pi-book is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by antinomie-lab. Source-backed architecture notes on building an agent. It has 366 GitHub stars.

Is pi-book safe to use?

Yes. pi-book passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install pi-book?

Clone the repository with "git clone https://github.com/antinomie-lab/pi-book" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is pi-book written in?

pi-book is primarily written in Vue. It is open-source under antinomie-lab on GitHub, so you can review or fork the full source.

Are there alternatives to pi-book?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh pi-book against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情