AI Integrations

AI coding agents

Deploy to Buddy with your favorite AI coding agents - pipelines, sandboxes, domains and logs from your terminal or editor.
Buddy's Remote MCP Server is available.

Pi + Buddy

Pi is an open-source AI coding agent that lives in your terminal. Built on a small, focused toolset - read, write, edit and shell - it works with the full context of your project and stays model-agnostic, so you can pair it with the provider of your choice. Paired with Buddy, it deploys your project, triggers and monitors pipelines, ships changes across environments, and digs through build output when something needs fixing.

Pi keeps a deliberately small toolset - read, write, edit and shell - which is why the CLI setup is the natural fit and MCP needs a community adapter. Staying model-agnostic means swapping providers changes nothing on the Buddy side.

Info
This page is a quick overview. For the full walkthrough - including the MCP adapter setup - see the Pi docs. You can also run agents in a fully isolated Buddy sandbox or as a pipeline action.

Quick start

1 Install the Buddy CLI
npm install -g bdy
4 Install the Buddy skill
npx skills add buddy/buddy-plugin
5 Start Pi
pi

The Buddy skill teaches the agent how to drive Buddy through the CLI, so you can ask for deployments and pipelines in your own words.

Example prompts

  • Create a snake app and deploy it for me
  • Expose my app running locally on port 3000 to the internet
  • Add a pipeline that runs on every change in the repository and executes my test suite
  • Find the last successful production deployment and roll back to it

Available commands

Available commands
bdy proj link
Link the current directory with a project in Buddy. See bdy project.
bdy sandbox
Create, start and manage on-demand sandboxes with apps, endpoints and snapshots.
bdy pipeline
Create, run and inspect pipelines and their runs.
bdy tunnel
Expose a locally running app to the internet over HTTP, TCP or TLS. See bdy tunnel.
bdy artifact
Publish, download and version build artifacts, including static sites.
bdy domain
Search, buy and manage domains used in distribution routes.

Connect MCP

Pi doesn't ship MCP support out of the box - add the community adapter first, then point it at Buddy's remote MCP server:

bash
pi install npm:pi-mcp-adapter $

Add the server to ~/.config/mcp/mcp.json, or .mcp.json in your project, and restart Pi:

json
{ "mcpServers": { "buddy": { "url": "https://mcp.buddy.works/mcp" } } }