CopilotKit/openfuse

A personal agent with a browser, terminal, files, and work that keeps going built with CopilotKit and AG-UI.

What it solves

OpenFuse tackles the problem of delegating open-ended, multi-step tasks to an AI agent that can actually act on your behalf. Instead of just chatting, it gives the agent a real computer: a persistent browser, an optional Linux terminal, and file access. It also lets you watch the agent work, review each action, and take over the browser or terminal whenever you want. The agent keeps going in the background, with durable task plans that survive interruptions.

How it works

OpenFuse is a self-hosted application with three core services: an API server (Hono + CopilotKit runtime), a task worker that executes plans, and a separate browser worker running Playwright and Chromium. The optional Docker-based Linux computer provides an isolated terminal and workspace. All communication happens through CopilotKit's headless chat and streamed AG-UI events.

The agent can browse public web pages, run commands in its own container, edit files, and transfer PDFs between the computer and the app. It uses Google OAuth adapters for Gmail and Calendar, so it can read mail threads and manage events after you grant permission. Every send or calendar change requires its own stored review. Tasks are durable: they use SQL leases in an embedded PGlite database (or PostgreSQL) to recover interrupted work, and you can pause, resume, cancel, or retry them.

For conversation persistence, OpenFuse relies on CopilotKit Intelligence, a separate service that requires a server-only project key. Web search is enabled by default via Parallel's free, keyless Search MCP, returning source URLs and excerpts.

Who it's for

OpenFuse is aimed at developers and technically comfortable users who want to self-host a personal AI agent and customize it. It's explicitly an alpha, meant for self-hosting and building on. The README offers a quick-start template and deployment on Render, plus instructions for extending the source. It's not a production, multi-tenant system — it uses a single shared access key.

Highlights

  • Persistent Chromium browser with a live screenshot console and Take control to jump into the session.
  • Optional Docker-based Linux terminal and workspace with a 30-second command limit and saved output receipts.
  • Durable task plans with pause/resume/cancel/retry, approvals, and SQL lease recovery for interrupted work.
  • Built-in Gmail and Calendar integration via Google OAuth, with reviewed event creation and updates.
  • Finance module that imports transaction CSVs and generates a spending summary with categories and savings goals.
  • Documents workflow: email attachment → PDF → fill requested form values → reviewed reply → saved receipt.
  • Goals and tracking with recurring checks for page changes, text availability, or USD price thresholds, with deduplicated alerts.
  • CopilotKit Rich Threads for persistent conversation history and replay, requiring a project key.
  • Deployable to Render with a one-click blueprint, or run locally with pnpm.
  • MIT licensed, with a clear feature inventory and roadmap.

Related

  • Project
  • Project
  • Project
  • Project