You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VS Code native Agent Harness integration (alongside Claude Code and Codex)
#12528
The goal would be to make Pi available directly in VS Code's native agent harness selector, rather than running it through an embedded terminal, a separate sidebar, or a custom chat participant.
Why?
Pi already provides a powerful, extensible coding agent with support for custom models, tools, skills, and extensions.
Having it available as a native VS Code agent harness would allow developers to:
Select Pi alongside Claude Code, Codex, and Copilot.
Use VS Code's native agent chat experience.
Preserve Pi's existing configuration, models, skills, and extensions.
Manage agent sessions without switching between different interfaces.
Benefit from Pi's flexibility while maintaining a consistent IDE experience.
Existing alternatives
There are already community VS Code extensions providing Pi integration through RPC, custom chat panels, or chat participants.
However, these are different from the native Agent Harness integration described in the VS Code documentation.
Questions
Has anyone already explored this integration?
Does VS Code currently expose a public API for registering third-party agent harnesses?
Would this be something worth supporting officially in Pi, or would it be better maintained as a community extension?
Could Pi's existing RPC interface or SDK provide the foundation for such an integration?
I'm not necessarily suggesting that this should become part of Pi's core. A lightweight adapter or community-maintained extension might be sufficient.
I'd be interested in hearing whether this is technically feasible and if there's already any related work underway.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Proposal
I'd like to discuss the possibility of integrating Pi as a native Agent Harness in VS Code, alongside Claude Code, Codex, and GitHub Copilot.
VS Code now provides a unified interface for selecting and running different agent harnesses:
https://code.visualstudio.com/docs/agents/run/agent-harnesses
The goal would be to make Pi available directly in VS Code's native agent harness selector, rather than running it through an embedded terminal, a separate sidebar, or a custom chat participant.
Why?
Pi already provides a powerful, extensible coding agent with support for custom models, tools, skills, and extensions.
Having it available as a native VS Code agent harness would allow developers to:
Existing alternatives
There are already community VS Code extensions providing Pi integration through RPC, custom chat panels, or chat participants.
However, these are different from the native Agent Harness integration described in the VS Code documentation.
Questions
I'm not necessarily suggesting that this should become part of Pi's core. A lightweight adapter or community-maintained extension might be sufficient.
I'd be interested in hearing whether this is technically feasible and if there's already any related work underway.
Thanks!
All reactions