Footer

Your go-to destination for discovering trending open-source projects and uncovering the insights that matter

Legal

  • Terms and conditions
  • Privacy policy

More

  • Pricing
  • Advertise
  • onedump
  • gosnakego
  • Contact us

Social

  • X (Twitter)
  • GitHub
Trendshift owl
What they build speaks louder than words
© 2026 Trendshift, created by Julian Li with ❤️
SignalAdvertise
Trendshift
SignalAdvertise
Sign in
Trendshift owl

Discover trends that matter

DailyWeeklyMonthlyYearly
Live mentionsTopics
RepositoriesDevelopers
InsightsStats

Bifrost
Bifrost

SaladDay/pi-from-scratch

600 行 TypeScript 写成的超级迷你版 pi,让你轻松从 0 写出属于你的 pi-agent

#Learning resources
Visit GitHub
TypeScript
1.3k
108
1 contributors
MIT License
website
AchievementsView all →
FeaturedAdvertise to 180K+ monthly visitors
Bifrost

Enterprise AI Gateway Built For Scale: Route, Govern, and Secure All Your AI Traffic

Momentum

How fast SaladDay/pi-from-scratch is gaining stars, and where it lands on Trendshift and GitHub Trending

Activity and trending

Stars, forks and merged pull requests each day or month, lined up with the repository's rank on Trendshift Trending

Aug 27 – Oct 26, 2026

Stars +167 in 61 days

0510
9

Forks +25 in 61 days

0123
3

Merged PRs 2 in 61 days

012
2

Trendshift Trendingwhere the repository ranked each day it made the top 25

Not in the Trendshift top 25 in this period

Aug 27Sep 4Sep 12Sep 20Sep 28Oct 6Oct 14Oct 22
The left and right arrow keys step from day to day; Home and End go to the first and the last

Stars, forks, merged pull requests and Trendshift Trending rank, by day
DayStars gainedForks gainedMerged PRs
Thu, Aug 27, 2026+3+20
Fri, Aug 28, 2026+2+10
Sat, Aug 29, 2026+6+00
Sun, Aug 30, 2026+5+00
Mon, Aug 31, 2026+5+10
Tue, Sep 1, 2026+3+00
Wed, Sep 2, 2026+7+00
Thu, Sep 3, 2026+2+00
Fri, Sep 4, 2026+5+10
Sat, Sep 5, 2026+0+00
Sun, Sep 6, 2026+5+00
Mon, Sep 7, 2026+6+10
Tue, Sep 8, 2026+2+00
Wed, Sep 9, 2026+5+00
Thu, Sep 10, 2026+4+00
Fri, Sep 11, 2026+1+00
Sat, Sep 12, 2026+3+00
Sun, Sep 13, 2026+4+10
Mon, Sep 14, 2026+5+30
Tue, Sep 15, 2026+4+10
Wed, Sep 16, 2026+3+00
Thu, Sep 17, 2026+4+00
Fri, Sep 18, 2026+3+20
Sat, Sep 19, 2026+2+00
Sun, Sep 20, 2026+6+00
Mon, Sep 21, 2026+1+10
Tue, Sep 22, 2026+0+00
Wed, Sep 23, 2026+2+00
Thu, Sep 24, 2026+3+10
Fri, Sep 25, 2026+2+10
Sat, Sep 26, 2026+0+00
Sun, Sep 27, 2026+3+10
Mon, Sep 28, 2026+5+00
Tue, Sep 29, 2026+9+10
Wed, Sep 30, 2026+6+00
Thu, Oct 1, 2026+4+10
Fri, Oct 2, 2026+2+10
Sat, Oct 3, 2026+2+00
Sun, Oct 4, 2026+0+10
Mon, Oct 5, 2026+1+00
Tue, Oct 6, 2026+0+00
Wed, Oct 7, 2026+3+10
Thu, Oct 8, 2026+6+10
Fri, Oct 9, 2026+5+00
Sat, Oct 10, 2026+2+00
Sun, Oct 11, 2026+2+00
Mon, Oct 12, 2026+0+00
Tue, Oct 13, 2026+3+00
Wed, Oct 14, 2026+2+00
Thu, Oct 15, 2026+0+00
Fri, Oct 16, 2026+1+00
Sat, Oct 17, 2026+0+00
Sun, Oct 18, 2026+0+00
Mon, Oct 19, 2026+1+00
Tue, Oct 20, 2026+0+00
Wed, Oct 21, 2026+0+00
Thu, Oct 22, 2026+0+00
Fri, Oct 23, 2026+4+10
Sat, Oct 24, 2026+1+12
Sun, Oct 25, 2026+0+00
Mon, Oct 26, 2026+2+00
Total+167+252
  • 1#1 on the list
  • 7Rank that day
  • Not trending

Mentions and achievements

Where people are talking about SaladDay/pi-from-scratch, and every badge it has earned
  1. Oct 91 post
    • 上万行的生产级 AI coding agent pi,居然被浓缩成了一个 600 行的 TypeScript 教学版? 初学者能跟着配套文章,从零亲手写出一个会读文件、改代码、跑命令的 agent。

      Read full on X, posted by @khyssabc

      @khyssabc · x.com

  2. 9 days earlier
  3. Sep 301 post
    • 上万行的生产级 AI coding agent pi,被拆成了一个 600 行的 TypeScript 教学版。 初学者可以跟着配套文章,从零亲手写出一个能读文件、改代码、执行命令的 agent。

      Read full on X, posted by @shenxiankk

      @shenxiankk · x.com

  4. 16 days earlier
  5. Sep 141 post
    • • Reads files, edits code, and runs commands • Interactive website pairs article with live code editor • Trace feature lets you step through code line by line

      Read full on X, posted by @the_osps

      @the_osps · x.com

  6. 22 days earlier
  7. Aug 232 posts
    • 最近研究 Pi Agent 源码参考的几个文档

      Read full on X, posted by @AlphaBetaLuck

      @AlphaBetaLuck · x.com

    • 最近研究 Pi Agent 源码参考的几个文档

      Read full on X, posted by @AlphaBetaLuck

      @AlphaBetaLuck · x.com

  8. 8 days earlier
  9. Aug 151 post
    • 很多人以为 coding agent 很复杂,真正的玩法是把数据流拆解清楚。 这个项目用 600 行 TypeScript 从零写了一个迷你版 pi——能读文件、改代码、执行命令。网站交互式教学,代码实时呈现,学完再看 pi 源码就懂了。很少有人知道这是学 agent 最好的练手项目。 项目: 还有一个类似的 PI 解析的电子书:

      Read full on X, posted by @shaogefenhao

      @shaogefenhao · x.com

  10. Aug 122 posts
    • 想自己写一个 coding agent,但看到 pi 的源码就头大? 这个项目把 pi 拆到只剩核心思想 ✅600 行 TypeScript ✅讲完就是一套可运行的 nano-pi ✅文章+源码+Trace 三栏同步 适合想搞懂 Agent Loop / Tool Calling 的开发者。 GitHub 已开源,地址见评论区👇 #AI编程 #CodingAgent

      Read full on X, posted by @koffuxu

      @koffuxu · x.com

    • Coding Agent 的核心到底有多少?这个项目用 600 行 TypeScript,留下能读文件、改代码、执行命令的 nano-pi。 夜里记一笔:Agent 并不等于庞大框架,关键是模型调用、工具调用与循环如何接起来。文章和源码同步推进,Trace 还能逐行看执行流。运行时无第三方依赖,但需要 Node.js 22 和兼容 OpenAI 的 API。

      Read full on X, posted by @vintcessun

      @vintcessun · x.com

  11. Aug 111 post
    • Pi 的 600 行教学版 把上万行的生产级 AI coding agent pi 拆成 600 行 TypeScript 教学版,让初学的人跟着文章从零写一个能读文件、改代码、执行命令的 agent。

      Read full on X, posted by @geekbb

      @geekbb · x.com

  12. Aug 101 post
    • 600 行 TypeScript 写成的 pi-agent,轻松从 0 开始! See link below 👇

      Read full on X, posted by @RepoGems

      @RepoGems · x.com

You might also like

Repositories close to SaladDay/pi-from-scratch
FeaturedAdvertise to 180K+ monthly visitors
Bifrost

Enterprise AI Gateway Built For Scale: Route, Govern, and Secure All Your AI Traffic

hahhforest/pi-textbook

TypeScript

《动手学 Pi》:沿 15 个真实 checkpoint 从零构建 Pi-style Agent

1.4k85

cellinlab/how-pi-agent-works

Pi Agent 原理与实现

97487

nauvalazhar/build-your-own-ai-coding-agent

TypeScript

Learn how AI coding agents work by building one from scratch.

9724

buchidonggua/dg-ai-notes

MDX
3.5k285

OPBR/build-claude-code

TypeScript

从0到1构建 Claude code (学习版)

13719

liiiiiiiiil/coding-agent-from-scratch

Python

Build an AI Coding Agent from Scratch in Pure Python, Step by Step | 用纯 Python 从零搭建 AI 编程 Agent,边实现边理解其工作原理

917

zxj-2023/my-pi-agent

Python
1048

ryzqi/learn-agent

TypeScript

20 章中文 AI Agent 架构实战教程,配套可运行 TypeScript 代码,覆盖工具、权限、记忆、多 Agent、Worktree 与 MCP。

36742

rasbt/mini-coding-agent

Python

Minimal and readable coding agent harness implementation in Python to explain the core components of coding agents.

1.2k225