OpenSource-Hub
P

pi

SHA-256
54.2k stars·開発ツール·SHA-256 チェックサム確認済み

pi はオープンソースの AI エージェント ツール パッケージで、統一された LLM API、拡張可能な CLI エージェント、端末 UI ライブラリ、および Slack ロボットを提供します。 Cursor などのツールと比較して、複数のプロバイダーの切り替えをサポートし、サプライチェーンがより安全です。

スマートダウンロード

Download 版をダウンロード

v0.75.5 · 45.5 MB

複数の大きなモデルを切り替えるオープンソースで安全なコードアシスタント パッケージ。

主な機能

  • 「統一マルチプロバイダーLLM API(OpenAI、Anthropic、Googleなど)、コードを変更する必要のないシフトモデル」、「インタラクティブコードエージェントCLI、ツール呼び出しとステータス管理をサポートし、自己拡張可能」、「ターミナルUI(TUI)ライブラリ、豊富なコマンドラインインターフェイスを構築するための差異レンダリングをサポート」、「統合Slack/チャットオートメーション(pi-chatプロジェクトを通じて)」、「厳格な依存セキュリティ戦略:バージョンの正確なロック、ファイルのチェック、タバコの試験をリリース」、「アップロードコードセッションデータをHugging Faceにアップロードし、エージェントの実際のパフォーマンス

できないこと

  • このプロジェクトは、デフォルトでは、新しい貢献者の Issue と PR を自動的にシャットダウンしますが、メンテナンスは毎日手動でレビューしますので、貢献するには CONTRIBUTING.md 依存管理は非常に厳格です:npm install は --ignore-scripts を追加する必要があります、そうでなければ、スクリプトの構築はロックファイルの変更権限の欠如のために失敗する可能性があります バージョン紛争が発生した場合、ファイルの変更をロックするように PI_ALLOW_LOCKFILE_CHANGE=1 を設定してください Node.js 環境のみをサポートし、Python または他の言語プロジェクトには適用されません

使用例

  • [「開発者はターミナルでコードエージェントを用いてコードを書く、再構築、デバッグする」、「チームはLLM APIを統合して異なる大型モデル間でテスト効果を迅速に切り替える」、「Slackでチャットロボットを構成してワークフローを自動化する」]

詳細説明

pi はオープンソースの AI エージェント ツール パッケージで、スケーラブルな coding agent CLI 、統一されたマルチプロバイダ LLM API (OpenAI、Anthropic、Google などをサポート)、TUI/Web UI ライブラリ、Slack ロボット、vLLM pods が含まれています。その主な利点は、(1)統一された API により、コードを変更することなく大きなモデルのバックエンドを切り替えることができます。2) coding agent CLI はツール呼び出しとステータス管理機能を備え、自己スケーラブルです。pi は、Cursor、Claude Code などのビジネス ツールと比較して完全にオープンソースであり、サプライチェーンセキュリティ

タグ

AI agentcoding agentLLM APICLIopen sourceSlack botTUI

はじめ方

1

インストーラをダウンロード

上のボタンをクリックして、お使いのシステム用のインストーラをダウンロード

2

ソフトウェアをインストール

ダウンロードしたインストーラをダブルクリックし、指示に従ってください

3

「グローバルインストール pi コード agent:npm install -g @earendil-works/pi-coding-agent」、「プロジェクト ディレクトリで npx pi インタラクティブ ターミナルを起動して初めて LLM API Key を構成するように求められる」、「ガイドに従って大型モデル(OpenAI、Anthropic など)を設定し、中国語/英語の指示を入力して、agent があなたをコードするようにします」]

インストールガイド
  1. 「グローバルインストール pi コード agent:npm install -g @earendil-works/pi-coding-agent」、「プロジェクト ディレクトリで npx pi インタラクティブ ターミナルを起動して初めて LLM API Key を構成するように求められる」、「ガイドに従って大型モデル(OpenAI、Anthropic など)を設定し、中国語/英語の指示を入力して、agent があなたをコードするようにします」]

最新のリリースノート

### New Features

- **Cleaner read tool output** - Collapsed `read` tool cards now show only the read line by default, while `Ctrl+O` still expands the full file content.

- **Faster file tools on Windows** - Built-in file tools now use async filesystem operations during streaming, and image resizes run off the main TUI thread in a worker.

- **More reliable package updates** - `pi update` and git package installs now reconcile pinned git refs and keep package settings intact. See [Packages](docs/packages.md).

- **Custom Anthropic-compatible adaptive thinking** - Custom provider model configs can opt into adaptive-thinking Claude behavior with `compat.forceAdaptiveThinking`. See [Custom providers](docs/custom-provider.md) and [Models](docs/models.md).

### Added

- Added `compat.forceAdaptiveThinking` support to custom Anthropic-compatible model configuration docs and validation ([#4797](https://github.com/earendil-works/pi-mono/pull/4797) by [@mbazso](https://github.com/mbazso)).

- Added a standard unified patch to edit tool result details for SDK consumers ([#4821](https://github.com/earendil-works/pi/issues/4821)).

### Changed

- Changed collapsed read tool cards to show only the read line until expanded ([#4916](https://github.com/earendil-works/pi/issues/4916)).

- Replaced the inherited optional `koffi` dependency for Windows VT input with a tiny vendored native helper, reducing install size while preserving Shift+Tab handling ([#4480](https://github.com/earendil-works/pi/issues/4480)).

- Changed the root development install documentation to use `npm install --ignore-scripts` ([#4868](https://github.com/earendil-works/pi/issues/4868)).

### Fixed

- Fixed `pi update` to reconcile git-pinned packages to their configured ref ([#4869](https://github.com/earendil-works/pi/issues/4869)).

- Fixed package/resource path handling for Windows and glob/pattern resolution ([#4873](https://github.com/earendil-works/pi-mono/pull/4873) by [@mitsuhiko](https://github.com/mitsuhiko)).

- Fixed config pattern matching to resolve patterns from the correct base directory ([#4898](https://github.com/earendil-works/pi-mono/pull/4898) by [@haoqixu](https://github.com/haoqixu)).

- Fixed theme pickers to list themes by their content name instead of file stem ([#4830](https://github.com/earendil-works/pi-mono/pull/4830) by [@Perlence](https://github.com/Perlence)).

- Fixed OpenCode Zen/Go requests to send per-session OpenCode routing headers ([#4847](https://github.com/earendil-works/pi/issues/4847)).

- Fixed Amazon Bedrock provider loading under strict package managers by inheriting the declared `@smithy/node-http-handler` dependency from `@earendil-works/pi-ai` ([#4842](https://github.com/earendil-works/pi/issues/4842)).

- Fixed inherited Amazon Bedrock Claude requests to send the model output token cap by default, avoiding Bedrock's 4096-token default truncation ([#4848](https://github.com/earendil-works/pi/issues/4848)).

- Fixed exported session HTML to escape quote characters in attribute values ([#4832](https://github.com/earendil-works/pi/issues/4832)).

- Fixed GitHub Copilot device-code login to keep opening the verification URL in browser-capable environments while ignoring browser launch failures for headless use ([#4788](https://github.com/earendil-works/pi-mono/pull/4788) by [@vegarsti](https://github.com/vegarsti)).

- Fixed git package installs to reconcile existing checkouts to the requested ref and update package settings without losing filters ([#4870](https://github.com/earendil-works/pi/issues/4870)).

- Published a 0.74.2 rescue release that tells Node 20 users to upgrade Node before updating to newer Pi versions ([#4876](https://github.com/earendil-works/pi/issues/4876)).

- Fixed final bash tool cards to avoid rendering duplicate full-output truncation paths ([#4819](https://github.com/earendil-works/pi/issues/4819)).

- Fixed bash tool truncation line counts to ignore the trailing newline as an extra output line ([#4818](https://github.com/earendil-works/pi/issues/4818)).

- Fixed footer home-directory abbreviation to avoid shortening sibling paths that only share the same prefix ([#4878](https://github.com/earendil-works/pi/issues/4878)).

- Fixed macOS Bun release binaries to resolve the native clipboard sidecar so Ctrl+V image paste can load `@mariozechner/clipboard` ([#4307](https://github.com/earendil-works/pi/issues/4307)).

- Fixed coding-agent tools to avoid synchronous filesystem operations during streaming and moved image resizing off the main TUI thread ([#4756](https://github.com/earendil-works/pi-mono/pull/4756) by [@mitsuhiko](https://github.com/mitsuhiko)).

ファイルの整合性

SHA-256 チェックサム確認済み

GitHub 公式 Release ページから抽出されたチェックサム

SHA256 チェックサム

775bec6cf05ed13cfb866cf13280c7878d018ccf9db11b44902c80589166cbb5

このチェックサムは GitHub Release ページから抽出されたものです。ダウンロード後にファイルの整合性を確認してください。

本プラットフォーム上のすべての SHA-256 チェックサムは、プロジェクトの公式 GitHub Release ページから抽出されたもので、一切の改変はありません。GitHub Releases ページで独自に検証できます。

オープンソースの透明性

GitHub ソースを見る
環境ガイド

アンインストール情報

pi:npm uninstall -g @earendil-works/pi-coding-agent をアンインストールし、pi-chat を使用する場合は別々にアンインストールする必要があります。

追加の依存関係なし

ダウンロード後すぐに使用可能。追加のランタイムは不要です。

プロジェクト情報
ライセンスMIT
最終更新2026-05-25T06:45:32Z
GitHub リポジトリ公式サイト

類似プロジェクト