{"id":51664453,"url":"https://github.com/rivet-dev/pi-acp-rust","last_synced_at":"2026-07-14T19:01:57.729Z","repository":{"id":371269215,"uuid":"1300005503","full_name":"rivet-dev/pi-acp-rust","owner":"rivet-dev","description":"Low-overhead Rust ACP adapter for the native Pi CLI","archived":false,"fork":false,"pushed_at":"2026-07-14T07:55:58.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-14T09:26:57.874Z","etag":null,"topics":["acp","agentos","pi","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rivet-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-14T04:27:25.000Z","updated_at":"2026-07-14T07:56:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rivet-dev/pi-acp-rust","commit_stats":null,"previous_names":["rivet-dev/pi-acp-rust"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rivet-dev/pi-acp-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rivet-dev%2Fpi-acp-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rivet-dev%2Fpi-acp-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rivet-dev%2Fpi-acp-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rivet-dev%2Fpi-acp-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rivet-dev","download_url":"https://codeload.github.com/rivet-dev/pi-acp-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rivet-dev%2Fpi-acp-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35474809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["acp","agentos","pi","rust"],"created_at":"2026-07-14T19:01:56.968Z","updated_at":"2026-07-14T19:01:57.722Z","avatar_url":"https://github.com/rivet-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pi-acp-rust\n\nAn [Agent Client Protocol](https://agentclientprotocol.com/) adapter for the native Pi CLI, written in Rust. It is used by [AgentOS](https://github.com/rivet-dev/agent-os) and does not embed Pi.\n\n```sh\nnpm install --global @earendil-works/pi-coding-agent @rivet-dev/pi-acp\npi-acp\n```\n\nOn an i7-12700KF Linux host, 30 isolated interleaved runs produced:\n\n| Adapter | Startup median | Startup p95 | Adapter RSS median | Process-tree RSS median |\n| --- | ---: | ---: | ---: | ---: |\n| Rust native (`7da5cb2`) | 19.0 ms | 20.8 ms | 3.7 MiB | 15.8 MiB |\n| JavaScript `pi-acp@0.0.31` | 104.0 ms | 112.0 ms | 91.5 MiB | 103.6 MiB |\n\nReproduce it on Linux with exactly `python3 bench/run.py --samples 30 --warmups 5`; see the [methodology and raw samples](bench/results-linux-x86_64.json).\n\n| Feature | Rust | `pi-acp@0.0.31` |\n| --- | --- | --- |\n| Native `pi --mode rpc` | Yes | Yes |\n| Host Pi config, credentials, skills, and tools | Inherited unchanged | Inherited unchanged |\n| Text, thought, image, tool, and structured-diff streaming | Yes | No separate thought stream |\n| Embedded text resources | On by default | Opt-in |\n| Model groups, model switching, and thinking modes | Yes | Yes |\n| Multi-turn queue and cancellation | Bounded queue; yes | Client queue; yes |\n| Session list/load/resume/fork/close | Yes | List/load |\n| Native extension, prompt, and skill command discovery | Yes | Prompt/skill; extension commands filtered |\n| Built-in headless commands | Compact/session/name/steering/follow-up/export | Yes; broader UI-oriented set |\n| Extension select/confirm through ACP permissions | Yes | Yes |\n| Extension free-form input/editor UI | Cancelled explicitly | Cancelled explicitly |\n| ACP terminal login | Yes | Yes |\n| Per-session/system prompt injection | Yes | No adapter option |\n| MCP and additional roots | Rejected explicitly; Pi RPC has no native surface | MCP accepted but not wired |\n\nThe real-Pi LLMock gate passes two turns separated by close/resume on `@earendil-works/pi-coding-agent@0.80.6`: 14 models, `PONG`/`PONG`, and two LLM requests. Legacy `0.73.1` and `0.60.0` are also covered in CI.\n\nReleases include native binaries for macOS, Linux, and Windows. AgentOS pins this source and owns its VM-specific cross-compilation separately.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frivet-dev%2Fpi-acp-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frivet-dev%2Fpi-acp-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frivet-dev%2Fpi-acp-rust/lists"}