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.

Grok Build + Buddy

Grok Build is xAI's agentic coding tool that lives in your terminal - it reads across the codebase, runs shell commands, and edits files wherever changes are needed, breaking larger tasks into steps with plan mode and parallel subagents. Paired with Buddy, it deploys your project, triggers and monitors pipelines, ships changes across environments, and digs through build output when something needs fixing.

Grok Build has plan mode and parallel subagents, so a larger change is broken into steps you approve before anything executes. Deployments and pipeline runs become individual steps in that plan instead of one opaque command.

Info
This page is a quick overview. For the full walkthrough - including MCP setup - see the Grok Build 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 Grok Build
grok

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
  • Deploy an Umami analytics instance and wire it into my app
  • Add a pipeline that runs on every change in the repository and executes my test suite
  • Analyze the logs from the last production deployment and fix the errors

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

Buddy's remote MCP server exposes over 90 tools, so Grok Build can run pipelines, manage deployments, and read logs straight through the API. Add the server to ~/.grok/config.toml:

toml
[mcp_servers.buddy] url = "https://mcp.buddy.works/mcp"

Point it at the endpoint closest to your workspace region - mcp.buddy.works, mcp.eu.buddy.works or mcp.asia.buddy.works - and use the ?tools= parameter to narrow the exposed tool categories.