Installation
System Requirements
Section titled “System Requirements”Octipus runs on Linux, macOS, and Windows. The backend requires Bun as its runtime, and the web UI requires Node.js for Next.js.
Required Dependencies
Section titled “Required Dependencies”| Dependency | Version | Purpose |
|---|---|---|
| Bun | >= 1.1.0 | Runtime for backend, tests, scripts |
| Node.js | >= 18 | Required by Next.js web UI |
| Docker | any | Runs PostgreSQL, Redis, Ollama |
| PostgreSQL | 15 | Database (via pgvector/pgvector:pg15 Docker image) |
| Redis | any | Caching, sessions, pub/sub, queues |
Optional Dependencies
Section titled “Optional Dependencies”| Dependency | Purpose |
|---|---|
| Ollama | Local LLM inference (runs via Docker) |
| LiteLLM | Unified proxy for OpenAI, Anthropic, Ollama |
| SearXNG | Meta-search engine for web search skill |
| Telegram Bot Token | Telegram channel support |
| Slack App Tokens | Slack channel support |
| Teams App Credentials | Microsoft Teams channel support |
| Playwright browsers | Browser automation skill (bunx playwright install) |
| Claude Code / Gemini CLI / Codex | Free subscription-based CLI model providers |
Docker Services
Section titled “Docker Services”Octipus uses shared Docker services from a docker-compose.yml. These must be running before starting Octipus.
# Start required servicescd ~/docker-servicesdocker compose up -d db redis
# Start optional servicesdocker compose up -d ollama litellm searxngService Reference
Section titled “Service Reference”| Service | Port | Image | Required |
|---|---|---|---|
| PostgreSQL | 5432 | pgvector/pgvector:pg15 | Yes |
| Redis | 6379 | redis:alpine | Yes |
| Ollama | 11434 | ollama/ollama:rocm | No |
| Ollama 2 | 11435 | ollama/ollama:rocm | No |
| LiteLLM | 4000 | ghcr.io/berriai/litellm:main-latest | No |
| SearXNG | 8888 | searxng/searxng:latest | No |
| N8N | 5678 | n8nio/n8n | No |
| Open WebUI | 3000 | ghcr.io/open-webui/open-webui:main | No |
Installing Bun
Section titled “Installing Bun”curl -fsSL https://bun.sh/install | bashpowershell -c "irm bun.sh/install.ps1 | iex"Database Setup
Section titled “Database Setup”After starting PostgreSQL via Docker, create the database and required extensions:
# Create the database (if it doesn't exist)docker exec <db-container> psql -U <superuser> -c "CREATE DATABASE assistant;"
# Install required extensionsdocker exec <db-container> psql -U <superuser> -d assistant \ -c "CREATE EXTENSION IF NOT EXISTS vector;"docker exec <db-container> psql -U <superuser> -d assistant \ -c 'CREATE EXTENSION IF NOT EXISTS "uuid-ossp";'