Skip to content

Web app

The web app lets people chat with Daimon's agents in a browser. Members also manage their own routines, and admins manage members, channels, credit, integrations and settings. Read this if you run the deployment.

Before you start

You need:

  • A running deployment. Follow Self-hosting first.
  • A public HTTPS hostname such as daimon.example.com, served by a reverse proxy you run.
  • Encryption keys in DAIMON_CRYPTO__KEYS. Sign-in tokens and saved keys are stored encrypted.
  • At least one sign-in method: the Discord, Slack or Microsoft login apps the deployment already has.

Turn it on

  1. Set DAIMON_WEB__PUBLIC_URL to the address people open, with no path.
  2. Set up sign-in, as described below.
  3. Start the web process. Run only one: it keeps running replies in memory, so stop the old process before you start a new one. A second process refuses to start.
docker compose --profile web up -d
  1. Point your proxy at 127.0.0.1:8780. Change the port with DAIMON_WEB__PORT. Let request bodies reach 25 MB, so file uploads get through.
  2. Check that https://daimon.example.com/healthz answers.

DAIMON_WEB__MODULES turns sections on or off for the whole deployment. Workspace admins can switch them off again for their own workspace under Admin > Settings.

Set up sign-in

The web app reuses the login apps the deployment already has, so there is nothing new to create. A method shows on the sign-in page once its app is set. Add each redirect URI to the app you offer:

Method App Redirect URI
Discord DAIMON_HUB__DISCORD_CLIENT_ID https://daimon.example.com/auth/discord/callback
Slack DAIMON_HUB__SLACK_CLIENT_ID https://daimon.example.com/auth/slack/callback
Microsoft DAIMON_MICROSOFT_ACCOUNTS__CLIENT_ID https://daimon.example.com/auth/microsoft/callback

People reach every workspace with Daimon installed where their account is a member: a Discord server, the Slack workspace they signed in to, or the Teams directory of the Microsoft app. Microsoft sign-in takes only accounts of DAIMON_MICROSOFT_ACCOUNTS__TENANT_ID. Their spend and memory are the same as in chat. Someone who leaves a Discord server or Slack workspace loses it in the web app at once. This needs the bot's member list, which Discord shares only with the Server Members intent. Until the list loads, or while the intent is off, the sign-in itself decides.

A signed-in member connects more chat accounts from the account menu. The workspace switcher then lists the workspaces of every connected account. A later sign-in with any of them, on any device, shows each one proven within 30 days. A workspace stays only while its synced member list still names the person, so an unsynced Discord or Slack workspace needs a fresh sign-in. Teams relies on the 30 days alone.

Profile lists the connected accounts and disconnects any but the one the session signed in with. Disconnecting one ends every session signed in with it and removes its people from the login's other sessions. A connection is refused wherever signing in with that account would be. So is a Microsoft guest account, or an account linked to another person in the workspace. Guests cannot connect.

Become the owner

A new workspace has nobody who can grant roles in the web app. Make yourself its owner with a one-time link:

  1. Sign in to the web app once.
  2. Find the workspace id, then create the link:
docker compose run --rm init "daimon tenants list --json"
docker compose run --rm web owner-link --workspace <tenant-uuid>
  1. Open the link in the same browser within a day. Change the time with --days.

From then on, invite people and grant roles under Admin > People.

Your profile

Everyone signed in opens Profile from the user menu. It lists what each agent remembers about you, with Forget, your sign-ins (Discord, Slack, Microsoft) and the accounts connected to you (Microsoft 365 and tool servers), each with a disconnect. Disconnecting deletes what Daimon holds; it does not revoke the grant at the other service. It also lists your coding keys, which you can revoke.

Delete my data shows what is deleted and what stays, the same list as /privacy. Type your name to confirm. An admin can pause deletion with DAIMON_PRIVACY__DELETE_ENABLED=false.

Connect agents to a data server

A connection node lets agent editors link an agent to a server that keeps its own agents and access rules. The server must already be a signed-identity server in DAIMON_MCP_IDENTITY__SERVERS, with DAIMON_MCP_IDENTITY__SIGNING_KEY set. Name it in the DAIMON_WEB__NODES__DATA_SERVER__* settings:

DAIMON_WEB__NODES__DATA_SERVER__IDENTITY_SERVER=data
DAIMON_WEB__NODES__DATA_SERVER__CLIENT_ID=daimon-web
DAIMON_WEB__NODES__DATA_SERVER__CLIENT_SECRET=...

The MCP service reads the same settings, so chat can add the server's skills.

Connecting an agent links its agent on the server and attaches the server's MCP relay to it. Linking fails when another person manages that agent. Disconnecting removes the relay and keeps the server's agent. Only people who may edit the agent connect or disconnect it.

The web app acts on the server as the signed-in person. It gets their token by RFC 8693 exchange at the server's /oauth/token, as the OAuth client above. The subject token is a JWT signed with the identity key: iss is the entry's issuer, aud its audience, sub the Discord account and ws the workspace, such as discord:123. Only workspaces the entry serves get a token or see the node at all. A refused exchange is tried again after five minutes.

Agent setup beyond the config

On an agent's canvas, its owners and admins also see:

  • Keys: stored key names. Values never come back. A key can only be made for people who may run the agent.
  • Access via MCP: ways to reach the agent from a coding tool. A Tool select picks Claude Code, Codex, Cursor, Pi or Other MCP, each with one prompt to copy into it. Its code works once and ends after 10 minutes. The panel shows when the tool has connected or that the prompt expired, with New prompt for a fresh one. The prompt names the agent only by a daimon- server key. The Token option makes a key by hand, shown once. Either way the key lists its tool.
  • Knowledge: the agent's shared memory to read. Admins also read each channel's memory.
  • People: owners and co-owners. Admins change them.
  • Tools: admins set the agent's own tool rules, including for Daimon's own tools and for routines. They need tool safety and agent_rules on. A channel's rules are in that channel's settings.
  • Google Workspace: the identity an operator bound to the agent, read-only.

Admins can archive or copy an agent from its menu, and manage the workspace's skills and sandbox environments under Agents > Skills and Environments. Syncing skills from GitHub reads public repositories only; a private one needs an agent's grant, made in chat. Copying an agent that runs on another provider than the default is refused.

The model editor and the chat header list every model with its provider and price. A pick on another provider shows what changes and asks once. Admins can pin a channel to such a model from its page, and Switch back to Claude appears on a refused reply. See model providers.

Admin settings and audit

Admins change the workspace's rules under Admin > Settings. The same checks apply as in chat, and each change is recorded.

  • Access: who may start turns, direct messages, read-only memory in DMs and typed mentions. Direct messages show on Discord, Slack and Teams.
  • Providers: which model providers the workspace may use.
  • Web chat agent: the agent a new web chat opens with. It is not the workspace's default agent in chat.

Admin > Overview shows the workspace's health: what needs attention, people, agents and recent activity. Admin > Issues lists failed answers, direct messages, routines, deliveries and watches, one row per kind of failure. Open one to see its events, a link to the conversation, and Copy link. Owners and admins can mark it resolved, muted or open again; a resolved one returns if it happens again. No message content is kept. Admin > Audit lists changes made in the web app together with chat tool calls and panel writes. Filter by source, person, action and date.

Admin > Feedback counts thumbs and the reasons people gave for each agent over 7, 30 or 90 days. It shows counts only, never a message or who voted.

Troubleshooting

Symptom Fix
A sign-in button is missing Set that method's app: DAIMON_HUB__DISCORD_*, DAIMON_HUB__SLACK_* or DAIMON_MICROSOFT_ACCOUNTS__* (client id, secret and, for Microsoft, tenant id).
A provider reports a redirect URI mismatch Register the exact URI above.
Sign-in works but writes fail with "Cross-site request refused." DAIMON_WEB__PUBLIC_URL must match the address in the browser exactly.
A data server says it didn't accept your sign-in Check the node's client and that the server trusts the identity key. Retries wait five minutes.