{"id":118744,"date":"2026-10-28T02:24:44","date_gmt":"2026-10-27T18:24:44","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/118744.html"},"modified":"2026-10-28T02:24:44","modified_gmt":"2026-10-27T18:24:44","slug":"%e6%95%88%e7%8e%87-pi-agent%ef%bc%9a%e4%b8%80%e4%b8%aa%e6%8a%8a%e5%ad%90%e4%bb%a3%e7%90%86%e5%92%8c%e8%ae%a1%e5%88%92%e6%a8%a1%e5%bc%8f%e9%83%bd%e5%88%a0%e6%8e%89%e7%9a%84%e7%bc%96%e7%a8%8b%e5%b7%a5","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/118744.html","title":{"rendered":"[\u6548\u7387] Pi Agent\uff1a\u4e00\u4e2a\u628a\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f\u90fd\u5220\u6389\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u51ed\u4ec0\u4e48\u8bf4\u5b83\u66f4\u9002\u5408\u666e\u901a\u4eba"},"content":{"rendered":"<hr \/>\n<p>&#x1f4a1; \u524d\u9635\u5b50\u6211\u8fde\u7740\u5199\u4e86\u4e24\u7bc7 Claude Code \u7684\u5165\u95e8\u7a3f&#xff0c;\u628a\u5b89\u88c5\u8def\u7ebf\u3001\u6a21\u578b\u63a5\u5165\u548c\u6743\u9650\u6a21\u5f0f\u644a\u5f00\u8bb2\u4e86\u4e00\u904d\u3002\u5199\u5b8c\u6ca1\u591a\u4e45\u5c31\u5237\u5230\u53e6\u4e00\u6761\u89c6\u9891&#xff0c;\u6807\u9898\u8d77\u5f97\u5f88\u51b2\u2014\u2014\u300aPi Agent&#xff1a;\u6bd4 Claude Code \u548c Codex \u66f4\u9002\u5408\u666e\u901a\u4eba\u7684 AI \u5de5\u5177\u300b&#xff0c;up \u4e3b\u662f\u300c\u7b2c\u56db\u79cd\u9ed1\u7329\u7329CHIMP\u300d&#xff0c;\u4e8c\u5341\u4e00\u5206\u949f\u7684\u53e3\u64ad&#xff0c;\u64ad\u653e\u5341\u4e03\u4e07\u591a&#xff0c;\u6536\u85cf\u516b\u5343\u4e03\u3002<\/p>\n<p>\u6211\u7b2c\u4e00\u53cd\u5e94\u662f\u8fd9\u6807\u9898\u5728\u78b0\u74f7\u3002Claude Code \u548c Codex \u662f\u4e24\u5bb6\u516c\u53f8\u5b98\u65b9\u4e0b\u573a\u7684\u4ea7\u54c1&#xff0c;\u4e00\u4e2a\u662f Anthropic \u7684&#xff0c;\u4e00\u4e2a\u662f OpenAI \u7684&#xff0c;GitHub \u4e0a\u5206\u522b\u6302\u7740\u5341\u56db\u4e07\u4e5d\u548c\u5341\u4e8c\u4e07\u516b\u7684 star&#xff1b;Pi \u662f\u4e00\u4e2a\u5f00\u6e90\u7ec4\u7ec7\u505a\u7684\u547d\u4ee4\u884c\u5de5\u5177&#xff0c;\u51ed\u4ec0\u4e48&#034;\u66f4\u9002\u5408\u666e\u901a\u4eba&#034;&#xff1f;<\/p>\n<p>\u4f46\u628a\u5b83\u88c5\u4e0a\u8dd1\u4e86\u4e00\u904d\u3001\u628a\u4ed3\u5e93\u6587\u6863\u4ece\u5934\u8bfb\u5230\u5c3e\u4e4b\u540e&#xff0c;\u6211\u7684\u5224\u65ad\u53d8\u6210\u4e86\u53e6\u4e00\u4ef6\u4e8b&#xff1a;\u8fd9\u53e5\u8bdd\u91cc\u7684&#034;\u666e\u901a\u4eba&#034;\u4e09\u4e2a\u5b57&#xff0c;\u5176\u5b9e\u6307\u5411\u4e00\u7ec4\u975e\u5e38\u5177\u4f53\u7684\u9700\u6c42\u2014\u2014\u88c5\u5f97\u4e0a\u3001\u8fde\u5f97\u901a\u3001\u82b1\u5f97\u8d77\u3001\u800c\u4e14\u4e0d\u5fc5\u53ea\u5199\u4ee3\u7801\u3002Pi \u5728\u8fd9\u56db\u4ef6\u4e8b\u4e0a\u786e\u5b9e\u505a\u4e86\u548c\u90a3\u4e24\u4f4d\u4e0d\u540c\u7684\u53d6\u820d&#xff0c;\u53ea\u4e0d\u8fc7\u5b83\u540c\u65f6\u4e5f\u62ff\u8d70\u4e86\u4e00\u6837\u4e1c\u897f&#xff0c;\u800c\u90a3\u6837\u4e1c\u897f\u6070\u6070\u662f\u5f88\u591a\u6559\u7a0b\u4e0d\u4f1a\u63d0\u9192\u4f60\u53bb\u60f3\u7684\u3002<\/p>\n<p>\u8fd9\u7bc7\u5c31\u628a\u4e09\u4e2a\u5de5\u5177\u653e\u5728\u540c\u4e00\u5f20\u684c\u5b50\u4e0a&#xff1a;\u5148\u7ed9\u4e00\u4efd\u5f53\u5929\u7684\u5b9e\u6d4b\u6570\u636e\u5feb\u7167&#xff0c;\u518d\u987a\u7740&#034;\u666e\u901a\u4eba\u56db\u95ee&#034;\u62c6\u5f00\u770b&#xff0c;\u7136\u540e\u8bb2 Pi \u7684\u6838\u5fc3\u8bbe\u8ba1&#xff08;\u4e00\u4e2a\u88ab\u523b\u610f\u505a\u5c0f\u7684\u5185\u6838 &#043; \u56db\u7c7b\u6269\u5c55\u6302\u8f7d\u70b9&#xff09;&#xff0c;\u4e2d\u6bb5\u4e13\u95e8\u8bf4\u6e05\u5b83\u6545\u610f\u6ca1\u7ed9\u4ec0\u4e48\u3001\u4ee5\u53ca\u90a3\u4f4d\u7684\u5b89\u88c5\u547d\u4ee4\u4e3a\u4ec0\u4e48\u4f1a\u8ba9\u4eba\u88c5\u9519&#xff0c;\u6700\u540e\u56de\u5230\u98ce\u9669\u2014\u2014\u8fd9\u8282\u662f\u5168\u6587\u6211\u6700\u60f3\u5199\u6e05\u695a\u7684\u3002<\/p>\n<hr \/>\n<h3>1. \u5148\u7ed9\u4e00\u4efd\u5feb\u7167&#xff1a;2026-10-09 \u8fd9\u4e09\u4e2a\u5de5\u5177\u5404\u81ea\u662f\u4ec0\u4e48\u6837<\/h3>\n<p>\u5199\u5bf9\u6bd4\u6700\u6015\u62ff\u8bb0\u5fc6\u91cc\u7684\u65e7\u6570\u636e\u8bf4\u4e8b&#xff0c;\u6240\u4ee5\u8fd9\u4e00\u8282\u7684\u6570\u5b57\u5168\u90e8\u662f\u6211\u5728 2026 \u5e74 10 \u6708 9 \u65e5\u5f53\u5929\u4ece GitHub API \u548c npm registry \u62c9\u7684\u539f\u59cb\u5b57\u6bb5\u3002<\/p>\n<table>\n<tr>\u7ef4\u5ea6Claude CodeCodex CLIPi<\/tr>\n<tbody>\n<tr>\n<td>\u51fa\u54c1\u65b9<\/td>\n<td>Anthropic<\/td>\n<td>OpenAI<\/td>\n<td>Earendil Works&#xff08;earendil.com&#xff0c;\u5b98\u7f51\u7f72\u540d Earendil Inc.&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u4e3b\u4ed3\u5e93<\/td>\n<td>anthropics\/claude-code<\/td>\n<td>openai\/codex<\/td>\n<td>earendil-works\/pi<\/td>\n<\/tr>\n<tr>\n<td>Star \u6570<\/td>\n<td>149,765<\/td>\n<td>128,286<\/td>\n<td>113,640<\/td>\n<\/tr>\n<tr>\n<td>Fork \u6570<\/td>\n<td>25,831<\/td>\n<td>20,125<\/td>\n<td>14,448<\/td>\n<\/tr>\n<tr>\n<td>\u5f00\u6e90\u534f\u8bae<\/td>\n<td>\u4ed3\u5e93 license \u5b57\u6bb5\u4e3a\u7a7a<\/td>\n<td>Apache-2.0<\/td>\n<td>MIT<\/td>\n<\/tr>\n<tr>\n<td>\u4e3b\u8bed\u8a00<\/td>\n<td>TypeScript<\/td>\n<td>Rust<\/td>\n<td>TypeScript<\/td>\n<\/tr>\n<tr>\n<td>npm \u6700\u65b0\u7248<\/td>\n<td>&#064;anthropic-ai\/claude-code 2.1.295<\/td>\n<td>&#064;openai\/codex 0.162.0<\/td>\n<td>&#064;earendil-works\/pi-coding-agent 1.1.0<\/td>\n<\/tr>\n<tr>\n<td>\u4ed3\u5e93\u521b\u5efa<\/td>\n<td>2025-02-22<\/td>\n<td>2025-04-13<\/td>\n<td>2025-08-09<\/td>\n<\/tr>\n<tr>\n<td>\u6700\u8fd1\u4e00\u6b21\u63a8\u9001<\/td>\n<td>2026-10-08<\/td>\n<td>2026-10-09<\/td>\n<td>2026-10-08<\/td>\n<\/tr>\n<tr>\n<td>\u4e00\u53e5\u8bdd\u81ea\u8ff0<\/td>\n<td>\u4f4f\u5728\u7ec8\u7aef\u91cc\u7684 agentic coding tool<\/td>\n<td>Lightweight coding agent that runs in your terminal<\/td>\n<td>AI agent toolkit&#xff1a;unified LLM API &#043; agent loop &#043; TUI &#043; coding agent CLI<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e09\u4e2a\u6570\u5b57\u503c\u5f97\u505c\u4e00\u4e0b\u3002<\/p>\n<p>\u7b2c\u4e00&#xff0c;Claude Code \u7684 star \u6700\u591a&#xff0c;\u4f46\u5b83\u7684 GitHub \u4ed3\u5e93\u5728\u534f\u8bae\u8fd9\u4e00\u680f\u662f\u7a7a\u7684\u2014\u2014\u90a3\u4e2a\u4ed3\u5e93\u4e3b\u8981\u662f\u6587\u6863\u3001issue \u8ddf\u8e2a\u548c\u63d2\u4ef6\u793a\u4f8b&#xff0c;npm \u5305\u91cc\u7684 license \u5b57\u6bb5\u5199\u7684\u662f SEE LICENSE IN README.md\u3002Codex \u662f Apache-2.0&#xff0c;Pi \u662f MIT\u3002\u6240\u4ee5\u5982\u679c&#034;\u5f00\u6e90&#034;\u8fd9\u4ef6\u4e8b\u5bf9\u4f60\u91cd\u8981&#xff0c;\u90a3\u8fd9\u4e09\u8005\u91cc\u53ea\u6709\u4e24\u4e2a\u771f\u7684\u628a\u8bb8\u53ef\u8bc1\u6302\u51fa\u6765\u4e86\u3002<\/p>\n<p>\u7b2c\u4e8c&#xff0c;\u4e09\u8005\u90fd\u8fd8\u5f88\u5e74\u8f7b\u3002\u4ed3\u5e93\u521b\u5efa\u65f6\u95f4\u5168\u843d\u5728 2025 \u5e74&#xff0c;Codex \u7684 Rust \u4e3b\u4f53\u548c Pi \u7684 monorepo \u5230\u73b0\u5728\u90fd\u8fd8\u5728\u65e5\u66f4&#xff08;\u63a8\u9001\u65f6\u95f4\u5206\u522b\u662f 10-09 \u548c 10-08&#xff09;\u3002\u8fd9\u610f\u5473\u7740\u4efb\u4f55&#034;\u67d0\u67d0\u5de5\u5177\u5df2\u7ecf\u6210\u719f\u5230\u53ef\u4ee5\u65e0\u8111\u7528&#034;\u7684\u8bf4\u6cd5&#xff0c;\u4fdd\u8d28\u671f\u90fd\u4e0d\u4f1a\u8d85\u8fc7\u4e00\u4e2a\u5b63\u5ea6\u3002<\/p>\n<p>\u7b2c\u4e09&#xff0c;Pi \u7684\u8d21\u732e\u8005\u7ed3\u6784\u6bd4\u8f83\u7279\u522b&#xff1a;badlogic&#xff08;Mario Zechner&#xff09;3,854 \u6b21\u63d0\u4ea4&#xff0c;\u7b2c\u4e8c\u540d mitsuhiko&#xff08;\u4e5f\u5c31\u662f Flask \u7684\u4f5c\u8005 Armin Ronacher&#xff09;863 \u6b21&#xff0c;\u518d\u5f80\u4e0b\u662f 303\u3001215\u3001199\u3002\u5b83\u4e0d\u662f\u5927\u5382\u7684\u4ea7\u54c1\u7ebf&#xff0c;\u800c\u662f\u51e0\u4e2a\u5f88\u6709\u540d\u7684\u4e2a\u4eba\u5de5\u7a0b\u5e08\u6512\u51fa\u6765\u7684\u5de5\u7a0b\u54c1\u2014\u2014\u8fd9\u4e2a\u533a\u522b\u4f1a\u8d2f\u7a7f\u540e\u9762\u6240\u6709\u7684\u8bbe\u8ba1\u53d6\u820d\u3002<\/p>\n<h5>Q1&#xff1a;\u90a3 Pi \u5230\u5e95\u662f\u4ec0\u4e48&#xff1f;\u5b98\u65b9\u81ea\u5df1\u662f\u600e\u4e48\u5b9a\u4e49\u7684&#xff1f;<\/h5>\n<p>README \u7b2c\u4e00\u53e5\u5c31\u662f\u5b9a\u4e49&#xff1a;Pi is a minimal, extensible agent harness that you can make your own.&#xff08;\u4e00\u4e2a\u6700\u5c0f\u53ef\u6269\u7684 agent \u9aa8\u67b6&#xff0c;\u4f60\u53ef\u4ee5\u628a\u5b83\u53d8\u6210\u81ea\u5df1\u7684\u4e1c\u897f\u3002&#xff09;<\/p>\n<p>\u5b98\u7f51 pi.dev \u4e0a\u6709\u4e00\u53e5\u66f4\u50cf\u53e3\u53f7&#xff1a;There are many agent harnesses but this one is yours.<\/p>\n<p>\u201c\u9aa8\u67b6\u201d&#xff08;harness&#xff09;\u8fd9\u4e2a\u8bcd\u662f\u5b83\u81ea\u6211\u5b9a\u4f4d\u7684\u5173\u952e\u3002\u5b83\u4e0d\u5ba3\u79f0\u81ea\u5df1\u662f&#034;AI \u7f16\u7a0b\u4ea7\u54c1&#034;&#xff0c;\u5b83\u5ba3\u79f0\u81ea\u5df1\u662f\u88c5\u8f7d\u6a21\u578b\u3001\u5de5\u5177\u3001\u4e0a\u4e0b\u6587\u548c\u4f1a\u8bdd\u7684\u90a3\u5c42\u58f3\u3002\u8fd9\u5c42\u58f3\u505a\u5c0f\u4e86&#xff0c;\u5269\u4e0b\u7684\u7a7a\u95f4\u7559\u7ed9\u4f60\u81ea\u5df1\u586b\u3002<\/p>\n<h5>Q2&#xff1a;\u5b83\u51ed\u4ec0\u4e48\u8bf4\u80fd\u8986\u76d6\u7f16\u7a0b\u4e4b\u5916\u7684\u4e8b&#xff1f;<\/h5>\n<p>\u5b98\u65b9\u6587\u6863\u9996\u9875\u6709\u4e00\u53e5\u6211\u8ba4\u4e3a\u6574\u7bc7\u5bf9\u6bd4\u91cc\u6700\u8981\u7d27\u7684\u8bdd&#xff1a;<\/p>\n<p>Use Pi for software development, research notes, writing projects, data files, or hobby work.<\/p>\n<p>\u5199\u7814\u7a76\u7b14\u8bb0\u3001\u5199\u4e1c\u897f\u3001\u5904\u7406\u6570\u636e\u6587\u4ef6\u3001\u73a9\u7968\u6027\u8d28\u7684\u6d3b\u513f\u2014\u2014\u8fd9\u4e94\u9879\u662f\u5b98\u65b9\u6587\u6863\u4e3b\u52a8\u5217\u51fa\u6765\u7684\u7528\u9014&#xff0c;\u4e0d\u662f\u6211\u66ff\u5b83\u5f15\u7533\u7684\u3002\u800c Claude Code \u548c Codex \u7684\u5b98\u65b9\u81ea\u8ff0\u91cc&#xff0c;\u4e3b\u8bed\u5883\u5185\u90fd\u53ea\u6709\u4ee3\u7801\u4ed3\u5e93\u3002<\/p>\n<p>&#034;\u666e\u901a\u4eba&#034;\u8fd9\u4e2a\u8bf4\u6cd5\u5982\u679c\u6210\u7acb&#xff0c;\u7b2c\u4e00\u4e2a\u652f\u70b9\u5c31\u5728\u8fd9\u513f&#xff1a;\u5b83\u4ece\u4e00\u5f00\u59cb\u5c31\u6ca1\u5047\u8bbe\u4f7f\u7528\u8005\u662f\u5f00\u53d1\u8005\u3002<\/p>\n<hr \/>\n<h3>2. \u628a&#034;\u66f4\u9002\u5408\u666e\u901a\u4eba&#034;\u62c6\u6210\u56db\u4e2a\u80fd\u9a8c\u8bc1\u7684\u95ee\u9898<\/h3>\n<p>\u6807\u9898\u91cc\u90a3\u53e5\u65ad\u8a00&#xff0c;\u53ea\u6709\u62c6\u6210\u5177\u4f53\u52a8\u4f5c\u624d\u77e5\u9053\u771f\u5047\u3002\u6211\u6309\u4e00\u4e2a\u975e\u5f00\u53d1\u8005\u771f\u5b9e\u4f1a\u8d70\u7684\u987a\u5e8f\u62c6\u6210\u56db\u95ee\u3002<\/p>\n<h5>Q1&#xff1a;\u88c5\u5f97\u4e0a\u5417&#xff1f;<\/h5>\n<p>Pi \u5b98\u65b9\u7ed9\u4e86\u56db\u6761\u5b89\u88c5\u8def\u5f84&#xff0c;\u8986\u76d6\u7684\u673a\u5668\u7c7b\u578b\u6bd4\u53e6\u5916\u4e24\u4e2a\u90fd\u5bbd&#xff1a;<\/p>\n<p>macOS \/ Linux   curl -fsSL https:\/\/pi.dev\/install.sh | sh<br \/>\nWindows         powershell -c &#034;irm https:\/\/pi.dev\/install.ps1 | iex&#034;<br \/>\nnpm&#xff08;\u53ef\u9009&#xff09;      npm install -g &#8211;ignore-scripts &#064;earendil-works\/pi-coding-agent<br \/>\nNix             nix profile add github:earendil-works\/pi\/stable<\/p>\n<p>\u4e09\u6761\u7ec6\u8282\u503c\u5f97\u6284\u8fdb\u7b14\u8bb0\u672c&#xff1a;<\/p>\n<ul>\n<li>\u5b98\u65b9\u6587\u6863\u5199\u660e Pi \u9700\u8981 Node.js 22.19 \u6216\u66f4\u65b0&#xff0c;macOS \/ Linux \/ Windows \u7684\u5b89\u88c5\u811a\u672c\u4f1a\u4ee3\u52b3\u88c5 Node\u3002\u5bf9\u4e0d\u7528\u547d\u4ee4\u884c\u7ba1\u8fd0\u884c\u65f6\u7684\u4eba&#xff0c;\u8fd9\u662f\u771f\u7684\u7701\u4e8b\u3002<\/li>\n<li>\u5b89\u88c5\u811a\u672c\u4f1a\u628a\u4f9d\u8d56\u9489\u6b7b&#xff08;\u201cThe installer pins all dependencies\u201d&#xff09;&#xff0c;\u800c\u76f4\u63a5\u8d70 npm \u88c5\u5219\u4e0d\u9501\u4f20\u9012\u4f9d\u8d56\u3002\u540c\u4e00\u4e2a\u5de5\u5177&#xff0c;\u4e24\u6761\u8def\u7684\u5b89\u5168\u8fb9\u754c\u4e0d\u4e00\u6837\u3002<\/li>\n<li>\u5b98\u65b9\u5728\u591a\u5904\u5f3a\u8c03 normal npm \u5b89\u88c5\u4e0d\u9700\u8981\u4f9d\u8d56\u7684 lifecycle \u811a\u672c&#xff0c;\u6240\u4ee5\u547d\u4ee4\u91cc\u5e26\u7740 &#8211;ignore-scripts\u3002\u8fd9\u4e0d\u662f\u5ba2\u5957&#xff0c;\u662f\u9632\u4f9b\u5e94\u94fe\u653b\u51fb&#xff08;\u7b2c 7 \u8282\u5c55\u5f00&#xff09;\u3002<\/li>\n<\/ul>\n<p>\u9664\u6b64\u4e4b\u5916\u8fd8\u6709\u4e00\u6761\u6211\u89c9\u5f97\u6700&#034;\u666e\u901a\u4eba&#034;\u7684\u8def\u5f84&#xff1a;Android \u4e0a\u7684 Termux \u6709\u5b98\u65b9\u6587\u6863&#xff08;termux.md&#xff09;&#xff0c;\u660e\u786e\u652f\u6301\u6587\u672c\u8f93\u5165\u3001\u6587\u4ef6\u5de5\u5177\u548c shell \u547d\u4ee4&#xff0c;\u88c5\u4e86 Termux:API \u8fd8\u80fd\u8bfb\u5199\u5b89\u5353\u526a\u8d34\u677f&#xff0c;\u53ea\u6709\u526a\u8d34\u677f\u56fe\u7247\u4e0d\u652f\u6301\u3002\u4e00\u53f0\u65e7\u5b89\u5353\u673a\u5f53\u7ec8\u7aef\u8dd1 agent&#xff0c;\u8fd9\u6761\u8def\u7ebf\u5728 Claude Code \u548c Codex \u7684\u5b98\u65b9\u6587\u6863\u91cc\u6211\u6ca1\u627e\u5230\u5bf9\u7b49\u7269\u3002<\/p>\n<p>\u5bf9\u7167\u7740\u770b&#xff0c;Claude Code \u7684 README \u73b0\u5728\u628a npm \u5b89\u88c5\u660e\u786e\u6807\u6210 deprecated&#xff0c;\u63a8\u8350 curl -fsSL https:\/\/claude.ai\/install.sh | bash\u3001Homebrew cask\u3001Windows \u7684 irm \u811a\u672c\u6216 WinGet&#xff1b;Codex \u540c\u6837\u6709 curl -fsSL https:\/\/chatgpt.com\/codex\/install.sh | sh\u3001brew install &#8211;cask codex\u3001npm \u548c\u5404\u5e73\u53f0\u7684 release \u4e8c\u8fdb\u5236\u3002\u4e09\u8005\u5728&#034;\u88c5&#034;\u8fd9\u4ef6\u4e8b\u4e0a\u5176\u5b9e\u90fd\u5df2\u7ecf\u505a\u5f97\u4e0d\u9519\u4e86&#xff0c;Pi \u7684\u52a0\u5206\u9879\u662f Node \u7248\u672c\u81ea\u52a8\u8865\u9f50\u548c Termux\u3002<\/p>\n<h5>Q2&#xff1a;\u8fde\u5f97\u901a\u5417&#xff1f;&#xff08;\u4e5f\u5c31\u662f\u624b\u4e0a\u90a3\u4e2a\u6a21\u578b\u80fd\u4e0d\u80fd\u63a5\u8fdb\u6765&#xff09;<\/h5>\n<p>\u8fd9\u624d\u662f\u666e\u901a\u4eba\u771f\u6b63\u5361\u4f4f\u7684\u5730\u65b9\u3002\u88c5\u5b8c\u53ea\u662f\u62ff\u5230\u4e00\u4e2a\u547d\u4ee4\u884c&#xff0c;\u63a5\u4e0d\u4e0a\u6a21\u578b\u5b83\u5c31\u662f\u4e00\u5768\u7ec8\u7aef\u754c\u9762\u3002<\/p>\n<p>Pi \u7684\u5b98\u65b9 providers.md \u91cc&#xff0c;\u53ea\u7edf\u8ba1&#034;\u5355\u4e2a\u4e3b\u8981 API Key \u53d8\u91cf&#034;\u90a3\u5f20\u8868\u5c31\u5217\u4e86 33 \u4e2a\u5165\u53e3&#xff1a;Anthropic\u3001Ant Ling\u3001OpenAI\u3001DeepSeek\u3001NVIDIA NIM\u3001Google Gemini\u3001GitHub Copilot\u3001Mistral\u3001Groq\u3001Cerebras\u3001xAI\u3001OpenRouter\u3001Vercel AI Gateway\u3001ZAI Coding Plan&#xff08;Global \/ China \u4e24\u6863&#xff09;\u3001OpenCode Zen and Go\u3001Radius\u3001TypeSafe\u3001Hugging Face\u3001Fireworks\u3001Together AI\u3001Baseten\u3001Kimi For Coding\u3001Meta\u3001MiniMax&#xff08;\u542b China&#xff09;\u3001Moonshot AI\u3001Qwen Token Plan&#xff08;\u542b China&#xff09;\u3001Xiaomi MiMo&#xff08;\u542b China \/ Amsterdam \/ Singapore \u4e09\u6863&#xff09;\u3002\u8868\u683c\u5916\u8fd8\u6709 Amazon Bedrock \u548c Google Vertex AI \u53ef\u4ee5\u76f4\u63a5\u5403\u4e91\u4e0a\u73af\u5883\u51ed\u636e\u3002<\/p>\n<p>\u6211\u628a\u8fd9\u4e9b\u540d\u5b57\u5ff5\u4e00\u904d\u4f60\u4f1a\u53d1\u73b0\u89c4\u5f8b&#xff1a;\u9664\u4e86 Anthropic \u548c OpenAI&#xff0c;\u5269\u4e0b\u7684\u51e0\u4e4e\u5168\u662f&#034;\u8ba2\u9605\u8ba1\u5212&#034;\u6216\u8005&#034;\u56fd\u4ea7 coding plan&#034;\u3002<\/p>\n<p>\u8fd9\u5c31\u662f\u5b83\u548c\u53e6\u4e24\u4f4d\u6700\u786c\u7684\u5206\u91ce\u3002Claude Code \u7684\u5b98\u65b9\u8bed\u5883\u91cc&#xff0c;\u6a21\u578b\u6765\u6e90\u662f Anthropic \u7684\u8ba2\u9605 \/ API Key&#xff0c;\u4ee5\u53ca Bedrock\u3001Vertex \u8fd9\u4e9b\u4e91\u4e0a\u8f6c\u552e\u7684 Claude \u6a21\u578b&#xff1b;Codex CLI \u7684\u540d\u5b57\u76f4\u63a5\u7ed1\u5728 OpenAI \u548c ChatGPT \u8ba2\u9605\u4e0a&#xff08;curl \u811a\u672c\u90fd\u6302\u5728 chatgpt.com \u57df\u540d\u4e0b&#xff09;\u3002\u800c Pi \u628a\u81ea\u5df1\u653e\u5728&#034;\u58f3&#034;\u7684\u4f4d\u7f6e&#xff0c;\u6a21\u578b\u662f\u8c01\u7684\u4e0d\u91cd\u8981&#xff0c;\u91cd\u8981\u7684\u662f\u5b83\u6709\u7edf\u4e00\u7684 LLM API \u5c42&#xff08;monorepo \u91cc\u90a3\u4e2a &#064;earendil-works\/pi-ai&#xff0c;\u5b98\u65b9\u63cf\u8ff0\u5c31\u662f \u201cUnified multi-provider LLM API (OpenAI, Anthropic, Google, etc.)\u201d&#xff09;\u3002<\/p>\n<p>\u5bf9\u56fd\u5185\u4f7f\u7528\u8005&#xff0c;\u8fd9\u6761\u5dee\u5f02\u662f\u5b9e\u6253\u5b9e\u7684\u94b1\u548c\u53ef\u7528\u6027&#xff1a;Kimi For Coding\u3001Qwen Token Plan\u3001MiniMax\u3001Moonshot\u3001Z&#xff08;\u667a\u8c31&#xff09;\u7684 coding plan\u3001DeepSeek&#xff0c;\u90fd\u5728\u8fd9\u5f20\u8868\u91cc\u3002<\/p>\n<p>\u51ed\u636e\u53d6\u7528\u4f18\u5148\u7ea7\u5b98\u65b9\u4e5f\u5199\u6e05\u4e86&#xff08;\u8fd9\u6761\u5f88\u5b9e\u7528&#xff0c;\u5f88\u591a\u4eba\u914d\u4e86\u73af\u5883\u53d8\u91cf\u4e0d\u751f\u6548\u5c31\u662f\u683d\u5728\u8fd9\u513f&#xff09;&#xff1a;<\/p>\n<p>\u8fd0\u884c\u65f6 &#8211;api-key  &gt;  auth.json \u91cc\u5b58\u7684\u51ed\u636e  &gt;  models.json \u91cc\u7684 apiKey  &gt;  \u63d0\u4f9b\u5546\u73af\u5883\u53d8\u91cf \/ \u4e91\u7aef\u73af\u5883\u51ed\u636e<\/p>\n<p>\u8fde\u672c\u5730\u6a21\u578b\u4e5f\u6709\u8def&#xff1a;models.md \u7ed9\u7684\u9009\u62e9\u8868\u91cc&#xff0c;&#034;\u672c\u5730 GGUF \u6a21\u578b&#034;\u5bf9\u5e94\u7684\u662f\u628a Pi \u63a5\u5230 llama.cpp router&#xff1b;OpenAI \/ Anthropic \/ Google \u4e09\u79cd\u534f\u8bae\u517c\u5bb9\u7684\u81ea\u5efa\u7aef\u70b9\u5199\u8fdb models.json \u5c31\u884c\u3002<\/p>\n<h5>Q3&#xff1a;\u82b1\u5f97\u8d77\u5417&#xff1f;<\/h5>\n<p>pi.dev \u4e0a\u6709\u53e5\u539f\u8bdd&#xff0c;\u6211\u8ba4\u4e3a\u8fd9\u662f Pi \u5168\u90e8\u5356\u70b9\u91cc\u6700\u53ef\u9a8c\u8bc1\u7684\u4e00\u53e5&#xff1a;<\/p>\n<p>Pi supports skills, AGENTS.md files and is very token efficient due to its minimal system prompt.<\/p>\n<p>\u7cfb\u7edf\u63d0\u793a\u8bcd\u77ed&#xff0c;\u6bcf\u6b21\u8bf7\u6c42\u5e26\u8fc7\u53bb\u7684\u56fa\u5b9a\u5f00\u9500\u5c31\u5c0f\u3002\u5bf9\u5929\u5929\u70e7 token \u7684\u4eba\u662f\u6548\u7387\u95ee\u9898&#xff0c;\u5bf9&#034;\u4e00\u4e2a\u6708\u60f3\u7701\u51e0\u5341\u5757&#034;\u7684\u666e\u901a\u4eba\u662f\u4ef7\u683c\u95ee\u9898\u2014\u2014\u8fd9\u4e24\u4ef6\u4e8b\u5728\u6210\u672c\u4e0a\u540c\u6e90\u3002<\/p>\n<p>\u914d\u5957\u7684\u53ef\u89c1\u6027\u4e5f\u505a\u4e86&#xff1a;\u4ea4\u4e92\u754c\u9762\u5e95\u90e8\u7684 footer \u663e\u793a\u5f53\u524d\u76ee\u5f55\u3001\u4f1a\u8bdd\u3001\u6a21\u578b\u3001\u4e0a\u4e0b\u6587\u5360\u7528&#xff0c;\u4ee5\u53ca\u7d2f\u8ba1\u7528\u91cf\u548c\u8d39\u7528&#xff08;usage.md \u539f\u8bdd&#xff1a;\u201cThe footer updates as the model uses context and reports usage.\u201d&#xff09;\u3002\/session \u80fd\u770b\u5230\u4e0b\u4e00\u6b21\u7f13\u5b58\u51b3\u7b56\u3002\u800c\u6a21\u578b\u76ee\u5f55\u672c\u8eab\u5e26\u4ef7\u683c\u6570\u636e&#xff0c;Pi \u51fa\u5382\u5e26\u4e00\u4efd\u5185\u5d4c\u76ee\u5f55&#xff0c;\u8fd8\u80fd\u4ece pi.dev \u53e0\u52a0\u66f4\u65b0\u7684\u76ee\u5f55\u6570\u636e&#xff0c;pi update &#8211;models \u624b\u52a8\u5237\u65b0&#xff0c;\u7f13\u5b58\u7684\u76ee\u5f55\u53ef\u79bb\u7ebf\u7528\u3002<\/p>\n<p>\u7701\u4e0d\u7701\u5f97\u5230\u94b1&#xff0c;\u53d6\u51b3\u4e8e\u4f60\u9009\u7684\u6a21\u578b&#xff1b;\u4f46\u81f3\u5c11&#034;\u8fd9\u4e00\u8f6e\u82b1\u4e86\u591a\u5c11&#034;\u8fd9\u4ef6\u4e8b&#xff0c;\u5b83\u6446\u5728\u4e86\u660e\u9762\u4e0a\u3002<\/p>\n<h5>Q4&#xff1a;\u53ea\u6709\u7f16\u7a0b\u80fd\u5e72\u5417&#xff1f;<\/h5>\n<p>\u8fd9\u4e00\u95ee\u7684\u7b54\u6848\u5728\u7b2c 4\u30015 \u8282&#xff1a;\u5b83\u7684\u56db\u7c7b\u6269\u5c55\u673a\u5236\u52a0\u4e0a&#034;\u6309\u9700\u52a0\u8f7d\u6307\u4ee4&#034;\u7684 skills \u8bbe\u8ba1&#xff0c;\u8ba9\u5b83\u80fd\u5e72\u5199\u4f5c\u3001\u7b14\u8bb0\u3001\u6570\u636e\u8fd9\u7c7b\u6d3b\u513f\u3002\u53cd\u8fc7\u6765\u8bf4&#xff0c;\u8fd9\u4e5f\u6b63\u662f\u5b83\u628a\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f\u5220\u6389\u4e4b\u540e\u4ecd\u7136\u5b8c\u6574\u7684\u7406\u7531\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261027182441-6ae0ec692d1ab.png\" alt=\"\u666e\u901a\u4eba\u56db\u95ee\u5728\u4e09\u4e2a\u5de5\u5177\u4e0a\u7684\u7b54\u6848\u5206\u5e03\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261027182441-6ae0ec69cb0a2.gif\" alt=\"\u56db\u95ee\u9010\u6761\u7ed9\u7b54\u6848\u7684\u6d3b\u9762\u677f\" \/><\/p>\n<p>\u4e0a\u9762\u8fd9\u5f20\u662f\u9759\u6001\u7248&#xff0c;\u4e0b\u9762\u8fd9\u5f20\u662f\u628a\u540c\u4e00\u4e2a\u8bba\u8bc1\u505a\u6210\u4f1a\u8dd1\u7684\u9762\u677f&#xff1a;\u56db\u95ee\u4ece\u5de6\u5f80\u53f3\u9010\u6761\u70b9\u4eae&#xff0c;\u6bcf\u4e2a\u95ee\u9898\u53f3\u8fb9\u7684\u4e09\u4e2a\u7b54\u6848\u683c\u540c\u65f6\u4eae\u8d77\u6765&#xff0c;\u5e95\u90e8\u4e00\u884c\u7ed9\u51fa\u8be5\u95ee\u7684\u7ed3\u8bba\u3002\u5c4f\u4e0a\u6eda\u52a8\u7684\u8ba1\u6570\u548c\u72b6\u6001\u6761\u662f\u9762\u677f\u81ea\u9020\u7684\u793a\u610f\u6570\u5b57&#xff0c;\u4e0d\u662f\u5b9e\u6d4b\u6570\u636e\u3002<\/p>\n<hr \/>\n<h3>3. \u5b83\u5230\u5e95\u88c5\u4e86\u4ec0\u4e48&#xff1a;monorepo \u91cc\u7684\u4e03\u4e2a\u5305<\/h3>\n<p>\u5f88\u591a\u4eba\u4ee5\u4e3a Pi \u5c31\u662f\u4e00\u4e2a CLI&#xff0c;\u5176\u5b9e\u4ed3\u5e93\u662f\u4e00\u4e2a monorepo&#xff0c;CLI \u53ea\u662f\u6700\u5916\u9762\u90a3\u4e2a\u58f3\u3002\u628a\u8fd9\u5c42\u7ed3\u6784\u770b\u6e05\u695a&#xff0c;\u540e\u9762\u6240\u6709\u6269\u5c55\u80fd\u529b\u90fd\u4e0d\u96be\u7406\u89e3\u3002<\/p>\n<table>\n<tr>\u5305\u540d\u5b98\u65b9\u63cf\u8ff0\u4f60\u53ef\u4ee5\u600e\u4e48\u7406\u89e3<\/tr>\n<tbody>\n<tr>\n<td>&#064;earendil-works\/pi-ai<\/td>\n<td>Unified multi-provider LLM API (OpenAI, Anthropic, Google, etc.)<\/td>\n<td>\u6a21\u578b\u63a5\u5165\u5c42&#xff0c;\u628a\u4e0d\u540c\u5382\u5546\u534f\u8bae\u62b9\u5e73<\/td>\n<\/tr>\n<tr>\n<td>&#064;earendil-works\/pi-agent-core<\/td>\n<td>Agent runtime with tool calling and state management<\/td>\n<td>Agent \u5faa\u73af\u672c\u4f53&#xff1a;\u5de5\u5177\u8c03\u7528\u3001\u72b6\u6001\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td>&#064;earendil-works\/pi-tui<\/td>\n<td>Terminal UI library with differential rendering<\/td>\n<td>\u7ec8\u7aef\u6e32\u67d3\u5e93&#xff0c;\u5dee\u5206\u5237\u65b0<\/td>\n<\/tr>\n<tr>\n<td>&#064;earendil-works\/pi-coding-agent<\/td>\n<td>Interactive coding agent CLI<\/td>\n<td>\u4f60\u6572\u7684\u90a3\u4e2a pi \u547d\u4ee4<\/td>\n<\/tr>\n<tr>\n<td>&#064;earendil-works\/pi-durable<\/td>\n<td>Durable conversation, task, and document runtime<\/td>\n<td>\u6301\u4e45\u5316\u7684\u4f1a\u8bdd \/ \u4efb\u52a1 \/ \u6587\u6863\u8fd0\u884c\u65f6<\/td>\n<\/tr>\n<tr>\n<td>&#064;earendil-works\/chord<\/td>\n<td>Standalone application-composition runtime for services, replicated state, RPC, and plugins<\/td>\n<td>\u8fdb\u7a0b\u5185\u7684\u670d\u52a1\u7ec4\u5408\u5e95\u5ea7<\/td>\n<\/tr>\n<tr>\n<td>&#064;earendil-works\/pi-telemetry<\/td>\n<td>Vendor-neutral telemetry contracts, reference adapter, conformance tests<\/td>\n<td>\u5382\u5546\u4e2d\u7acb\u7684\u89c2\u6d4b\u5951\u7ea6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>npm \u4e0a &#064;earendil-works\/pi-coding-agent \u7684\u5305\u63cf\u8ff0\u66f4\u76f4\u767d&#xff1a;\u201cCoding agent CLI with read, bash, edit, write tools and session management\u201d\u2014\u2014\u5185\u7f6e\u5de5\u5177\u5c31\u662f\u8bfb\u3001\u8dd1\u547d\u4ee4\u3001\u6539\u3001\u5199\u56db\u4ef6&#xff0c;\u52a0\u4e0a\u4f1a\u8bdd\u7ba1\u7406\u3002\u8fd9\u4e2a\u5de5\u5177\u9762\u5c0f\u5230\u8fd9\u79cd\u7a0b\u5ea6\u5730\u5199\u8fdb\u5305\u63cf\u8ff0&#xff0c;\u672c\u8eab\u5c31\u662f\u4e00\u79cd\u8bbe\u8ba1\u5ba3\u8a00\u3002<\/p>\n<p>how-pi-works.md \u628a\u8fd0\u884c\u673a\u5236\u8bb2\u4e86\u56db\u6bb5&#xff0c;\u6211\u6458\u6210\u4e00\u5f20\u6d41\u7a0b&#xff1a;<\/p>\n<p>\u63d0\u4ea4\u6d88\u606f \u2192 \u8ffd\u52a0\u5230 session \u6811\u7684 active branch<br \/>\n        \u2192 \u7ec4\u88c5\u8bf7\u6c42&#xff08;system prompt &#043; active branch &#043; \u53ef\u7528\u5de5\u5177 &#043; \u6a21\u578b\u8bbe\u7f6e&#xff09;<br \/>\n        \u2192 \u7ecf\u9009\u5b9a\u7684 provider \u6d41\u5f0f\u53d1\u51fa<br \/>\n        \u2192 \u6536\u5230\u6587\u672c &#043; \u5de5\u5177\u8c03\u7528&#xff0c;\u8bb0\u5f55\u3001\u6267\u884c\u3001\u8bb0\u5f55\u7ed3\u679c &#061; \u4e00\u8f6e<br \/>\n        \u2192 \u8fd8\u9700\u8981\u4e0b\u4e00\u8f6e\u5c31\u7ee7\u7eed&#xff0c;\u5426\u5219 run \u7ed3\u675f<\/p>\n<p>\u4e09\u4e2a\u6211\u89c9\u5f97\u8bbe\u8ba1\u5f97\u5e72\u51c0\u7684\u5730\u65b9&#xff1a;<\/p>\n<ul>\n<li>\u4f1a\u8bdd\u662f JSONL \u6587\u4ef6\u91cc\u7684\u6811&#xff0c;\u6bcf\u6761 entry \u6709 ID \u5e76\u6307\u5411\u7236\u8282\u70b9&#xff0c;\u5f53\u524d entry \u51b3\u5b9a active branch\u3002\u56de\u5230\u4e4b\u524d\u67d0\u6761\u6d88\u606f\u518d\u7ee7\u7eed&#xff0c;\u5c31\u662f\u5728\u540c\u4e00\u6587\u4ef6\u91cc\u5f00\u65b0\u5206\u652f&#xff1b;fork \u548c clone \u4f1a\u628a\u9009\u5b9a\u7684\u5386\u53f2\u590d\u5236\u6210\u53e6\u4e00\u4e2a\u4f1a\u8bdd\u6587\u4ef6\u3002\u5b98\u65b9\u6f14\u793a\u91cc\u4e13\u95e8\u5c55\u793a\u4e86&#034;rewind \u5230\u4efb\u610f\u4e00\u6761\u6d88\u606f\u3001\u4ece\u90a3\u513f\u5206\u53c9\u3001\u628a\u6574\u4e2a\u4f1a\u8bdd\u5206\u4eab\u7ed9\u522b\u4eba&#034;\u3002<\/li>\n<li>\u538b\u7f29&#xff08;compaction&#xff09;\u4e0d\u662f\u5220\u5386\u53f2\u3002\u5b83\u63d2\u5165\u4e00\u6761\u6458\u8981 entry&#xff0c;\u5728\u540e\u7eed\u6a21\u578b\u8bf7\u6c42\u91cc\u66ff\u6362\u6389\u65e7\u6d88\u606f&#xff0c;\u539f\u59cb entry \u4f9d\u7136\u7559\u5728\u6811\u91cc\u3002<\/li>\n<li>\u56db\u79cd\u4f7f\u7528\u5f62\u6001\u5171\u7528\u540c\u4e00\u5957 agent \u4e0e session \u673a\u5236&#xff1a;\u4ea4\u4e92 TUI\u3001print \u6a21\u5f0f&#xff08;\u8dd1\u4e00\u6761\u547d\u4ee4\u62ff\u6700\u7ec8\u7ed3\u679c&#xff09;\u3001JSON \u4e8b\u4ef6\u6d41&#xff08;\u8f93\u51fa JSONL \u4e8b\u4ef6&#xff09;\u3001RPC&#xff08;stdin\/stdout \u63a7\u5236\u4e00\u4e2a\u72ec\u7acb Pi \u8fdb\u7a0b&#xff09;&#xff0c;\u4ee5\u53ca TypeScript SDK \u5728\u5e94\u7528\u5185\u8d77\u4f1a\u8bdd\u3002\u4f60\u5728\u7ec8\u7aef\u91cc\u7528\u7684\u4e00\u5207&#xff0c;\u811a\u672c\u91cc\u90fd\u80fd\u4e00\u6837\u7528\u2014\u2014\u8fd9\u662f\u5f88\u591a\u5de5\u5177\u505a\u4e0d\u5230\u7684\u5bf9\u79f0\u6027\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>4. \u56db\u7c7b\u6269\u5c55\u6302\u8f7d\u70b9&#xff1a;\u8fd9\u624d\u662f&#034;\u6700\u5c0f\u5185\u6838&#034;\u7684\u53e6\u4e00\u534a<\/h3>\n<p>&#034;\u5185\u6838\u505a\u5c0f&#034;\u53ea\u8bb2\u4e86\u5b83\u5220\u4e86\u4ec0\u4e48&#xff0c;\u5269\u4e0b\u7684\u7a7a\u95f4\u9760\u4ec0\u4e48\u586b&#xff0c;\u662f\u8fd9\u4e00\u8282\u3002\u5b98\u65b9 README \u7684\u987a\u5e8f\u662f extensions\u3001skills\u3001prompt templates\u3001themes&#xff0c;\u7136\u540e\u6253\u5305\u5206\u53d1\u3002<\/p>\n<h5>4.1 Extensions&#xff1a;\u76f4\u63a5\u662f\u8fdb\u7a0b\u5185\u7684 TypeScript \u6a21\u5757<\/h5>\n<p>\u9002\u7528\u5224\u65ad\u5b98\u65b9\u5199\u5f97\u5f88\u514b\u5236&#xff1a;\u5f53\u5de5\u4f5c\u6d41\u9700\u8981\u5de5\u5177\u3001\u547d\u4ee4\u3001\u4e8b\u4ef6\u5904\u7406\u5668\u3001\u6a21\u578b provider\u3001\u4f1a\u8bdd\u72b6\u6001\u6216\u7ec8\u7aef\u754c\u9762&#xff0c;\u800c\u4e0d\u53ea\u662f&#034;\u591a\u4e00\u6bb5\u6307\u4ee4&#034;\u65f6&#xff0c;\u624d\u7528 extension\u3002<\/p>\n<p>\u4e00\u4e2a\u6700\u5c0f\u4f8b\u5b50&#xff0c;\u5b98\u65b9\u6587\u6863\u7ed9\u7684\u5c31\u662f\u8fd9\u5341\u884c&#xff08;\u653e ~\/.pi\/agent\/extensions\/hello.ts&#xff09;&#xff1a;<\/p>\n<p><span class=\"token keyword\">import<\/span> <span class=\"token keyword\">type<\/span> <span class=\"token punctuation\">{<\/span> ExtensionAPI <span class=\"token punctuation\">}<\/span> <span class=\"token keyword\">from<\/span> <span class=\"token string\">&#034;&#064;earendil-works\/pi-coding-agent&#034;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">export<\/span> <span class=\"token keyword\">default<\/span> <span class=\"token keyword\">function<\/span> <span class=\"token punctuation\">(<\/span>pi<span class=\"token operator\">:<\/span> ExtensionAPI<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  pi<span class=\"token punctuation\">.<\/span><span class=\"token function\">registerCommand<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;hello&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    description<span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;Show a greeting&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token function-variable function\">handler<\/span><span class=\"token operator\">:<\/span> <span class=\"token keyword\">async<\/span> <span class=\"token punctuation\">(<\/span>name<span class=\"token punctuation\">,<\/span> ctx<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&gt;<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      ctx<span class=\"token punctuation\">.<\/span>ui<span class=\"token punctuation\">.<\/span><span class=\"token function\">notify<\/span><span class=\"token punctuation\">(<\/span><span class=\"token template-string\"><span class=\"token template-punctuation string\">&#096;<\/span><span class=\"token string\">Hello, <\/span><span class=\"token interpolation\"><span class=\"token interpolation-punctuation punctuation\">${<\/span>name <span class=\"token operator\">||<\/span> <span class=\"token string\">&#034;world&#034;<\/span><span class=\"token interpolation-punctuation punctuation\">}<\/span><\/span><span class=\"token string\">!<\/span><span class=\"token template-punctuation string\">&#096;<\/span><\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;info&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u542f\u52a8 Pi \u540e\u6572 \/hello\u3002\u5f00\u53d1\u9636\u6bb5\u53ef\u4ee5\u76f4\u63a5 pi &#8211;extension .\/hello.ts \u5355\u6302\u4e00\u4e2a\u6587\u4ef6\u8bd5\u3002\u5b83\u7528 jiti \u52a0\u8f7d&#xff0c;\u672c\u5730 TS \u6269\u5c55\u4e0d\u9700\u8981\u5148\u7f16\u8bd1\u2014\u2014\u8fd9\u4e00\u70b9\u6bd4 Claude Code \u90a3\u7c7b&#034;\u4f60\u5f97\u5148\u628a\u63d2\u4ef6\u76ee\u5f55\u7ed3\u6784\u642d\u5bf9&#034;\u7684\u4f53\u9a8c\u7701\u4e8b\u5f97\u591a\u3002<\/p>\n<p>\u5b98\u65b9\u7ed9\u7684\u80fd\u529b\u6e05\u5355&#xff08;&#034;Choose an integration point&#034;\u90a3\u5f20\u8868&#xff09;\u6211\u539f\u6837\u5217\u4e00\u904d&#xff0c;\u56e0\u4e3a\u8fd9\u51e0\u4e4e\u662f\u5b83\u7684 API \u5730\u56fe&#xff1a;<\/p>\n<table>\n<tr>\u4f60\u60f3\u505a\u7684\u4e8b\u4e3b\u8981 API<\/tr>\n<tbody>\n<tr>\n<td>\u89c2\u5bdf\u6216\u6539\u53d8\u751f\u547d\u5468\u671f\u884c\u4e3a<\/td>\n<td>pi.on()<\/td>\n<\/tr>\n<tr>\n<td>\u52a0\u4e00\u4e2a\u6a21\u578b\u53ef\u8c03\u7528\u64cd\u4f5c<\/td>\n<td>pi.registerTool()<\/td>\n<\/tr>\n<tr>\n<td>\u52a0\u4e00\u6761 \/ \u547d\u4ee4<\/td>\n<td>pi.registerCommand()<\/td>\n<\/tr>\n<tr>\n<td>\u52a0\u5feb\u6377\u952e\u6216 CLI flag<\/td>\n<td>pi.registerShortcut() \/ pi.registerFlag()<\/td>\n<\/tr>\n<tr>\n<td>\u53d1\u7528\u6237\u6d88\u606f\u6216\u81ea\u5b9a\u4e49\u6d88\u606f<\/td>\n<td>pi.sendUserMessage() \/ pi.sendMessage()<\/td>\n<\/tr>\n<tr>\n<td>\u6301\u4e45\u5316\u4e0d\u8fdb\u4e0a\u4e0b\u6587\u7684\u4f1a\u8bdd\u6570\u636e<\/td>\n<td>pi.appendEntry()<\/td>\n<\/tr>\n<tr>\n<td>\u6539\u5f53\u524d\u5de5\u5177\u96c6 \/ \u6a21\u578b \/ \u601d\u8003\u6863<\/td>\n<td>pi \u4e0a\u7684\u4f1a\u8bdd\u63a7\u5236\u65b9\u6cd5<\/td>\n<\/tr>\n<tr>\n<td>\u52a0\u4e00\u4e2a\u6a21\u578b provider<\/td>\n<td>pi.registerProvider()<\/td>\n<\/tr>\n<tr>\n<td>\u52a0\u4e00\u4e2a MCP server<\/td>\n<td>pi.registerMcpServer()<\/td>\n<\/tr>\n<tr>\n<td>\u628a\u6bcf\u6b21\u8bf7\u6c42\u8def\u7531\u5230\u67d0\u4e2a\u6a21\u578b<\/td>\n<td>pi.registerVirtualModel()<\/td>\n<\/tr>\n<tr>\n<td>\u52a0\u7ec8\u7aef\u6e32\u67d3<\/td>\n<td>renderer \u6ce8\u518c &#043; ctx.ui<\/td>\n<\/tr>\n<tr>\n<td>\u548c\u53e6\u4e00\u4e2a\u6269\u5c55\u901a\u4fe1<\/td>\n<td>pi.events<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e8b\u4ef6\u4fa7\u4e5f\u505a\u5f97\u7ec6&#xff1a;before_agent_start \u80fd\u540c\u65f6\u62ff\u5230\u5f53\u524d prompt \u548c\u7ed3\u6784\u5316\u7684 systemPromptOptions&#xff1b;message_end \u53ef\u4ee5\u66ff\u6362\u5df2\u5b9a\u7a3f\u7684\u6d88\u606f&#xff1b;tool_call \u53ef\u4ee5\u6539\u5165\u53c2\u751a\u81f3\u76f4\u63a5\u62e6\u6389&#xff1b;tool_result \u7684\u591a\u4e2a handler \u6309\u987a\u5e8f\u53e0\u52a0&#xff0c;\u6bcf\u4e2a\u90fd\u80fd\u770b\u5230\u524d\u9762\u7684\u6539\u52a8\u3002\u6362\u53e5\u8bdd\u8bf4&#xff0c;\u6743\u9650\u786e\u8ba4\u8fd9\u4ef6\u4e8b\u5728 Pi \u91cc\u4e0d\u662f\u6ca1\u6709&#xff0c;\u800c\u662f\u5b83\u628a\u62e6\u622a\u70b9\u7559\u7ed9\u4e86\u6269\u5c55\u3002<\/p>\n<h5>4.2 Skills&#xff1a;\u53ea\u5728\u9700\u8981\u65f6\u628a\u5168\u6587\u8bfb\u8fdb\u4e0a\u4e0b\u6587<\/h5>\n<p>Pi \u5b9e\u73b0\u7684\u662f Agent Skills \u89c4\u8303&#xff08;SKILL.md &#043; frontmatter \u7684 name \/ description&#xff09;\u3002\u5b83\u7684\u52a0\u8f7d\u6a21\u578b\u662f\u6574\u6bb5\u8bbe\u8ba1\u91cc\u6211\u8ba4\u4e3a\u6700\u503c\u5f97\u6284\u8d70\u7684\u4e00\u6761&#xff1a;<\/p>\n<p>\u542f\u52a8&#xff1a;\u626b\u63cf skills \u76ee\u5f55 \u2192 \u53ea\u628a name &#043; description &#043; path \u5199\u8fdb system prompt<br \/>\n\u8fd0\u884c\u65f6&#xff1a;\u4efb\u52a1\u547d\u4e2d \u2192 \u6a21\u578b\u81ea\u5df1\u53bb\u8bfb SKILL.md \u5168\u6587<br \/>\n\u5f3a\u5236&#xff1a;\/skill:name \u624b\u52a8\u89e6\u53d1&#xff08;\u540e\u9762\u8fd8\u80fd\u5e26\u53c2\u6570&#xff09;<\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4&#xff0c;Detailed \u6307\u4ee4\u5728\u6ca1\u88ab\u7528\u5230\u4e4b\u524d\u4e0d\u5360\u4e0a\u4e0b\u6587\u3002\u5b98\u65b9\u8fd8\u63d0\u9192\u4e86\u4e00\u53e5\u5f88\u5b9e\u5728\u7684\u8bdd&#xff1a;\u6a21\u578b\u6709\u53ef\u80fd\u6ca1\u80fd\u52a0\u8f7d\u76f8\u5173\u7684 skill&#xff0c;\u9700\u8981\u65f6\u8bf7\u7528 \/skill:name \u5f3a\u5236\u3002frontmatter \u91cc\u53ef\u4ee5\u8bbe disable-model-invocation: true&#xff0c;\u8ba9\u8fd9\u4e2a skill \u53ea\u80fd\u901a\u8fc7\u663e\u5f0f\u547d\u4ee4\u4f7f\u7528\u3002<\/p>\n<p>\u8fd9\u6761\u673a\u5236\u89e3\u51b3\u7684\u662f\u6240\u6709 agent \u7528\u6237\u90fd\u4f1a\u9047\u5230\u7684\u90a3\u4ef6\u4e8b&#xff1a;\u88c5\u4e86\u5341\u4e2a skills \u4e4b\u540e&#xff0c;system prompt \u80d6\u6210\u7403&#xff0c;\u6bcf\u4e00\u8f6e\u90fd\u5728\u4e3a\u7528\u4e0d\u5230\u7684\u6307\u4ee4\u4ed8 token\u3002<\/p>\n<h5>4.3 Prompt Templates&#xff1a;Markdown \u6587\u4ef6\u76f4\u63a5\u53d8\u6210 \/ \u547d\u4ee4<\/h5>\n<p>\u9002\u7528\u5224\u65ad\u540c\u6837\u514b\u5236&#xff1a;\u60f3\u590d\u7528\u540c\u4e00\u6bb5 prompt&#xff0c;\u4f46\u4e0d\u9700\u8981\u53ef\u6267\u884c\u884c\u4e3a\u3001\u4e5f\u4e0d\u9700\u8981\u4e00\u6574\u5957\u9644\u52a0\u6307\u4ee4\u65f6&#xff0c;\u7528 prompt template\u3002<\/p>\n<p>&#8212;<br \/>\ndescription: Review staged git changes<br \/>\nargument-hint: &#034;[focus]&#034;<br \/>\n&#8212;<br \/>\nReview the staged changes. Focus on ${1:-correctness, security, and error handling}.<\/p>\n<p>\u6587\u4ef6\u540d\u5373\u547d\u4ee4\u540d&#xff0c;${1:-\u9ed8\u8ba4\u503c} \u662f\u53c2\u6570\u4f4d\u3002\u4e2a\u4eba\u76ee\u5f55 ~\/.pi\/agent\/prompts\/\u3001\u9879\u76ee .pi\/ \u90fd\u80fd\u653e&#xff0c;\u9879\u76ee\u914d\u7f6e\u53ea\u5728 project trust \u901a\u8fc7\u540e\u624d\u52a0\u8f7d\u3002<\/p>\n<h5>4.4 Themes \u4e0e Packages&#xff1a;\u628a\u4e0a\u9762\u4e09\u6837\u6253\u6210\u4e00\u4e2a\u5305\u53d1\u51fa\u53bb<\/h5>\n<p>\u4e3b\u9898\u7ba1\u7ec8\u7aef\u914d\u8272\u3002\u771f\u6b63\u8ba9&#034;\u6700\u5c0f\u5185\u6838&#034;\u80fd\u53d8\u6210&#034;\u4ec0\u4e48\u90fd\u80fd\u51d1\u51fa\u6765&#034;\u7684\u662f packages&#xff1a;<\/p>\n<p>pi install npm:&#064;scope\/package<br \/>\npi install git:github.com\/example\/pi-tools&#064;v1<br \/>\npi install .\/local-package<br \/>\npi list<br \/>\npi update &#8211;extensions     # \u66f4\u65b0\u6240\u6709\u5df2\u88c5\u5305<br \/>\npi update &lt;source&gt;         # \u53ea\u66f4\u65b0\u4e00\u4e2a<\/p>\n<p>\u4e2a\u4eba\u5b89\u88c5\u5199\u8fdb ~\/.pi\/agent\/settings.json&#xff0c;\u52a0 &#8211;local \/ -l \u5199\u8fdb\u9879\u76ee\u7684 .pi\/settings.json&#xff08;\u8981\u5148\u7ed9 project trust&#xff09;\u3002\u60f3\u4e34\u65f6\u8bd5\u4e00\u4e2a\u5305\u53c8\u4e0d\u60f3\u52a8\u914d\u7f6e&#xff1a;pi -e npm:&#064;example\/pi-tool\u3002<\/p>\n<p>\u5b98\u65b9\u5728\u8fd9\u91cc\u7684\u5b89\u5168\u63d0\u9192&#xff0c;\u6211\u628a\u539f\u6587\u7559\u7740&#xff1a;package \u4f1a\u6267\u884c\u6269\u5c55\u4ee3\u7801&#xff0c;\u4e5f\u53ef\u80fd\u5e26 skill \u53bb\u6307\u6325\u6a21\u578b\u8dd1\u7a0b\u5e8f&#xff1b;\u88c5\u7b2c\u4e09\u65b9\u5305\u4e4b\u524d\u5148\u8bfb\u5b83\u7684\u6e90\u7801\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261027182442-6ae0ec6a36993.png\" alt=\"Pi \u7684\u5206\u5c42\uff1a\u56db\u4e2a\u5185\u7f6e\u8d44\u6e90\u4f4d\u6302\u5728\u6700\u5c0f\u5185\u6838\u4e0a\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261027182442-6ae0ec6aa3f01.gif\" alt=\"\u4e00\u8f6e agent \u5faa\u73af\u7684\u6d3b\u9762\u677f\" \/><\/p>\n<p>\u8fd9\u5f20\u4f1a\u8dd1\u7684\u9762\u677f\u6f14\u793a\u7684\u662f\u540c\u4e00\u5957\u673a\u5236\u5728\u65f6\u95f4\u8f74\u4e0a\u7684\u6837\u5b50&#xff1a;\u4e00\u8f6e run \u4ece&#034;\u7ec4\u88c5\u4e0a\u4e0b\u6587&#034;\u8d70\u5230&#034;\u6a21\u578b\u8fd4\u56de&#034;\u518d\u56de\u5230\u7ec4\u88c5&#xff0c;\u53f3\u680f\u7684\u56db\u4e2a\u8d44\u6e90\u4f4d\u5728\u88ab\u53d6\u7528\u7684\u90a3\u4e00\u523b\u4eae\u8d77\u6765&#xff1b;\u5e95\u4e0b\u7684\u6761\u662f\u4e0a\u4e0b\u6587\u5360\u7528&#xff0c;\u63a5\u8fd1\u9608\u503c\u65f6\u63d2\u4e00\u6761\u6458\u8981 entry&#xff0c;\u5386\u53f2\u8bb0\u5f55\u672c\u8eab\u4e0d\u5220\u3002\u5c4f\u4e0a\u7684\u8f6e\u6570\u548c token \u6570\u662f\u9762\u677f\u81ea\u5df1\u7d2f\u8ba1\u7684\u793a\u610f\u6570\u5b57&#xff0c;\u4e0d\u662f\u5b9e\u6d4b\u3002<\/p>\n<hr \/>\n<h3>5. \u5b83\u6545\u610f\u6ca1\u7ed9\u4ec0\u4e48&#xff0c;\u4ee5\u53ca\u5df2\u7ecf\u5185\u7f6e\u4e86\u4ec0\u4e48<\/h3>\n<p>\u8fd9\u4e00\u8282\u662f\u6807\u9898\u91cc\u90a3\u53e5\u8bdd\u771f\u6b63\u7684\u6218\u573a\u3002<\/p>\n<h5>Q1&#xff1a;README \u91cc\u90a3\u53e5&#034;skips features&#034;\u5177\u4f53\u6307\u4ec0\u4e48&#xff1f;<\/h5>\n<p>\u539f\u6587&#xff1a;<\/p>\n<p>Pi ships with powerful defaults but skips features like sub-agents and plan mode. Ask Pi to build what you want, or install a package that does it your way.<\/p>\n<p>\u5b83\u70b9\u540d\u5c11\u6389\u7684\u662f\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f\u3002\u8fd9\u4e24\u6837\u6070\u597d\u662f Claude Code \u5b98\u65b9\u6587\u6863\u91cc\u7684\u4e24\u5927\u5356\u70b9&#xff08;plan mode\u3001subagents&#xff0c;\u5916\u52a0 hooks\u3001MCP\u3001skills \u4e00\u6574\u5957&#xff09;\u3002<\/p>\n<p>\u5b98\u65b9\u7ed9\u7684\u8865\u6cd5\u6709\u4e24\u6761&#xff1a;\u8ba9 Pi \u81ea\u5df1\u73b0\u9020&#xff0c;\u6216\u8005\u88c5\u4e00\u4e2a\u6309\u4f60\u7684\u65b9\u5f0f\u5b9e\u73b0\u7684\u5305\u3002\u8fd9\u53e5\u8bdd\u7684\u6f5c\u53f0\u8bcd\u5176\u5b9e\u633a\u786c&#xff1a;\u5b83\u8ba4\u4e3a&#034;\u5b50\u4ee3\u7406&#034;\u548c&#034;\u8ba1\u5212\u6a21\u5f0f&#034;\u4e0d\u8be5\u7531\u5de5\u5177\u66ff\u4f60\u5b9a\u4e49\u5f62\u72b6\u3002<\/p>\n<p>\u8fd9\u4e00\u70b9\u6211\u6301\u4fdd\u7559\u610f\u89c1\u3002\u5bf9\u719f\u7ec3\u7684\u4eba\u662f\u81ea\u7531&#xff0c;\u5bf9\u666e\u901a\u4eba\u6070\u6070\u76f8\u53cd\u2014\u2014\u4ed6\u4e0d\u77e5\u9053&#034;\u8ba1\u5212\u6a21\u5f0f&#034;\u5e94\u8be5\u957f\u4ec0\u4e48\u6837&#xff0c;\u4f60\u5220\u6389\u4e00\u4e2a\u4ed6\u672c\u6765\u80fd\u76f4\u63a5\u6309\u7684\u6309\u94ae&#xff0c;\u4ed6\u5f97\u5230\u7684\u4e0d\u662f\u81ea\u7531\u800c\u662f\u7a7a\u767d\u3002<\/p>\n<h5>Q2&#xff1a;\u90a3 MCP \u5462&#xff1f;&#xff08;\u7f51\u4e0a\u4e0d\u5c11\u65e7\u6587\u7ae0\u8bf4 Pi \u4e0d\u652f\u6301&#xff0c;\u73b0\u5728\u8981\u66f4\u6b63&#xff09;<\/h5>\n<p>\u622a\u81f3 v1.1.0&#xff0c;Pi \u7684 MCP \u652f\u6301\u662f\u5185\u7f6e\u7684&#xff0c;\u4e0d\u9700\u8981\u7b2c\u4e09\u65b9\u9002\u914d\u5305\u3002 \u5b98\u65b9 mcp.md \u7ed9\u7684\u5165\u95e8\u5c31\u662f\u4e09\u6761\u547d\u4ee4&#xff1a;<\/p>\n<p>pi mcp <span class=\"token function\">add<\/span> filesystem &#8212; npx <span class=\"token parameter variable\">-y<\/span> &#064;modelcontextprotocol\/server-filesystem <span class=\"token builtin class-name\">.<\/span><br \/>\npi mcp <span class=\"token function\">add<\/span> docs <span class=\"token parameter variable\">&#8211;url<\/span> https:\/\/example.com\/mcp &#8211;bearer-token-env-var DOCS_TOKEN<br \/>\npi mcp list<\/p>\n<p>\u914d\u7f6e\u8bfb\u5199\u4f4d\u7f6e\u662f ~\/.pi\/agent\/mcp.json&#xff08;\u7528\u6237\u7ea7&#xff09;\u548c .pi\/mcp.json&#xff08;\u9879\u76ee\u7ea7&#xff0c;project trust \u4e4b\u540e\u624d\u8bfb&#xff09;&#xff0c;\u540c\u540d\u65f6\u9879\u76ee\u8986\u76d6\u7528\u6237\u3002stdio \u8d70 command \/ args \/ env \/ cwd&#xff0c;\u8fdc\u7a0b\u8d70 url \/ headers \/ oauth&#xff0c;\u8fd8\u80fd\u8bbe exposure \/ toolExposure \u63a7\u5236\u5de5\u5177\u600e\u4e48\u66b4\u9732\u7ed9\u6a21\u578b\u3002\u4f1a\u8bdd\u91cc \/mcp \u80fd\u770b\u8fde\u63a5\u72b6\u6001\u3001\u767b\u5f55\u3001\u91cd\u8fde\u3001\u542f\u505c\u3002\u6269\u5c55\u4e5f\u80fd pi.registerMcpServer() \u52a8\u6001\u6ce8\u518c\u3002<\/p>\n<p>\u6211\u7279\u610f\u67e5\u4e86 npm \u4e0a\u7684\u751f\u6001\u4f4d&#xff0c;\u53d1\u73b0 Pi \u7684\u6269\u5c55\u751f\u6001\u662f&#034;\u8865\u5185\u6838\u6ca1\u505a\u7684\u4e8b&#034;&#xff0c;\u800c\u4e0d\u662f&#034;\u5185\u6838\u505a\u4e0d\u4e86\u4e8b&#034;&#xff1a;<\/p>\n<table>\n<tr>\u5305\u7248\u672c\u4f5c\u7528<\/tr>\n<tbody>\n<tr>\n<td>&#064;gotgenes\/pi-permission-system<\/td>\n<td>40.1.2<\/td>\n<td>\u7ed9 Pi \u52a0\u6743\u9650\u5f3a\u5236&#xff08;\u56e0\u4e3a\u5185\u6838\u4e0d\u5e26\u6743\u9650\u7cfb\u7edf&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>pi-mcp-adapter<\/td>\n<td>5.1.0<\/td>\n<td>MCP \u9002\u914d\u6269\u5c55&#xff08;\u66f4\u65e9\u751f\u6001\u4f4d&#xff0c;\u73b0\u5df2\u88ab\u5185\u7f6e\u652f\u6301\u8986\u76d6&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>pi-acp<\/td>\n<td>0.0.34<\/td>\n<td>ACP \u9002\u914d\u5668<\/td>\n<\/tr>\n<tr>\n<td>pi-powerline-footer<\/td>\n<td>0.19.1<\/td>\n<td>Powerline \u98ce\u683c\u72b6\u6001\u680f<\/td>\n<\/tr>\n<tr>\n<td>&#064;langfuse\/pi-observability-plugin<\/td>\n<td>0.1.2<\/td>\n<td>Langfuse \u89c2\u6d4b\u63a5\u5165<\/td>\n<\/tr>\n<tr>\n<td>&#064;agegr\/pi-web<\/td>\n<td>0.11.0<\/td>\n<td>Pi coding agent \u7684 Web UI<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7248\u672c\u53f7\u672c\u8eab\u5c31\u662f\u4fe1\u53f7&#xff1a;\u4e00\u4e2a\u793e\u533a\u6269\u5c55\u80fd\u8fed\u4ee3\u5230 40.x&#xff0c;\u8bf4\u660e\u8fd9\u6761&#034;\u5185\u6838\u6700\u5c0f &#043; \u6269\u5c55\u8865\u4f4d&#034;\u7684\u8def\u7ebf\u771f\u7684\u6709\u4eba\u5728\u7528\u3001\u5728\u7ef4\u62a4\u3002<\/p>\n<h5>Q3&#xff1a;\u90a3\u4e2a npx &#064;agegr\/pi-web&#064;latest \u5230\u5e95\u662f\u4ec0\u4e48&#xff1f;&#xff08;\u8fd9\u6761\u6700\u5bb9\u6613\u88c5\u9519&#xff09;<\/h5>\n<p>\u89c6\u9891\u7b80\u4ecb\u7ed9\u7684\u6574\u53e5\u5b89\u88c5\u547d\u4ee4\u662f npx &#064;agegr\/pi-web&#064;latest\u3002\u6211\u628a\u5b83\u7684 npm \u5143\u6570\u636e\u62c9\u4e0b\u6765\u6838\u5bf9\u8fc7&#xff1a;<\/p>\n<p>\u5305\u540d     &#064;agegr\/pi-web<br \/>\n\u7248\u672c     0.11.0&#xff08;\u622a\u81f3 2026-10-09&#xff0c;\u7d2f\u8ba1 102 \u4e2a\u7248\u672c&#xff0c;\u521b\u5efa 2026-03-24&#xff09;<br \/>\n\u63cf\u8ff0     Web UI for the pi coding agent<br \/>\n\u53ef\u6267\u884c   pi-web<br \/>\n\u8bb8\u53ef\u8bc1   MIT<br \/>\n\u4ed3\u5e93     github.com\/agegr\/pi-web<br \/>\nNode     &gt;&#061;22.19.0<\/p>\n<p>\u5b83\u662f\u7ed9 Pi \u5957\u7684\u7b2c\u4e09\u65b9\u56fe\u5f62\u754c\u9762&#xff0c;\u4e0d\u662f Pi \u672c\u4f53\u7684\u5b98\u65b9\u5b89\u88c5\u547d\u4ee4\u3002 \u5b98\u65b9 CLI \u7684\u5165\u53e3\u662f curl -fsSL https:\/\/pi.dev\/install.sh | sh&#xff08;\u6216 npm \u5168\u88c5\u7684 &#064;earendil-works\/pi-coding-agent&#xff09;\u3002\u987a\u5e26\u4e00\u63d0&#xff0c;pi \u547d\u4ee4\u81ea\u5df1\u7684\u5b50\u547d\u4ee4\u53ea\u6709 install\u3001update\u3001list\u3001mcp \u8fd9\u51e0\u7c7b&#xff0c;\u6ca1\u6709 pi web\u3002<\/p>\n<p>\u800c\u4e14\u8fd9\u4e00\u65cf\u5df2\u7ecf\u957f\u51fa\u4e00\u7247 fork&#xff1a;&#064;rainmanhhh\/pi-web 0.27.0&#xff08;\u63cf\u8ff0\u76f4\u63a5\u5199\u7740 \u201cfork of &#064;agegr\/pi-web\u201d&#xff0c;\u7248\u672c\u53f7\u5df2\u7ecf\u8dd1\u5230 0.27&#xff09;\u3001&#064;silgrid\/pi-web\u3001&#064;pricening\/pi-web\u3001&#064;baique\/pi-web-sky\u3001&#064;xup3ng\/pi-web\u3001&#064;calmabacus\/pi-web\u3001&#064;cyia\/pi-web\u3001&#064;praveenc\/pi-web&#xff0c;\u8fd8\u6709\u7ed9 oh-my-pi \u7528\u7684 omp-web\u3002<\/p>\n<p>\u8fd9\u5bf9\u666e\u901a\u4eba\u7684\u5b9e\u9645\u5f71\u54cd\u5f88\u76f4\u767d&#xff1a;\u540c\u4e00\u6761 npx \u547d\u4ee4\u6362\u4e2a scope \u5c31\u662f\u53e6\u4e00\u6279\u4ee3\u7801&#xff0c;\u8fd8\u90fd\u5728\u6d3b\u8dc3\u66f4\u65b0\u3002 \u88c5\u4e4b\u524d\u5148\u786e\u8ba4\u5305\u540d\u548c\u4f5c\u8005&#xff0c;\u522b\u7167\u6284\u6807\u9898\u91cc\u7684\u547d\u4ee4\u3002\u6211\u7684\u5efa\u8bae\u662f\u2014\u2014\u5148\u7528\u5b98\u65b9 CLI \u8dd1\u901a\u4e00\u6b21&#xff08;\u5c11\u4e00\u5c42\u4f9d\u8d56&#xff09;&#xff0c;\u518d\u6309\u9700\u9009\u4e00\u4e2a Web UI\u3002<\/p>\n<hr \/>\n<h3>6. \u4e0a\u4e0b\u6587\u4e0e\u6210\u672c&#xff1a;\u4e3a\u4ec0\u4e48&#034;\u7701 token&#034;\u5bf9\u666e\u901a\u4eba\u662f\u771f\u9700\u6c42<\/h3>\n<p>\u628a\u8fd9\u4e00\u8282\u5355\u72ec\u62ce\u51fa\u6765&#xff0c;\u662f\u56e0\u4e3a\u5b83\u5e38\u88ab\u5f53\u6210\u5de5\u7a0b\u5e08\u7684\u81ea\u55e8&#xff0c;\u5b9e\u9645\u4e0a\u5b83\u662f\u666e\u901a\u4eba\u548c\u91cd\u5ea6\u7528\u6237\u4e4b\u95f4\u6700\u786c\u7684\u90a3\u9053\u5899\u3002<\/p>\n<p>Claude Code \u548c Codex \u90fd\u662f&#034;\u4ea7\u54c1&#034;&#xff1a;\u529f\u80fd\u3001\u9ed8\u8ba4\u63d0\u793a\u8bcd\u3001\u5185\u7f6e\u5b50\u4ee3\u7406\u5b9a\u4e49\u90fd\u7531\u5382\u5546\u66ff\u4f60\u5b9a\u597d&#xff0c;\u4ee3\u4ef7\u662f\u6bcf\u6b21\u8bf7\u6c42\u7684\u56fa\u5b9a\u5f00\u9500\u4f60\u4e5f\u62ff\u4e0d\u6389\u3002Pi \u662f&#034;\u9aa8\u67b6&#034;&#xff1a;\u5b83\u628a system prompt \u505a\u5c0f&#xff08;pi.dev \u660e\u8bf4 token efficient \u7684\u539f\u56e0\u5c31\u662f minimal system prompt&#xff09;&#xff0c;\u7136\u540e\u628a&#034;\u8981\u4e0d\u8981\u591a\u5e26\u4e00\u70b9\u6307\u4ee4&#034;\u7684\u9009\u62e9\u6743\u4ea4\u7ed9 skills \u7684\u6309\u9700\u52a0\u8f7d\u3002<\/p>\n<p>\u56fa\u5b9a\u5f00\u9500 &#061; \u57fa\u7840 system prompt &#043; \u5df2\u52a0\u8f7d\u4e0a\u4e0b\u6587\u6587\u4ef6 &#043; \u5de5\u5177\u5b9a\u4e49 &#043; skill \u7684 name\/description<br \/>\n\u53ef\u53d8\u90e8\u5206 &#061; \u4efb\u52a1\u6d88\u606f &#043; \u5de5\u5177\u7ed3\u679c &#043; \u5386\u53f2&#xff08;\u6216\u88ab compaction \u6458\u8981\u66ff\u6362&#xff09;<\/p>\n<p>\u5bf9\u7167\u7740\u770b&#xff0c;Pi \u5728\u8fd9\u6761\u7ebf\u4e0a\u505a\u7684\u6bcf\u4e00\u4ef6\u4e8b\u90fd\u6307\u5411\u540c\u4e00\u4e2a\u76ee\u7684&#xff1a;<\/p>\n<ul>\n<li>skill \u5168\u6587\u6309\u9700\u8bfb\u5165&#xff08;\u4e0d\u5728\u4e0a\u4e0b\u6587\u91cc\u5e38\u9a7b&#xff09;&#xff1b;<\/li>\n<li>\u538b\u7f29\u63d2\u5165\u6458\u8981 entry&#xff0c;\u540e\u7eed\u8bf7\u6c42\u7528\u6458\u8981\u66ff\u4ee3\u65e7\u6d88\u606f&#xff0c;\u539f\u6587\u4ecd\u5728\u6811\u91cc&#xff1b;<\/li>\n<li>\u5de5\u5177\u80fd\u4e0d\u80fd\u88ab\u6a21\u578b\u770b\u89c1\u7531 exposure \/ toolExposure \u63a7\u5236&#xff0c;MCP \u6302\u5341\u4e2a server \u4e5f\u4e0d\u5fc5\u628a\u5168\u90e8\u5de5\u5177\u63cf\u8ff0\u90fd\u585e\u8fdb prompt&#xff1b;<\/li>\n<li>prompt cache \u6709\u4e13\u95e8\u673a\u5236&#xff0c;\u4e14\u53ea\u6709\u5f53\u6a21\u578b\u58f0\u660e\u4e86\u7f13\u5b58\u751f\u547d\u5468\u671f\u3001\u5e76\u4e14\u4f30\u7b97\u80fd\u7701\u4e0b\u81f3\u5c11 $0.05 \u7684\u7f13\u5b58\u672a\u547d\u4e2d\u6210\u672c\u65f6\u624d\u505a\u9884\u70ed&#xff08;settings.md \u539f\u53e3\u5f84&#xff09;&#xff1b;<\/li>\n<li>thinkingBudgets \u8ba9 minimal \/ low \/ medium \/ high \u56db\u6863\u601d\u8003\u5404\u81ea\u6709 token \u9884\u7b97&#xff1b;<\/li>\n<li>\u4f1a\u8bdd\u53ef\u5206\u652f&#xff0c;\u540c\u4e00\u6bb5\u524d\u7f00\u590d\u7528&#xff1b;\/model \u4e0e Ctrl&#043;L \u53ef\u4ee5\u968f\u65f6\u628a\u8d35\u7684\u6a21\u578b\u6362\u6210\u4fbf\u5b9c\u7684\u3002<\/li>\n<\/ul>\n<p>\u5bf9\u666e\u901a\u4eba\u7684\u610f\u4e49&#xff1a;\u4f60\u4e0d\u5fc5\u4e3a\u4e86\u8ba9\u5b83&#034;\u66f4\u61c2\u4f60&#034;\u800c\u5199\u4e00\u4efd\u5de8\u5927\u7684\u5e38\u9a7b\u63d0\u793a\u8bcd\u3002\u8981\u5b83\u61c2\u4f60\u7684\u5199\u4f5c\u89c4\u8303&#xff0c;\u505a\u6210 skill&#xff1b;\u8981\u5b83\u6bcf\u6b21\u6309\u56fa\u5b9a\u683c\u5f0f\u56de\u590d&#xff0c;\u505a\u6210 prompt template\u3002\u8fd9\u4e24\u79cd\u505a\u6cd5\u90fd\u4e0d\u62ac\u9ad8\u6bcf\u4e00\u8f6e\u7684\u56fa\u5b9a\u5f00\u9500\u3002<\/p>\n<p>\u53cd\u8fc7\u6765&#xff0c;\u5982\u679c\u4e00\u4e2a\u4eba\u4ece\u6765\u4e0d\u770b\u7528\u91cf&#xff0c;\u90a3\u8fd9\u4e9b\u673a\u5236\u4ed6\u4e00\u65f6\u534a\u4f1a\u513f\u4e5f\u7528\u4e0d\u4e0a\u2014\u2014\u7701\u6210\u672c\u8fd9\u4ef6\u4e8b&#xff0c;\u6c38\u8fdc\u5efa\u7acb\u5728&#034;\u77e5\u9053\u81ea\u5df1\u82b1\u4e86\u591a\u5c11&#034;\u4e0a\u9762\u3002<\/p>\n<hr \/>\n<h3>7. \u98ce\u9669\u8fd9\u4e00\u8282\u4e0d\u80fd\u8df3\u8fc7&#xff1a;\u5b83\u4e0d\u95ee\u4f60\u8981\u6743\u9650&#xff0c;\u4e5f\u4e0d\u62e6\u4f60<\/h3>\n<p>\u5982\u679c\u6211\u5728\u8fd9\u91cc\u987a\u7740\u6807\u9898\u4e00\u8def\u5938\u4e0b\u53bb&#xff0c;\u8fd9\u7bc7\u7a3f\u5b50\u5c31\u6ca1\u5fc5\u8981\u5199\u4e86\u3002<\/p>\n<h5>Q1&#xff1a;Pi \u7684\u9ed8\u8ba4\u6743\u9650\u662f\u4ec0\u4e48&#xff1f;<\/h5>\n<p>README \u91cc\u6709\u4e00\u8282\u6807\u9898\u5c31\u662f \u201cPermissions &amp; Containerization\u201d&#xff0c;\u7b2c\u4e00\u53e5\u5199\u5f97\u6beb\u4e0d\u542b\u7cca&#xff1a;<\/p>\n<p>Pi does not include a built-in permission system for restricting filesystem, process, network, or credential access. By default, it runs with the permissions of the user and process that launched it.<\/p>\n<p>usage.md \u8865\u4e86\u4ea4\u4e92\u5c42\u7684\u540c\u4e00\u4ef6\u4e8b&#xff1a;Pi does not ask before every tool call.&#xff08;\u5b83\u4e0d\u4f1a\u5728\u6bcf\u6b21\u5de5\u5177\u8c03\u7528\u524d\u95ee\u4f60\u3002&#xff09;security.md \u66f4\u76f4\u767d&#xff1a;\u6269\u5c55\u3001\u5305\u5b89\u88c5\u5668\u3001\u8bed\u8a00\u670d\u52a1\u5668\u548c\u5176\u4ed6\u5b50\u8fdb\u7a0b\u90fd\u4ee5\u542f\u52a8\u8005\u7684\u6743\u9650\u8fd0\u884c&#xff1b;\u53ea\u8981 trust \u5224\u5b9a\u8fc7\u4e86&#xff0c;\u4e4b\u540e\u5c31\u662f&#034;\u6a21\u578b\u8bf4&#xff0c;\u5de5\u5177\u505a&#034;\u3002<\/p>\n<p>\u8fd9\u8ddf Claude Code\u3001Codex \u7684\u8def\u6570\u662f\u76f8\u53cd\u7684\u3002Claude Code \u5728 CLI \u91cc\u7ed9\u51fa allow \/ ask \/ deny \u7684\u6743\u9650\u89c4\u5219\u548c\u82e5\u5e72\u6743\u9650\u6a21\u5f0f&#xff08;\u542b plan\u3001acceptEdits \u8fd9\u7c7b&#xff09;&#xff0c;Codex \u7684\u5b98\u65b9\u4ed3\u5e93 docs\/ \u91cc sandbox.md \u76f4\u63a5\u6307\u5411&#034;Sandbox &amp; approvals&#034;\u6587\u6863\u3001execpolicy.md \u6307\u5411\u6267\u884c\u7b56\u7565\u6587\u6863\u3002\u90a3\u4e24\u5bb6\u628a&#034;\u5ba1\u6279&#034;\u505a\u8fdb\u4e86\u4ea7\u54c1&#xff0c;Pi \u628a&#034;\u8fb9\u754c&#034;\u4ea4\u8fd8\u7ed9\u64cd\u4f5c\u7cfb\u7edf\u548c\u5bb9\u5668\u3002<\/p>\n<p>\u5bf9\u666e\u901a\u4eba\u7684\u76f4\u63a5\u5f71\u54cd\u662f&#xff1a;\u5c11\u4e86\u90a3\u4e9b\u5f39\u7a97&#xff0c;\u786e\u5b9e\u5c11\u4e86\u6469\u64e6&#xff1b;\u4f46\u540c\u6837\u610f\u5473\u7740&#xff0c;\u5f53\u6a21\u578b\u88ab\u4e00\u53e5\u7f51\u9875\u91cc\u7684\u6076\u610f\u5185\u5bb9\u5e26\u8dd1&#xff08;prompt injection&#xff0c;\u5b98\u65b9\u4e13\u95e8\u5217\u4e86\u8fd9\u6761&#xff1a;\u6587\u4ef6\u3001\u6ce8\u91ca\u3001\u6307\u4ee4\u3001\u547d\u4ee4\u8f93\u51fa\u3001\u6a21\u578b\u56de\u590d\u90fd\u53ef\u80fd\u5f15\u5bfc\u6a21\u578b&#xff09;&#xff0c;\u6ca1\u6709\u4efb\u4f55\u5185\u7f6e\u5173\u5361\u4f1a\u66ff\u4f60\u6321\u4e0b\u90a3\u6761 rm\u3002<\/p>\n<p>\u5b98\u65b9\u7684\u5904\u7f6e\u65b9\u5f0f\u4e5f\u5f88\u8bda\u5b9e\u3002security.md \u660e\u786e\u5199\u4e86&#xff1a;\u76ef\u7740 transcript\u3001\u7528 project trust\u3001\u4eba\u5de5 review \u6539\u52a8&#xff0c;\u8fd9\u4e9b\u90fd\u4e0d\u6784\u6210\u5b89\u5168\u8fb9\u754c&#xff08;\u201cdo not create a security boundary\u201d&#xff09;\u3002\u771f\u6b63\u7684\u8fb9\u754c\u53ea\u6709\u4e09\u79cd&#xff1a;<\/p>\n<table>\n<tr>\u8fd0\u884c\u65b9\u5f0f\u8fd8\u53d7\u4fdd\u62a4\u7684\u4e1c\u897f<\/tr>\n<tbody>\n<tr>\n<td>\u76f4\u63a5\u8dd1&#xff0c;\u7ee7\u627f\u542f\u52a8\u7528\u6237\u7684\u6743\u9650<\/td>\n<td>\u53ea\u6709\u8be5\u7528\u6237\u8bbf\u95ee\u4e0d\u5230\u7684\u4e1c\u897f\u3002\u4e13\u7528\u8d26\u53f7\u80fd\u6536\u7a84&#xff0c;\u4f46\u4ecd\u4e0e\u540c\u673a\u5176\u4ed6\u7528\u6237\u5171\u4eab\u7cfb\u7edf\u548c\u7f51\u7edc<\/td>\n<\/tr>\n<tr>\n<td>\u6574\u4e2a\u8fdb\u7a0b\u653e\u8fdb\u5bb9\u5668 \/ \u865a\u62df\u673a \/ \u6c99\u7bb1<\/td>\n<td>\u4f60\u4e0d\u5411\u5916\u66b4\u9732\u7684\u5bbf\u4e3b\u6587\u4ef6\u4e0e\u8fdb\u7a0b\u3002\u5b98\u65b9\u6807\u6ce8&#xff1a;\u901a\u5e38\u8fd9\u662f\u6700\u5b9e\u7528\u7684\u5f3a\u8fb9\u754c<\/td>\n<\/tr>\n<tr>\n<td>Pi \u7559\u5728\u5916\u9762&#xff0c;\u53ea\u628a\u5185\u7f6e\u5de5\u5177\u653e\u8fdb\u9694\u79bb\u73af\u5883<\/td>\n<td>\u901a\u8fc7\u90a3\u4e9b\u5de5\u5177\u505a\u7684\u64cd\u4f5c\u88ab\u6321\u4f4f&#xff1b;\u4f46 Pi \u672c\u4f53\u548c\u5176\u4ed6\u6269\u5c55\u4ecd\u5728\u8fb9\u754c\u5916&#xff0c;\u5c5e\u8f83\u5f31\u7684\u4e00\u79cd<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>containerization.md \u7ed9\u4e86\u4e09\u79cd\u5177\u4f53\u505a\u6cd5&#xff1a;Gondolin \u6269\u5c55&#xff08;pi \u4e0e provider \u8ba4\u8bc1\u7559\u5728\u5bbf\u4e3b&#xff0c;\u628a\u5185\u7f6e\u5de5\u5177\u548c ! \u547d\u4ee4\u8def\u7531\u8fdb\u672c\u5730 Linux \u5fae\u865a\u673a&#xff09;\u3001\u76f4\u63a5\u7528\u4e00\u4e2a\u666e\u901a Docker \u5bb9\u5668\u8dd1\u6574\u4e2a pi \u8fdb\u7a0b\u3001\u7528 OpenShell \u8dd1\u5728\u7b56\u7565\u63a7\u5236\u7684\u6c99\u7bb1\u91cc\u3002<\/p>\n<p>\u6211\u7684\u53e3\u5f84\u662f\u8fd9\u6837&#xff1a;\u53ea\u5728\u4f60\u81ea\u5df1\u5b8c\u5168\u638c\u63a7\u7684\u76ee\u5f55\u91cc\u3001\u505a\u4e0d\u9700\u8981\u8054\u7f51\u4e5f\u4e0d\u9700\u8981\u78b0\u51ed\u636e\u7684\u6d3b\u513f&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u8dd1&#xff1b;\u53ea\u8981\u4efb\u52a1\u6d89\u53ca&#034;\u53bb\u7f51\u4e0a\u62ff\u4e1c\u897f&#034;\u6216\u8005\u8bfb\u654f\u611f\u6587\u4ef6&#xff0c;\u5148\u5957\u5bb9\u5668\u3002<\/p>\n<h5>Q2&#xff1a;\u90a3\u5b83\u6709\u6ca1\u6709\u8ba4\u771f\u505a\u5de5\u7a0b\u5b89\u5168&#xff1f;\u6709&#xff0c;\u800c\u4e14\u505a\u5f97\u6bd4\u5f88\u591a\u4ea7\u54c1\u72e0<\/h5>\n<p>\u8fd9\u91cc\u5fc5\u987b\u7ed9 Pi \u8865\u4e00\u53e5\u516c\u9053\u8bdd\u3002README \u7684 \u201cSupply-chain hardening\u201d \u4e00\u8282\u5217\u7684\u6761\u76ee\u5bc6\u5ea6&#xff0c;\u8fdc\u8d85\u6211\u5bf9\u4e2a\u4eba\u9879\u76ee\u7684\u9884\u671f&#xff1a;<\/p>\n<p>\u76f4\u63a5\u4f9d\u8d56\u5168\u90e8\u9489\u5230\u7cbe\u786e\u7248\u672c&#xff1b;.npmrc \u8bbe save-exact&#061;true \u4e14 min-release-age&#061;2<br \/>\npackage-lock.json \u662f\u4f9d\u8d56\u7684\u552f\u4e00\u771f\u76f8&#xff1b;pre-commit \u62e6\u622a\u8bef\u63d0\u4ea4 lockfile<br \/>\n  &#xff08;\u9664\u975e\u663e\u5f0f\u8bbe\u7f6e PI_ALLOW_LOCKFILE_CHANGE&#061;1&#xff09;<br \/>\npi.dev \u5b89\u88c5\u811a\u672c\u4ece install-lock\/ \u88c5&#xff0c;\u9501\u4f20\u9012\u4f9d\u8d56&#xff1b;npm \u5305\u672c\u8eab\u4e0d\u9501<br \/>\n\u672c\u5730\u53d1\u5e03\u5192\u70df\u3001npm \u53d1\u5e03\u3001CI \u5b89\u88c5\u7edf\u4e00\u5e26 &#8211;ignore-scripts<br \/>\nCI \u7528 npm ci &#8211;ignore-scripts&#xff1b;\u53e6\u6709\u5b9a\u65f6\u5de5\u4f5c\u6d41\u8dd1 npm audit &#8211;omit&#061;dev<br \/>\n  \u548c npm audit signatures &#8211;omit&#061;dev<br \/>\n\u5b89\u88c5\u9501\u751f\u6210\u5bf9\u4f9d\u8d56 lifecycle \u811a\u672c\u8bbe\u663e\u5f0f allowlist&#xff0c;\u65b0\u589e\u5e26\u811a\u672c\u7684\u4f9d\u8d56\u4e0d\u8fc7\u68c0\u67e5<\/p>\n<p>min-release-age&#061;2 \u8fd9\u6761\u6211\u7279\u522b\u559c\u6b22&#xff1a;\u5f53\u5929\u53d1\u5e03\u7684\u4f9d\u8d56\u7248\u672c\u4e00\u5f8b\u4e0d\u91c7\u7528&#xff0c;\u7ed9\u6076\u610f\u53d1\u7248\u7559\u51fa\u4e24\u5929\u88ab\u53d1\u73b0\u7684\u7a97\u53e3\u3002\u8fd9\u662f\u62ff\u5de5\u7a0b\u624b\u6bb5\u56de\u7b54&#034;\u666e\u901a\u4eba\u4e0d\u53ef\u80fd\u9010\u6761\u5ba1\u8ba1\u4f9d\u8d56&#034;\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n<p>\u53e6\u5916\u5b83\u7684\u8d21\u732e\u6d41\u7a0b\u4e5f\u505a\u4e86\u95f8\u95e8&#xff1a;README \u9876\u90e8\u5199\u7740\u65b0\u8d21\u732e\u8005\u7684 issue \u548c PR \u4f1a\u88ab\u81ea\u52a8\u5173\u95ed&#xff0c;\u7ef4\u62a4\u8005\u6bcf\u5929\u5ba1\u4e00\u904d\u3002\u7c97\u66b4&#xff0c;\u4f46\u5bf9\u4e00\u4e2a star \u8fc7\u5341\u4e07\u3001\u7ef4\u62a4\u8005\u662f\u4e2a\u4f4d\u6570\u7684\u5f00\u6e90\u9879\u76ee\u6765\u8bf4&#xff0c;\u8fd9\u53ef\u80fd\u662f\u552f\u4e00\u80fd\u575a\u6301\u4e0b\u53bb\u7684\u529e\u6cd5\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261027182443-6ae0ec6b22fe1.png\" alt=\"\u6743\u9650\u8fb9\u754c\u7684\u4e09\u79cd\u7ed9\u6cd5\uff1a\u5ba1\u6279\u5728\u4ea7\u54c1\u91cc\u3001\u5ba1\u6279\u5728 CLI \u91cc\u3001\u8fb9\u754c\u4ea4\u7ed9\u6c99\u7bb1\" \/><\/p>\n<hr \/>\n<h3>8. \u56de\u5230\u6807\u9898&#xff1a;\u8fd9\u4e09\u4e2a\u5de5\u5177\u5206\u522b\u8be5\u7ed9\u8c01<\/h3>\n<p>\u6211\u628a\u81ea\u5df1\u7684\u5224\u65ad\u6446\u6210\u4e00\u5f20\u51b3\u7b56\u8868&#xff0c;\u6309&#034;\u4f60\u624b\u4e0a\u6709\u4ec0\u4e48&#034;\u6765\u5206&#xff0c;\u4e0d\u6309&#034;\u8c01\u66f4\u5f3a&#034;\u6765\u5206\u3002<\/p>\n<table>\n<tr>\u4f60\u73b0\u5728\u7684\u5904\u5883\u6211\u4f1a\u63a8\u8350\u7406\u7531&#xff08;\u5168\u90e8\u5bf9\u5e94\u4e0a\u9762\u6838\u5b9e\u8fc7\u7684\u4e8b\u5b9e&#xff09;<\/tr>\n<tbody>\n<tr>\n<td>\u5df2\u7ecf\u662f Claude \u8ba2\u9605\u7528\u6237&#xff0c;\u60f3\u8981\u5f00\u7bb1\u5373\u7528&#xff08;\u6709\u5b50\u4ee3\u7406\u3001\u6709\u8ba1\u5212\u6a21\u5f0f\u3001\u6709\u6743\u9650\u5f39\u7a97&#xff09;<\/td>\n<td>Claude Code<\/td>\n<td>\u4ea7\u54c1\u5316\u7a0b\u5ea6\u6700\u9ad8&#xff0c;\u51fa\u5382\u5373\u5b8c\u6574&#xff1b;\u6ce8\u610f npm \u5b89\u88c5\u5df2\u6807 deprecated<\/td>\n<\/tr>\n<tr>\n<td>\u6709 ChatGPT \u8ba2\u9605&#xff0c;\u60f3\u628a\u672c\u5730 CLI \u548c\u4e91\u7aef agent \u5f53\u4e00\u5957\u7528<\/td>\n<td>Codex CLI<\/td>\n<td>Apache-2.0\u3001Rust \u5355\u6587\u4ef6\u4e8c\u8fdb\u5236&#xff0c;\u5b98\u65b9\u540c\u65f6\u63d0\u4f9b IDE \u7248\u3001codex app \u684c\u9762\u7248\u548c chatgpt.com\/codex \u4e91\u7aef<\/td>\n<\/tr>\n<tr>\n<td>\u624b\u4e0a\u7684\u6a21\u578b\u6765\u6e90\u6742&#xff08;\u56fd\u4ea7 coding plan\u3001OpenRouter\u3001\u672c\u5730 GGUF\u3001\u81ea\u5efa\u517c\u5bb9\u7aef\u70b9&#xff09;<\/td>\n<td>Pi<\/td>\n<td>\u5355\u4e3b\u5bc6\u94a5 provider \u8868\u5217\u4e86 33 \u4e2a\u5165\u53e3&#xff0c;\u53e6\u6709 Bedrock \/ Vertex \u5403\u4e91\u51ed\u636e<\/td>\n<\/tr>\n<tr>\n<td>\u5f88\u5728\u610f\u6bcf\u4e00\u8f6e\u56fa\u5b9a token \u5f00\u9500<\/td>\n<td>Pi<\/td>\n<td>minimal system prompt &#043; skill \u6309\u9700\u52a0\u8f7d &#043; compaction &#043; \u7f13\u5b58\u9884\u70ed\u6709 $0.05 \u95e8\u69db<\/td>\n<\/tr>\n<tr>\n<td>\u60f3\u8ba9 agent \u5e72\u7684\u4e0d\u53ea\u662f\u4ee3\u7801&#xff08;\u7b14\u8bb0\u3001\u5199\u4f5c\u3001\u6570\u636e\u6587\u4ef6\u3001\u73a9\u7968&#xff09;<\/td>\n<td>Pi<\/td>\n<td>\u5b98\u65b9\u6587\u6863\u628a research notes \/ writing projects \/ data files \/ hobby work \u660e\u786e\u5217\u4e3a\u7528\u9014<\/td>\n<\/tr>\n<tr>\n<td>\u53ea\u6709\u547d\u4ee4\u884c\u7ecf\u9a8c\u90fd\u6ca1\u6709&#xff0c;\u8fde\u5bb9\u5668\u90fd\u4e0d\u6253\u7b97\u78b0<\/td>\n<td>\u5148\u522b\u7528 Pi<\/td>\n<td>\u5b83\u6ca1\u6709\u5185\u7f6e\u6743\u9650\u7cfb\u7edf&#xff0c;\u4e5f\u4e0d\u4f1a\u6bcf\u6b21\u8c03\u7528\u95ee\u4f60&#xff1b;\u5ba1\u6279\u5c42\u662f\u522b\u4eba\u66ff\u4f60\u88c5\u597d\u7684\u62a4\u680f<\/td>\n<\/tr>\n<tr>\n<td>\u60f3\u5f7b\u5e95\u6539\u5de5\u5177\u884c\u4e3a\u3001\u5199\u81ea\u5df1\u7684\u5de5\u5177\u548c UI<\/td>\n<td>Pi<\/td>\n<td>extension \u5c31\u662f\u8fdb\u7a0b\u5185 TS \u6a21\u5757&#xff0c;11 \u7c7b\u6302\u8f7d\u70b9&#xff0c;jiti \u514d\u7f16\u8bd1&#xff0c;\u80fd\u6253\u5305\u6210 npm\/git \u5206\u53d1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u518d\u8865\u4e00\u53e5\u6211\u5bf9\u6807\u9898\u672c\u8eab\u7684\u6001\u5ea6&#xff1a;&#034;\u66f4\u9002\u5408\u666e\u901a\u4eba&#034;\u8fd9\u53e5\u5224\u65ad&#xff0c;\u65b9\u5411\u5bf9&#xff0c;\u4f46\u63aa\u8f9e\u53cd\u4e86\u3002 Pi \u66f4\u9002\u5408\u7684\u5176\u5b9e\u662f&#034;\u77e5\u9053\u81ea\u5df1\u8981\u4ec0\u4e48\u7684\u666e\u901a\u4eba&#034;\u2014\u2014\u5b83\u628a\u81ea\u7531\u5ea6\u6362\u6210\u4e86\u914d\u7f6e\u91cf&#xff0c;\u628a\u5ba1\u6279\u5f39\u7a97\u6362\u6210\u4e86\u4f60\u81ea\u5df1\u5212\u7684\u8fb9\u754c\u3002\u4e00\u4e2a\u4ece\u6765\u6ca1\u60f3\u8fc7&#034;\u6211\u8981\u4ec0\u4e48\u5de5\u4f5c\u6d41&#034;\u7684\u4eba&#xff0c;\u6253\u5f00 Pi \u770b\u5230\u7684\u662f\u4e00\u4e2a\u5e72\u51c0\u4f46\u7a7a\u8361\u7684\u7ec8\u7aef&#xff1b;\u800c\u4e00\u4e2a\u65e9\u5c31\u60f3\u628a\u81ea\u5df1\u7684\u7b14\u8bb0\u89c4\u8303\u3001\u4ee3\u7801\u4e60\u60ef\u3001\u5e38\u7528\u547d\u4ee4\u56fa\u5316\u4e0b\u6765\u7684\u4eba&#xff0c;\u4f1a\u5728\u5b83\u8eab\u4e0a\u627e\u5230\u53e6\u5916\u4e24\u4e2a\u5de5\u5177\u7ed9\u4e0d\u4e86\u7684\u4e1c\u897f&#xff1a;\u8fd9\u4e1c\u897f\u662f\u6211\u7684\u3002<\/p>\n<hr \/>\n<h3>\u6700\u540e\u603b\u7ed3<\/h3>\n<ul>\n<li>Pi \u7684\u5b98\u65b9\u5b9a\u4f4d\u4e0d\u662f&#034;\u7f16\u7a0b\u4ea7\u54c1&#034;\u800c\u662f&#034;agent harness&#034;&#xff1a;README \u539f\u8bdd minimal\u3001extensible\u3001you can make your own&#xff1b;monorepo \u4e03\u4e2a\u5305&#xff0c;CLI \u53ea\u662f\u6700\u5916\u9762\u90a3\u5c42&#xff0c;\u5185\u7f6e\u5de5\u5177\u6309 npm \u5305\u63cf\u8ff0\u5c31\u662f read \/ bash \/ edit \/ write \u52a0\u4f1a\u8bdd\u7ba1\u7406\u3002<\/li>\n<li>&#034;\u666e\u901a\u4eba&#034;\u4e09\u4e2a\u652f\u70b9\u5b83\u786e\u5b9e\u8e29\u4f4f\u4e86&#xff1a;Node \u7248\u672c\u5b89\u88c5\u811a\u672c\u4ee3\u52b3&#xff08;\u542b Windows \u4e0e Android Termux \u5b98\u65b9\u6587\u6863&#xff09;&#xff1b;33&#043; \u4e2a provider \u5165\u53e3&#xff0c;\u56fd\u4ea7 coding plan \u6210\u6392\u51fa\u73b0\u5728\u5b98\u65b9\u8868\u91cc&#xff1b;minimal system prompt \u5e26\u6765\u53ef\u6838\u67e5\u7684 token \u4f18\u52bf&#xff0c;footer \u76f4\u63a5\u628a\u7528\u91cf\u548c\u8d39\u7528\u6446\u5728\u72b6\u6001\u680f\u3002<\/li>\n<li>\u56db\u7c7b\u6302\u8f7d\u70b9\u662f\u5b83\u7684\u771f\u6b63\u7ade\u4e89\u529b&#xff1a;extensions&#xff08;\u8fdb\u7a0b\u5185 TS&#xff0c;11 \u7c7b API&#xff09;\u3001skills&#xff08;\u5b9e\u73b0 Agent Skills \u89c4\u8303&#xff0c;\u5168\u6587\u6309\u9700\u52a0\u8f7d&#xff09;\u3001prompt templates&#xff08;Markdown \u53d8 \/ \u547d\u4ee4&#xff09;\u3001themes&#xff0c;\u56db\u6837\u80fd\u6253\u6210\u4e00\u4e2a\u5305\u7528 pi install npm: \/ git: \u5206\u53d1\u3002<\/li>\n<li>\u4e24\u4e2a\u9700\u8981\u66f4\u6b63\u7684\u65e7\u5370\u8c61&#xff1a;\u4e00\u662f MCP \u5230 v1.1.0 \u5df2\u662f\u5185\u7f6e&#xff08;pi mcp add \/ \/mcp \/ mcp.json&#xff09;&#xff0c;\u4e0d\u518d\u9700\u8981\u9002\u914d\u5305&#xff1b;\u4e8c\u662f\u89c6\u9891\u7b80\u4ecb\u91cc\u7684 npx &#064;agegr\/pi-web&#064;latest \u88c5\u7684\u662f\u793e\u533a Web UI&#xff08;0.11.0&#xff0c;MIT&#xff09;&#xff0c;\u4e0d\u662f Pi \u672c\u4f53&#xff0c;\u800c\u4e14\u8fd9\u4e00\u65cf\u5df2\u6709\u8fd1\u5341\u4e2a fork\u3002<\/li>\n<li>\u5b83\u5220\u6389\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f&#xff0c;\u6362\u6765\u7684\u662f\u4f60\u5f97\u81ea\u5df1\u5b9a\u4e49\u5f62\u72b6&#xff1b;\u793e\u533a\u7528 40.x \u7684 &#064;gotgenes\/pi-permission-system \u628a\u6743\u9650\u5f3a\u5236\u8865\u4e86\u56de\u6765\u2014\u2014\u8fd9\u65e2\u8bf4\u660e\u751f\u6001\u771f\u7684\u80fd\u7528&#xff0c;\u4e5f\u8bf4\u660e\u88ab\u5220\u6389\u7684\u90a3\u90e8\u5206\u4e0d\u662f\u4f2a\u9700\u6c42\u3002<\/li>\n<li>\u98ce\u9669\u5fc5\u987b\u6446\u5728\u6700\u540e\u4e00\u6761&#xff1a;Pi \u6ca1\u6709\u5185\u7f6e\u6743\u9650\u7cfb\u7edf&#xff0c;\u4e14\u4e0d\u4f1a\u6bcf\u6b21\u5de5\u5177\u8c03\u7528\u90fd\u95ee&#xff1b;\u5b98\u65b9\u81ea\u5df1\u5199\u660e project trust \u548c\u4eba\u5de5 review \u90fd\u4e0d\u662f\u5b89\u5168\u8fb9\u754c&#xff0c;\u771f\u8fb9\u754c\u53ea\u6709\u5bb9\u5668 \/ \u5fae\u865a\u673a \/ \u6c99\u7bb1\u3002\u4e0e\u5b83\u7684\u4f9b\u5e94\u94fe\u786c\u5316&#xff08;\u7cbe\u786e\u9489\u7248\u3001min-release-age&#061;2\u3001\u7edf\u4e00 &#8211;ignore-scripts\u3001\u5b9a\u65f6 npm audit &#043; audit signatures&#xff09;\u5408\u8d77\u6765\u770b&#xff1a;\u5b83\u8ba4\u771f\u9632\u7684\u662f&#034;\u4f9d\u8d56\u5bb3\u4f60&#034;&#xff0c;\u800c\u628a&#034;\u6a21\u578b\u5bb3\u4f60&#034;\u8fd9\u4ef6\u4e8b\u7559\u7ed9\u4f60\u81ea\u5df1\u3002<\/li>\n<li>\u4e00\u53e5\u8bdd\u7ed3\u8bba&#xff1a;Pi \u4e0d\u662f\u66f4\u5f3a\u7684 Claude Code&#xff0c;\u5b83\u662f\u53e6\u4e00\u79cd\u5951\u7ea6\u2014\u2014\u5de5\u5177\u5c11\u7ba1\u4f60\u4e00\u70b9&#xff0c;\u4f60\u591a\u60f3\u4e00\u6b65\u3002\u613f\u610f\u591a\u60f3\u7684\u4eba&#xff0c;\u5b83\u786e\u5b9e\u66f4\u5408\u624b&#xff1b;\u4e0d\u613f\u610f\u7684\u4eba&#xff0c;\u90a3\u4e24\u4e2a&#034;\u8bdd\u591a\u3001\u5f39\u7a97\u591a&#034;\u7684\u4ea7\u54c1\u624d\u662f\u7ed9\u4ed6\u51c6\u5907\u7684\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u53c2\u8003\u8d44\u6599 &amp; \u81f4\u8c22<\/h3>\n<p>[1] earendil-works\/pi \u2014 GitHub \u4ed3\u5e93\u4e0e README&#xff08;\u542b Packages \/ Permissions &amp; Containerization \/ Supply-chain hardening \u5404\u8282&#xff09; [2] Pi \u5b98\u7f51 pi.dev&#xff08;\u5b9a\u4f4d\u8bed\u3001\u5b89\u88c5\u65b9\u5f0f\u3001\u6a21\u578b\u76ee\u5f55\u4e0e token \u6548\u7387\u8bf4\u660e&#xff09; [3] Pi Quickstart [4] Pi \u2014 Use Pi in the terminal&#xff08;footer \u7528\u91cf\u4e0e\u8d39\u7528\u3001\u4e0d\u9010\u6b21\u8be2\u95ee\u5de5\u5177\u8c03\u7528&#xff09; [5] Pi \u2014 Choose a Model&#xff08;33 \u884c provider \u8868\u3001\u51ed\u636e\u4f18\u5148\u7ea7\u3001\u672c\u5730 GGUF \u8def\u5f84&#xff09; [6] Pi \u2014 Providers [7] Pi \u2014 Extensions&#xff08;\u80fd\u529b\u6e05\u5355\u8868\u3001\u4e8b\u4ef6\u4e0e hook \u70b9\u3001registerMcpServer&#xff09; [8] Pi \u2014 Skills&#xff08;Agent Skills \u89c4\u8303\u4e0e\u6309\u9700\u52a0\u8f7d&#xff09; [9] Pi \u2014 MCP Servers [10] Pi \u2014 Pi Packages [11] Pi \u2014 How Pi Works&#xff08;agent \u5faa\u73af\u3001session \u6811\u3001compaction\u3001\u56db\u79cd\u754c\u9762&#xff09; [12] Pi \u2014 Run Pi safely&#xff08;\u4e09\u79cd\u8fd0\u884c\u65b9\u5f0f\u5bf9\u7167\u3001project trust \u7684\u8fb9\u754c&#xff09; [13] Pi \u2014 Run Pi on Android with Termux [14] Agent Skills specification [15] anthropics\/claude-code \u2014 GitHub \u4ed3\u5e93 README&#xff08;\u5b89\u88c5\u65b9\u5f0f\u3001npm \u5df2\u5f03\u7528\u3001\u63d2\u4ef6\u76ee\u5f55&#xff09; [16] openai\/codex \u2014 GitHub \u4ed3\u5e93 README \u4e0e docs\/ \u76ee\u5f55&#xff08;\u5b89\u88c5\u3001sandbox &amp; approvals\u3001exec policy\u3001AGENTS.md&#xff09; [17] Pi Agent&#xff1a;\u6bd4 Claude Code \u548c Codex \u66f4\u9002\u5408\u666e\u901a\u4eba\u7684 AI \u5de5\u5177 \u2014 \u54d4\u54e9\u54d4\u54e9&#xff08;\u672c\u6587\u9009\u9898\u6765\u6e90&#xff09;<\/p>\n<p>\u81f4\u8c22&#xff1a;\u8c22\u8c22 up \u4e3b\u300c\u7b2c\u56db\u79cd\u9ed1\u7329\u7329CHIMP\u300d\u628a Pi \u653e\u8fdb\u666e\u901a\u4eba\u7684\u89c6\u91ce\u91cc&#xff1b;\u6587\u4e2d\u6240\u6709\u6570\u5b57\u5747\u4e3a 2026-10-09 \u5f53\u5929\u53d6\u81ea GitHub API\u3001npm registry \u4e0e\u5b98\u65b9\u4ed3\u5e93\u6587\u6863&#xff0c;\u4e0e\u4e0a\u9762\u5404\u94fe\u63a5\u4e00\u4e00\u5bf9\u5e94\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#x1f4a1; \u524d\u9635\u5b50\u6211\u8fde\u7740\u5199\u4e86\u4e24\u7bc7 Claude Code \u7684\u5165\u95e8\u7a3f&#xff0c;\u628a\u5b89\u88c5\u8def\u7ebf\u3001\u6a21\u578b\u63a5\u5165\u548c\u6743\u9650\u6a21\u5f0f\u644a\u5f00\u8bb2\u4e86\u4e00\u904d\u3002\u5199\u5b8c\u6ca1\u591a\u4e45\u5c31\u5237\u5230\u53e6\u4e00\u6761\u89c6\u9891&#xff0c;\u6807\u9898\u8d77\u5f97\u5f88\u51b2\u2014\u2014\u300aPi Agent&#xff1a;\u6bd4 Claude Code \u548c Codex \u66f4\u9002\u5408\u666e\u901a\u4eba\u7684 AI \u5de5\u5177\u300b&#xff0c;up \u4e3b\u662f\u300c\u7b2c\u56db\u79cd\u9ed1\u7329\u7329CHIMP\u300d&#xff0c;\u4e8c\u5341\u4e00\u5206\u949f\u7684\u53e3\u64ad&#xff0c;\u64ad\u653e\u5341\u4e03\u4e07\u591a&#xff0c;\u6536\u85cf\u516b\u5343\u4e03\u3002<br \/>\n\u6211\u7b2c\u4e00\u53cd\u5e94\u662f\u8fd9\u6807\u9898\u5728\u78b0\u74f7\u3002Claude<\/p>\n","protected":false},"author":2,"featured_media":118739,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13178,9470,12920,6204,5058,3633],"topic":[],"class_list":["post-118744","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-1024---","tag-ai-","tag-pi-agent","tag-claude-code","tag-codex","tag-3633"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[\u6548\u7387] Pi Agent\uff1a\u4e00\u4e2a\u628a\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f\u90fd\u5220\u6389\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u51ed\u4ec0\u4e48\u8bf4\u5b83\u66f4\u9002\u5408\u666e\u901a\u4eba - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/118744.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u6548\u7387] Pi Agent\uff1a\u4e00\u4e2a\u628a\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f\u90fd\u5220\u6389\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u51ed\u4ec0\u4e48\u8bf4\u5b83\u66f4\u9002\u5408\u666e\u901a\u4eba - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"&#x1f4a1; \u524d\u9635\u5b50\u6211\u8fde\u7740\u5199\u4e86\u4e24\u7bc7 Claude Code \u7684\u5165\u95e8\u7a3f&#xff0c;\u628a\u5b89\u88c5\u8def\u7ebf\u3001\u6a21\u578b\u63a5\u5165\u548c\u6743\u9650\u6a21\u5f0f\u644a\u5f00\u8bb2\u4e86\u4e00\u904d\u3002\u5199\u5b8c\u6ca1\u591a\u4e45\u5c31\u5237\u5230\u53e6\u4e00\u6761\u89c6\u9891&#xff0c;\u6807\u9898\u8d77\u5f97\u5f88\u51b2\u2014\u2014\u300aPi Agent&#xff1a;\u6bd4 Claude Code \u548c Codex \u66f4\u9002\u5408\u666e\u901a\u4eba\u7684 AI \u5de5\u5177\u300b&#xff0c;up \u4e3b\u662f\u300c\u7b2c\u56db\u79cd\u9ed1\u7329\u7329CHIMP\u300d&#xff0c;\u4e8c\u5341\u4e00\u5206\u949f\u7684\u53e3\u64ad&#xff0c;\u64ad\u653e\u5341\u4e03\u4e07\u591a&#xff0c;\u6536\u85cf\u516b\u5343\u4e03\u3002 \u6211\u7b2c\u4e00\u53cd\u5e94\u662f\u8fd9\u6807\u9898\u5728\u78b0\u74f7\u3002Claude\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/118744.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-27T18:24:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261027182441-6ae0ec692d1ab.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/118744.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/118744.html\",\"name\":\"[\u6548\u7387] Pi Agent\uff1a\u4e00\u4e2a\u628a\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f\u90fd\u5220\u6389\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u51ed\u4ec0\u4e48\u8bf4\u5b83\u66f4\u9002\u5408\u666e\u901a\u4eba - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-27T18:24:44+00:00\",\"dateModified\":\"2026-10-27T18:24:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/118744.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/118744.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/118744.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[\u6548\u7387] Pi Agent\uff1a\u4e00\u4e2a\u628a\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f\u90fd\u5220\u6389\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u51ed\u4ec0\u4e48\u8bf4\u5b83\u66f4\u9002\u5408\u666e\u901a\u4eba\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u6548\u7387] Pi Agent\uff1a\u4e00\u4e2a\u628a\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f\u90fd\u5220\u6389\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u51ed\u4ec0\u4e48\u8bf4\u5b83\u66f4\u9002\u5408\u666e\u901a\u4eba - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/118744.html","og_locale":"zh_CN","og_type":"article","og_title":"[\u6548\u7387] Pi Agent\uff1a\u4e00\u4e2a\u628a\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f\u90fd\u5220\u6389\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u51ed\u4ec0\u4e48\u8bf4\u5b83\u66f4\u9002\u5408\u666e\u901a\u4eba - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"&#x1f4a1; \u524d\u9635\u5b50\u6211\u8fde\u7740\u5199\u4e86\u4e24\u7bc7 Claude Code \u7684\u5165\u95e8\u7a3f&#xff0c;\u628a\u5b89\u88c5\u8def\u7ebf\u3001\u6a21\u578b\u63a5\u5165\u548c\u6743\u9650\u6a21\u5f0f\u644a\u5f00\u8bb2\u4e86\u4e00\u904d\u3002\u5199\u5b8c\u6ca1\u591a\u4e45\u5c31\u5237\u5230\u53e6\u4e00\u6761\u89c6\u9891&#xff0c;\u6807\u9898\u8d77\u5f97\u5f88\u51b2\u2014\u2014\u300aPi Agent&#xff1a;\u6bd4 Claude Code \u548c Codex \u66f4\u9002\u5408\u666e\u901a\u4eba\u7684 AI \u5de5\u5177\u300b&#xff0c;up \u4e3b\u662f\u300c\u7b2c\u56db\u79cd\u9ed1\u7329\u7329CHIMP\u300d&#xff0c;\u4e8c\u5341\u4e00\u5206\u949f\u7684\u53e3\u64ad&#xff0c;\u64ad\u653e\u5341\u4e03\u4e07\u591a&#xff0c;\u6536\u85cf\u516b\u5343\u4e03\u3002 \u6211\u7b2c\u4e00\u53cd\u5e94\u662f\u8fd9\u6807\u9898\u5728\u78b0\u74f7\u3002Claude","og_url":"https:\/\/www.wsisp.com\/helps\/118744.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-27T18:24:44+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261027182441-6ae0ec692d1ab.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"11 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/118744.html","url":"https:\/\/www.wsisp.com\/helps\/118744.html","name":"[\u6548\u7387] Pi Agent\uff1a\u4e00\u4e2a\u628a\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f\u90fd\u5220\u6389\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u51ed\u4ec0\u4e48\u8bf4\u5b83\u66f4\u9002\u5408\u666e\u901a\u4eba - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-27T18:24:44+00:00","dateModified":"2026-10-27T18:24:44+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/118744.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/118744.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/118744.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"[\u6548\u7387] Pi Agent\uff1a\u4e00\u4e2a\u628a\u5b50\u4ee3\u7406\u548c\u8ba1\u5212\u6a21\u5f0f\u90fd\u5220\u6389\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u51ed\u4ec0\u4e48\u8bf4\u5b83\u66f4\u9002\u5408\u666e\u901a\u4eba"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/118744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=118744"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/118744\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/118739"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=118744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=118744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=118744"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=118744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}