AI Backends
Broski connects to AI coding agents running on your computer. Choose the backend that fits your workflow.
What is an AI Backend?
An AI backend is the coding agent that runs on your system. It handles communication with AI models (Claude, GPT, etc.), executes tools like file edits and shell commands, and manages your coding sessions.
Broski doesn't run AI models directly — it connects to these backends via the bridge server, giving you mobile access to powerful desktop coding agents.
How Backends Work with Broski
The bridge server starts with your chosen backend and relays messages between the Broski app and the agent.
Choose a Backend
Anthropic's official agent — extended thinking, plugins, subagents
Open-source agent — multi-provider, extensions, session tree
Which Backend Should I Use?
- Want Anthropic's official CLI agent experience
- Need extended thinking, plugins, and subagents
- Use Claude models exclusively
- Want multi-provider flexibility with an extension system
- Need session tree navigation with fork and branch support
- Prefer open-source with customizable skills and tools
Feature Comparison
| Feature | Claude Code | Pi |
|---|---|---|
| Provider | Anthropic | Multi (any) |
| Own Tooling | Yes | Yes |
| MCP Support | Yes | No |
| Subagents | Yes | No |
| Extensions | Plugins | Yes (plugin API) |
| Session Tree | No | Yes |
| Open Source | No | Yes |
Session Compatibility
| Scenario | What Happens |
|---|---|
| Switch Pi → Claude Code | Pi sessions hidden, Claude Code sessions shown |
| Switch Claude Code → Pi | Claude Code sessions hidden, Pi sessions shown |
| Sessions deleted? | No — both session sets are preserved |
| Transfer sessions? | No — sessions cannot migrate between backends |
Switching Backends
Go to Settings → AI Backend and select your preferred backend. The app will reconnect automatically.
# Start the bridge
broski
# The backend is selected in the app settings
# Switch backends from Settings → AI Backend in the app