DEDUPED Hot AI repos, turned into use cases Get 5 a day

What you can do with Pi Book

A Chinese architecture book, with English and Spanish translations, that explains how the @earendil-works/pi-agent-core agent loop library is built, citing the pi source code.

Trended earlier

Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk.

3 use cases

  • Have an agent verify the book's code citations

    Use an AI agent to check each file:line quote in a chapter against the pi source at the stated commit.

    View prompt
    In the antinomie-lab/pi-book repo, open <chapter-file> under agent/. For every file:line reference and its quoted excerpt, open <pi-repo-path> at commit cd20a8d2e and check that the excerpt matches the cited lines. Output a table with each reference, MATCH or MISMATCH, and the actual text if it differs; verify that the count of references equals the count you found in the chapter.
  • Run the book's web reader on your own machine

    Start the Vite and Vue reader locally to browse the architecture book without the hosted site.

    View prompt
    In the antinomie-lab/pi-book repo, go to the web/ folder and run the install and dev commands from its README. Report the local URL the dev server prints and confirm that the Chinese chapter text renders from agent/ without errors.
  • Compare the Chinese, English and Spanish editions

    Read the same chapter in its three language versions to check translation consistency.

    View prompt
    In the antinomie-lab/pi-book repo, open the same chapter from agent/, agent/en/ and agent/es/. Output a list of statements where the English or Spanish text differs in meaning from the Chinese original, with the section name for each. Verify that all code citations appear unchanged in all three versions.

How to use Pi Book

  1. Check you have what it needs: A web browser to read the online edition, or git and Node.js (npm) for the local reader; Access to the pi repository at commit cd20a8d2e if you want to check code references; An AI coding tool such as Claude or Cursor if you want an agent to check the book against source.
  2. Open antinomie-lab/pi-book on GitHub and read the README and license.
  3. Clone the Pi Book repo with git and open the agent/ folder, which holds the Chinese original. (inferred, check the README)
  4. Check out the pi repo at commit cd20a8d2e so the line numbers match the book. (inferred, check the README)
  5. Open the chapter you want to check and list every file:line reference with its quoted excerpt.
  6. Ask the agent to open each referenced file and line range and compare it to the quote.

These steps come from our top use case, Have an agent verify the book's code citations, which also has a copy-paste agent prompt.

Pi Book alternatives · Best AI repos for Software and DevOps

About this repo

  • Who it is forBuilt for TypeScript developers who know LLM API basics (messages, tool calls, streaming) and want to understand an agent loop library before building or using one.
  • Why it is hot
  • LanguageVue
  • Sourcegithub.com/antinomie-lab/pi-book · Back to Hot repos

Requirements

  • A web browser to read the online edition, or git and Node.js (npm) for the local reader
  • Access to the pi repository at commit cd20a8d2e if you want to check code references
  • An AI coding tool such as Claude or Cursor if you want an agent to check the book against source
Maintain Pi Book? Add the Featured on Deduped badge

Paste this into your README:

[![Featured on Deduped](https://dedupedai.com/badge/antinomie-lab-pi-book.svg)](https://dedupedai.com/use-cases/antinomie-lab-pi-book/?ref=badge)

More badge styles and HTML

Questions about Pi Book

What is Pi Book?

A Chinese architecture book, with English and Spanish translations, that explains how the @earendil-works/pi-agent-core agent loop library is built, citing the pi source code. It is an open-source project on GitHub: https://github.com/antinomie-lab/pi-book.

Who is Pi Book for?

Built for TypeScript developers who know LLM API basics (messages, tool calls, streaming) and want to understand an agent loop library before building or using one.

What can I do with Pi Book?

3 use cases so far, for example: Have an agent verify the book's code citations; Run the book's web reader on your own machine; Compare the Chinese, English and Spanish editions. Each has steps and a copy-paste agent prompt.

What do I need to run Pi Book?

A web browser to read the online edition, or git and Node.js (npm) for the local reader; Access to the pi repository at commit cd20a8d2e if you want to check code references; An AI coding tool such as Claude or Cursor if you want an agent to check the book against source.

What are alternatives to Pi Book?

Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.

Is Pi Book safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.