Skip to content

Host your own server

Run Utming on a Linux server or Mac mini, then use the same assistant from your other devices.

One server belongs to one person. Its access token grants full access to that person's assistant and connected accounts. There is no registration or multi-user setup.

Requirement Detail
Computer Linux AMD64 or ARM64, or a Mac with Docker Desktop. Start with two CPU cores, 8 GB of memory, and 50 GB of disk.
Tools Docker Engine 25 or newer with Compose v2, OpenSSL, and sha256sum or shasum. Source builds also need Git.
Remote access An SSH tunnel, or a domain and inbound ports 80 and 443 for HTTPS.
Model Connect one after startup. No model key is needed to install the server.

Choose a cloud server or prepare a Mac mini. For the cloud steps in order, see Run Utming on a cloud VM. The suggested size is a starting point; simultaneous browser tasks and local models need more capacity.

Download a prebuilt bundle from a successful Self-host bundle workflow run. Open the run and check that the utming-server-linux-<architecture>-<commit> artifact is still listed. Workflow artifacts expire after 14 days. If none is available, build from source. The Self-host bundle workflow builds and validates each architecture natively before uploading its artifact. Its private server release job runs only after both architecture jobs succeed. Keep the downloaded bundle with your backups.

Published desktop utming-v* releases appear on the public Releases page. Server bundles use the workflow artifacts or a separately prepared private server release. Maintainers can also prepare a private server release, whose files don't expire.

Choose amd64 for Intel or AMD servers, or arm64 for Apple Silicon and ARM servers. The Docker Engine must use Linux containers.

Check the full source commit in the workflow run or release tag before downloading. Download only from GitHub while signed in. The bundle's checksums detect transfer corruption. Source commit IDs are 40 lowercase hexadecimal characters for SHA-1 repositories or 64 for SHA-256 repositories. Bundle checksums remain SHA-256 hashes, independently of the repository’s object format.

  1. Download the artifact named utming-server-linux-<architecture>-<commit> and extract its ZIP to get the .tar.gz bundle and its .sha256 file. From a private server release, download those two files directly.

  2. Transfer those two files to your server using SCP, SFTP, or your provider's file transfer. On a Mac mini, copy them to the Mac.

  3. Check the archive and unpack it. Replace the placeholders with the downloaded filename.

    Server
    sha256sum -c utming-server-linux-<architecture>-<commit>.tar.gz.sha256
    tar -xzf utming-server-linux-<architecture>-<commit>.tar.gz
    cd utming-server-linux-<architecture>
    sh install.sh

    On macOS, use shasum -a 256 -c instead of sha256sum -c.

  4. If the server is on another computer, first open an SSH tunnel. Open the address printed by the installer and enter UTMING_AUTH_TOKEN from the server's private .env. Finish onboarding to connect a model.

The installer checks the bundle and Docker architecture, loads its exact application images, generates private keys, and waits for a healthy stack. Each fresh installation gets its own Compose project name and data volumes. An existing .env keeps its keys, project name, and settings. PostgreSQL and the runtime helpers download from pinned public images, so installation needs internet access. The server needs no Node.js, Git, registry login, or GitHub credentials.

For another independent assistant on the same computer, use a fresh folder and a different PORT for each loopback installation. Run sh setup.sh before editing the new .env. Keep each installation's COMPOSE_PROJECT_NAME unchanged after its first start. Use Restore to move saved data into a new project.

Multiple HTTPS installations on one computer need a shared reverse proxy instead of the bundled HTTPS profile. That profile always uses host ports 80 and 443, regardless of PORT.

To configure a domain before the first start, run sh setup.sh, set UTMING_PUBLIC_URL in .env, then run sh install.sh --https. See Add public HTTPS for DNS and firewall setup.

  1. Get Utming's source and open the server folder.

    Terminal
    git clone https://github.com/inlevel9-com/utming.com.git
    cd utming/deployment/self-host
  2. Generate the configuration.

    Terminal
    sh setup.sh

    This creates a private .env with a server token, a Vault encryption key, and a database password. It preserves an existing .env and never prints the secrets. Keep these secrets in .env; unset shell overrides before running setup or Compose.

  3. Build and start the stack.

    Terminal
    docker compose up -d --build --wait

    The first build downloads dependencies and browser tools. Later starts reuse the images. Keep the terminal open until the command completes.

  4. If the server is on another computer, first open an SSH tunnel. Then open http://localhost:4310 on your computer. For a same-computer install, open that address directly. Copy UTMING_AUTH_TOKEN from the server's .env into the access form. Finish onboarding to connect a model.

This option compiles the application and its browser tools on the server. Use a prebuilt bundle to avoid that first build. Neither option needs a separately installed database.

On your own computer, open a tunnel to the server:

Your computer
ssh -L 4310:127.0.0.1:4310 <user>@<server-address>

Keep that connection open and visit http://localhost:4310. Leave UTMING_PUBLIC_URL at its local default for this setup. The token is still required.

To use another port, change PORT in .env and use that port in the tunnel and browser address. The default UTMING_PUBLIC_URL follows PORT.

  1. Point a domain, such as utming.example.com, at your server's public address. Allow inbound TCP 80 and 443.

  2. Edit the server's .env:

    .env
    UTMING_PUBLIC_URL=https://utming.example.com
  3. Start the HTTPS profile. For a bundle, run:

    Bundle installation
    sh install.sh --https

    For a source checkout, run:

    Terminal
    docker compose --profile https up -d --build --wait
  4. Open your HTTPS address and enter the server token.

Caddy obtains and renews the certificate. This profile accepts a DNS or IPv4 host with HTTPS on port 443. Use an existing proxy for a different HTTPS port or an IPv6 URL. Keep using --profile https when you operate this installation. If certificate setup fails, check DNS and whether the provider or router blocks ports 80 or 443.

The public URL must be an origin: scheme, hostname, and optional port. Paths, query strings, fragments, and embedded credentials are refused.

You can use your own HTTPS reverse proxy instead of the HTTPS profile, including an origin with a custom port such as https://utming.example.com:8443. Forward requests to the stack's loopback port 4310, or the port you set in PORT.

Preserve the public Host header and support WebSockets and streaming responses. Set UTMING_PUBLIC_URL to that exact HTTPS origin. Utming does not trust forwarded headers to decide which origin is allowed.

Keep the backend port private. Never expose PostgreSQL, the browser, the workspace, or the Docker connection.

Utming allows five minutes to receive a request body. This does not limit the duration of assistant responses or event streams. Configure your proxy's request limits to suit your connection and expected uploads.

On first launch, the setup screen is already open. If you've already set up Utming, reopen it from your desktop app's menu.

Click Utming in the Dock to bring the app to the front. In the macOS menu bar, open Utming next to the Apple menu and choose Replay onboarding…

At the bottom of the setup screen, choose Connect to a server. If the app already uses a server, the button says Change server. The connection screen explains how a server differs from running Utming on this computer and links to this guide and Run Utming on a cloud VM. Enter the server address and the value of UTMING_AUTH_TOKEN from the server's .env, then select Connect and restart app.

Use the server's HTTPS address. Utming accepts HTTP only for loopback addresses such as localhost. For an HTTP-only server on another device, open an SSH tunnel and enter http://localhost:<port> using the tunnel's local port (4310 by default).

The app uses the server's conversation, files, models, and connected accounts. Closing the app does not stop the server.

The app verifies the server before saving the token in your operating system's secure storage. It restarts into the remote assistant without starting a local runtime. The server owns the Composio identity and connected accounts, so another device reaches the same assistant without reconnecting those accounts.

The app's local assistant is separate. Connecting does not migrate its data. To return to it, choose Replay onboarding… → Change server → Use this computer. Connection changes are also available on the startup recovery screen if the server is unavailable.

Model and app connections run on the server too. Use addresses the server can reach; localhost inside a Docker installation refers to its server container, not the device running the client. For ChatGPT subscription sign-in, follow the remote callback instructions.

Open Apps and select Connect. For apps connected through Composio, Utming opens a sign-in page at your configured UTMING_PUBLIC_URL. Select Continue to and the app's name, such as Continue to Gmail, and finish authorization in the window it opens. Keep the first page open until the connection finishes. Allow popups for Utming if your browser blocks the sign-in window.

The sign-in page and callback use Utming's normal address and port. The SSH tunnel or HTTPS proxy you use to open Utming also carries app sign-in. You don't need to forward another port. With HTTPS, set UTMING_PUBLIC_URL to the exact address you open, such as https://utming.example.com.

After changing that address or restarting the server, start a fresh connection from Apps. Old sign-in pages cannot resume it. These steps also apply when your desktop app connects to the server. A desktop app running its own local assistant keeps its local sign-in flow.

Open Channels in Utming and follow Telegram and WhatsApp. Leave that channel's environment variables blank or unset to configure it in the app. Both share the server's assistant.

  • Telegram polling and the WhatsApp QR connection need outbound internet access. They can work without a public domain.
  • Telegram webhooks and Meta's WhatsApp Cloud API need a public HTTPS address.
  • Website sign-in and payment steps stay in Utming's web or desktop app.

For environment-managed channels, see the configuration reference.

flowchart LR
  client[Web or desktop app]:::accent --> proxy[HTTPS proxy]
  proxy --> server[Utming server]:::accent
  channels[Telegram or WhatsApp] --> server
  server --> db[(PostgreSQL)]
  server --> runtime[Restricted Docker connection]
  runtime --> workspace[Workspace container]
  runtime --> browser[Browser container]

The database, workspace, and browser stay private. Model keys and saved credentials stay with the server, outside the workspace and browser containers.

The workspace uses a separate firewall container. It blocks private and reserved IPv4 destinations, including cloud metadata services, and external IPv6 traffic. The workspace starts only after this firewall is ready. Keep the workspace-network service and its network settings when you change the Compose file. Its DNS requests use public resolvers at 1.1.1.1 and 8.8.8.8. These rules do not change the server's own connections to models or apps.

The stack uses named volumes for its persistent data. Recreating a container keeps those volumes. Deleting the volumes removes your data.

The containers restart when Docker starts. On a Mac, Docker Desktop starts after you sign in when its startup setting is enabled.

Follow Back up and update a server before your first update. Keep the Vault key with your backup; the database alone cannot recover saved credentials.