Skip to content
dispand

Free forever.
Every feature.

The whole Dispand autopilot is open source, under Apache-2.0. Run it on your own server with Docker Compose, pair your own machines, and keep every row, prompt and transcript where you can see it.

Status: prototype, in early access. Runs on Docker Compose and PostgreSQL. Prefer not to run a server? Hosted plans start at $49/mo

Your agents touch your business. You should be able to read every line.

An agent you can't inspect is a black box with access to your inbox. We build Dispand in the open, so you can check what it does in the code instead of taking our word for it.

Apache-2.0

A permissive license. Use it, change it and run it for your business, commercially too, under its terms.

Read the code

Every permission check, approval and tool call your agents go through is in the public repository. So is the security model.

Own your data

Tables, memory, files and Job transcripts live in your PostgreSQL and your volumes, on your server.

No lock-in

Your own model keys, your own Claude Code and Codex, standard MCP tools and Claude-style skills. You can keep using all of them outside Dispand.

What you need to self-host

Self-hosting takes more than one command: a Compose project, a .env with five values and an HTTPS proxy. Plan on about ten minutes if you've run a container before.

A host with Docker Compose

Any server or VM you control that runs Docker Compose.

PostgreSQL, included

The Compose project starts it for you, on an internal network.

Five values in .env

A hostname, three secrets and a setup code.

An HTTPS reverse proxy

With WebSockets on /runner/ws and X-Real-IP set.

Only the proxy may reach port 3000. Your data stays in two named volumes on your host.

Four steps to your own autopilot.

You'll find the full guide in deploy/README.md in the repository.

  1. 1

    Get the Compose project

    deploy/compose.yaml runs the app image from ghcr.io/polystartup/dispand and PostgreSQL, with your data in two named volumes: dispand-files for attachments and dispand-postgres for the database.

    On your server
    git clone https://github.com/polystartup/dispand.git
    cd dispand/deploy
  2. 2

    Write your .env

    Compose reads five required values from a .env next to compose.yaml. Keep it out of version control and readable only by the account that runs Compose. Back up DISPAND_SECRET_KEY. If you lose it, you lose the keys you stored.

    deploy/.env
    cat > .env <<EOF
    DISPAND_HOST=dispand.example.com
    DISPAND_AUTH_SECRET=$(openssl rand -base64 32)
    DISPAND_SECRET_KEY=$(openssl rand -base64 32)
    DISPAND_SETUP_CODE=$(openssl rand -hex 12)
    DISPAND_POSTGRES_PASSWORD=$(openssl rand -hex 24)
    EOF
    chmod 600 .env
    Replace the hostname with yours. The database password uses hex, so it stays safe inside a connection URL.
  3. 3

    Start it

    Run both from the deploy folder. The app listens on port 3000 over plain HTTP, waiting for your proxy.

    deploy/
    docker compose pull
    docker compose up -d
    Run the same two commands again to update.
  4. 4

    Put HTTPS in front

    Any reverse proxy works if it does these five things:

    • Terminates TLS for DISPAND_HOST and forwards to port 3000.
    • Sets X-Real-IP to the client address it saw, overwriting what the client sent. Dispand's sign-in rate limit relies on it.
    • Supports WebSockets on /runner/ws, where runners connect.
    • Turns response buffering off and allows a read timeout above 30 s, for live run and question streams.
    • Serves HTTP/2, so several tabs with live streams don't run out of connections.
    Example: Caddyfile
    dispand.example.com {
    	reverse_proxy 127.0.0.1:3000 {
    		header_up X-Real-IP {remote_host}
    		flush_interval -1
    	}
    }
    Caddy is one option. It gets the certificate and serves HTTP/2 and WebSockets with no extra settings.

    Close port 3000 to everyone but the proxy.

    compose.yaml publishes it on every interface. Bind it to 127.0.0.1:3000:3000 when the proxy runs on the same host, or firewall it. Docker-published ports bypass host firewalls such as ufw, and a client that reaches the port around the proxy could set its own X-Real-IP.

For upgrades, runner placement and every other detail, read the full self-hosting guide on GitHub.

The variables

Required

Compose refuses to start until all five are set.

DISPAND_HOST
The name the app is served at, without a scheme (dispand.example.com). The app's URL is https://<DISPAND_HOST>.
DISPAND_AUTH_SECRET
Signs sessions. A random string of at least 32 characters.
DISPAND_SECRET_KEY
Seals the API keys and tool headers stored in the database: 32 bytes, base64. If you lose it, you lose those secrets; if you change it, Dispand can't read them.
DISPAND_SETUP_CODE
One-time code you enter when you create the owner account on the first visit. At least 16 characters.
DISPAND_POSTGRES_PASSWORD
Password of the dispand database user.

Optional, including OpenTelemetry

Dispand sends traces, metrics and logs to your own collector over OTLP/HTTP. Leave these unset and it sends nothing; logs still go to the container's output.

DISPAND_IMAGE_TAG
Image tag to run. latest by default; pin a version to upgrade on your schedule.
OTEL_EXPORTER_OTLP_ENDPOINT
Where to send traces, metrics and logs over OTLP/HTTP. Leave it unset and Dispand sends nothing.
OTEL_EXPORTER_OTLP_HEADERS
Headers for your collector, such as its API key.
OTEL_SERVICE_NAME
The service name telemetry carries. dispand by default.
DISPAND_TRACE_URL
A URL with {traceId} in it. With it set, the Audit page links each row's trace to your tracing tool.

Open your URL and create the owner account.

Go to https://<DISPAND_HOST> and create the owner account. The setup code from your .env proves it's you, so nobody who finds your URL first can claim the install.

Then add a model key or pair a runner, describe your first job to Stem, and approve its Proposal.

Before you upgrade: this is a prototype

Dispand's upgrades rewrite data without careful migrations. An upgrade may move, reset or delete existing data: settings can go back to their defaults, and you have to sign in again to tools connected by OAuth. Don't put anything on it you can't afford to lose, back up your volumes before you pull, and pin DISPAND_IMAGE_TAG to upgrade when you choose.

Read the upgrade notes

Welcome to Dispand

Create the owner account to get started.

Name

Robin

Password

••••••••••••

Setup code

••••••••••••••••

Find it in the server's settings as DISPAND_SETUP_CODE.

Create account
Illustration: the first visit to a self-hosted Dispand, where you create the owner account and enter the setup code from your .env file. First visit: create the owner account

Your Claude Code and Codex, on a machine you control.

Dispand drives the CLIs you already use through a runner. The runner dials out to your server over a WebSocket, so you open no port and grant no SSH. Pick the install that fits the machine.

Native: one line on a Linux machine or VM

In Dispand, add a runner: it shows this command with a single-use pairing code. It installs a systemd user service that runs as you, with your own claude and codex, and their settings, plugins and MCP servers.

  • No sudo. Needs Node.js 22 or later.
  • Holds no API key and never touches your CLI's credentials.
  • Each session runs in a fresh folder of its own.
  • Claude Code 2.1.248+ and Codex 0.166.0+.
On the machine
curl -fsSL https://<your Dispand>/runner/install.sh \
  | DISPAND_PAIRING_CODE=<code> sh -s -- \
    --server https://<your Dispand>
The command passes the pairing code in the environment, never on the command line. To keep the runner going while you're logged out, run loginctl enable-linger.

Sandboxed: a dedicated Debian or Ubuntu VM

One script installs Docker and gVisor, then starts the runner as a container that launches one sandboxed worker per conversation. You get templates for AWS and Azure, and a Compose file for any Linux host, in deploy/runner.

  • Workers run under gVisor, read-only, with no capability.
  • Workers never reach the machine's own addresses or other containers.
  • No worker holds the model key: the supervisor adds it to model calls.
  • Or use your own Claude or ChatGPT subscription for the Jobs you start.
On the VM, as root
curl -fsSL https://raw.githubusercontent.com/polystartup/dispand/main/deploy/runner/cloud-init.sh \
  | sudo bash
sudo docker exec -it dispand-runner dispand-runner pair \
  --server https://<your Dispand> \
  --root /var/lib/dispand-runner/work
sudo docker exec -it dispand-runner \
  dispand-runner model-key anthropic
sudo docker restart dispand-runner
Pair over SSH or the console: it asks for the code. Keep other workloads off this VM; the supervisor holds the Docker socket.

You can skip runners: agents on model APIs run on your Dispand server with your own key.

Self-host or hosted: same product, different chores.

Self-hosting gives you the full product with no time limit. Hosted plans suit you if you'd rather not run a server, and they add a few conveniences that need a hosted service.

  • Self-host$0 foreverHostedFrom $49/mo
  • Every product feature: agents, triggers, Jobs, Inbox, tables, memory, Stem, plugins, workflows, audit

    Self-host: Included

    Hosted: Included

  • Runner Jobs with your own Claude Code and Codex

    Self-host: Unlimited

    Hosted: Unlimited

  • Model API keys

    Self-host: Yours, no markup

    Hosted: Yours, no markup

  • Workspaces

    Self-host: Unlimited

    Hosted: 1 workspace (Basic), up to 10 workspaces (Premium)

  • Server, HTTPS, upgrades and backups

    Self-host: You run them

    Hosted: Handled for you

  • Gmail and Microsoft 365

    Self-host: Register your own Google / Microsoft OAuth app

    Hosted: One-click sign-inComing soon

  • Agents that keep working while your machines are off

    Self-host: Run a runner on an always-on VM

    Hosted: Hosted workersComing soon

  • Team members

    Self-host: One owner per install

    Hosted: Per-workspace accessComing soon

  • Support

    Self-host: Community, on GitHub

    Hosted: Email (priority on Premium)

Contribute, fork, report.

Contributing

Open a pull request against main with a Conventional Commits title, like feat(web): …. That title becomes the commit message on main, and the changelog comes from it. A merge queue squash-merges pull requests and runs the checks again, so your branch needs to be free of conflicts but doesn't need to be up to date.

You don't need to code to help. Bug reports, questions and “I tried to put X on autopilot and couldn't” help as much as code. Report bugs in the issues; ask and share ideas in Discussions.

License

Apache License 2.0. It covers the code, not the Dispand name and logo.

Read the licenseBrand & trademark

Security

Report vulnerabilities privately through GitHub's Security tab. Please don't open a public issue for them.

How we handle security

Self-hosting questions

Is the self-hosted version limited in any way?
No. Every feature ships in the open-source repository, under Apache-2.0. Hosted plans add operations (we run the server) and hosted services that are coming soon: one-click Gmail and Microsoft 365 sign-in, hosted workers and team members. A self-hosted install has one owner today.
Do I need a runner?
Only for Claude Code and Codex. For agents on model APIs (your own Anthropic or OpenAI key), your Dispand server calls the API itself. Pair a runner when you want agents to work through the CLIs on a machine you control.
Which machines can run a runner?
The one-line install sets up a systemd user service, so it targets a Linux machine or VM you control, with Node.js 22 or later. The sandboxed runner is a container for a dedicated Debian or Ubuntu VM, with templates for AWS and Azure and a Compose file for any Linux host.
Is it ready for my production data?
Not yet. Dispand is a prototype, and its upgrades may rewrite or delete existing data. Try it and build on it, and keep copies of anything you can't lose. See the roadmap.
Does a self-hosted install send telemetry?
OpenTelemetry export is off until you set OTEL_EXPORTER_OTLP_ENDPOINT, and then it goes to the collector you name. Dispand stores your tables, memory and Job transcripts in your PostgreSQL and volumes; prompts go to the model providers and CLIs you choose. You can check all of this in the public code.
Can my team share one self-hosted install?
Today a self-hosted install has one owner. Team members with per-workspace access are in progress for the hosted plans. If that matters to you, say so in GitHub Discussions. We use those requests to decide what to build first.

Run Dispand on your own server.

Self-host every feature for free, or let us run it from $49 a month. Either way, your agents ask before they act.

Apache-2.0. Star us on GitHub