Skip to content

Installation

Octipus runs on Linux, macOS, and Windows. The backend runs on Bun; the web UI is a Next.js app that needs Node.js.

DependencyVersionPurpose
Bun≥ 1.1.0Runtime for the backend, tests, and scripts
Node.js≥ 18Required by the Next.js web UI
GitanyCloning the repository

That’s everything you need for embedded storage mode. External mode adds the backing services below.

Terminal window
curl -fsSL https://bun.sh/install | bash
Terminal window
git clone https://github.com/PatriceA/octipus.git
cd octipus
bun install
cd web && bun install && cd ..

Then run bun run setup (see Quick Start) to generate secrets and pick a storage mode.

Octipus picks where it stores data from a single setting, STORAGE_MODE:

ModeBacking servicesBest for
embeddedNone — PGlite + in-memory cacheFirst run, single-user, laptops
externalPostgreSQL + pgvector and ValkeyMulti-user, production

The repository ships its own docker-compose.yml that defines exactly the two services external mode needs — Postgres (with pgvector) and Valkey. From the repo root:

Terminal window
# Start just the database + cache (not the app container)
docker compose up -d octipus-db octipus-valkey
ServiceImageHost → container portNotes
octipus-dbpgvector/pgvector:pg165442 → 5432Postgres + pgvector; DB octipus is created automatically
octipus-valkeyvalkey/valkey:7.2-alpine6389 → 6379Redis-compatible cache / pub-sub / queues

The Postgres container creates the octipus database and user on first boot, and the backend creates the vector / uuid-ossp extensions and runs all migrations automatically when it starts — there are no manual psql or migrate steps.

Point your .env at these services (the wizard does this for you):

STORAGE_MODE=external
DATABASE_URL=postgresql://octipus:octipus@localhost:5442/octipus
REDIS_URL=redis://localhost:6379

None of these are required to run Octipus. Configure them later from the web UI — credentials live in the encrypted vault, not your .env.

DependencyPurpose
OllamaLocal LLM inference (the setup wizard can recommend models that fit your hardware)
LiteLLMUnified proxy for many providers
SearXNGSelf-hosted meta-search for the web-search tool
Provider API keysOpenAI, Anthropic, Gemini, Grok, DeepSeek, OpenRouter, Voyage
Telegram / Slack / Teams / WhatsAppChat channel integrations
Playwright browsersBrowser-automation tool (bunx playwright install)
Claude Code / Gemini CLI / CodexSubscription-based CLI providers