[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-11308":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},11308,"pi","earendil-works\u002Fpi","earendil-works","AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI",null,"TypeScript",61748,7455,213,28,0,259,2047,13523,1376,120,"MIT License",false,"main",true,[],"2026-06-12 04:00:54","\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fpi.dev\">\n    \u003Cimg alt=\"pi logo\" src=\"https:\u002F\u002Fpi.dev\u002Flogo-auto.svg\" width=\"128\">\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fdiscord.com\u002Finvite\u002F3cU7Bz4UPx\">\u003Cimg alt=\"Discord\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdiscord-community-5865F2?style=flat-square&logo=discord&logoColor=white\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fpi.dev\">pi.dev\u003C\u002Fa> domain graciously donated by\n  \u003Cbr \u002F>\u003Cbr \u002F>\n  \u003Ca href=\"https:\u002F\u002Fexe.dev\">\u003Cimg src=\"packages\u002Fcoding-agent\u002Fdocs\u002Fimages\u002Fexy.png\" alt=\"Exy mascot\" width=\"48\" \u002F>\u003Cbr \u002F>exe.dev\u003C\u002Fa>\n\u003C\u002Fp>\n\n> New issues and PRs from new contributors are auto-closed by default. Maintainers review auto-closed issues daily. See [CONTRIBUTING.md](CONTRIBUTING.md).\n\n---\n\n# Pi Agent Harness Mono Repo\n\nThis is the home of the pi agent harness project including our self extensible coding agent.\n\n* **[@earendil-works\u002Fpi-coding-agent](packages\u002Fcoding-agent)**: Interactive coding agent CLI\n* **[@earendil-works\u002Fpi-agent-core](packages\u002Fagent)**: Agent runtime with tool calling and state management\n* **[@earendil-works\u002Fpi-ai](packages\u002Fai)**: Unified multi-provider LLM API (OpenAI, Anthropic, Google, …)\n\nTo learn more about pi:\n\n* [Visit pi.dev](https:\u002F\u002Fpi.dev), the project website with demos\n* [Read the documentation](https:\u002F\u002Fpi.dev\u002Fdocs\u002Flatest), but you can also ask the agent to explain itself\n\n## Share your OSS coding agent sessions\n\nIf you use pi or other coding agents for open source work, please share your sessions.\n\nPublic OSS session data helps improve coding agents with real-world tasks, tool use, failures, and fixes instead of toy benchmarks.\n\nFor the full explanation, see [this post on X](https:\u002F\u002Fx.com\u002Fbadlogicgames\u002Fstatus\u002F2037811643774652911).\n\nTo publish sessions, use [`badlogic\u002Fpi-share-hf`](https:\u002F\u002Fgithub.com\u002Fbadlogic\u002Fpi-share-hf). Read its README.md for setup instructions. All you need is a Hugging Face account, the Hugging Face CLI, and `pi-share-hf`.\n\nYou can also watch [this video](https:\u002F\u002Fx.com\u002Fbadlogicgames\u002Fstatus\u002F2041151967695634619), where I show how I publish my `pi-mono` sessions.\n\nI regularly publish my own `pi-mono` work sessions here:\n\n- [badlogicgames\u002Fpi-mono on Hugging Face](https:\u002F\u002Fhuggingface.co\u002Fdatasets\u002Fbadlogicgames\u002Fpi-mono)\n\n## All Packages\n\n| Package | Description |\n|---------|-------------|\n| **[@earendil-works\u002Fpi-ai](packages\u002Fai)** | Unified multi-provider LLM API (OpenAI, Anthropic, Google, etc.) |\n| **[@earendil-works\u002Fpi-agent-core](packages\u002Fagent)** | Agent runtime with tool calling and state management |\n| **[@earendil-works\u002Fpi-coding-agent](packages\u002Fcoding-agent)** | Interactive coding agent CLI |\n| **[@earendil-works\u002Fpi-tui](packages\u002Ftui)** | Terminal UI library with differential rendering |\n| **[@earendil-works\u002Fpi-web-ui](packages\u002Fweb-ui)** | Web components for AI chat interfaces |\n\nFor Slack\u002Fchat automation and workflows see [earendil-works\u002Fpi-chat](https:\u002F\u002Fgithub.com\u002Fearendil-works\u002Fpi-chat).\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines and [AGENTS.md](AGENTS.md) for project-specific rules (for both humans and agents).\n\n## Development\n\n```bash\nnpm install          # Install all dependencies\nnpm run build        # Build all packages\nnpm run check        # Lint, format, and type check\n.\u002Ftest.sh            # Run tests (skips LLM-dependent tests without API keys)\n.\u002Fpi-test.sh         # Run pi from sources (can be run from any directory)\n```\n\n> **Note:** `npm run check` requires `npm run build` to be run first. The web-ui package uses `tsc` which needs compiled `.d.ts` files from dependencies.\n\n## License\n\nMIT\n","Pi 是一个 AI 代理工具包，提供了编码代理 CLI、统一的 LLM API、终端 UI 和 Web UI 库、Slack 机器人以及 vLLM pods。其核心功能包括通过统一接口支持多种语言模型提供商（如 OpenAI、Anthropic、Google 等），并提供了一个具有工具调用和状态管理能力的代理运行时环境。此外，Pi 还为开发者准备了交互式的编码助手命令行界面，以及用于构建 AI 聊天界面的终端与网页组件库。此项目非常适合需要集成 AI 功能到开发流程或产品中的场景，无论是希望提高编程效率还是增强用户体验的应用程序都能从中受益。",2,"2026-06-11 03:31:37","top_all"]