pi 是一款CLI 智能体,个人化编程智能体。它可以用于在终端中理解项目、执行命令并推进开发任务,适合软件开发者、工程团队及需要处理代码任务的技术人员。核心功能围绕CLI 智能体展开。

编程 AgentCLI 智能体
总 Token 用量1.96T
全球日榜排名#6
活跃时间Feb 2026
使用模型数306
#6 · 编程智能体#6 · CLI 智能体

GUIDE

Agent 使用说明

个人化编程智能体。千木热门 Agent 排名 #6。

# npm
npm install -g --ignore-scripts @earendil-works/pi-coding-agent

# curl(macOS / Linux)
curl -fsSL https://pi.dev/install.sh | sh

编辑配置文件:

  • WindowsC:\Users\<用户名>\.pi\agent\models.json
  • macOS / Linux~/.pi/agent/models.json
{
  "providers": {
    "silvamux": {
      "baseUrl": "https://silvamux.io/api/v0",
      "api": "openai-completions",
      "apiKey": "sk_live_xxx",
      "models": [
        { "id": "glm-5.2", "name": "GLM 5.2 (千木)", "reasoning": false, "input": ["text"], "contextWindow": 200000, "maxTokens": 8192 }
      ]
    }
  }
}

启动:pi -p "你的问题" --provider silvamux --model glm-5.2

pi 使用趋势

最近 30 天 · 按日统计 tokens