Integrations

Your AI, your data,
your ecosystem.

Import conversations from anywhere. Connect coding agents. Generate MCP servers. Browse 180+ community building blocks. No vendor lock-in.

Provider Chat Imports

Bring your entire chat history

Import conversations from ChatGPT, Claude, Gemini, and Grok via the Bonsai browser extension. Import terminal-based Pi coding sessions. Never start from scratch again.

ChatGPT

Import full conversation threads from OpenAI.

Claude

Bring over Anthropic chat sessions intact.

Gemini

Migrate Google Gemini conversations.

Grok

Import from xAI Grok conversations.

Pi Sessions

Import terminal-based coding agent sessions with message counts.

Preview Mode

Preview imported conversations before committing.

[Screenshot: import page showing provider logos and a conversation preview being imported]
Harness FrameworkBonsai CoreBranch ManagerHarness InterfaceSubprocessstdin/stdout adapterLocal binary executionHTTPREST/WebSocket bridgeRemote agent hostingSDKTypeScript / Rust SDKNative integrationDockerContainer adapterIsolated executionExternal Agents → connected via transport adaptersBring your own agent. Any language, any protocol.Harness wraps any external binary or service as a native Bonsai building block
Agent Harness Framework

Orchestrate external coding agents

The harness framework connects external coding agents (pi, OpenClaw, and more) to Bonsai through a universal event vocabulary. One transport adapter design covers all harness targets — subprocess, HTTP, or embedded SDK.

pi Integration

Connect pi coding agent. Full session lifecycle management.

OpenClaw Support

Orchestrate OpenClaw agents with the same interface.

Transport-Agnostic

Subprocess, RPC, HTTP, embedded SDK — one adapter design.

Session Sync

Harness sessions sync into Bonsai conversations for persistent tracking.

TextDelta Events

Stream coding agent output in real-time into the Bonsai UI.

RBAC Binding

Permission-scoped harness access. Control who can use which harness.

MCP Protocol

Full MCP support, both directions

Generate Node.js or Python MCP servers from any Bonsai function block with one command. Discover tools from external MCP servers (stdio + SSE) and import them as tool blocks.

mcpify

Convert any function block into a standalone MCP server. One command.

Dual Runtime

Generates both Node.js and Python servers based on function runtime.

MCP Discovery

Auto-discover tools from external MCP servers. Import as tool blocks.

Stdio + SSE

Native client support for both stdio and SSE MCP transports.

terminal — mcpify$bonsai mcpify ./blocks/my-tool.yamlReading block manifest...Detected tool input schema with 3 parameters:- input_text (string) — User prompt- max_length (integer) — Max response length- format (enum: json|text|markdown) — Output formatGenerating MCP server...✓ MCP manifest written to ./mcp/my-tool-server.yaml✓ Server scaffold: ./mcp/server.ts✓ Transport config: ./mcp/transport.json✓ Dockerfile: ./mcp/DockerfileRun: bonsai block install ./mcp/my-tool-server.yaml
Bonsai Hub — 187 building blocks🔍 Search blocks...AllAgentsToolsMCP ServersWorkflowsProvidersDatasets🤖Code Review AgentAgent🔧GitHub Issue FetcherToolInstall🌐Web Search MCPMCPEmail SummarizerWorkflowInstall🔌OpenAI ProviderProvider📚Codebase RAGAgentInstall🗄️SQL Query ToolTool💬Discord Bot MCPMCPInstallPage 1 of 24 (187 results)12💰 Free — no account required🔗 bonsai:// deep links — click to install📦 All blocks are open YAML manifests🔒 GPG-signed publisher identity
Building Block Ecosystem

An App Store for AI components

Browse 180+ community building blocks — agents, tools, MCP servers, providers, chains, skills, system prompts, and more. One-click install via the bonsai:// deep-link protocol.

8 Block Types

Agent, Tool, Function, Evaluator, Workflow, Skill, KB, MCP Server.

One-Click Install

bonsai:// deep links install blocks into your local instance instantly.

Publish to Hub

Share your blocks with the community. Version-managed, manifest-driven.

Provider Hub

Official manifests for OpenAI, Anthropic, Google, Groq, DeepSeek, Ollama, and more.

Own your AI stack.

No vendor lock-in. No disappearing features. Bonsai runs locally, connects to any provider, and stores everything on your machine.