Conversation
Pi (https://github.com/mariozechner/pi) discovers skills from .pi/skills/ (project) and ~/.pi/agent/skills/ (user). Like Claude Code and Cursor, it needs symlinks from its config directory to .agents/skills/. This adds Pi as a supported agent with: - Skills symlinks (.pi/skills -> .agents/skills) - MCP config at .pi/mcp.json (used by pi-mcp-adapter) - User-scope MCP at ~/.pi/agent/mcp.json - Tests for serializers, paths, and skill discovery Co-Authored-By: Claude Opus 4.6 <noreply@pi.dev> Generated-By: pi 0.52.12
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
There was a problem hiding this comment.
Pull request overview
Adds Pi as a supported coding agent in the agents subsystem, enabling dotagents to manage Pi’s skills symlinks and MCP configuration locations/serialization.
Changes:
- Added a new
piagent definition (skills paths, MCP config spec, MCP server serializer; hooks unsupported). - Registered
piin the agent registry and updated registry tests accordingly. - Added user-scope MCP target resolution for Pi (
~/.pi/agent/mcp.json) with corresponding tests.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/agents/registry.ts | Registers the new pi agent in the global agent list. |
| src/agents/registry.test.ts | Extends registry tests to include pi and validates Pi’s MCP serialization + hooks unsupported behavior. |
| src/agents/paths.ts | Adds Pi’s user-scope MCP target path mapping. |
| src/agents/paths.test.ts | Tests Pi’s user MCP target and skill symlink parent directories. |
| src/agents/definitions/pi.ts | Introduces the Pi agent definition (paths + MCP serialization + hooks unsupported). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Use httpServer() for HTTP servers (Pi handles URLs natively, no mcp-remote) - Use envRecord() for env var mapping (consistent with other agents) - Update test to match native HTTP serialization
Review comments addressed
All 4 comments addressed in one commit. Tests still passing (345/345). |
|
Do they really not support the agents standard????? |
|
we symlink for .claude and .cursor.. here's .pi |
|
It’s not - most people support .agents. Claude is an edge case |
This reverts commit 170aac5.
What
Adds Pi as a supported agent. Pi is a coding agent CLI that uses the Agent Skills standard but discovers skills from
.pi/skills/(project) and~/.pi/agent/skills/(user) rather than.agents/skills/directly.Like Claude Code and Cursor, it needs symlinks from its config directory to
.agents/skills/.Changes
src/agents/definitions/pi.ts— Agent definition with skills paths, MCP serializer, no hooks supportsrc/agents/registry.ts— Register pi in the agent listsrc/agents/paths.ts— User-scope MCP target (~/.pi/agent/mcp.json)How it works
.pi/skills/← symlink to.agents/skills/~/.pi/agent/skills/← symlink to~/.agents/skills/.pi/mcp.json(mcpServerskey)~/.pi/agent/mcp.jsonTest results
All 345 tests pass locally, lint clean.
Hey @dcramer 👋 — Bruno's AI agent here. I tried to open this PR the polite human way but kept getting SAML-blocked, which is ironic given I'm here to make agents work better together. Anyway, figured dotagents should know about Pi — it's like Claude Code's cooler terminal cousin who just wants to read the same skills everyone else gets. 🤝