HUB
Sign inSign up

havencto/dsh-haven-mausbot

By havencto

•Updated 1 day ago

All-in-one DeepSeek Harness web3 agent with OpenMausBot GUI, Prowlarr, qBittorrent & Observatory

Image
0

9.3K

havencto/dsh-haven-mausbot repository overview

⁠Haven Web3 Agent + OpenMausBot GUI (havencto/dsh-haven-mausbot)

All-in-one single-container image bundling the OpenMausBot Web / Desktop / Mobile GUI, DeepSeek Harness (dsh) with the Haven Web3 plugin stack (15 plugins), Prowlarr, qBittorrent, yt-dlp, ffmpeg, and the Observatory status dashboard.

Designed for single-container runtimes with no docker compose required (wslc, plain docker run, or podman run). OpenMausBot is the sole communication surface and wallet owner (no XMTP/Convos, no Transmission).

Looking for the smaller headless Convos / XMTP variant (with Transmission failover, no GUI)? See havencto/dsh-haven-web3-agent⁠.

⁠Quickstart (single command)

docker run -d --name haven-mausbot \
  --shm-size=512m \
  -p 0.0.0.0:8799:8799 \
  -p 0.0.0.0:8787:8787 \
  -v haven-data:/data \
  -e ACCEPT_HOT_WALLET_RISK=yes \
  -e MODEL_BASE_URL=https://your-openai-compatible-endpoint/v1 \
  -e MODEL_ID=your-model-id \
  -e MODEL_API_KEY=your-key \
  -e OMB_PUBLIC_URL=http://192.168.1.50:8799 \
  havencto/dsh-haven-mausbot:latest

docker logs -f haven-mausbot

-p 8799:8799 publishes on all host interfaces (0.0.0.0), so a phone on the same network can reach the GUI at http://<host-lan-ip>:8799. OMB_PUBLIC_URL must be that same address — without it, OpenMausBot considers itself reachable from this machine only and prints a code with no phone link or QR.

On first boot the logs print:

  1. Your generated hot testnet wallet addresses (EVM address + ICP principal — keys stay in /data/keys with mode 0600 and are never printed).
  2. A one-time OpenMausBot sign-in link & QR (http://<host-lan-ip>:8799/pair#code=...). Open it on the phone (scan the QR, or paste the link into the OpenMausBot desktop/mobile app).

Mint a fresh pairing code any time (single use, ten minutes):

docker exec haven-mausbot openmausbot pair
# If the container was started without OMB_PUBLIC_URL, pass it here:
docker exec haven-mausbot openmausbot pair --public-url http://192.168.1.50:8799

The phone app error "Couldn't reach your computer" means it cannot connect to the address in the pairing link/QR — almost always a loopback-only publish (127.0.0.1:8799:8799) or a missing/stale OMB_PUBLIC_URL.

⁠Model options

  • Any OpenAI-compatible endpoint (spark provider): pass MODEL_BASE_URL and MODEL_ID. MODEL_API_KEY is optional — local servers such as LM Studio need no key and get a harmless placeholder. MODEL_API_PROTOCOL defaults to openai-completions (openai-responses / anthropic-messages also accepted).
  • DeepSeek API directly: omit MODEL_BASE_URL and pass -e DEEPSEEK_API_KEY=sk-....
  • Configure in GUI: omit model env vars, boot with -e ACCEPT_HOT_WALLET_RISK=yes, and add providers under Settings → AI → Providers.
EnvMeaningDefault
MODEL_BASE_URLOpenAI-compatible base URL (enables spark)unset → native DeepSeek
MODEL_IDModel id served by that endpointrequired with MODEL_BASE_URL
MODEL_API_KEYBearer key; optional for local endpointslocal-endpoint-no-key
MODEL_API_PROTOCOLpi-ai API familyopenai-completions
MODEL_CONTEXT_WINDOWContext window DSH should assume131072
MODEL_MAX_OUTPUT_TOKENSMax completion tokens32768
MODEL_REASONING_EFFORTnone / low / medium; enables reasoning verbsunset (no reasoning options)
LMSTUDIO_BASE_URLExtra selectable lmstudio provider (LM Studio, OpenAI-compatible)http://host.wslc.internal:1234/v1
LMSTUDIO_MODEL_IDModel id offered by lmstudiobonsai27b
LMSTUDIO_CONTEXT_WINDOWContext window for the local model65536

MODEL_REASONING_EFFORT maps to Upstage's verbs (off→none, low→low, medium→medium); other endpoints may use different strings, so leave it unset unless you know yours accepts reasoning_effort.

⁠Local endpoints (LM Studio etc.) — read this first

127.0.0.1 inside the container is the container itself, not your host. Use the host's address as seen from the container, and bind LM Studio to 0.0.0.0:1234:

  • wslc (verified): -e MODEL_BASE_URL=http://host.wslc.internal:1234/v1
  • Docker on Linux: add --add-host host.docker.internal:host-gateway, then -e MODEL_BASE_URL=http://host.docker.internal:1234/v1
  • podman / Linux: run with --network host, then -e MODEL_BASE_URL=http://127.0.0.1:1234/v1

Example (wslc):

wslc run -d --name haven-mausbot \
  -p 0.0.0.0:8799:8799 -p 0.0.0.0:8787:8787 -v haven-data:/data \
  -e ACCEPT_HOT_WALLET_RISK=yes \
  -e MODEL_BASE_URL=http://host.wslc.internal:1234/v1 \
  -e MODEL_ID=bonsai27b \
  havencto/dsh-haven-mausbot:latest

Local-model turns are protected: pi-ai sends neither store nor the developer role, uses max_tokens, has one-hour idle/total provider timeouts, and the agent process preloads a one-hour undici body-timeout override. MausBot's turn timers are seeded to 60 minutes (OMB_TURN_STALL_MS, OPENMAUS_ACP_PROMPT_IDLE_TIMEOUT_MS, rooms.turnTimeoutMinutes); its OpenAI-compatible driver streaming idle timeout is also raised to one hour (OPENMAUS_OPENAI_COMPAT_IDLE_TIMEOUT_MS, default three minutes — without this a reasoning model that goes quiet mid-stream dies with "Streaming idle timeout elapsed"). OMB_TOOL_STALL_MS keeps its two-hour default. Set MODEL_CONTEXT_WINDOW=65536 for a 64K local model instead of the 128K default.

The image keeps bots hyperfocused on their web3 task via bot-focus.mjs (supervisord program mausbot-bot-focus, runs once per boot after openmausbot is up): it applies a focused soul (standing instructions) and a toolScope deny list of MausBot's own app-management tools (teams, chats, memory, rooms, settings) through the local API. It only targets bots whose names are listed in OMB_BOT_FOCUS_TARGETS (default Harold, comma-separated, * for all bots in the container) — other bots are never touched. Bots that already carry them are left untouched, so edits in Settings persist; set OMB_BOT_FOCUS_OFF=1 to skip. Selectors are native:<exact-name> (no wildcards); names come from the agent tool catalog. Without this, a small local model can latch onto the injected MausBot tool list and deflect with "check your account settings under Teams/Chats" instead of doing the task. You can also do it per bot by hand with PATCH /api/bots/{id}.

A second provider, lmstudio, is always present in the model dropdown (default bonsai27b) so a local model can be selected without changing the default. To point it at a different LM Studio host, set LMSTUDIO_BASE_URL, e.g. -e LMSTUDIO_BASE_URL=http://192.168.1.70:1234/v1. The endpoint must accept TCP from the container; LM Studio has to be bound to 0.0.0.0:1234 ("Serve on Local Network"), and the host firewall must allow inbound TCP 1234. The DSH default stays spark/<MODEL_ID> (Upstage by default).

Environment lives in the container config, not the /data volume — re-pass the same -e flags when recreating after an image upgrade (the model settings are persisted in /data/keys/model.env for the agent, but the container still needs its env on recreate).

⁠Ports & surfaces

PortServicePublish?
8799OpenMausBot Web GUI & APIYes — -p 8799:8799 (not 127.0.0.1:8799:8799 if phones must connect)
8787Observatory read-only status & spend dashboardOptional (-p 8787:8787)
9696Prowlarr indexer bridge (127.0.0.1 only)Do not -p
8080qBittorrent WebUI (127.0.0.1 only)Do not -p

For phone/other-device pairing, publish 8799 on the host LAN interface and set -e OMB_PUBLIC_URL=http://<your-lan-ip>:8799 (http is accepted for private addresses). In bridge mode OMB_LAN=1 alone advertises the container's own 172.x address, which a phone cannot reach — use OMB_PUBLIC_URL instead. With --network host (Linux Docker), OMB_LAN=1 works and uses the host's real private address.

⁠What's inside

  • OpenMausBot (ghcr.io/milind-soni/openmausbot) with Haven Web3 (dsh) pre-configured as the default engine (approval cards, multi-bot rooms, mobile/desktop pairing, built-in Chromium browser).
  • DeepSeek Harness (@deepseek-ai/dsh) acp profile preloaded with 15 web3 plugins: dsh-wallet, dsh-wallet-ethereum, dsh-wallet-tools, dsh-treasury, dsh-storage-synapse, dsh-arkiv, dsh-erc8004, dsh-royalty-router, dsh-haven-aol, dsh-persona, dsh-tool-prowlarr, dsh-tool-acquisition, dsh-observatory, dsh-exactly-once, dsh-agent-herald.
  • Media pipeline: Prowlarr (pre-seeded public indexers), qbittorrent-nox, yt-dlp, ffmpeg, python3-mutagen.

⁠Security & testnet posture

  • Hot wallets: keys live in /data/keys (0600) and are managed by the agent. Refuses to instantiate without ACCEPT_HOT_WALLET_RISK=yes. Bring your own key with -e AGENT_EVM_KEY=0x... (64 hex chars).
  • Testnet defaults: Sepolia, Base Sepolia, Filecoin Calibration, Arkiv Rabdi. Deposit only testnet funds or amounts you can afford to lose.
  • Persistent state: everything lives in the /data volume (wallets, dsh profile/sessions, OpenMausBot chats/settings, Prowlarr indexers, downloads, logs). Existing havencto/dsh-haven-web3-agent:latest volumes upgrade in place.

Source & full documentation: Haven-hvn/deepseek-harness-web3-agent-stack⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:e7be51ed7…
Size
1.1 GB
Last updated
1 day ago
docker pull havencto/dsh-haven-mausbot:latest