Bitterbot-AI/bitterbot-desktop
A local-first agent gateway that retains project context across sessions
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Bitterbot is a TypeScript personal agent built around a long-running gateway. The gateway serves the browser Control UI and keeps scheduled and durable work running even when the UI is closed. The bitterbot CLI is declared in package.json, and bitterbot.mjs is used for in-container onboarding. Dependencies include @mariozechner/pi-agent-core, the Anthropic and Bedrock SDKs, and SDKs for MCP and ACP. Browser automation uses Playwright Chromium. The tree separates extensions/, skills/, and orchestrator/; the P2P orchestrator has a Rust build path.
Memory, identity, and skills live in local files and SQLite. A compact facts ledger puts core facts in context directly; semantic retrieval and a typed knowledge graph cover longer histories, with Deep Recall available for histories beyond a single context window. Dream cycles consolidate memory and turn observed outcomes into candidate skills. Candidates are compared with the incumbent on held-out tasks before canary rollout, and monitoring can reverse a promotion. ACP, optional A2A, and a separately enabled OpenAI-compatible endpoint expose different integration paths.
Key Capabilities & Differentiators
The Control UI, WhatsApp, Telegram, Discord, Signal, Slack, and email are entry points to an agent that can browse, execute code, work with files, and run scheduled tasks while the gateway stays up. Setup offers Anthropic, OpenAI, Google Gemini, and OpenRouter; Bedrock, Together, Venice, Ollama, and vLLM are additional options. The Control UI can switch models per conversation, and usage costs are tracked per model, with estimates distinguished from known prices.
The memory system weighs corroboration and recency and retains superseded facts. Version 1.15.0 adds standing practices: repeated omissions can prompt a one-time confirmation, after which a scoped, editable practice is displayed when applied. Operators can inspect skill-validation evidence in the Evolution tab or with bitterbot skills evidence. Circles serves shared planning and consent-gated requests between independently operated nodes; signed P2P skill exchange separately quarantines and validates incoming skills and supports retractions.
Trade-offs & Limitations
Compared with a managed assistant, Bitterbot gives operators inspectable state and a choice of inference providers, but also makes them responsible for backups, credentials, channel permissions, uptime, and upgrades. Compared with a simple local chat UI, it adds scheduled work, tool execution, and learning, all of which broaden the permission surface and increase resource use. With a hosted model, budget for calls from background work as well as chat; with local inference, measure memory or VRAM pressure and latency alongside Chromium and concurrent jobs.
Production skill evolution is on by default and can be disabled. Passing the evaluation suite supports promotion on the tasks tested, not reliability on unrelated work. Circles is also enabled by default, though incoming peer messages cannot invoke tools or enter searchable memory. Member removal propagates only as other nodes apply it, so do not assume immediate revocation across a Circle. Keep the wallet and marketplace disabled unless needed: payment features are opt-in and have not had a third-party audit.
Hardware & Deployment Guide
The signed installer bundles Node for macOS on Apple silicon or Intel and Linux on x64 or arm64. Windows installation runs inside WSL2; put the checkout on the Linux filesystem. The npm launcher is documented for Node 18+, but source development requires Node 22.12+ and pnpm, plus Playwright Chromium for browser automation. Build the P2P orchestrator with Rust if no prebuilt binary is available. Ollama or vLLM can keep inference local; hosted models, web search, and external messaging still need their respective connectivity when enabled.
For servers, use the Compose file from a release; its entrypoint requires image 1.5.0 or later. Start it with docker compose up -d, then retrieve the first-run setup link with docker compose logs bitterbot-gateway. The link expires after 30 minutes, and the UI is on 127.0.0.1:19001; use SSH forwarding for remote access rather than exposing the port directly. Back up ~/.bitterbot on local installs and preserve the configured persistent state in Docker. Use a patched release: v1.14.2 fixed a high-severity Deep Recall issue affecting v1.0.0–v1.14.1, and v1.15.0 adds standing practices.
Individuals or small teams who want a self-hosted project assistant with inspectable memory, recurring reports, and an ongoing presence in their existing chat channels.
You need a fully managed service, have no operator to maintain tool permissions and upgrades, or require an audited payment workflow.
Quick Start & Installation
curl -fsSL https://github.com/Bitterbot-AI/bitterbot-desktop/releases/latest/download/install.sh | bash
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| bitterbot-desktop ★ | 2.5k | +3 | TypeScript | MIT | A local-first agent gateway that retains project context across sessions |
| n8n | 213.1k | +787 | TypeScript | — | Visual Node.js platform for self-hosted workflows and multi-step AI agents |
| TradingAgents | 124.7k | +709 | TypeScript | Apache-2.0 | A multi-agent CLI for source-cited financial research and reporting |
| paperclip | 119.3k | +1.6k | TypeScript | MIT | Self-hosted control plane for coordinating AI agents, tasks, approvals, and spen |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Bitterbot-AI/bitterbot-desktop.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about bitterbot-desktop
How should an IDE, another agent, or an existing chat client connect?
/v1/chat/completions endpoint is disabled by default and lets compatible clients call a Bitterbot agent. That endpoint is separate from the upstream model provider the agent uses for inference.Does Bitterbot need a GPU, and what should I size for?
Can a company self-host Bitterbot, and what compliance work remains?
When is Bitterbot a better fit than a hosted assistant or a local chat UI?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy