nightly-labs

openbot

nightly-labs

OpenBot is a TypeScript + Electron local-first desktop AI teammate workspace — Codex / Claude / Gemini CLI agents persist long-term in local Bot Rooms with Persistent Memory, Skill Marketplace, File RAG and Docker Sandbox.

v0.80.0
Published at
10h ago
11,196
Stars
177,707
Download
Synced at
8h ago

Latest release

v0.80.0Nov 26, 2026, 06:28 PM
Downloads slow? Switch the source anytime above

README

Project Overview

OpenBot by nightly-labs is a local-first desktop AI teammate workspace — TypeScript + Electron + tRPC, 7367 stars. Core idea: Persistent AI Teammate — Codex, Claude Code, Gemini CLI and other agents stay alive in local Bot Rooms across reboots, with automatically-persisted Memory. The 67 KB README details: Persistent Memory engine (conversation summaries → SQLite bot_memory table, incrementally refreshed each turn); Skill Marketplace (community-written .skill.yaml plugins); File RAG (auto-indexes local folders with @xenova/transformers local embeddings, stored in SQLite); Docker Sandbox (agent processes run inside isolated containers); multiple Bot Rooms in parallel, each with its own Memory + Skill + env.

Item Value
Platform Windows / macOS / Linux (Electron)
Language TypeScript + Electron + tRPC
Agents Codex / Claude Code / Gemini CLI / OpenCode / extensible
Persistence SQLite bot_memory + local filesystem
RAG @xenova/transformers local embeddings + SQLite vector index
License not declared

A local-first desktop AI teammate workspace. Persistent Memory + Skill Marketplace + File RAG + Docker Sandbox.

Core Concepts

  • Bot Room: one agent process per Room, with independent Memory + Skill + env vars
  • Persistent Memory: after each conversation round, auto-summarize and store in SQLite bot_memory; auto-loaded and injected as system prompt on next agent startup
  • Skill Marketplace: community .skill.yaml plugins defining trigger + prompt + tool schema
  • File RAG: link a folder to a Room → auto incremental scan → local embedding with @xenova/transformers → SQLite vector index; retrieved and injected into agent conversations
  • Docker Sandbox: agent process runs inside a Docker container for environment isolation

Key Features

  • Autostart Bot Rooms: Electron auto-launches all enabled Bot Rooms on boot; processes stay alive
  • Incremental Memory refresh: auto-summarize after each round → store in SQLite; inject as system prompt on next launch
  • Skill Marketplace: openbot skill install <skill-name> from GitHub / GitCode
  • File RAG auto-index: link folder → incremental scan → local embedding → SQLite vector index; auto-retrieved during agent conversations
  • Docker Sandbox: openbot sandbox create --image openbot/ubuntu creates an isolated container
  • Multiple parallel Rooms: multiple Bot Rooms on one machine, independent of each other

Interface and Operation

  • Electron main window: Bot Room list + conversation area + Memory viewer + Skill panel + RAG settings
  • System tray: always-present, quick-switch between Rooms
  • Global hotkey: ⌘⇧O (macOS) / Ctrl+Shift+O (Windows / Linux) to bring up quick panel

Integration

  • CLI: openbot room create --name dev-bot --agent codex --model gpt-4o to create a Bot Room
  • Skill install: openbot skill install nightly-labs/skills/coding-buddy
  • RAG link: openbot rag link --room dev-bot --dir ~/projects/myapp

Target Scenarios

  • Developers wanting AI agents that persist locally without quitting
  • Coding agents needing long-term Memory (project context, past bugs, preferences)
  • Geeks wanting community Skills to extend agent capability

Quick Start

  1. Download the matching installer from Releases
  2. First launch prompts for API key (Codex / Claude Code / Gemini CLI — pick one)
  3. Tap "New Bot Room" → pick agent → pick model → create
  4. Room auto-spawns the process; Memory refreshes automatically after each conversation

Core Advantages

  • Persistent Memory engine: incrementally refreshed each round; auto-injected on next launch
  • Local-only File RAG: @xenova/transformers runs locally — nothing uploaded to external services
  • Skill Marketplace: community writes .skill.yaml, install with one command
  • Docker Sandbox: agent process isolated inside a container

Environment Requirements

Item Requirement
OS Windows / macOS / Linux (Electron)
Node.js 20+ for source builds
Docker optional — for Sandbox
Agent API Codex / Claude Code / Gemini CLI etc. — needs an API key

Notes

  • Memory footprint: each Bot Room uses roughly 200-500 MB — varies by agent type
  • Memory summary granularity: full forced re-summarization every 100 rounds to avoid accumulated noise
  • Docker Sandbox needs Docker Desktop: required for macOS / Windows

Release history

Sort