Overview
Octop is an open-source, self-hosted AI assistant platform built for households and small teams. A single process serves a web dashboard, a CLI, IM channels (Feishu, DingTalk, QQ, Discord, WeCom and more) and cron automation, all sharing one control-plane database under ~/.octop/ — SQLite with WAL by default, PostgreSQL optionally. The design goal is that every conversation, workspace and credential stays on your own machine while each user gets a personal team of specialised agents to switch between per task.
It is multi-user and multi-agent by default: one admin account with a shared household or team, a built-in expert library you pick a specialist from per scenario, and 16 MBTI persona templates (plus an interactive quiz) to give each agent a distinct character. Security is part of the model rather than an add-on — JWT multi-user isolation, per-tool approval, shell command guardrails and PII redaction. Backends are pluggable: local disk, Docker containers, PostgreSQL, or COS/S3, so agents operate inside an isolated boundary you choose.
Octop is composed from the Harness stack — harness-agent for the agent runtime, harness-gateway for the IM channel bridge, harness-memory for portable hierarchical recall that travels with a workspace, and harness-browser for CDP-based browser automation. On top of that sit a RAG knowledge base over your own documents, an OAuth and MCP connector gateway, a plugin system, a browser-based interactive terminal, headless Chromium sessions, remote desktop from the dashboard, and bidirectional ACP so you can delegate to (or be driven from) IDE and terminal agents.
What it does
- One process serving a web dashboard, CLI, IM channels and cron, with all state under ~/.octop/
- Multi-user expert team with JWT isolation, tool approval, shell guardrails and PII redaction
- Connector ecosystem over OAuth and an MCP gateway, plus a plugin system for third-party extensions
- RAG knowledge base over your documents and portable hierarchical memory that migrates with the workspace
- Browser AI+ (headless Chromium for automation and screenshots), a web terminal and dashboard remote desktop on Linux, Windows and macOS
- Bidirectional ACP — expose Octop to IDE and terminal AI, or delegate tasks out to OpenCode and Claude Code behind permission gates
Getting started
Octop runs on macOS, Linux and Windows. No preinstalled Python is required — the installer uses uv to provision Python 3.12 into an isolated virtualenv under ~/.octop/. Plan for a few GB of RAM for the process plus model and embedding caches.
Install
Use the one-line installer on macOS or Linux, then open a new terminal (or source your shell rc) so ~/.octop/bin lands on PATH. Extras such as browser automation or the Feishu channel are opted into with --extras. Windows has PowerShell, cmd and desktop-installer routes, and there are prebuilt desktop apps on GitHub Releases.
curl -fsSL https://finnie-1258344699.cos.ap-guangzhou.myqcloud.com/octop/install.sh | bash
source ~/.zshrc # or ~/.bashrc
# optional extras
curl -fsSL https://finnie-1258344699.cos.ap-guangzhou.myqcloud.com/octop/install.sh | bash -s -- --extras browserOr install from PyPI
If you already manage your own Python, the package is on PyPI. The local-embedding extra downloads ONNX embedding weights under ~/.octop/embedding_models; it is used for retrieval, not for chat.
pip install octop
# optional: pip install "octop[browser]"
# optional: pip install "octop[local-embedding]"Initialize
The interactive wizard creates the SQLite database, the JWT secret and the first admin account under ~/.octop/. Passwords must be at least 8 characters with letters and digits.
octop initRun it
Start in the foreground, bind a custom host and port, or register it as a systemd / launchd / Windows service. The dashboard defaults to http://127.0.0.1:8088.
octop run
octop run --host 0.0.0.0 --port 8088
octop service startDeploy with Docker for production
The compose file in docker/ is the recommended production path. On first boot a random admin password is written to /data/.octop/credential.txt inside the container unless OCTOP_DEFAULT_PASSWORD is set.
docker compose -f docker/docker-compose.yml up -d
# or build and run manually
bash docker/docker_build.sh
docker run -d \
-p 8088:8088 \
-v octop-data:/data/.octop \
-e HOME=/data \
-e OCTOP_DEFAULT_PASSWORD="<strong-password-or-omit-for-random>" \
octop:latestCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Running a household or small-team assistant entirely on your own hardware, with per-member accounts and agents
- Bridging Feishu, DingTalk, WeCom, Discord or QQ group chats into one agent pipeline instead of writing a bot per platform
- Grounding answers in a private document corpus while keeping every file and credential on the local machine
- Delegating coding work to OpenCode or Claude Code over ACP, or scheduling recurring jobs described in natural language
How Octop compares
Octop alongside other open-source assistants & chatbots tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| OpenClaw | ★ 390k | OpenClaw is a self-hosted personal AI assistant that answers you on WhatsApp, Telegram, Slack, Discord, and many other channels, with voice and a live visual canvas. |
| Hermes Agent | ★ 247k | A self-improving personal AI agent from Nous Research that builds skills from experience, remembers across sessions, and reaches you on Telegram, Discord, Slack, and more. |
| Odysseus | ★ 87.4k | A self-hosted AI workspace that puts chat, agents, deep research, documents, email, notes, tasks and calendar behind one Docker Compose stack, over local or API models. |
| CowAgent | ★ 47k | A self-hosted assistant that plans and executes tasks with built-in file, terminal, browser and search tools, and answers across a web console plus a dozen messaging platforms. |
| AstrBot | ★ 40.7k | An all-in-one agent chatbot platform that puts LLM conversations, tools, knowledge bases and a plugin marketplace inside messaging apps like Telegram, Slack, Discord, QQ and Feishu. |
| OpenHuman | ★ 39.9k | A local-first desktop personal AI for macOS, Windows and Linux that keeps a compressed memory tree on your machine and orchestrates checkpointed research and automation workflows. |
| MindsHub | ★ 39.8k | An agent workspace for knowledge work and software development that runs swappable open-source agent harnesses against your choice of frontier or open models. |
| Octop | ★ 4.1k | Self-hosted multi-user, multi-agent assistant with a web dashboard, CLI, IM channels and cron in one process |