Arth docs

Run the dashboard

Tested on Arth Sarathi 1.0.1 (commit 320e9cef) with Claude Code 2.1.154 or later, on 2026-11-29.

What you'll get: the Arth Intelligence dashboard running on your machine at http://127.0.0.1:3100, with your next Claude Code session and its cost on it. Time: about 5 minutes, most of it the first image download.

#Step 1: Check Docker

Terminal
docker info --format '{{.ServerVersion}}'

It prints a version. If it prints an error, start Docker Desktop (macOS) or the Docker service (Linux) and try again.

Something went wrong? See Docker is not running.

#Step 2: Run the setup

In Claude Code (with Arth Sarathi installed), type:

Claude Code
/otel-setup

Answer its questions:

  1. How do you want to use OTEL? Pick Local. The other two send data to a host that is not your machine.
  2. How much telemetry? Pick Native-only (the default). Full also sends the toolkit's own spans, which carry your project's path and git remote, to the same local engine.
  3. Where should the native OTEL block live? Pick Global (recommended).
  4. Auto-tag every session? Either answer works; it only adds a label to each session.

The setup writes ~/.arthai/docker-compose.yml, starts the containers through a check that every port is on 127.0.0.1, waits for the engine to answer, and adds the OTEL settings to ~/.claude/settings.json. It ends with Arth Intelligence is running.

Run it in any project. With Native-only it writes no file in the project; with Full it also writes .claude/.arth-otel.env there, so the plugin's hooks send their spans too.

You can also start it from /arth-setup: pick Local, then tick intelligence.

Something went wrong? See the setup stops at the port check or the image pull fails.

#Step 3: Check it is running

Terminal
curl -fsS http://127.0.0.1:4319/api/health
docker ps --filter name=arthai --format '{{.Names}} {{.Ports}}'

The first command prints JSON containing "ok":true. The second lists arthai-intelligence with 127.0.0.1:3100->3000/tcp, 127.0.0.1:4319->4319/tcp, arthai-db with 5432/tcp (a port inside Docker only, not published on your machine) and arthai-watchtower with no ports.

#Step 4: See your first session

Quit Claude Code and start it again: it reads OTEL settings only when it starts. Run any prompt, then open http://127.0.0.1:3100.

Until the first session arrives, the dashboard says No sessions yet, with a hint to run a Claude Code session with OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4319. The setup already set that for you; localhost is this machine (127.0.0.1). After the first session, the overview lists it with its cost and duration. Open it to see its tokens, tools and agents. The dashboard has more pages (for example Experiments and a diagnostic bundle download) that this guide does not cover yet.

Something went wrong? See the dashboard stays empty.

#What it starts

ContainerImageHost portWhat it does
arthai-intelligencearthai/intelligence:latest127.0.0.1:3100 (dashboard), 127.0.0.1:4319 (engine)Receives OTEL data from Claude Code over http/json, reads your Claude Code session files read-only, and serves the dashboard
arthai-dbpostgres:15-alpineNone (docker ps shows 5432/tcp with no address: not published)Stores sessions
arthai-watchtowercontainrrr/watchtowerNoneReplaces arthai-intelligence when a new image is published

The dashboard gets data two ways: Claude Code's OTEL export, and your session files in ~/.claude/projects, which the setup mounts into the container read-only. The container cannot change them.

All three restart on their own after a reboot (restart: unless-stopped). The engine and the dashboard have no login. Binding them to 127.0.0.1 is what keeps them private: do not change the compose file to publish them on any other address. To open the dashboard from another machine, use an SSH tunnel, for example ssh -L 3100:127.0.0.1:3100 <host>.

#Where your data lives

Sessions are stored by the PostgreSQL container in a Docker volume named arthai_arthai_data. The database is not published on any host port.

#What it contacts

HostWhenWhy
Docker HubAt setup, and when you updateDownloads the three images
Docker HubOnce a day, from the updaterChecks for a new arthai/intelligence:latest and downloads it
The LLM provider you chooseOnly if you set a key for "Explain this session"Sends that session's facts to be summarised

Claude Code's own OTEL data goes only to http://localhost:4319, which is this machine (127.0.0.1).

The updater mounts /var/run/docker.sock. That gives the updater container full control of Docker on your machine, the same as root. It publishes no ports. If you would rather update by hand:

Terminal
docker stop arthai-watchtower && docker rm arthai-watchtower

Then delete the watchtower: service from ~/.arthai/docker-compose.yml, so that it does not come back the next time the setup starts the stack. Update by hand as in updates.

"Explain this session" needs an LLM provider key, and the setup in this release does not ask for one. With no key the feature hides itself and nothing is sent.

#Updates

With the updater running, new images arrive within a day, with no action from you. To update now, or after you removed the updater:

Terminal
docker compose -f ~/.arthai/docker-compose.yml pull

Then run /otel-setup again in Claude Code and choose Local. It restarts the containers with the new image, and only after its check that every port is on 127.0.0.1. Do not start the stack with a bare docker compose up, which skips that check.

Your data stays in the volume across updates.

#Stop or remove it

#If something goes wrong

#Docker is not running

You see: Cannot connect to the Docker daemon, or the setup says Docker is not running. Start Docker Desktop and re-run /otel-setup.

Do: start Docker Desktop or the Docker service, wait until docker info works, and run /otel-setup again.

#The setup stops at the port check

You see: a line starting with BLOCKED, or Docker's port is already allocated.

Why: BLOCKED means the compose file publishes a port on an address other than 127.0.0.1, and the setup refuses to start it; the message names the file and the port. port is already allocated means another program already uses port 3100 or 4319.

Do: for BLOCKED, follow the message, or move the changed compose file away and run the setup again so it writes a fresh one. For a taken port, find what holds it with lsof -nP -iTCP:3100 -sTCP:LISTEN (or :4319), stop it, and run /otel-setup again.

#The image pull fails

You see: toomanyrequests or a rate-limit error.

Why: Docker Hub limits downloads for users who are not signed in.

Do: run docker login, then run /otel-setup again.

#The dashboard stays empty

You see: No sessions yet after you ran a prompt.

Why: Claude Code was already running when the setup added its OTEL settings.

Do: quit every Claude Code session, start a new one, and run a prompt. Check the settings with jq .env ~/.claude/settings.json: OTEL_EXPORTER_OTLP_ENDPOINT must be http://localhost:4319 (the value the setup writes; it reaches the engine on 127.0.0.1) and OTEL_EXPORTER_OTLP_PROTOCOL must be http/json.