Repository navigation
feat: add Pi subagent support - #1
Merged
Merged
Conversation
Upstream agents can already quote a description. Pi keeps that scalar instead of forcing single quotes.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 6ada68a. Configure here.
Trim Pi fields the same way as the app renderer, skip empty tool tokens, and treat Pi filenames as colliding with other agent markdown.
Strip one matching quote pair before splitting, matching the app renderer.
The empty-roster success check still expected 15 tools after Pi joined the set.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Rebased onto current main and adds Pi custom Subagent conversion and install.
name,description,color,emoji,vibe, and bodyextensions: falsefor an explicit tool list~/.pi/agent/agents/or a project.pi/agents/This PR is on the fork so bugbot can review the rebased branch. Upstream: msitarzewski#809
Validation
./scripts/check-tools.shbash scripts/test-convert-frontmatter.shNote
Low Risk
Changes are limited to new integration scripts, docs, and test fixtures; no auth or production runtime paths are modified.
Overview
Adds Pi as a supported multi-tool integration so Agency agents can be converted and installed as Pi custom Subagents (via
pi-subagents).convert.shgains apitarget that writesintegrations/pi/agents/*.md, keeps persona frontmatter (name,description,color,emoji,vibe) and the body, maps Claude-styletoolsto Pi names, and records originals/unmapped tools underx-agency-*withextensions: false.install.shcopies those files to~/.pi/agent/agents/or a project path, with backups before overwrite and skips for symlinks/non-file targets; tests cover conversion frontmatter and isolated Pi install branches. Docs,.gitignore, andtools.jsonare updated so Pi appears in the supported-tools list and parallel--tool allnow runs 16 tools.Reviewed by Cursor Bugbot for commit 62eb326. Bugbot is set up for automated code reviews on this repo. Configure here.