How Shipmate works, and how to run it.
Set up an agent in the browser, connect your chat, choose its model, and see what it does. Self-hosting without the web app? Every setting is in the appendix at the end.
Hosted Shipmate is in early access at app.getshipmate.dev. Sign-in is by invitation for now: join the list and we’ll invite you.
Overview
Shipmate is a DevOps agent that lives in your team’s chat: Slack, Discord or Microsoft Teams. Ask it in plain words to check a deploy, look into an alert or make a change. It works with the access an engineer would have, through your repos, pipelines, logs and metrics, and it proves each change before it calls the change done.
Each agent is one long-lived session on Anthropic’s Claude models, through model access you own. Every chat message, scheduled check and CI call becomes a turn in one queue, so the agent that watched a deploy in one channel can connect it to a latency question in another.
You can run it in two ways: hosted, where we run it for you, or self-hosted, in your own infrastructure. It’s the same agent, from the same release, either way. See Get started.
From message to verified change
| Step | What happens | Held in place by |
|---|---|---|
| Arrive | Someone on the allowlist mentions Shipmate or sends it a DM. On Slack and Discord the gateway reacts 👀 the moment the message is queued. Teams has no reactions, so there it shows that it’s typing. | Per-platform allowlists that fail closed: an empty list means nobody. |
| Queue | Chat messages, scheduled checks and CI triggers line up for the one agent session, one turn at a time. A reply waits for everything its turn started: the agent’s helpers run side by side inside the turn, and nothing reports after the reply. When it needs to wait for something, it schedules a follow-up: a turn of its own later, in the same queue, whose reply goes to the same thread. | Gateway code, not the model. |
| Work | It reads your repos, logs and metrics and runs commands in its container, following a runbook where one fits. After a minute, one status line in the thread says how long it’s been and what it’s doing, and stays current. | The container it runs in, and the credentials you give it. |
| Check | Every tool call passes Shipmate’s policy first: approval rules, verification, protection of its own config, and the audit log. | Code outside the model, reading config the agent can’t write. |
| Prove | Before a deploy, apply, restart or merge it names the environment; after it, it verifies the change and reports pass or fail with the evidence, pending while a check is still running, deferred when you asked to leave it for later, or skipped when it can’t be verified. | The verification gate: in production the next change waits for a pass. |
| Reply | It answers in a thread on Slack, and in the channel on Discord and Teams. The gateway adds the verdict line and closes the status line. On Slack and Discord it swaps 👀 for ✅ when nothing changed or the change was verified, ❔ when a check is pending, deferred or skipped, and ⚠️ when a check failed or the turn failed or was stopped. On Teams the status line becomes “⏱ Done in N min.” A turn stopped for making no progress posts what it had so far; reply “continue” to pick it up. | Gateway code. On Slack and Discord, no 👀 at all means the agent is down or you’re not on the allowlist. |
What it learns lives on a memory volume of its own: what is true now, the state of each system, its runbooks, incident write-ups and a monthly log (see How it improves itself). It writes them as it goes, so its context survives restarts and long sessions.
Get started
There are three ways to start: hosted, or self-hosted on Kubernetes or on one host. The first two set it up in the browser, with the same wizard.
- Hosted
- app.getshipmate.dev We run the agent for you, in a namespace of its own. Early access, by invitation. See Hosted.
- Your cluster
- Shipyard on Kubernetes The same web app, on your own cluster and in your own network. See Shipyard on your Kubernetes.
- One host
- Docker Compose One agent and its console on a VM, set up in a file instead of the browser. See One agent with Docker Compose.
Before you start
- Model
- Anthropic’s Claude An Anthropic API key, or Claude through Amazon Bedrock, Google Vertex AI or Microsoft Foundry. A solo founder can use their own Claude subscription. See Model access.
- Chat
- One platform A Slack app, Discord bot or Teams bot of the agent’s own. Never reuse another bot’s token. Microsoft Teams is Enterprise on hosted; self-hosted, follow the guide. See Connect your chat.
- Access
- The least it needs Read access to your logs and metrics, a read-only kubeconfig, a Git token that can open pull requests but can’t push to protected branches, and permission to run your CI workflows. Keep production credentials in CI. See Read-only access.
- Self-hosted
- A box of its own linux/amd64: a VM of its own for Docker Compose, or a Kubernetes cluster with a node pool of its own. Shipmate runs as root and owns that box.
- Images
- ghcr.io/roundbeat-ai Released images, the Helm chart and the Shipmate repository (which the Compose setup runs from) are private during early access. We give your team access on request when you join.
Hosted
Hosted Shipmate runs at app.getshipmate.dev. It’s in early access, and sign-in is by invitation for now: join the list and we’ll invite you.
- Follow the link in your invitation to create your account. After that, sign in at app.getshipmate.dev.
- Create your team, or join the one you were invited to. A team of one is fine. A team sees only its own agents.
- On the Fleet page, choose Commission an agent. The wizard asks for a name, model access and your chat platform, then a few optional extras (see the wizard).
- On the last station, check everything and choose Launch. Shipyard creates the agent’s namespace and starts it, and a checklist lights up as each step is done. You can leave the page: the launch carries on.
- When it says Launched, say hello to your agent in chat. If Shipyard generated an SSH key for it, copy the public key now: it’s shown once.
- Admins and members. Your team’s admins commission agents, change their config, secrets and model access, and delete them. Members see the team’s agents and restart them. Switch teams, create one, or invite people from the team menu at the top of the page.
- Limits. During early access each team runs a set number of agents, at the Small and Medium sizes, and one person may launch at most two agents across all their teams. The Fleet page shows the team’s count, for example “1 of 1 agent for this team”.
- Chat. Slack and Discord connect from the wizard. Microsoft Teams is Enterprise on hosted: we set up the bot’s public route and the Teams app with you (see Microsoft Teams).
- What it can reach. A hosted agent reaches the public internet, never a private network. The hosts, dashboards and APIs you give it must be reachable from the internet. See Hosted agents.
The wizard, station by station
Hosted Shipmate and Shipyard on your own cluster use the same wizard. Each station is one screen, and Next checks it before you move on.
| Station | What you set |
|---|---|
| Name | The agent’s Name: 2 to 30 lowercase letters, digits and hyphens, starting with a letter. It becomes the agent’s address in Shipyard and part of its namespace: agent-<name> on a Shipyard you run, agent-<team hash>-<name> for a hosted team. Its Teammate name, what your team calls it in chat. Your shipmate, how it looks in Shipyard; the look changes nothing it can do. Its Size (Small, Medium or Large: CPU, memory and storage; start small. CPU and memory can be changed later; the volumes keep the size they were created with) and its Release. |
| Engine | How it reaches a model, and which model. See Model access. And Incident investigation: which model its investigators use when it checks an incident’s leads in parallel (see Incident investigation). |
| Crew | The chat platform, its tokens and who may talk to the agent, plus an optional Home channel and Post channels. See Connect your chat. |
| Keys | An SSH key for the hosts it may log in to: Generate a key (recommended), or Paste a private key without a passphrase. A generated key is made by Shipyard and written straight into the agent’s Secret; its public half is shown once, after launch: add it to ~/.ssh/authorized_keys on each host the agent may reach. |
| Instruments | Optional. Grafana address and Grafana API key, a service account token with the Viewer role, so it can read your dashboards and metrics but not change them. And Let the agent use a browser (see Browser and screenshots). |
| Chart | Optional. A fine-grained GitHub token, limited to the repositories the agent should read. Add pull-request write if it should propose changes. |
| Extra env | Optional. Anything else the agent’s tools need, as environment variables, such as a PagerDuty token. Model access and Shipyard’s own keys can’t be set here. Most agents need none. |
| Launch | A review of every setting, with each secret shown only as set. Launch creates the namespace and starts the agent. |
Secrets go in and never come back out: after launch, Shipyard shows only which ones are set. The agent’s page has three tabs. Status shows the launch steps, the pod and its events. Config changes its teammate name, look, model, incident investigation, rich cards, log level, chat settings, home and post channels, browser, release and size (see The Config page). Secrets changes model access, tokens and the SSH key, and every save there restarts the agent. Restart and Delete are at the top of the page; Delete removes the namespace, memory included.
The Config page
Every field on an agent’s Config tab says what saving a change to it does: Restarts the agent or Applies right away. Before you save, the bar under the form says the same for everything you changed: “Saving restarts the agent (about 30 s). Messages sent meanwhile wait and are answered after.” After a save that restarts it, your shipmate ducks below deck while the agent restarts, with the seconds counting, and climbs back on deck with a wave once it’s running again. If that takes more than a minute and a half, it says it’s taking longer than usual; if the agent doesn’t come back, it says why. The Restart button and every save on the Secrets tab show the same.
Besides the teammate name, look, model, chat, channels, browser, release and size, the Config page has these settings. Each one sets an environment variable, named under its field, for anyone who runs agents without Shipyard.
| Setting | What it does | Default, bounds |
|---|---|---|
| Incident investigation | Which model its investigators use (see Incident investigation). SHIPMATE_INVESTIGATION_MODE. | Balanced; Thorough, Balanced or Frugal |
| Investigators at once | How many leads it checks at the same time. SHIPMATE_INVESTIGATION_MAX_PARALLEL. | 4; 1 to 8 |
| Rich cards | Whether it posts incidents, rollouts, pull requests and verifications as cards, or as plain text (see Cards in chat). SHIPMATE_RICH_CARDS. | On; On or Off |
| Log level | How much it logs. Debug adds chat IDs, never message text. SHIPMATE_LOG_LEVEL. | Info; error, warn, info or debug |
| Advanced: stop a stuck turn after | Minutes without progress before a turn is stopped. SHIPMATE_TURN_IDLE_TIMEOUT_MS, in milliseconds. | 10 minutes; 1 to 1440 |
| Advanced: longest turn | Minutes any one turn may run. SHIPMATE_TURN_MAX_MS, in milliseconds. | 60 minutes; 1 to 1440 |
| Advanced: setup replay | Seconds the start-up replay of setup.sh may run. SHIPMATE_SETUP_TIMEOUT. | 900 seconds; 30 to 7200 |
Without a restart. From release 0.3.3, Incident investigation, Investigators at once and the log level apply within a minute, with no restart, and Rich cards does from release 0.3.6: Shipyard writes them to a Secret of their own, mounted in the agent’s pod as a file the agent re-reads, so the pod stays as it was. A new investigation mode reaches the investigators from the next investigation, once nothing is running. Every other field restarts the agent.
A setting with a field on the Config page lives only there: Extra env refuses its name (“Set this on the Config page”). An agent whose Extra env already sets one, from before the field existed, shows that value on the Config page with a note, and the next save of either tab moves it there. A setting a release doesn’t read yet (Incident investigation and Investigators at once before 0.3.3, Rich cards before 0.3.6, the log level before 0.3.0) is kept, and applies once the agent runs a release that reads it.
Shipyard on your Kubernetes
Shipyard is the web app hosted Shipmate runs on, and it runs on your own cluster too. Each agent gets a namespace of its own, with one pod, its own secrets and its own memory. Shipyard installs each agent from the Shipmate Helm chart, through Flux.
- Install Shipyard in your cluster. It needs Flux’s source and Helm controllers, because it writes a chart source and a Helm release for each agent and Flux installs them. It runs from the
ghcr.io/roundbeat-ai/shipmate-shipyardimage, released with the agent, with a pull secret for the private images in its namespace. During early access the repository and images are private, and we set Shipyard up with your team on request. - Open Shipyard’s address and paste the admin token. Shipyard stores only the token’s hash and keeps you signed in with a session cookie; your web browser never stores the token.
- Choose Commission an agent, go through the wizard, and launch.
A Shipyard you run has one operator, who sees every agent, and no team limits. Its agents keep your cluster’s network by default, so they can reach internal dashboards and hosts. Shipyard can give them the same network policy as hosted agents instead (see Shipyard’s settings); it takes effect only where your network plugin enforces NetworkPolicy.
One agent with Docker Compose
The minimal path: one agent and its console on one host, from a checkout of the Shipmate repository. There’s no wizard: you set it up in a .env file. Run Compose from the repository root, because it reads the console’s token from the .env there.
# model access, the console's token, your chat platform and who may talk to it
cp .env.example .env
docker compose up -d --build
curl http://127.0.0.1:8787/healthz
# then open the console at http://localhost:5273
Fill in .env before the first start. The Docker Compose settings in the appendix list the least it needs, and what every other setting does.
- Every published port binds to
127.0.0.1only:8787is the management API,5273the console, and3978the Teams webhook, always published but used only when Teams is connected. Your team talks to Shipmate in chat, not over HTTP. - Shipmate runs as root on a writable filesystem and owns its container: it installs the tools it needs. What should outlast a restart lives on the workspace volume (see How it improves itself).
- Memory lives in the
shipmate-memoryvolume, and scheduled checks, tools and the audit log inshipmate-workspace.docker compose down -vresets the agent, memory included. - Don’t run a second copy on the same bot token. On Discord both copies answer every message; on Slack they split the messages between them.
Want one agent on Kubernetes without Shipyard? See the Helm chart in the appendix.
Connect your chat
Connect the platform your team already uses, at the wizard’s Crew station. The wizard connects one platform per agent, for now: choose Slack, Discord or Microsoft Teams. A gateway you run yourself can connect several side by side. Every channel and DM on it feeds the same agent and the same memory, so connect internal channels only.
- Allowed users. Each platform has a list of the people who may talk to the agent. It fails closed: nobody else can, and an empty list means nobody. The agent reads the lists when it starts, so a change takes effect after a restart; saving the Config tab restarts it.
- Home channel (optional). Where escalations and alerts go:
platform:idlikediscord:1234. A bare channel name likeopsworks on Slack only. The easiest way to set it is to say@Shipmate sethomein that channel after launch. - Post channels (optional). Other channels the agent may post to besides the conversation it’s answering, as
platform:id: for a runbook or a check that says “post to the team channel”. The home channel is always allowed; nothing else is, and a turn can post at most five times.
Microsoft Teams: Enterprise on hosted; self-hosted, follow the guide. On hosted Shipmate, Teams is part of Enterprise: Teams needs a public route to each agent and a Teams app your tenant’s admin uploads, so we set those up with you. Without Enterprise the wizard shows Teams greyed out; contact us to add it. Self-hosted, nothing is gated: run your own bot and route with the Teams guide. Slack and Discord are self-serve either way.
For each platform below: what to create on the platform’s side, then what to paste into the wizard. You can change these later on the agent’s Config and Secrets tabs. Self-hosting without the web app? The same settings are chat platform variables in the appendix.
Slack
Slack connects over Socket Mode, so the agent needs no public URL. In Slack:
- At api.slack.com/apps, choose Create New App, then From an app manifest, and paste the manifest below.
- Under OAuth & Permissions, install the app to your workspace, then copy the Bot User OAuth Token. It starts with
xoxb-. - Under Basic Information, App-Level Tokens, generate a token with the
connections:writescope. It starts withxapp-. - For each person who may talk to the agent, copy their member ID: open their profile, then ⋯ (More), then Copy member ID. Or ask them to DM the agent: from release 0.3.11, someone who isn’t on the list gets a reply with their own ID (see Check it’s connected).
display_information:
name: Shipmate
description: DevOps teammate in your chat
features:
bot_user:
display_name: shipmate
always_online: true
oauth_config:
scopes:
bot:
- app_mentions:read
- channels:history
- channels:read
- groups:history
- groups:read
- chat:write
- files:write
- im:history
- reactions:write
- users:read
settings:
event_subscriptions:
bot_events:
- app_mention
- message.im
- message.channels
- message.groups
interactivity:
is_enabled: true
socket_mode_enabled: true
In the wizard, choose Slack and fill in:
| Field | What to paste |
|---|---|
| Bot token | The Bot User OAuth Token (xoxb-…). |
| App-level token | The app-level token (xapp-…). |
| Allowed users | Slack member IDs (U…), comma or line separated. |
After launch, invite the bot to your ops channel with /invite @shipmate, then say @shipmate sethome there.
On Slack, once Shipmate has replied in a thread you can keep talking there without mentioning it. It never answers general channel chatter. The files:write scope lets it post screenshots and other images into the thread, and users:read lets it name who sent a message, on approval cards for example. If you created the app before, add those scopes (or paste the manifest again under App Manifest), then reinstall the app to your workspace.
Discord
Discord connects out over Discord’s gateway, so it needs no public URL either. In the Discord Developer Portal:
- Create a new application at discord.com/developers/applications. On General Information, copy its Application ID.
- Under Installation, set Install Link to None. Under Bot, reset the token and copy it (it’s shown once), turn Public Bot off, and turn on the Message Content intent. Shipmate doesn’t need Server Members.
- Invite it with
https://discord.com/oauth2/authorize?client_id=<APPLICATION_ID>&scope=bot&permissions=309237746752. That allows viewing channels, sending messages and threads, reading history, adding reactions and attaching files. Nothing administrative. - Turn on Developer Mode (User Settings, Advanced). Then right-click each person who may talk to the agent and choose Copy User ID. Or ask them to DM the agent: from release 0.3.11, someone who isn’t on the list gets a reply with their own ID (see Check it’s connected).
In the wizard, choose Discord and fill in:
| Field | What to paste |
|---|---|
| Bot token | The token from the Bot page. Use the agent’s own bot: never reuse another agent’s token. |
| Application ID | From General Information. |
| Allowed users | Discord user IDs, comma or line separated. |
| Channels (optional) | Listen only in these channel IDs; threads follow their channel. Empty: every channel the bot can see. DMs from allowed users always work. |
| Open channels (optional) | Channels where anyone may mention Shipmate, not just the allowed users. Their messages reach the agent marked access:open-channel, so it answers questions but routes change requests to someone who may make them. DMs, sethome, admin and verify stay allowlist-only. |
| DM users (optional) | Who may DM Shipmate. Empty: anyone on the allowlist. |
| Alert channels (optional) | Channels where other bots and webhooks post alerts (BetterStack, uptime monitors, vmalert relays). Each alert becomes a check: 👀 on the alert, the answer in a thread on it (alerts are the one place Shipmate opens a thread on Discord), then ✅, ⚠️ or ❌, and an escalation also goes to the home channel. With this set, a bot or webhook that mentions Shipmate counts too: anywhere it can read, or only in the listed Channels when those are set. The alert text reaches the agent as untrusted data. At most three alerts per channel wait in the queue, and later ones are skipped (⏭️). That limits how many wait at once, not how many arrive, so list only channels where monitors post. |
After launch, say @Shipmate sethome in your ops channel.
On Discord, every message must mention Shipmate or be a DM. It replies in the channel, not in a thread of its own. Tables arrive as aligned code blocks and charts as a table of the data, because Discord has neither natively.
Microsoft Teams (Enterprise on hosted)
Slack and Discord connect out from the agent. Teams works the other way round: Microsoft posts each message to your agent, so the agent needs a public HTTPS endpoint. You set it up in four places: the Azure portal (a bot), your network (the public route), the Teams Developer Portal (an app that wraps the bot), and Shipmate. Work through the steps in order; each one says what to keep for the next.
Before you start, you need:
- Teams for work or school, not Teams Free. Personal Teams, signed in with a Microsoft account, has no Apps page or custom-app upload, and bots can’t reach it. You need a Microsoft 365 subscription that includes Teams, for example the Microsoft 365 Business Basic trial. The Azure Bot must be single-tenant in that same tenant (step 1). A bot made for the wrong tenant can’t be moved: you recreate it.
- An Azure subscription. The bot is an Azure resource. The free pricing tier (F0) is fine to start with.
- A Microsoft 365 tenant where you can upload custom Teams apps. Your company’s tenant, if an admin allows it (step 5 says what to ask for), or a developer tenant of your own; the Microsoft 365 Developer Program offers one to those who qualify. The bot is single-tenant, so only people in that tenant can talk to it.
- A public HTTPS address that reaches the agent. A tunnel, or an Ingress on your cluster (step 4). Microsoft won’t post to plain HTTP.
Step 1. Create the Azure Bot
- At portal.azure.com, choose Create a resource, search for “bot”, pick Azure Bot, and choose Create.
- Bot handle: a unique name. It can’t be changed later. Choose your Subscription and Resource group (make a new group if you like), and set Pricing tier to Free (F0) for testing. Leave data residency on Global unless you need a region.
- Under Microsoft App ID, set Type of App to Single Tenant and Creation type to Create new Microsoft App ID. Single tenant is the right choice for your own organisation, and now the only one: Microsoft stopped allowing new multi-tenant bots after 31 July 2025 (existing ones keep working). Don’t pick User-assigned Managed Identity: Shipmate signs in with a client secret, which that type doesn’t have.
- Choose Review + create, then Create. When the deployment finishes, choose Go to resource.
- Open Settings, then Configuration. Copy the Microsoft App ID and the App Tenant ID. You’ll paste both into Shipmate in step 6.
Step 2. Make a client secret
- On the same Configuration page, choose Manage Password next to Microsoft App ID (some portal versions label it just Manage). That opens the bot’s app registration at Certificates & secrets.
- Under Client secrets, choose New client secret, give it a description such as “shipmate”, pick an expiry, and choose Add.
- Copy the Value now. It’s shown once: leave the page and only a masked version remains, so you’d make a new secret. The Secret ID next to it is not the password, and pasting it is the most common mistake.
- Note the expiry date. When the secret expires the agent still receives messages but can’t answer, and its log shows Teams errors. Before then, make a new secret and replace the App password in Shipmate (the Secrets tab in Shipyard, or
.envand a recreate with Docker Compose).
Step 3. Turn on the Teams channel
- In the Azure Bot, open Channels and choose Microsoft Teams.
- Read and accept the terms of service. On the Messaging tab, choose your cloud environment (Microsoft Teams Commercial for most tenants).
- Choose Apply. Without this step Teams delivers nothing to the bot, and nothing reports an error.
Step 4. Give the agent a public endpoint
The bot’s messaging endpoint is https://<public-host>/api/messages. The path is always /api/messages. The agent listens for it on its Teams port, 3978, and every request must carry a Microsoft-signed token issued for your App ID; anything else gets a 401. Only that path needs to be reachable from outside. The <public-host> comes from the route you build here:
- Docker Compose. The Teams port is published on
127.0.0.1:3978, on the host only. Put a tunnel in front of that port and nothing else. Either of these works.
# Cloudflare Tunnel, quick version: the address changes every time it starts, so testing only.
# For a fixed address, make a named tunnel and route a hostname to http://127.0.0.1:3978.
cloudflared tunnel --url http://127.0.0.1:3978
# Tailscale Funnel: https://<machine>.<tailnet>.ts.net (Funnel must be on for your tailnet)
tailscale funnel 3978
- Shipyard on your own cluster. Shipyard doesn’t create the route, and the agent’s Service exists only once the agent has launched with Teams chosen. So do step 6 first, then come back here. The Service is named
shipmate, in the agent’s namespace (agent-<name>; for a team’s agent it’sagent-<team hash>-<name>, whichkubectl get ns | grep agent-shows), and its Teams port is namedteams, port3978. Add an Ingress or an HTTPRoute to it, on that one path. The agent’s network policy already admits the Teams port from any source, and the token check is what keeps others out.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: shipmate-teams
namespace: agent-<name>
spec:
ingressClassName: nginx # your ingress class
tls:
- hosts: [shipmate-teams.example.com]
secretName: shipmate-teams-tls # from cert-manager or your own certificate
rules:
- host: shipmate-teams.example.com
http:
paths:
- path: /api/messages
pathType: Exact
backend:
service:
name: shipmate
port:
name: teams
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: shipmate-teams
namespace: agent-<name>
spec:
parentRefs:
- name: <your-gateway> # its listener must allow routes from this namespace
namespace: <gateway-namespace>
hostnames: [shipmate-teams.example.com]
rules:
- matches:
- path: { type: Exact, value: /api/messages }
backendRefs:
- name: shipmate
port: 3978
- The Helm chart by hand. The Service is named after your release,
<release>-shipmate(seekubectl get svc). Use that name in the same Ingress.
Then paste the URL into the Azure Bot: Settings, Configuration, Messaging endpoint, and choose Apply. You can do that before the agent is running. To check the route once it is, run curl -i -X POST https://<public-host>/api/messages: a 401 means the request reached the agent, which is what you want without a Microsoft token. A timeout, 404 or 502 means the route isn’t reaching it. On a tunnel, https://<public-host>/healthz answers ok too.
Step 5. Build the Teams app and upload it
- Open the Teams Developer Portal (dev.teams.microsoft.com) and sign in with a work account from the tenant you’ll use. Choose Apps, then New app, and name it, for example Shipmate.
- Under Basic information, fill in the fields marked required: descriptions, developer name, website, and privacy and terms-of-use links. For an app only your organisation uses, placeholder https addresses are fine.
- Under App features, choose Bot, then “Enter a bot ID” and paste the Microsoft App ID from step 1. Tick the scopes Personal (one-to-one chat), Team (channels) and Group chat, and save.
- Under Publish, choose Download the app package. It’s a
.zip. Or choose Preview in Teams to open the app for yourself right away. - In Teams, choose Apps, then Manage your apps, then Upload an app, then Upload a custom app, and pick the
.zip. Choose Add, then Open for a personal chat, or pick a team or chat to add it to.
Step 6. Give Shipmate the bot’s details
In the wizard, choose Microsoft Teams and fill in the fields below. With Docker Compose, put the variable in .env instead, then recreate the container (a restart isn’t enough): docker compose up -d --force-recreate shipmate. With the Helm chart by hand, teams.enabled, teams.appId and teams.tenantId are values, and SHIPMATE_TEAMS_APP_PASSWORD goes in the Secret.
| Field | What to paste |
|---|---|
Microsoft App IDSHIPMATE_TEAMS_APP_ID | The Microsoft App ID from the Azure Bot’s Configuration page (step 1). It’s a GUID. |
App passwordSHIPMATE_TEAMS_APP_PASSWORD | The client secret’s Value (step 2), not its Secret ID. |
Tenant ID (optional)SHIPMATE_TEAMS_TENANT_ID | The App Tenant ID from the Configuration page (step 1). A single-tenant bot, which is what Azure creates now, needs it: without it the agent can’t get the token it needs to answer. Leave it empty only for an older multi-tenant bot. |
Allowed usersSHIPMATE_TEAMS_ALLOWED_USERS | Teams user IDs (29:…), comma or line separated. You find yours in step 7, so launch with the list empty and add it afterwards. Empty means nobody can talk to the agent. |
Docker Compose’s Teams port is SHIPMATE_TEAMS_PORT (3978 by default). Once the agent is up, its log should say "msg":"chat layer started" with teams among the platforms (see Check it’s connected).
Step 7. Allow yourself
- In Teams, message the bot once, for example “hi”. In a channel or group chat write
@Shipmate hi(Teams only passes mentions to a bot there). You’re not on the allowed users list yet, so it doesn’t run your request. - Get your ID. From release 0.3.11, the agent answers a 1:1 chat with “I can’t take requests from you yet” and your ID in a code span. Teams has no message that only you can see in a channel or group chat, so there the agent says nothing: message it in a 1:1 chat. It replies once a day to each person, and no more than 20 times an hour in all. On an older release, or if you’d rather read the log, the agent logs “ignored a message from a sender not on the allowlist”, with your ID as
allowlistId: read it with the commands below. It’s logged once per ID until the agent restarts, so if you missed it, restart the agent and message again. Copy the whole ID either way: it starts29:and is about 100 characters, so it’s easy to cut short. - In Shipyard, open the agent, then Config, Microsoft Teams, and paste the ID into Allowed users. Save: that restarts the agent, which is when it reads the list. Before Shipyard 0.3.10 the form refused IDs over 64 characters, so use a newer release. On Docker Compose, put it in
SHIPMATE_TEAMS_ALLOWED_USERSand recreate the container. For several people, separate the IDs with commas. - Message the bot again. It should answer.
# Docker Compose
docker logs shipmate 2>&1 | jq -R -r 'fromjson? | select(.allowlistId and .platform=="teams") | .allowlistId'
# Shipyard on your cluster
kubectl -n agent-<name> logs deploy/shipmate | jq -R -r 'fromjson? | select(.allowlistId and .platform=="teams") | .allowlistId'
On hosted Shipmate, once it can receive Teams, you can’t read the log: use the agent’s reply (release 0.3.11 or later), or ask us for the ID.
It has to be this Teams ID. The agent compares the sender’s ID exactly as Teams sends it to the bot, so an Entra object ID (from Graph Explorer’s GET /me or the Entra admin center), an email address or a user principal name never matches. And the ID belongs to this bot: if you delete the Teams channel on the Azure Bot and add it again, Teams issues new IDs, and you repeat this step.
Step 8. Check it works
- In the Azure Bot, choose Test in Web Chat and send a message. That only proves the inbound route, Azure to your endpoint to the agent, without Teams. You won’t get a reply, because the Web Chat sender isn’t on the allowlist and Web Chat isn’t a 1:1 Teams chat, where the agent would tell you the ID, but Web Chat shouldn’t show an error, and the agent’s log should gain an “ignored a message from a sender not on the allowlist” line. Don’t add that ID. The next step tests the reply.
- In Teams, send the bot a message from an allowed account. This tests the reply too, which needs the secret and tenant. You should see it typing, then the answer. In a channel, mention it:
@Shipmate hello. - To tell whether a message reached the agent at all, look for a chat line in its log: “chat message received” for an allowed sender, or “ignored a message from a sender not on the allowlist” for anyone else. If neither appears, work through the table below.
- In your ops channel, say
@Shipmate sethomeso escalations and alerts have somewhere to go.
What’s different in Teams
- No 👀 or ✅. Teams doesn’t let bots react to messages, so there’s no reaction when Shipmate picks up your message. You see it typing… straight away instead. On a long job a status line follows and ends as “⏱ Done in N min.” in place (Teams would leave a “This message has been deleted” note if it were removed). If something fails, it says so in a reply.
- Mention it in channels and group chats. Teams only sends a bot the messages that @mention it, so every message to Shipmate in a channel or group chat needs
@Shipmate, follow-ups in a thread included. A 1:1 chat needs no mention. - No private notes. Teams can’t show a message to one person in a channel. If someone who isn’t an approver clicks Approve, the “Only … can approve …” note goes in the thread; and someone not on the allowlist is told their ID only in a 1:1 chat.
- Don’t give the app “read all channel messages” (the
ChannelMessage.Read.Grouppermission). Shipmate treats every channel message Teams delivers as addressed to it, which is only right while Teams delivers @mentions alone.
If something doesn’t work
| What you see | Why, and what to do |
|---|---|
A 401 from the agent, or Web Chat shows an error | A 401 to a call with no Microsoft token (your own curl) is correct. A 401 to Microsoft’s calls means the Microsoft App ID in Shipmate isn’t the bot’s. Incoming requests are checked only for Microsoft’s signature and that App ID, so compare it with the bot’s Configuration page. The secret and the Tenant ID don’t cause a 401: see the row on messages that arrive but get no answer. |
| Messages never arrive: no reply, and nothing in the agent’s log | Work back from Azure. Is the messaging endpoint saved (Apply) and exactly https://<public-host>/api/messages? Is the Teams channel on (step 3)? Is the tunnel or route up (the curl in step 4 gives 401)? A quick Cloudflare tunnel gets a new address every time it starts. Does the log’s “chat layer started” line list teams? If not, the container was restarted, not recreated. Use Test in Web Chat to split Azure from Teams. If it worked before, the tunnel address may have changed: update the messaging endpoint. |
| The bot isn’t in Teams, or can’t be added | The app isn’t uploaded or installed yet (Apps, Manage your apps), the bot ID in the Teams app isn’t the Azure Bot’s App ID, or the tenant blocks custom apps. Ask an admin for the settings in step 5, and allow up to a day. |
| Messages arrive but the agent ignores them | The sender isn’t on the allowed users list. From release 0.3.11 the agent tells a 1:1 chat its sender’s ID; on any release the log has “ignored a message from a sender not on the allowlist”, with the ID in allowlistId: add it (step 7). In a channel or group chat, mention the bot too; the agent can’t answer there, so take the ID from a 1:1 chat or the log. |
| Messages arrive but it never answers, or it stopped answering | The agent receives the message but can’t send the reply, and its log shows Teams errors. Replies need the secret and the tenant, so check them: paste the secret’s Value rather than its Secret ID, make a new secret if it has expired (step 2), and set the Tenant ID for a single-tenant bot (empty only for a multi-tenant one). Then replace the App password or Tenant ID in Shipmate. |
Check it’s connected
Mention Shipmate in your ops channel. On Slack you should see 👀 at once, a reply in a thread, then ✅; on Discord the reply comes in the channel. No 👀 at all means the agent is down or you’re not on the allowed users list.
Someone who isn’t on the list gets one reply with their own ID, so they can ask whoever runs the agent to add it. It comes with release 0.3.11. It needs no log access, which matters on hosted Shipmate. The reply is fixed text, written by the gateway rather than the model, and it says nothing else: “I can’t take requests from you yet. To get access, ask whoever runs me to add your ID:” and the ID in a code span. It goes only to a message that addresses the agent (a mention or a DM), never to ambient channel chatter, and never to a bot. Where it appears depends on what the platform can do privately:
- Slack. In a DM, in the DM. In a channel, as a message only that person sees (visible to them alone, even in a shared channel).
- Discord. In a DM, in the DM. In a server channel the agent says nothing, because Discord has no message that only one person sees there, and a post would show their ID to the channel. Send the agent a DM.
- Teams. In a 1:1 chat, in the chat. In a channel or group chat the agent says nothing, for the same reason. Send it a 1:1 chat.
Each person is told once a day, and the agent sends at most 20 of these an hour in all, so a flood of strangers can’t make it spam. The counts are in shipmate_unknown_sender_replies_total. To turn it off, set SHIPMATE_TELL_UNKNOWN_SENDERS to off (Helm: tellUnknownSenders); the log line below stays either way.
The agent’s log is one JSON object per line. Its chat lines say "msg":"chat layer started" with the platforms that connected. Someone who isn’t on the list is logged once per ID until the agent restarts, with the ID in allowlistId and the setting to add it to in setting. Other chat IDs are logged only at the debug level.
These log commands are for agents you run. On hosted Shipmate there’s no kubectl, and the log collector masks allowlistId before logs leave the cluster, so use the agent’s reply (release 0.3.11 or later), or take the ID from the platform: Copy member ID on Slack, Copy User ID on Discord.
# Docker Compose
docker logs shipmate 2>&1 | jq -R -c 'fromjson? | select(.component=="chat")'
# Shipyard on your cluster (a team's agent: agent-<team hash>-<name>)
kubectl -n agent-<name> logs deploy/shipmate | jq -R -c 'fromjson? | select(.component=="chat")'
# IDs to add to an allowed users list
docker logs shipmate 2>&1 | jq -R -r 'fromjson? | select(.allowlistId) | "\(.platform) \(.allowlistId) → \(.setting)"'
Model access
Shipmate runs on Anthropic’s Claude models, through an account you own. You pay your provider directly. Choose model access at the wizard’s Engine station. To change it later, use Change model access on the agent’s Secrets tab, which replaces the old keys all at once. If the agent replies that its model access was refused, the token or key is wrong, expired or revoked: replace it there.
| Choice | When to use it | What you paste |
|---|---|---|
| Anthropic API key | The usual choice, and the one for any team. Usage bills to your Anthropic account. | API key: it starts with sk-ant-api. Create one in the Anthropic Console, under API keys. |
| Claude subscription | For solo founders only: your own Claude Pro or Max plan, for an agent only you talk to. See the note below. | Subscription token: your Claude subscription token, made on your own computer while signed in to your Claude account (see Make a subscription token). Then confirm Only I will talk to this agent. |
| Amazon Bedrock | Claude through your AWS account, for your own billing and data residency. | AWS region, Access key ID and Secret access key. Give the IAM user only bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream. |
| Google Vertex AI | Claude through your Google Cloud project. | Project ID, Region, and the Service account key (JSON): the whole file. The service account needs the Vertex AI User role. |
| Microsoft Foundry | Claude through your Azure subscription. | Foundry resource, and its API key from the resource’s Keys and Endpoint page. |
| Your model endpoint (experimental) | Another provider’s models, or your own gateway, at an Anthropic-compatible endpoint. | See Your model endpoint below. |
Every credential is write-only: once saved, Shipyard shows only that it’s set. The console and the agent’s metrics show what it has spent.
Make a subscription token
A small public image makes it, so there’s nothing else to install. On your own computer, with Docker, run the command below with the release you use. Open the sign-in link it shows, sign in with your Claude account, and paste the code you get back. It prints the token, which starts with sk-ant-oat, and at the end prints it again on one line: copy that one. Where your terminal wraps the first, a copy can pick up a line break or spaces, which Shipyard and the agent remove anyway. Paste it into Shipyard, or set it as SHIPMATE_CLAUDE_TOKEN. Nothing is kept: the container and everything in it are gone when it exits.
docker run --rm -it ghcr.io/roundbeat-ai/shipmate-token:<X.Y.Z>
The image is built for linux/amd64 and linux/arm64, so it runs natively on Apple silicon Macs and ARM Linux. It holds only the sign-in and the token command, nothing else of Shipmate. If you already run the Shipmate image, its own token command does the same.
Already have Claude Code? Run claude setup-token instead. It prints the same kind of token (Anthropic’s docs). No Docker and no Claude Code? Ask us.
Which model
The Model list comes after model access. You can change it later on the agent’s Config tab.
| Option | What it means |
|---|---|
| Default | Lets Shipmate choose. |
| Latest, on any provider | Opus, Sonnet or Haiku, latest: follows the newest model of that tier. |
| Pinned | An exact model, such as Claude Opus 5.5. It stays on that one model. |
| Other model ID… | Any Claude model ID, or your cloud provider’s own ID for one. |
On Bedrock, Vertex AI and Foundry, Default and Latest use Shipmate’s default model for each tier on that cloud. To choose which model each tier means there, add the tier variables under Extra environment (see model access variables in the appendix). Pinned IDs are Anthropic’s own, so on your cloud choose Other and use your provider’s model ID. A scheduled check can run on a smaller model of its own (see Scheduled checks), and so can the investigators it starts during an incident (see Incident investigation).
Your model endpoint (experimental)
Shipmate can also run on other models, from any provider with an Anthropic-compatible endpoint: OpenCode Go or Zen, Z.ai (GLM), Moonshot AI (Kimi), MiniMax, DeepSeek, Claude through a reseller such as OpenRouter, or a gateway of your own such as LiteLLM. Approvals, policy, verification and the audit log stay the same; only the model changes. It’s the cheaper way to try Shipmate.
| Field | What to enter |
|---|---|
| Provider (optional) | Fills in the provider’s address and a model it serves; you can change both. The list has OpenRouter, OpenCode Go, OpenCode Zen, Z.ai (GLM), Moonshot AI (Kimi), MiniMax and DeepSeek, and “Other: your own endpoint or gateway”. |
| Base URL | Your provider’s Anthropic-compatible address. It must be https and public: private and in-cluster addresses are refused. For Anthropic’s own API, choose Anthropic API key instead. |
| API key | From your provider’s console. It’s sent as a bearer token. |
| Model | The model the agent runs, by your provider’s own ID. |
| Models by tier (optional) | Opus tier, Sonnet tier and Haiku tier. The agent asks for a larger or smaller model by Claude’s tier names, and a tier left empty uses the model above. Background work, like summaries, runs on the Haiku tier, so a cheaper model fits there. |
| Turn off prompt caching | Only if your provider refuses requests that ask for caching. |
Everyone on your team sees the agent’s model, and where its prompts go, on its page. Self-hosting without the web app? See model access variables in the appendix.
Read-only access
To investigate an incident, Shipmate looks where your on-call engineer would: resources and their configuration, recent changes and events, logs and metrics. Read-only access is enough for all of it. It changes code and infrastructure only through pull requests, so it doesn’t need write access to investigate. Below is a ready-made read-only setup for each cloud and for Kubernetes, what each one leaves out, and how to hand it to the agent.
| Where | Give it | Left out |
|---|---|---|
| AWS | ViewOnlyAccess and CloudWatchReadOnlyAccess | S3 objects, DynamoDB items, queue messages, and parameter and secret values |
| Google Cloud | Logs Viewer, Monitoring Viewer, and the viewer role of each service you run | Data Access audit logs, and the data in buckets and databases |
| Microsoft Azure | Reader, on the subscription or on resource groups | Access keys, Key Vault secret values, and the data in storage accounts |
| Kubernetes | A ClusterRole that reads workloads, events, nodes and pod logs | Secrets, exec, attach, port-forward, and every write |
| Servers | An SSH key for a user without sudo | Root, unless you choose to give it |
The image doesn’t include the cloud CLIs. The agent installs aws, gcloud, az or kubectl the first time it needs one, and adds the install to its setup.sh, so the tool is still there after a restart.
Read-only still reads a lot. Logs, pod specs and resource settings can hold personal data, or a password someone pasted in by mistake. Keep secrets in your secret stores: none of the setups below can read them.
AWS
Attach two AWS managed policies:
ViewOnlyAccess(arn:aws:iam::aws:policy/job-function/ViewOnlyAccess) lists and describes resources across services, reads metric data, and reads CloudTrail event history (cloudtrail:LookupEvents), which shows recent changes. It doesn’t read data: no S3 object contents, DynamoDB items, queue messages, or parameter and secret values.CloudWatchReadOnlyAccess(arn:aws:iam::aws:policy/CloudWatchReadOnlyAccess) adds the log events themselves (Logs Insights queries,FilterLogEvents, live tail), plus alarms, dashboards and X-Ray traces. Masked log data stays masked: neither policy includeslogs:Unmask.
Don’t use ReadOnlyAccess. It’s broader than an investigation needs, because it reads data too: S3 objects (s3:Get*), DynamoDB items, SQS messages and Systems Manager parameters. If the agent needs an action that neither policy has, such as CloudFormation stack events (cloudformation:DescribeStackEvents), add only that action, in a small inline policy.
Which credentials to use depends on where the agent runs:
- Helm on EKS: EKS Pod Identity. There’s no key to store or rotate. Create a role that trusts
pods.eks.amazonaws.com, attach the two policies, and associate the role with the agent’s ServiceAccount,<release>-shipmate(shipmate-shipmatefor the install in the appendix). The cluster needs the EKS Pod Identity Agent add-on (EKS Auto Mode has it built in). Restart the agent after you create the association, so its new pod gets the credentials. IAM roles for service accounts (IRSA) would need an annotation on the ServiceAccount, which the chart doesn’t set, so use Pod Identity. Pod Identity doesn’t work for pods on Fargate: there, use an access key. - A Shipyard you run on EKS: the same. The agent’s ServiceAccount is
shipmate, in the namespaceagent-<name>. This works whileSHIPYARD_AGENT_EGRESSisopen, its default. Withpublic, the agent can’t reach the link-local address that the Pod Identity Agent listens on. - Docker Compose on an EC2 VM: the instance’s role. Attach the two policies to a role for EC2, and give the VM that instance profile. Set the instance metadata hop limit to 2, so the container can reach the metadata service.
- Anywhere else: an IAM user’s access key. Give the user only these policies, and rotate its key like your other keys. If you already run a private certificate authority, IAM Roles Anywhere gives the VM short-lived credentials instead of a long-lived key.
# a role that the agent's pod can assume
cat > shipmate-trust.json <<'EOF'
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": { "Service": "pods.eks.amazonaws.com" },
"Action": ["sts:AssumeRole", "sts:TagSession"]
}]
}
EOF
aws iam create-role --role-name shipmate-readonly \
--assume-role-policy-document file://shipmate-trust.json
for p in job-function/ViewOnlyAccess CloudWatchReadOnlyAccess; do
aws iam attach-role-policy --role-name shipmate-readonly \
--policy-arn "arn:aws:iam::aws:policy/$p"
done
# the agent's ServiceAccount: <release>-shipmate, in its namespace
aws eks create-pod-identity-association --cluster-name <cluster> \
--namespace <namespace> --service-account <release>-shipmate \
--role-arn arn:aws:iam::<account-id>:role/shipmate-readonly
aws iam create-user --user-name shipmate-readonly
for p in job-function/ViewOnlyAccess CloudWatchReadOnlyAccess; do
aws iam attach-user-policy --user-name shipmate-readonly \
--policy-arn "arn:aws:iam::aws:policy/$p"
done
# prints the AccessKeyId and SecretAccessKey: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
aws iam create-access-key --user-name shipmate-readonly
Give the agent AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION. They reach its shell as they are, because the gateway passes every variable that starts with AWS_. Pod Identity and the instance role need no variables at all.
Google Cloud
Grant a service account these roles, on each project the agent should see:
roles/logging.viewer(Logs Viewer): the logs in the_Requiredand_Defaultbuckets, including the Admin Activity audit logs, which record who changed what. It doesn’t include the Data Access audit logs. Those needroles/logging.privateLogViewer, which this setup leaves out on purpose: they record who read which data, and an investigation rarely needs them.roles/monitoring.viewer(Monitoring Viewer): metrics, dashboards, uptime checks and alerting policies.- The viewer role of each service you run, for resources and their configuration. For example:
roles/compute.viewer,roles/container.clusterViewer,roles/run.viewerandroles/cloudsql.viewer. Inside a GKE cluster, Kubernetes RBAC decides what the agent can read: give it the kubeconfig below, or bind the ClusterRole below to the service account’s email address.
The shortcut is the basic role roles/viewer. It reads almost every service, and it includes Logs Viewer. But it’s broad: Google describes it as viewing resources “or data”, and advises against basic roles in production. roles/browser goes the other way: it sees the project, its folders and its IAM policy, but none of the resources in it, so on its own it’s too narrow to investigate with.
- Helm on GKE: Workload Identity Federation for GKE. There’s no key at all. Grant the roles straight to the agent’s Kubernetes ServiceAccount, as a
principal://member (below). This needs no annotation on the ServiceAccount, which matters, because the chart doesn’t set one. The node pool needs the GKE metadata server (Autopilot always has it). Some Google services don’t accept these members yet. Cloud Run is one: it doesn’t allow this direct access, soroles/run.viewergranted this way does nothing. Check Google’s list of products and limitations first. - A Shipyard you run on GKE: the same. The agent’s ServiceAccount is
shipmate, in the namespaceagent-<name>. This works whileSHIPYARD_AGENT_EGRESSisopen, its default. Withpublic, the agent can’t reach the link-local address of the GKE metadata server. - On AWS or Azure: Workload Identity Federation. A credential configuration file lets the agent trade its own cloud identity for Google credentials. The file holds no secret.
- Anywhere else: a service account key file. It’s a long-lived secret, so keep it to this one service account, and rotate it. Organizations created on or after 3 May 2024 block key creation by default (the
iam.managed.disableServiceAccountKeyCreationconstraint, or the olderiam.disableServiceAccountKeyCreation), so you may need an exception for this project.
PROJECT=<project-id>
gcloud iam service-accounts create shipmate-readonly --project="$PROJECT" \
--display-name="Shipmate read-only"
for role in roles/logging.viewer roles/monitoring.viewer roles/compute.viewer \
roles/container.clusterViewer roles/run.viewer roles/cloudsql.viewer; do
gcloud projects add-iam-policy-binding "$PROJECT" --condition=None \
--member="serviceAccount:shipmate-readonly@$PROJECT.iam.gserviceaccount.com" \
--role="$role"
done
# only if you use a key file: this writes the key to shipmate-readonly.json
gcloud iam service-accounts keys create shipmate-readonly.json \
--iam-account="shipmate-readonly@$PROJECT.iam.gserviceaccount.com"
PROJECT=<project-id>
NUMBER=$(gcloud projects describe "$PROJECT" --format='value(projectNumber)')
# the agent's ServiceAccount: <release>-shipmate, in its namespace
MEMBER="principal://iam.googleapis.com/projects/$NUMBER/locations/global/workloadIdentityPools/$PROJECT.svc.id.goog/subject/ns/<namespace>/sa/<release>-shipmate"
for role in roles/logging.viewer roles/monitoring.viewer roles/compute.viewer \
roles/container.clusterViewer roles/run.viewer roles/cloudsql.viewer; do
gcloud projects add-iam-policy-binding "$PROJECT" --condition=None \
--member="$MEMBER" --role="$role"
done
With a key file or a credential configuration file, point GOOGLE_APPLICATION_CREDENTIALS at it, for client libraries and tools such as Terraform. It reaches the agent as it is, because the gateway passes every variable that starts with GOOGLE_. But gcloud doesn’t read it. For gcloud, point CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE at the same file, and set the project in CLOUDSDK_CORE_PROJECT. Those two must be named in SHIPMATE_AGENT_ENV_PASSTHROUGH.
CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=/etc/shipmate/gcp/service-account.json
CLOUDSDK_CORE_PROJECT=<project-id>
Microsoft Azure
Assign the built-in Reader role, on the subscription or only on the resource groups the agent should see. Reader reads every resource’s settings, the activity log (which records recent changes), metrics, and log queries in Log Analytics workspaces. Monitoring Reader and Log Analytics Reader are built on the same read access, so they add nothing for reading. Reader has no data actions and can’t list keys, so it can’t read access keys, Key Vault secret values or the data in storage accounts.
The exception is a Log Analytics workspace that reads only through data actions (dataAuthorizationMode set to DataActionsOnly), or one with protected tables (in preview). There, Reader sees no rows. For that workspace, add Log Analytics Data Reader, or Privileged Monitoring Data Reader for protected tables.
- Docker Compose on an Azure VM: the VM’s managed identity. Assign Reader to it, and the agent signs in with
az login --identity(for a user-assigned identity,az login --identity --client-id <client-id>). There’s no secret to store. - Anywhere else, AKS included: a service principal with a client secret. The secret expires after one year by default, so plan to renew it. AKS workload identity needs a label on the agent’s pod, and the Helm chart can’t set one, so it isn’t an option yet.
SUB=$(az account show --query id -o tsv)
# use a name no other app has: the command reuses an app with the same name
az ad sp create-for-rbac --name shipmate-readonly --role Reader \
--scopes "/subscriptions/$SUB"
# prints appId, password and tenant: AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_TENANT_ID
# or, for a VM's managed identity (its principal ID)
az role assignment create --assignee-object-id <principal-id> \
--assignee-principal-type ServicePrincipal --role Reader \
--scope "/subscriptions/$SUB"
Give the agent AZURE_CLIENT_ID, AZURE_TENANT_ID and AZURE_CLIENT_SECRET. They don’t reach its shell by default: name them in SHIPMATE_AGENT_ENV_PASSTHROUGH (Shipyard does that for you). az doesn’t read them by itself, so the agent signs in once with them. az keeps that sign-in in ~/.azure, on the agent’s workspace volume, until it signs out.
az login --service-principal --username "$AZURE_CLIENT_ID" \
--password="$AZURE_CLIENT_SECRET" --tenant "$AZURE_TENANT_ID"
Kubernetes
Give the agent a ServiceAccount of its own, bound to a ClusterRole that only reads. It covers what an investigation looks at: pods and their logs, workloads, services and endpoints, ingresses and network policies, events, nodes and namespaces, volumes, autoscalers and quotas, and kubectl top. It leaves out Secrets (listing them shows their contents, just as reading one does), pods/exec, pods/attach, pods/portforward, nodes/proxy (its get reaches the kubelet, which can run commands in pods), and every write verb.
apiVersion: v1
kind: Namespace
metadata:
name: shipmate-readonly
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: shipmate-readonly
namespace: shipmate-readonly
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: shipmate-readonly
rules:
# No secrets, no exec, attach or port-forward, and no write verbs.
- apiGroups: [""]
resources: [pods, services, endpoints, configmaps, events,
namespaces, nodes, persistentvolumes,
persistentvolumeclaims, resourcequotas, limitranges]
verbs: [get, list, watch]
- apiGroups: [""]
resources: [pods/log]
verbs: [get]
- apiGroups: [apps]
resources: [deployments, replicasets, statefulsets, daemonsets]
verbs: [get, list, watch]
- apiGroups: [batch]
resources: [jobs, cronjobs]
verbs: [get, list, watch]
- apiGroups: [autoscaling]
resources: [horizontalpodautoscalers]
verbs: [get, list, watch]
- apiGroups: [networking.k8s.io]
resources: [ingresses, ingressclasses, networkpolicies]
verbs: [get, list, watch]
- apiGroups: [discovery.k8s.io]
resources: [endpointslices]
verbs: [get, list, watch]
- apiGroups: [events.k8s.io]
resources: [events]
verbs: [get, list, watch]
- apiGroups: [policy]
resources: [poddisruptionbudgets]
verbs: [get, list, watch]
- apiGroups: [storage.k8s.io]
resources: [storageclasses]
verbs: [get, list, watch]
# kubectl top, where metrics-server runs
- apiGroups: [metrics.k8s.io]
resources: [pods, nodes]
verbs: [get, list]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: shipmate-readonly
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: shipmate-readonly
subjects:
- kind: ServiceAccount
name: shipmate-readonly
namespace: shipmate-readonly
- ConfigMaps are in. A wrong value in config is a common cause of incidents, and Kubernetes’ own
viewrole reads ConfigMaps too. If your teams keep credentials in ConfigMaps, deleteconfigmapsfrom the first rule, and move those values into Secrets. The same goes for values written straight into a pod’s environment: the agent sees them in the pod spec. - The built-in
viewClusterRole is a quicker alternative. It already leaves out Secrets, and it reads ConfigMaps and pod logs. But it doesn’t read cluster-wide objects such as nodes, persistent volumes and storage classes. Bind it with a ClusterRoleBinding in the same way. - Your own resources, such as Argo CD applications, Flux kustomizations or cert-manager certificates, need a rule of their own, in the same form.
Then make a kubeconfig for that ServiceAccount. Run this where your own kubectl already points at the cluster:
kubectl apply -f shipmate-readonly.yaml
# the cluster's address and certificate authority, from your current context
SERVER=$(kubectl config view --minify -o jsonpath='{.clusters[0].cluster.server}')
CA=$(kubectl config view --minify --raw --flatten \
-o jsonpath='{.clusters[0].cluster.certificate-authority-data}')
# a token for the ServiceAccount, for 30 days (your cluster may shorten it)
TOKEN=$(kubectl -n shipmate-readonly create token shipmate-readonly --duration=720h)
KC=shipmate-readonly.kubeconfig
kubectl config --kubeconfig="$KC" set-cluster cluster --server="$SERVER"
kubectl config --kubeconfig="$KC" set clusters.cluster.certificate-authority-data "$CA"
kubectl config --kubeconfig="$KC" set-credentials shipmate-readonly --token="$TOKEN"
kubectl config --kubeconfig="$KC" set-context readonly --cluster=cluster --user=shipmate-readonly
kubectl config --kubeconfig="$KC" use-context readonly
# check it: yes, then no, then no
kubectl --kubeconfig="$KC" auth can-i list pods -A
kubectl --kubeconfig="$KC" auth can-i get secrets -A
kubectl --kubeconfig="$KC" auth can-i create pods/exec -A
A token from kubectl create token expires. After that, the agent gets 401 errors until you make a new kubeconfig. The API server may also issue a shorter token than you asked for: EKS, for example, caps it at 24 hours. If renewing it that often isn’t practical, use a long-lived token Secret instead. It never expires, which is easier to run, but a leaked copy works until you delete the Secret. Kubernetes recommends short-lived tokens.
kubectl apply -f - <<'EOF'
apiVersion: v1
kind: Secret
metadata:
name: shipmate-readonly-token
namespace: shipmate-readonly
annotations:
kubernetes.io/service-account.name: shipmate-readonly
type: kubernetes.io/service-account-token
EOF
# the control plane fills the token in a moment later: wait until it's there
until TOKEN=$(kubectl -n shipmate-readonly get secret shipmate-readonly-token \
-o jsonpath='{.data.token}' | base64 -d) && [ -n "$TOKEN" ]; do sleep 1; done
# then build the kubeconfig as above, with this token
- An agent installed with Helm in the same cluster uses this kubeconfig too. The chart’s own ServiceAccount (
<release>-shipmate) is there for the agent’s browser: its Kubernetes token is mounted only while the browser is on. Don’t bind Kubernetes roles to it. (Linking it to a cloud identity, as in the EKS and GKE setups above, is fine: that gives it read rights in your cloud, not in Kubernetes.) - A hosted agent runs in our cluster, under a ServiceAccount of ours, which never gets rights in your cluster. It needs a kubeconfig like this one, for an API server that’s reachable from the internet. Shipyard can’t take the file yet: ask us.
Servers
Give the agent an SSH key. The wizard’s Keys station generates one, and shows its public half once, after launch. Add it to ~/.ssh/authorized_keys for a user of its own, without sudo. On Debian and Ubuntu, add that user to the adm group, so it can read /var/log and the systemd journal. Give it sudo only if your team wants it to run privileged commands, and then only for the commands it needs. With Docker Compose or Helm, mount the private key read-only at /workspace/.ssh/id_ed25519.
Hand it to the agent
The agent’s shell gets an allowlisted set of environment variables (see Security). Variables that start with AWS_ or GOOGLE_ reach it as they are. On Docker Compose and Helm, every other one, such as KUBECONFIG, the AZURE_ variables or the CLOUDSDK_ settings, must be named in SHIPMATE_AGENT_ENV_PASSTHROUGH. Never put a secret in Helm values or in a URL.
| Setup | Variables | Files |
|---|---|---|
| Docker Compose | In .env. Then run docker compose up -d, which recreates the container with them. | In a directory of their own on the VM, readable only by root, mounted read-only by a compose.override.yml at the repository root, beside docker-compose.yml. |
| Helm | In the Secret that existingSecret names: the chart loads all its keys as environment variables. | In a Secret, mounted with secretFiles: one key per entry, read-only, with mode 0400 unless you set mode. A file mounted this way doesn’t update by itself, so restart the agent after you change the Secret. |
| Shipyard, hosted or your own | At the wizard’s Extra env station, or on the Secrets tab later (saving there restarts the agent). Shipyard names each one in the passthrough for you. It refuses names that start with AWS_ or GOOGLE_, because those carry model access. | None, except the SSH key and the Vertex AI key. A kubeconfig or a Google Cloud key file can’t be added yet: ask us. |
On hosted Shipmate, that means Azure works through Extra env. AWS and Google Cloud work only through the identity your model access already uses: grant the read-only policies to your Bedrock IAM user, or the read-only roles to your Vertex AI service account. For Vertex AI, also add the two CLOUDSDK_ settings from Google Cloud under Extra env, so gcloud uses that key. For anything else, ask us. Whatever a hosted agent reads must be reachable from the internet (see Hosted agents).
# AWS: reaches the agent as it is
AWS_ACCESS_KEY_ID=<access key id>
AWS_SECRET_ACCESS_KEY=<secret access key>
AWS_REGION=<region>
# Google Cloud: the key file, for client libraries and for gcloud
GOOGLE_APPLICATION_CREDENTIALS=/etc/shipmate/readonly/gcp.json
CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=/etc/shipmate/readonly/gcp.json
CLOUDSDK_CORE_PROJECT=<project-id>
# Azure
AZURE_CLIENT_ID=<appId>
AZURE_TENANT_ID=<tenant>
AZURE_CLIENT_SECRET=<password>
# Kubernetes
KUBECONFIG=/etc/shipmate/readonly/kubeconfig
# every name above that doesn't start with AWS_ or GOOGLE_
SHIPMATE_AGENT_ENV_PASSTHROUGH=CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE,CLOUDSDK_CORE_PROJECT,AZURE_CLIENT_ID,AZURE_TENANT_ID,AZURE_CLIENT_SECRET,KUBECONFIG
# on the VM: sudo mkdir -p /etc/shipmate/readonly, copy the files in, chmod 600 them
services:
shipmate:
volumes:
- /etc/shipmate/readonly:/etc/shipmate/readonly:ro
# the files, in a Secret of their own
kubectl create secret generic shipmate-readonly \
--from-file=kubeconfig=shipmate-readonly.kubeconfig \
--from-file=gcp.json=shipmate-readonly.json
# the variables, added to the agent's Secret (its other keys stay as they are;
# if it already has a passthrough list, add these names to it)
kubectl patch secret shipmate-secrets --type=merge -p '{"stringData": {
"KUBECONFIG": "/etc/shipmate/readonly/kubeconfig",
"CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE": "/etc/shipmate/readonly/gcp.json",
"SHIPMATE_AGENT_ENV_PASSTHROUGH": "KUBECONFIG,CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE"
}}'
# mount the files (readonly.yaml below); the agent restarts with both
helm upgrade shipmate oci://ghcr.io/roundbeat-ai/charts/shipmate \
--version <X.Y.Z> --reset-then-reuse-values -f readonly.yaml
secretFiles:
- secretName: shipmate-readonly
key: kubeconfig
mountPath: /etc/shipmate/readonly/kubeconfig
- secretName: shipmate-readonly
key: gcp.json
mountPath: /etc/shipmate/readonly/gcp.json
What it does
Once Shipmate is in your chat, this is how it works with your team, and the rules it works under.
Browser and screenshots
With the browser on, Shipmate can open a page, look at it and post a screenshot into the thread: a dashboard during an incident, a status page, the site it just deployed. It’s off by default. Turn it on with the Let the agent use a browser switch, at the wizard’s Instruments station or on the agent’s Config tab.
- A browser of its own. Headless Chromium in Shipmate’s browser image (about 200 MB to download, released with the agent), in a pod beside the agent’s. It never sees the agent’s files or credentials, and cookies and logins never mix between agents.
- Only while in use. It starts by itself the moment the agent uses it, and stops when the agent closes it, after ten idle minutes, and whenever the agent restarts. While it runs, the agent has a second pod. The first start on a node downloads it, which can take a few minutes on a slow link; the thread’s progress line says so while it waits.
- In English. Pages see English (
en-USby default) whatever country your traffic leaves from, and the agent dismisses cookie dialogs before a screenshot, choosing “Reject all” where it can. - Where it may connect. On your own infrastructure, anywhere by default, since internal dashboards are what it’s mostly for. A hosted agent’s browser reaches public addresses only, like the agent itself. Self-hosted with Helm, you can keep it to public addresses too (see
browser.*in the appendix). - Locked to its agent. Every request to it needs a token that only that agent’s gateway holds (the agent itself reaches the browser through its gateway and never sees the token), and a NetworkPolicy lets only the agent’s pod reach it where your cluster enforces one.
- Audited. Every screenshot (with the page it showed) and every image posted (with the thread) is recorded in
audit.log.
Images post to Slack with the files:write scope, to Discord with the Attach Files permission (the invite link above includes it), and inline on Teams. Any PNG or JPEG the agent saves in its workspace can be posted, up to 5 MB; Teams shows inline images up to 1 MB and 1024×1024 pixels, so there it posts smaller ones.
Teach it your setup
Say @Shipmate interview us, or ask it to learn how you deploy. It reads your repos first (CI, manifests, CODEOWNERS and docs), then asks one short round of at most six questions, each with its best guess. The same day it opens an AGENT-GUIDE.md in each repo as a pull request: how you deploy, how to verify a change, and where your logs and metrics live. For that, it needs a Git token that can open pull requests (the wizard’s Chart station). With no repo connected yet, it writes drafts/AGENT-GUIDE-<repo>.md in its workspace and posts it for review instead.
A repo’s AGENT-GUIDE.md overrides the runbooks’ defaults. To add a procedure of your own, ask it to write down how you do something: it adds the steps under ## Runbooks in that repo’s guide, by pull request, and follows them once merged. The built-in runbooks can’t be changed from chat, but it writes runbooks of its own (next section).
Where your process lacks a common practice, such as releasing to every host at once, checking only /health or having no rollback plan, it says so once with a concrete suggestion. Then it follows your way unless you agree to change it.
How it improves itself
Shipmate runs as root and owns its container, so it installs what a job needs. Anything outside its volumes is gone after a restart, so it writes down what it learns. Its memory follows the layout our own production agent settled on, and only MEMORY.md is seeded: Shipmate creates the rest as it learns.
| In memory/ | What it’s for |
|---|---|
MEMORY.md | What is true now: people and who approves what, standing rules (each with who said it and when), access by name only, channels, the fleet and runbook indexes, open items, and the problems that keep coming back. Edited in place, never a log, and kept within what loads every session: 200 lines and 25 KB. |
fleet/ | The current state of each system: hosts, versions, pins, the config that matters. Every fact has an “as of” date and its source, and a changed fact is updated in place with the old value logged. |
runbooks/ | Procedures it writes the second time it does something non-trivial, or when you ask it to. Each opens with who approves and when it was last validated, and it fixes them the moment a step turns out wrong. |
incidents/ | A write-up after every outage or near-miss: timeline, root cause, evidence, fix, what’s still open and lessons. |
archive/ | An append-only log, one file a month: what it did, deploys, decisions and every superseded fact. |
Memory has a volume of its own: a claim of its own on Kubernetes, hosted agents included, and shipmate-memory in Compose. It outlives a workspace reset. It holds no secrets: writes that look like one are refused. Its change history is a git repository on the workspace volume, committed after every turn, so you can see what changed and roll back. A workspace reset deletes that history but keeps the memory. There’s no backup beyond that: back up the volumes yourself if you need one. Rules and authority change only on the word of the person who holds them; Shipmate records decisions, it doesn’t make them.
| In the workspace | What it’s for |
|---|---|
bin/ | Scripts and small tools, on its own PATH. |
setup.sh | Every install it needs, replayed in the background at each start. Progress is in .shipmate/setup.log and the result in .shipmate/setup.status. It may run for 900 seconds by default (see the setup timeout in the appendix). |
Procedures that belong with one repo go into that repo’s AGENT-GUIDE.md by pull request instead, where your team reviews them.
Runbooks
The repeatable parts of ops work ship as runbooks that Shipmate follows instead of improvising. They carry general DevOps practice, and your AGENT-GUIDE.md adapts them to your team.
| Runbook | Asked as | What it does |
|---|---|---|
rollout | “ship X to prod” | Releases through your pipeline with your strategy: rolling, canary, blue/green or flags. It builds once and promotes the same artifact, sends one slice first and proves it against your SLIs and the stable fleet before the rest. It needs no shell on a production host. |
incident-check | “is this hitting us?”, “find the cause”, or an alert, trigger or scheduled check | Maps the incident to your dependencies and measures traffic, errors and latency against a baseline, with a non-zero control. When the cause isn’t clear, it checks several leads in parallel (next section). The verdict comes first. If there’s impact it mitigates before root-causing, keeps a UTC timeline, and offers a blameless postmortem afterwards. |
change-via-pr | any infra or config change | The smallest diff on a fresh branch, with the rendered plan in the PR, the blast radius and the rollback. Nothing merges until the team says so; then it checks before and after, neighbours included. |
upgrade-watch | upgrades, end-of-life dates, go-lives | Tracks versions, end-of-life dates and certificate expiry. It upgrades non-production first, takes backups before the point of no return, checks right after activation, then stands down. |
verify | after every change | Names the environment before the change, then a functional check against the baseline and your SLOs over a watch window, reported as pass, fail, pending, deferred or skipped. |
onboarding-interview | joining a team | Repos first, then at most six questions, then an AGENT-GUIDE.md per repo by pull request. |
Incident investigation
When the first look at an incident doesn’t show the cause, or the impact is serious (SEV1 or SEV2), Shipmate doesn’t work through the suspects one at a time. It writes down three or four hypotheses, one for each kind of cause (a recent change, a dependency, infrastructure and capacity, a code path), and starts an investigator for each, all at once (up to four at a time, or the number you set).
🔎 Checking 4 leads · 3 min
✅ the 13:02 deploy — confirmed: 5xx 0.2% → 6.1% since 13:05Z
⛔ payments API — ruled out: p95 180 ms, same as an hour earlier
⏳ node memory — checking
⏳ checkout code path — checking
Still waiting on 2 of 4.
- One hypothesis each, read-only. An investigator gets a full brief: the hypothesis, the time window in UTC, the services, the baseline and queries to start from. It reads and measures, changes nothing, and is told to report within about ten minutes: confirmed, ruled out or unclear, with the exact queries it ran and the numbers it measured, each with its time window. Nothing it didn’t measure goes in the report.
- One answer. Shipmate merges the reports into one verdict with its evidence, names the leads that were ruled out and what ruled them out, so nobody chases them, and runs the key query again itself before it answers.
- The same rules. Every command an investigator runs goes through the same policy as Shipmate’s own, and is recorded in
audit.logunder the investigator’s name. At most four run at once, unless you set another limit (one to eight). - You see it as it happens. Each line flips the moment its investigator reports. On Slack and Discord the board is one message, edited in place and refreshed at least once a minute, so a quiet thread never means a stuck one. On Teams, a new board is posted only when a lead changes or Shipmate starts waiting for an approval.
- The cause first. The moment one investigator confirms a cause, Shipmate posts it with the fix it recommends, without waiting for the others:
🎯 Likely cause: the 13:02 deploy — 5xx 0.2% → 6.1% since 13:05Z. Recommend: roll back api to v1.41. Say go and I’ll check it again once the other leads report, then start the fix the usual way, approvals included.A “go” reaches it as soon as the investigators are back: it re-checks the cause, and the change follows the usual rules, with a rollout’s own go and approvals. - The cost, every time. The answer ends with one line about the investigation:
Investigation: 4 investigators in 1 round (Balanced, on claude-sonnet-5-5). 1 confirmed, 2 ruled out, 1 unclear. ~6 min, ≈$0.42.The cost is what that answer cost in all, investigators included. - In every kind of turn. The same rule applies whether the incident comes from a teammate in chat, an alert, an automation trigger or a scheduled check: measured impact and a cause not yet established means one investigator per lead.
- Skipped when it isn’t needed. A quick “is this hitting us?”, a cause the evidence already shows, or no measured impact gets a quick answer.
Cards in chat
For four moments, Shipmate posts a card instead of a paragraph: an incident, a rollout, a pull request and the result of a check. A card is a message built from fields, so it reads the same way every time and you can scan it on a phone. Shipmate fills in the fields; the card itself is drawn by Shipmate, not written by the model. The colour bar only says state: green when things are fine, amber when something needs a look, red when it is in trouble, grey when there is nothing to report. The state is also a word on the card, never colour alone.
| Card | When | What it shows |
|---|---|---|
| Incident | It opens, changes or closes an investigation of something broken | Severity (SEV1 to SEV4) and state (investigating, identified, mitigating, resolved), the service, when it started and for how long, the impact, the likely cause with links to the evidence, the next step and who leads it. Red for SEV1 and SEV2, amber for SEV3 and SEV4, green once resolved. |
| Rollout | A release is going out, and when it is done | Service, version and environment, the stage (canary, partial, full, rolled back) with a progress bar, up to eight health checks, links, and the verdict: verified, not verified yet or failed. It says verified only after the check has passed (see Verification). |
| Pull request | It opens a change, or you ask where one stands | Title and repository, a summary, the plan counts (to add, to change, to destroy) when there is a plan, the checks, the reviewers, whether it is open, merged, closed or a draft, and an Open PR button. |
| Verification | It has checked a change | The environment, the result (verified, not verified yet or failed), up to eight lines on what was checked, and links to the evidence. |
A card stays up to date. When the facts change, Shipmate edits the same message instead of posting a second one, so a thread about an incident has one card that is always right, with the discussion under it. Its reply next to a card is a line or two; it does not say it all again as text.
- Slack: Block Kit, with a coloured bar down the side of the message and a short summary in notifications.
- Microsoft Teams: an Adaptive Card. Teams has no coloured bar, so the state is in the title and the fields, and a list reads as paragraphs.
- Discord: a message built from components, with the colour bar down the side. Discord caps the text of one message, so a card keeps every field short and cuts nothing mid-sentence.
- Everywhere: every card has a plain-text version, for notifications, screen readers and platforms that can’t show cards. What Shipmate writes into a card is shown as plain text: it can’t turn into a link or a mention. Mass mentions are defused, secrets Shipmate knows are removed, and the card’s own links must be
httporhttps.
To see them all in a channel, an operator can post a catalog: an example of each card with made-up data, one message each, plus one with hostile text in every field to show it stays text. It is a request to the agent’s management API (POST /mgmt/cards-catalog, with the API token, naming the platform and the channel), so it is not a chat command and the model isn’t involved: it costs nothing.
Turning cards off. The Rich cards switch on the agent’s Config tab, a change that applies within a minute with no restart. Off, Shipmate posts the same details as plain text, and the catalog request is refused. Without Shipyard, set SHIPMATE_RICH_CARDS to on or off, the Helm value richCards, or richCards in the live settings file, which wins (see Where a setting comes from). Cards come with release 0.3.6; an agent on an older release keeps the choice for when it moves to one.
Ask it anything while it works
You don’t have to wait for it to finish, or remember a command. While Shipmate is busy, write to it as usual: “any update?”, “is it the deploy?”, “what have you ruled out?”, “how long?”. It answers in the thread within seconds, from what it has found so far, and says so when something isn’t known yet. New information or a request (“also check redis”, “the CDN had a blip at 13:40”, “roll back”) gets “Got it — passing that to the investigation” and reaches the work in progress at its next step, instead of waiting for it to end. Anything else is queued, with a note that it’s next.
These quick answers come from a small model (Haiku, or your endpoint’s Haiku model) that sees only what’s running, for how long, the board, and your message. It has no tools and changes nothing: it answers status questions, and everything else it hands on. An approval or a change of permissions is never its to give: that reaches Shipmate, under its usual approvals. Only people on the allowlist get quick answers, at most one per thread every 15 seconds (messages in between are answered together), and each answer passes the same filter as every reply.
Shipmate itself always runs on its own model. The investigation mode picks the investigators’ model. It’s a ceiling: an investigator never runs on a bigger model than Shipmate, so with Shipmate on Sonnet, Balanced keeps the investigators on Sonnet, and with Shipmate on Haiku every mode uses Haiku.
| Mode | Investigators use | The trade-off |
|---|---|---|
| Thorough | Shipmate’s own model | The best read on a messy incident, at the highest cost. |
| Balanced (the default) | The Sonnet tier | Solid on most incidents, at a lower cost. |
| Frugal | The Haiku tier | The lowest cost. Fine for clear-cut checks, but it may miss a subtle cause. |
Choose it at the wizard’s Engine station, or later on the agent’s Config tab, where a change applies within a minute without a restart (the next investigation uses it). Without Shipyard, set SHIPMATE_INVESTIGATION_MODE, or the Helm value investigationMode (see the appendix). On Anthropic’s API a tier is its latest model. On Bedrock, Vertex AI and Foundry it’s that cloud’s model for the tier, or the one you set with ANTHROPIC_DEFAULT_SONNET_MODEL or ANTHROPIC_DEFAULT_HAIKU_MODEL (on Bedrock outside the US, set ANTHROPIC_BEDROCK_REGION_PREFIX too, such as eu). On your own model endpoint, they’re the endpoint’s Sonnet and Haiku models; where it names none for a tier, investigators use Shipmate’s own model, and the agent’s log says so once at start. Every other helper Shipmate starts follows SHIPMATE_SUBAGENT_MODEL, and none ever runs on a bigger model than Shipmate’s own. What investigators spend shows in the per-model spend (see Monitoring your agents). Parallel investigation comes with release 0.3.3 (Shipyard’s INVESTIGATION_SINCE); an agent on an older release keeps the choice for when it moves to one.
A release, step by step
The rollout runbook from the ask to the report. The right-hand column is what holds each step in place: your own tooling, or code in Shipmate.
| Step | What Shipmate does | Held in place by |
|---|---|---|
| Ask | Someone on the allowlist asks in a thread or a DM: “ship reports 2.14 to prod”. Shipmate reacts 👀 as soon as the message arrives. | Per-platform allowlists that fail closed, and an explicit go-ahead in the thread for production. |
| Pin | Checks the build is the merged commit, then pins that immutable image tag in a pull request. Never :latest. | Your repo’s pull-request rules and branch protection. |
| Canary | Deploys a small slice first (one host, one pod or a canary release) through your CI pipeline or GitOps (Argo CD, Flux), and follows the run to the end with follow-ups, so other channels aren’t kept waiting meanwhile. | Your CI, where production credentials should live. Any approval rule you set waits for a named person’s click. |
| Prove | The version changed and the process restarted, a real request answers correctly, an error sweep with a control query, latency against the hosts not yet updated. It reports the canary before it goes wider. | The verification gate: in production, the next change is refused until this one passes. |
| Roll wide | Everything else, through your own rollout: your pipeline’s batches, a rolling update or progressive delivery, keeping its health gates. | Your pipeline: serial, maxUnavailable, readiness checks. |
| Report | A before → after table in the thread. Rollback means redeploying the previous pin, then verifying that too. | Gateway code: every tool call lands in an append-only audit log, and the console shows the tallies. |
Approvals
Some commands should never run without a person’s go, a production deploy for example. Add rules to approvals.rules in policy.json, which the agent can’t write. With Compose, edit runner/agent-config/policy.json and rebuild; with Helm, put it in the overrides ConfigMap. Shipyard doesn’t set approval rules: an agent it runs, hosted included, uses the release’s default policy, which has none.
"approvals": {
"rules": [{
"name": "prod deploy",
"patterns": ["inventory[/=]\\S*prod", "prod-cluster", "deploy-prod"],
"approvers": { "slack": ["U0123ABCD"], "discord": ["123456789012345678"] },
"timeoutSec": 900
}]
}
- When the agent runs a matching command, an Approve / Hold card appears in the thread. Secret-looking values in the command are masked.
- The command waits. Only a listed approver’s click counts. Anyone else gets a note: privately on Slack, by DM on Discord, and in the thread on Teams. Approvers are listed per platform, so a rule with no approvers for the thread’s platform refuses the command.
- Approve runs it. Hold, or no answer before the timeout (
timeoutSec, between 30 and 3600 seconds), means it doesn’t run, and the agent is told not to retry or work around it. - The card shows who decided, and every decision goes to the audit log and to
shipmate_approvals_total.
Scheduled checks and CI turns have no thread to ask in, so matching commands are refused there. The turn’s time limits pause while a person decides.
Admin mode
During an incident or a planned migration, you may want the agent to act without waiting for approvals. Admin mode is a time-boxed switch with two levels. It needs approvers named in policy.json, or the console: an agent Shipyard runs, hosted included, has the default policy and no console, so admin mode is not available there.
| Level | Say in chat | What it does |
|---|---|---|
| Approvals | @Shipmate admin on 30m | Commands that match an approval rule run without asking, each leaving a note in its thread. The rest of the policy holds. |
| Bypass | @Shipmate admin bypass 30m | No policy check at all; every call runs. Only the container remains as a boundary. |
@Shipmate admin offends it early.@Shipmate admin(oradmin status) shows the state, and anyone allowed may ask.admin onwithout a duration lasts 60 minutes; bypass always needs a duration. Both are capped at 8 hours by default (approvals.adminMode.maxMinutes, at most 24 hours).- Only the people in
approvals.adminMode.approverscan switch it in chat. If that isn’t set, only people who approve in every rule can, so someone who approves only staging can’t lift the production gate. With the default policy (no rules and no admin approvers), nobody can switch it from chat: only the console can. - With Compose, operators can also switch it from the console’s Trust view. The agent can’t: it never holds the management token.
- Every switch and expiry is posted to the home channel and written to the audit log, and the console shows an amber band while it’s on. A restart ends it.
- To forbid it, set
"adminMode": {"allowed": false}inapprovals. To allow only the approvals level, set"allowBypass": false.
Verification
No change is done until it’s verified. The gateway, not the model, tracks every change and decides the outcome.
A change is a command that changes a running system: a deploy, apply, rollout, restart, delete or merge. The default list covers, among others: ansible-playbook without --check; kubectl apply, create, replace, patch, delete, scale, set, edit, label, annotate, drain, cordon and rollout restart, undo or resume; helm upgrade, install, rollback or uninstall; terraform or tofu apply, destroy or import; docker compose up, restart or down; docker service update and docker stack deploy; systemctl restart, reload, start or stop; argocd app sync or rollback; flux reconcile; gh pr merge; and deploys dispatched through GitHub Actions (gh workflow run, gh run rerun, or a dispatch through gh api or curl). Self-hosted, set verification.changes in policy.json to replace the list.
Before a change the agent names its environment with declare_change, from what it knows: a host in a production inventory group, or with a production tag, is production even when the command never says “prod”. A declaration only makes the gate stricter: a command that already counts as production stays production.
After each change the agent verifies it with a real functional request (not just /health), error rate and latency against the pre-change baseline, rollout and load-balancer state, and a long enough watch window. Then it reports, batch by batch, with the change in plain words:
- pass or fail, with the evidence;
- pending, with when the result is due (“05:54Z”, “after the 5-minute watch”), while a pipeline or a watch is still running, then pass or fail when it ends;
- deferred, with the reason, when someone asked to leave verification for later;
- skipped, with why, when it can’t be verified.
Only a pass verifies. What happens next depends on the environment’s mode; production matches prod by default.
| Mode | Default for | What the gateway does |
|---|---|---|
| enforce | production | The next change there is refused until the previous one passes, so rollouts are verified batch by batch. Pending, deferred and skipped keep it refused, across turns: only a pass or an approver’s verify skip lifts it. After a failed check, one change may run (the rollback or fix), and it must pass before anything else. |
| warn | everything else | Nothing is blocked. The reply’s last line says what wasn’t verified. |
| advise | — | Suggestions only. |
| off | — | Not tracked. |
The reply’s last line comes from the gateway, never the model. It names the change in the agent’s plain words or a short label, never the raw command, and says “in production” when it is: ⏳ Verifying deploy of api v2 to web-1 in production — until 05:54Z.
| Mark | Means |
|---|---|
| ✅ | Verified. The changes in that turn passed their checks, with the evidence. |
| ⏳ | Verifying. A check is still running, until the time or condition it gives. If that passes with no result, the next reply says the change wasn’t verified. |
| ⏭️ | Not verified yet (left for later on purpose) or Couldn’t verify, with the reason. In production the next change there still waits for a pass or a verify skip. |
| ⚠️ | Verification failed. A check failed. In production only the rollback or fix may run next. |
| ❔ | Not verified. A change ran with no check reported. In production the next change there is refused until it passes. |
@Shipmate verify status shows what’s waiting, and @Shipmate verify skip <reason> lifts a block. Only admin-mode approvers can skip, or anyone allowed when none are configured, and the skip lands in the audit log with the reason.
Follow-ups
Shipmate never waits inside a turn, because every channel waits for its reply. When something needs time, such as a pipeline, a rollout or the watch after a deploy, it schedules a follow-up with a note to itself, says when it’ll be back, and ends the turn:
⏳ Run 4812 is on the canary. I’ll check it at 14:12 UTC and post here.
When it’s due, the gateway queues a turn with that note, in line with everything else, and posts the reply in the thread the follow-up was promised in, with the usual progress line on Slack, Discord and Teams while it runs. If the run is still going, it schedules another.
- Where the reply goes. A follow-up promised in a thread answers in that thread, with the same access as the message it came from. One promised in a scheduled check or a CI trigger posts to the channel that run reports to, whatever it says.
- Limits. From 1 minute to 24 hours ahead, 3 per turn, 5 waiting per channel or DM, 5 in all from open channels, 20 waiting at once, and 10 in a row for one ask. Due ones run one at a time, after any chat that came in meanwhile. Anything that repeats belongs in a scheduled check.
- Each channel sees its own. Asked what it’s following up on, or to cancel one, the agent sees only the follow-ups of the channel or DM it’s in, so a note promised in a DM never shows up in a channel.
- Restarts. Follow-ups are kept on the workspace volume, in a file the agent’s file tools can’t write, so an upgrade or restart keeps them. Changing the agent’s API token clears the ones waiting. One that came due while the agent was down runs when it starts, and says it’s late.
- Approvals. A follow-up’s turn can’t ask for an approval. When it reaches a step that needs one, it says so in the thread, and the next message there runs it with the usual approval.
Scheduled checks
Scheduled checks live in crons.md in the agent’s workspace, one section per check. The scheduler fires each one into the session when it’s due and records when it ran and how it went. Silence means healthy: a run posts to the home channel only when it escalates, or when it fails to report a result.
Checks are opt-in: a new agent runs none. Its crons.md holds one paused example, a daily deploy-health check, that you can turn on or replace. Ask Shipmate for a check in plain words, or edit the file. Agents set up earlier had a demo self-check every 5 minutes; an upgrade pauses it, unless you changed it.
## cron-002: DB disk headroom
- **interval**: 1h
- **enabled**: true
- **task**: Check free disk on the database hosts from the node exporter metrics.
- **escalate_if**: Any volume under 15% free, or the metric is missing.
- **last_run**: never
- **last_status**: never run
- The agent gets the whole entry each run: multi-line steps, notes and any other fields you add, such as
on_escalate. Only the run records (last_run,last_statusand older ones) are left out. Amodelfield runs the check in a subagent on that model, so cheap checks can use a smaller one. - Ask Shipmate to add, change, pause or resume a check in plain words. With Compose you can also edit the file, or pause and resume checks from the console’s Schedules view. A check whose interval can’t be read is skipped and logged once.
- Intervals take
30s,5m,2hor1d. Each run is a full model turn, so match the interval to how fast the thing changes: a 5-minute check is twelve turns an hour. - Keep titles short. The console shows them, capped at 60 characters.
CI triggers
Pipelines call Shipmate over an authenticated webhook, POST /hooks/<name>. The task comes from triggers.json, which you own and the agent can’t write; deploy-finished and pipeline-failed ship as examples. The caller only fills in the fields a trigger declares, and those reach the agent fenced as untrusted data, so a malicious PR title in a payload can’t rewrite the job.
"deploy-finished": {
"instructions": "A deployment just finished. Verify it with the verify skill: a functional request against the deployed service (not just /health), error rate and latency against how it looked before the deploy, rollout and load-balancer state, over a long enough window. Report it with report_verification, with what was deployed as the change: pass or fail with the evidence, pending with until while the watch is still running (then pass or fail when it ends), or skipped with why if it can't be verified. Say clearly whether the deploy is healthy.",
"fields": ["service", "environment", "version", "run_url"],
"channel": "ops",
"notify": "escalate"
}
With ?wait=1 the call blocks and returns {"id", "trigger", "status": "ok" | "escalate" | "failed" | "cancelled", "summary", "reply"}, so a pipeline can gate on it. A run that couldn’t finish is failed, with a summary that says why in plain words (that model access was refused, say), as its chat notice does; the full error is only in the gateway log. If the run takes longer than the trigger’s waitTimeoutSec (900 seconds by default), the call answers 202 with {"accepted": true, "note"} and no status, and the result goes to chat. A trigger holds at most three queued runs by default (maxPending); more get a 429. This GitHub Actions step fails the job if the check escalates, and also when the answer has no status, which is the safe default:
- name: Shipmate post-deploy check
env:
SHIPMATE_URL: ${{ secrets.SHIPMATE_URL }}
SHIPMATE_TRIGGER_TOKEN: ${{ secrets.SHIPMATE_TRIGGER_TOKEN }}
run: |
curl -fsS -X POST "$SHIPMATE_URL/hooks/deploy-finished?wait=1" \
-H "Authorization: Bearer $SHIPMATE_TRIGGER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"service":"api","environment":"prod","version":"${{ github.sha }}"}' \
| tee result.json | jq -e '.status == "ok"'
Every run has an id, in the 202 and the 200 alike, and two more calls take the same token. GET /hooks/<name>/<id> answers queued or running, then the run’s result, so a caller whose wait timed out still collects it; results are kept for a day, the last 100, and a restart forgets them. DELETE /hooks/<name>/<id> cancels the run: out of the queue, or stopped while it runs. It answers {"status": "cancelled"}, 404 for an id it doesn’t know, and 409 once the run has finished.
A finished run’s result also says what it took: durationMs, toolCalls, usage by model (input, output, cache read and write tokens, and costUsd, for that run alone, investigators included), the investigationMode and, when investigators ran, their tally. A run that was stopped (idle, at the ceiling, or cancelled) gets its usage a moment later, when the agent reports the interrupted turn, so ask with GET for it. A run that couldn’t finish has a reason: idle, ceiling, cancelled, max_turns, rate_limit, model_error, crash or unknown.
GET /hooks/<name>/<id>/transcript, with the same token, shows what the agent saw and did in a run, one event per line (JSONL): the task it was given, what it said and thought, each tool call with its input and result, its investigators’ work, and what it used, each with a time. While the run goes you get what it has done so far. A trigger with "session": "fresh" keeps transcripts by default ("transcript": "off" stops it); a trigger in the team’s session keeps none unless you add "transcript": "on"; SHIPMATE_TRANSCRIPTS=off turns them off everywhere. A transcript holds raw tool output, such as command output, files the agent read and query rows, and anyone with the trigger token can read it, so treat it like logs and secrets. Secrets Shipmate knows and well-known token shapes are scrubbed out, nothing more: a password: line in a YAML file gets through. Long tool output is cut at 16 KiB with a marker. Transcripts are held by Shipmate’s running process, never written to disk, so the agent itself can’t read them and a later run can’t find an earlier one; the last 100 are kept, and a restart forgets them. A chat message never joins a run that’s being recorded: it waits for the next turn. The schema is in docs/TRANSCRIPTS.md in the repository.
Add "session": "fresh" to a trigger for runs that mustn’t see what came before, such as a benchmark. Each run gets a new agent session of its own, without the team’s memory: nothing from memory/ is loaded, its file tools are refused there and in the workspace’s audit.log, which records every tool call, earlier runs’ memory writes among them (a search over the workspace leaves both out), and it can’t schedule follow-ups. That’s a tripwire for how the agent normally works, not a wall: its shell could still reach memory/ and the audit log, and the rest of the workspace, such as repositories and anything a run wrote outside memory/, carries over from one run to the next. If you need runs strictly isolated from each other, reset memory/ and the audit log between runs. Changes it makes are verified like any other, in the same record as the team’s session. The team’s session waits, and picks up where it left off when the run ends, as do chat messages that came in meanwhile.
Triggers turn on when you give the agent a trigger token (see the trigger token in the appendix). notify: "escalate" posts to chat only when something is wrong; "always" posts every result. CI has to reach the gateway: with Helm, enable triggers.ingress, which exposes only /hooks; on a single host, put a tunnel in front of port 8787 for the /hooks path only. Shipyard doesn’t set triggers up, so they’re for agents you run with Compose or Helm.
The console
The console is the operator’s control room for an agent you run with Docker Compose, at http://localhost:5273. It runs in its own container, serves the interface, and forwards only the management API and the health check to the agent, adding the token on the server side. On Shipyard, hosted included, the agent’s own page in Shipyard takes its place (see the wizard).
| View | What it shows |
|---|---|
| Overview | The shipmate’s face and one status word (All clear, Needs a look, Trouble), what’s wrong and the next step, then status, queue, turns, errors, cost and uptime. Restart lives here. |
| Schedules | Scheduled checks with a light for their last result, and pause or resume. |
| Integrations | Chat platforms, model access, the agent’s name, model and home channel. |
| Trust | What the console is shown and what it never is, with the rule that enforces each, policy decision counts, and the admin-mode switch. |
The console can’t read what the agent knows, and that’s enforced in the API rather than hidden in the interface. It gets configuration, states, counts, timings and costs, and its server can’t reach the chat or automation endpoints at all. Six things stay sealed:
| Sealed from the console | How |
|---|---|
| Messages and the agent’s replies | No management route returns them. They live in your chat platform. |
| Agent memory and its instructions | No management route reads the workspace memory files. |
| Command text and tool inputs | /mgmt/audit/summary returns counts by decision, never entries. |
| Scheduled check results | /mgmt/crons returns a status flag and a short schedule label of at most 60 characters; the result text stays in crons.md. |
| Tokens and credentials | /mgmt/integrations answers connected or not, nothing more. |
| Your repos, logs and metrics | The agent reads them on the runner. Nothing it reads is stored for the console. |
Chat commands
The gateway handles these itself, before the model sees anything. Everything else is plain language, including questions while it’s busy (see Ask it anything while it works). The admin commands need admin approvers in policy.json, so they don’t switch anything on an agent Shipyard runs (see Admin mode).
| Say | Who | What happens |
|---|---|---|
@Shipmate sethome | anyone allowed | Makes this channel the home channel, where escalations and CI alerts post. A DM works too. |
@Shipmate admin on 30m | admin approvers | Commands matching an approval rule run without asking, for the time given. |
@Shipmate admin bypass 30m | admin approvers | Turns off every policy check for the time given. |
@Shipmate admin off | admin approvers | Ends admin mode early. |
@Shipmate admin | anyone allowed | Shows whether admin mode is on, at which level and until when. admin status does the same. |
@Shipmate verify status | anyone allowed | Shows which changes are waiting on a check. |
@Shipmate verify skip <reason> | admin approvers, or anyone allowed if none are set | Lifts a verification block, recorded in the audit log with the reason. |
Security
The box is the boundary. The agent’s shell is open, because ops work needs kubectl, jq and curl, and string rules on commands can always be phrased around, so Shipmate doesn’t pretend they’re a boundary. What limits it:
- The box it runs in. Shipmate runs as root and owns its container, so the container is its workspace, not a wall. Self-hosted, give it a VM or node pool of its own, with nothing else on it. Hosted, its box is a namespace of its own (below).
- The credentials you give it. It can do what they allow and nothing more. Keep production credentials out of its reach.
- Branch protection on your repos. Pull-request-only is enforced by your Git host: protect
mainand give it a token without admin rights. - A scrubbed environment. Its shell is handed an allowlisted set of variables: chat tokens aren’t passed to it. The gateway holds the API, trigger and metrics tokens only as hashes, and they’re not in the agent’s environment at all. As root it could still read the gateway’s own environment, chat tokens included.
- Logs that leave nothing out by accident. The gateway never logs message text, replies, memory, command lines or their output, repository content or credentials, at any level. Chat IDs appear only at the debug level, and every line is scrubbed of the secrets the gateway knows and of anything shaped like a well-known token.
- HTTP guards. Cross-site requests and unexpected Host headers are refused, bodies must be JSON and are capped at 1 MB, and the API token protects the management API.
- Untrusted input stays data. Trigger fields are declared, capped and fenced, and the agent is told to treat logs, web pages and event data as data, never as instructions.
Hosted agents
Shipyard sets up every hosted agent the same way:
- A namespace of its own. One pod (and a second one while its browser is in use), its own volumes, a quota and limits by size, and Kubernetes’ baseline Pod Security. A team sees and manages only its own agents; to anyone else, another team’s agent doesn’t exist.
- A network policy of its own. Only its own namespace can reach the agent, plus the metrics scraper on the gateway’s port alone (and, with Teams on, the Teams port, where every request must be signed by Microsoft). The agent reaches DNS, its own namespace, the Kubernetes API and its endpoints (to start its browser) and the public internet, but no private, shared, loopback or link-local address: not other agents, not the cluster’s services, not cloud metadata, not any private network. The same policy covers its browser. Shipyard writes it again with every save, so a policy deleted by hand comes back. Like any network policy it holds only where the cluster’s network plugin enforces it, and the hosted cluster’s does.
- Secrets stay in its namespace. Model access, chat tokens and keys go into the agent’s own Secret, in its namespace. Secrets go in and never come back out: no Shipyard route returns a secret’s value, only which keys are set. A generated SSH key is made by Shipyard and written straight into the agent’s Secret; its private half is never shown.
- Chat tokens stay with the gateway. The agent’s shell gets the extra variables you add, never the chat tokens or Shipmate’s own settings.
- A read-only metrics token. The scraper reads each agent’s metrics with a token that opens nothing else: not the management API, not chat, not triggers. The agent keeps only its hash and never sees it, and nobody can set or remove it as extra environment.
- Nothing sensitive logged. Shipyard writes one audit line per change: who, which team, what, and how it ended. It never logs a request body or a token, and its metrics carry no user ID, email address or secret. The agent’s own logs follow the policy above, and on hosted agents even the ID of someone not on the allowlist is masked before logs leave the cluster.
- Who may change what. Every request carries your session as a bearer token, never a cookie, so another site can’t act in your name. The server checks your role in the team on every change, and limits how many changes one person can make in ten minutes.
A Shipyard you run on your own cluster does the same, except that the network policy is off for your agents until you turn it on (see Shipyard’s settings), and it takes effect only where your network plugin enforces NetworkPolicy.
Shipmate’s own gates
Shipmate’s own gates run on every tool call. They’re about people and workflow:
| Gate | What it does |
|---|---|
| Approvals | Matching calls wait for a named approver in the thread. |
| Verification | In enforce environments the next change waits until the previous one passes. |
| Admin mode | Approvers can skip approvals, or every check, for a set time. |
| Memory guard | Writes into its memory can’t carry secrets, MEMORY.md stays within what loads (200 lines, 25 KB), and the monthly log is append-only. |
| Its own config | Its file tools can’t write the persona, policy, triggers, built-in runbooks, Shipmate’s own code or its runtime state. |
| Audit log | Every tool call and its decision is appended to audit.log in the workspace, and so is every screenshot and image it posts. |
Grant access in tiers, and stop at the one the job needs:
| Tier | Access | Enforced by |
|---|---|---|
| Observer | Observability read-only, and chat | The credentials you give it and the chat allowlist. |
| Investigator | Plus repo read and Kubernetes read-only | Read-only RBAC or kubeconfig, and a read-only Git token. |
| Collaborator | Plus repo write, pull requests only | Branch protection, and a Git token that can’t push to protected branches. |
| Operator | Plus running your pipelines | Your existing pipelines, plus approvals and verification. |
Reference
Monitoring your agents
Each agent’s gateway serves Prometheus text at GET /metrics on port 8787: counts, timings and states only, never message text, memory, commands or check output.
A read-only metrics token. Give your scraper a token of its own. It reads /metrics and nothing else: the management API refuses it. The container keeps only its hash, and the agent never sees it. Shipyard gives every agent it runs on release 0.2.16 or later the same token, and lets one scraper in, on the gateway’s port only. Self-hosted, set the token yourself (see the metrics token in the appendix); the API token works too, but a read-only one is safer. On Kubernetes with Helm, let a scraper in another namespace past the chart’s network policy with networkPolicy.extraIngressFrom.
| Metric | What it tells you |
|---|---|
shipmate_up, shipmate_heartbeat_timestamp_seconds | Is it alive? The heartbeat runs every minute without a model call. |
shipmate_queue_depth, shipmate_current_turn_seconds | Is it keeping up, or is a turn stuck? |
shipmate_turns_total{kind,outcome} | Chat, scheduled and trigger turns, and how many failed. |
shipmate_tokens_total, shipmate_model_cost_usd_total | Tokens and spend per model. Restarts don’t re-count them. |
shipmate_tool_calls_total{tool,decision} | Policy decisions per tool. |
shipmate_investigations_total{mode,outcome} | Incident investigators run, by investigation mode and what each found: confirmed, ruled_out, unclear, no_verdict or failed. |
shipmate_side_answers_total{kind} | Messages answered while it was busy: status, instruction, new_request, or unclassified and failed (those wait in the queue as before). |
shipmate_unknown_sender_replies_total{platform,outcome} | Replies that told someone not on the allowlist their own ID: sent, cooldown (told within the day), capped (20 an hour reached), off or failed. No IDs in the labels. |
shipmate_cron_runs_total, shipmate_trigger_runs_total | Scheduled check and automation outcomes. |
shipmate_unverified_changes | Changes still waiting on a passing check. |
shipmate_approvals_total, shipmate_turns_stopped_total | Approvals by outcome, and turns stopped for making no progress or running too long. |
Two dashboards. deploy/grafana has a platform dashboard for the operator (the fleet, spend, failed turns, sign-in) and an agent dashboard for the team that runs one (status, jobs, verification, approvals, cost, memory, schedules, and logs by level: Errors, Warnings, and Recent logs with a level picker). The log panels read JSON logs, so Errors and Warnings stay empty for agents on 0.2.17 or earlier. The agent dashboard picks a team and an agent from Shipyard’s metrics; an agent you run without Shipyard doesn’t appear in its pickers, so query its metrics by its namespace instead. Their data sources are variables, so they import into any Grafana: Dashboards → New → Import, then pick your Prometheus and Loki. upload.sh beside them uploads both with the API.
Alerts. Ready-made alert rules ship in deploy/prometheus/shipmate-alerts.yml: down, stale heartbeat, chat disconnected, unhealthy session, stuck turn, backlog, failing turns or checks, and daily spend. Route them through something other than Shipmate, because it can’t tell you it’s down. With either token set, /metrics answers on any hostname, so a scraper reaching it by name needs nothing more.
Releases and upgrades
Releases are versioned, and there’s no :latest: every install pins a version, or better, its digest. The shipmate, shipmate-console, shipmate-browser and shipmate-shipyard images are linux/amd64, carry an SBOM and build provenance, and are signed keylessly by the release workflow.
cosign verify ghcr.io/roundbeat-ai/shipmate:<X.Y.Z> \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity https://github.com/RoundBeat-Ai/shipmate/.github/workflows/release-please.yml@refs/heads/main
docker buildx imagetools inspect ghcr.io/roundbeat-ai/shipmate:<X.Y.Z> --format '{{ json .SBOM }}'
- In Shipyard, hosted included. Choose a newer Release on the agent’s Config tab and save. It upgrades the chart and the image together.
- With Docker Compose. Check out the new release in your copy of the repository, then run
docker compose up -d --build. - With Helm. Upgrade the release to the new chart version. Use
--reset-then-reuse-values(Helm 3.14 or later), or pass your values file again:--reuse-valuesdrops the new chart’s defaults, and its templates can fail.
helm upgrade shipmate oci://ghcr.io/roundbeat-ai/charts/shipmate \
--version <X.Y.Z> --reset-then-reuse-values
The agent’s memory, scheduled checks and audit log live on its volumes, so an upgrade keeps them. Upgrading from a release before the memory volume? Copy memory/ into the new volume first; the README shows how. If the agent’s instructions changed in the new release, it starts a fresh session and carries on from its memory.
Upgrading to 0.3.0. Logs are one JSON object per line instead of [component] text lines, so anything that greps the old text needs changing: grep '\[chat\]' becomes jq -R -c 'fromjson? | select(.component=="chat")', and errors are jq -R -c 'fromjson? | select(.level=="error")'. The -R and fromjson? skip lines that aren’t JSON, such as a crash report or lines from before the upgrade. The agent session’s start line is now "msg":"session started". Chat user, channel and message IDs are no longer logged at the default level, only at debug; someone who isn’t on the allowlist is logged once per ID until restart, in allowlistId. Shipyard’s audit lines keep "log":"audit". See the log settings in the appendix.
Appendix: environment variables
Everything the wizard sets has a setting behind it. You need these only when you run an agent without the web app: with Docker Compose, or with the Helm chart on its own. Set them in .env for Compose, then recreate the container with docker compose up -d. On Kubernetes, tokens go in the agent’s Secret, and the rest have Helm values.
Where a setting comes from
With Shipyard, each setting has one place: its field in the wizard or on the Config page, or Extra env for anything else. Running an agent yourself, a setting can come from more than one place, and the first one that has it wins:
| Setting | Where it comes from, first wins | A change applies |
|---|---|---|
| Teammate name | The console; SHIPMATE_AGENT_NAME (Helm agentName); Shipmate | At the next session: restart it from the console |
| Model | The console; SHIPMATE_MODEL (Helm model); the default model | At the next session: restart it from the console |
| Home channel | sethome in chat, or the console; SHIPMATE_OPS_CHANNEL (Helm opsChannel); ops | Right away |
| Incident investigation, investigators at once | The live settings file (Helm liveSettings.secret), or POST /mgmt/investigation, whichever wrote last; SHIPMATE_INVESTIGATION_MODE, SHIPMATE_INVESTIGATION_MAX_PARALLEL (Helm investigationMode, investigationMaxParallel); Balanced, 4 | No restart: from the file within a minute, from the API at once. The limit holds from the next investigator, the mode from the next session. Any change to the file, even to another setting, puts its mode (or the environment’s) back over the API’s, and so does a restart |
| Rich cards | The live settings file (richCards); SHIPMATE_RICH_CARDS (Helm richCards); on | From the file: within a minute, no restart. Otherwise when the agent restarts |
| Log level | The live settings file; SHIPMATE_LOG_LEVEL (Helm logLevel); info | From the file: within a minute, no restart. Otherwise when the agent restarts |
| Turn limits, setup replay | SHIPMATE_TURN_IDLE_TIMEOUT_MS, SHIPMATE_TURN_MAX_MS, SHIPMATE_SETUP_TIMEOUT; 10 minutes, 60 minutes, 900 seconds | When the agent restarts |
| Everything else in this appendix | Its variable (or Helm value); its default | When the agent restarts |
Docker Compose
The least .env needs before the first start, then your chat platform’s settings:
| Variable | What it’s for |
|---|---|
ANTHROPIC_API_KEY | Model access, or your cloud provider’s settings instead (see Model access below). |
SHIPMATE_API_TOKEN | Required: in a container the gateway won’t start without it. It protects the console and the management API. Make one with openssl rand -hex 24. |
SHIPMATE_AGENT_NAME | Your teammate’s name, shown in chat and the console. |
One agent on Kubernetes with Helm
The Helm chart runs one agent per namespace, without Shipyard. Secrets come from a Secret you create; the chart never puts them in values. Use the release version we give you for <X.Y.Z>.
# add SLACK_BOT_TOKEN and SLACK_APP_TOKEN, SHIPMATE_DISCORD_TOKEN,
# SHIPMATE_TEAMS_APP_PASSWORD or SHIPMATE_TRIGGER_TOKEN as you need them
kubectl create secret generic shipmate-secrets \
--from-literal=ANTHROPIC_API_KEY=sk-ant-... \
--from-literal=SHIPMATE_API_TOKEN=$(openssl rand -hex 24)
# the images are private during early access
kubectl create secret docker-registry ghcr-pull \
--docker-server=ghcr.io --docker-username=<user> \
--docker-password=<token with read:packages>
helm registry login ghcr.io -u <user>
helm install shipmate oci://ghcr.io/roundbeat-ai/charts/shipmate \
--version <X.Y.Z> \
--set existingSecret=shipmate-secrets \
--set 'imagePullSecrets[0].name=ghcr-pull' \
--set 'allowedUsers={U0123ABCD}'
| Value | Default | What it does |
|---|---|---|
agentName | Shipmate | The teammate’s name. |
model | "" | A Claude model ID. Empty uses the default model. |
investigationMode | balanced | The incident investigators’ model: thorough, balanced or frugal, in any case (see Incident investigation). The chart refuses any other value. |
liveSettings.secret | "" | A Secret whose key settings.json holds live settings, such as {"logLevel": "debug", "investigationMode": "frugal", "investigationMaxParallel": 2, "richCards": "off"}. It’s mounted as a file the agent re-reads, so a change to the Secret applies within a minute or so without a new pod; a setting it doesn’t hold comes from the values. Shipyard sets it. |
richCards | "on" | "on" or "off", in any case: whether the agent posts incidents, rollouts, pull requests and verifications as cards or as plain text (see Cards in chat). Quote it: an unquoted on or off is a YAML boolean, which the chart reads as the same word. The chart refuses any other value. |
investigationMaxParallel | 4 | How many investigators may run at once, from 1 to 8. The chart refuses any other value. |
opsChannel | ops | Where escalations and CI alerts post, until someone runs sethome. A name like ops works on Slack only; use platform:id for Discord or Teams. |
allowedUsers | [] | Slack member IDs who may talk to it. Empty means nobody. |
discord.* | [] | appId, allowedUsers and an optional channels pin, plus openChannels, dmUsers and alertChannels. Quote Discord IDs: YAML would round them into a different number. |
postChannels | [] | Channels the agent may post to besides the conversation it’s answering, as platform:id. |
teams.* | enabled: false | Teams: appId, tenantId, allowedUsers, and the port your Ingress routes to. |
agentConfig.overridesConfigMap | "" | A ConfigMap holding your policy.json and triggers.json, mounted read-only over the defaults. |
triggers.ingress.enabled | false | An Ingress that exposes only /hooks, so CI outside the cluster can reach it. |
networkPolicy.enabled | true | Limits who can reach the agent. Egress stays open: it needs the model, chat and your tooling. networkPolicy.extraIngressFrom lets in more, such as a metrics scraper. |
persistence.size | 5Gi | The workspace: scheduled checks, tools, setup.sh and the audit log. |
persistence.memory.* | 1Gi | Memory on a claim of its own at /workspace/memory, or your own claim with existingClaim. |
browser.* | enabled: false | A headless browser of its own, in a pod that runs only while it’s in use. existingSecret names a Secret with its token; put the same value in your agent Secret as SHIPMATE_BROWSER_TOKEN (the gateway reads it; the agent never sees it). locale (default en-US) is the language pages see. startTimeoutSeconds (default 360) is how long a first start may take while a node downloads the browser. egress: public keeps it off private and link-local addresses, where your CNI enforces NetworkPolicy. See Browser and screenshots. |
logLevel, logFormat | info, json | The gateway’s log level (error, warn, info or debug) and format (json or pretty). The chart refuses any other value. |
replicaCount | 1 | One agent is one session. The chart refuses any other number. |
The pod runs as root on a writable filesystem, with the default seccomp profile and no privilege escalation; give it a node pool of its own. The chart doesn’t include the console; it’s part of the Compose setup.
Model access
| Variable | What it’s for |
|---|---|
ANTHROPIC_API_KEY | An Anthropic API key. The usual choice. Use an API key whenever more than one person talks to the agent: a personal Claude subscription login isn’t allowed in a shared deployment. |
SHIPMATE_CLAUDE_TOKEN | Your own Claude Pro or Max plan, for an agent only you talk to. Make the token with the image’s token command (see Make a subscription token). In Shipyard, choose Claude subscription. |
SHIPMATE_MODEL_PROVIDER | Claude through your cloud, for your own billing and data residency: bedrock, vertex or foundry, with that provider’s settings. Amazon Bedrock: AWS_REGION and AWS credentials (AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, or a role). Google Vertex AI: ANTHROPIC_VERTEX_PROJECT_ID, CLOUD_ML_REGION and GOOGLE_APPLICATION_CREDENTIALS. Microsoft Foundry: ANTHROPIC_FOUNDRY_RESOURCE and ANTHROPIC_FOUNDRY_API_KEY. Unset, or anthropic, is Anthropic’s API. Any other value stops the agent at start, so a typo never sends your prompts somewhere you didn’t choose. |
SHIPMATE_MODEL | Any Claude model. opus, sonnet and haiku follow the newest of each tier; a full ID such as claude-opus-5-5 stays on one. Or set the Helm model value, or change it in the console’s Integrations view. A new model takes effect when the agent restarts. |
SHIPMATE_SUBAGENT_MODEL | A cheaper model for the agent’s helpers, such as a deep log search, for example haiku. Incident investigators follow SHIPMATE_INVESTIGATION_MODE instead. |
SHIPMATE_INVESTIGATION_MODE | The incident investigators’ model: thorough (the agent’s own), balanced (the Sonnet tier, the default) or frugal (the Haiku tier), never bigger than the agent’s own. Any other value is read as balanced, with a warning in the log. Read at start. Helm: investigationMode. See Incident investigation. |
SHIPMATE_INVESTIGATION_MAX_PARALLEL | How many investigators may run at once, from 1 to 8 (4 by default). How many it starts in all, over several rounds, is its own choice. Any other value is read as 4, with a warning in the log. Helm: investigationMaxParallel. |
ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL, ANTHROPIC_DEFAULT_HAIKU_MODEL | Which model each tier means: on your cloud, your provider’s IDs; on your own endpoint, your provider’s models. In Shipyard, add them under Extra environment. |
SHIPMATE_MAX_CONTEXT_TOKENS, SHIPMATE_MAX_OUTPUT_TOKENS, SHIPMATE_COMPACT_WINDOW | Whole numbers of tokens, for a model the agent doesn’t know: its real context window, the longest reply to ask for, and how full the context gets before the agent summarises it. In Shipyard, add them under Extra environment. |
Your own model endpoint (experimental). Set ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN (your provider’s key) and ANTHROPIC_MODEL, and point ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL and ANTHROPIC_DEFAULT_HAIKU_MODEL at the provider’s models too. Leave ANTHROPIC_API_KEY unset. For an address that isn’t Anthropic’s, Shipmate leaves out the pre-release request fields other providers refuse, and sends nothing to Anthropic outside your endpoint. If your provider takes those fields, SHIPMATE_ENDPOINT_BETAS=on keeps them. If it refuses requests that ask for caching, set SHIPMATE_PROMPT_CACHING=off. Shipyard does all of this for you.
Set up before these names? The names you set then still work, so there’s nothing to change. If you set both to different values, the new name wins, and the agent’s log says once, at start, which one to remove.
Chat platforms
Set one platform’s variables, recreate the container, then say @Shipmate sethome in your ops channel. The platform’s own steps are in Connect your chat. With Helm, tokens go in the Secret and the rest are values (allowedUsers, discord.*, teams.*).
| Variable | What it’s for |
|---|---|
SLACK_BOT_TOKEN, SLACK_APP_TOKEN | Slack’s bot token (xoxb-) and app-level token (xapp-). |
SHIPMATE_ALLOWED_USERS | Slack member IDs who may talk to it, comma-separated. Empty means nobody. Like every allowed users list, it’s read when the agent starts: recreate the container after a change. |
SHIPMATE_DISCORD_TOKEN, SHIPMATE_DISCORD_APP_ID | The Discord bot’s token and application ID. |
SHIPMATE_DISCORD_ALLOWED_USERS, SHIPMATE_DISCORD_CHANNELS | Discord user IDs who may talk to it, and an optional channel pin (DMs from allowed users always work). |
SHIPMATE_DISCORD_OPEN_CHANNELS | Channels where anyone may mention Shipmate, not just the allowlist (the wizard’s Open channels). |
SHIPMATE_DISCORD_DM_USERS | Who may DM Shipmate. Empty means anyone on the allowlist. |
SHIPMATE_TELL_UNKNOWN_SENDERS | on (the default) or off. On, someone who isn’t on the allowlist gets one reply a day with their own ID, from release 0.3.11 (see Check it’s connected). Read at start. |
SHIPMATE_DISCORD_ALERT_CHANNELS | Channels where other bots and webhooks post alerts (the wizard’s Alert channels). With this set, a bot or webhook that mentions Shipmate counts too, only in SHIPMATE_DISCORD_CHANNELS when that’s set. |
SHIPMATE_TEAMS_APP_ID, SHIPMATE_TEAMS_APP_PASSWORD, SHIPMATE_TEAMS_TENANT_ID | The Azure Bot’s app ID, client secret and tenant. |
SHIPMATE_TEAMS_ANONYMOUS | Testing only: 1 lets the local Microsoft 365 Agents Playground talk to the agent with no credentials and no sender check. Never set it on an agent anyone else can reach. |
SHIPMATE_TEAMS_ALLOWED_USERS, SHIPMATE_TEAMS_PORT | Teams user IDs who may talk to it, and the port Teams posts to (3978). |
SHIPMATE_OPS_CHANNEL | The home channel, if you set it up front: platform:id, or a Slack channel name or ID. A bare name like ops works on Slack only. sethome or the console take precedence. |
SHIPMATE_POST_CHANNELS | Channels the agent may post to besides the conversation it’s answering, as platform:id. |
SHIPMATE_CHAT | legacy uses Shipmate’s original chat adapters instead of the default chat layer. Leave it unset. |
SHIPMATE_DISCORD_TOKEN=<bot token>
SHIPMATE_DISCORD_APP_ID=<application id>
# who may talk to it; empty means nobody
SHIPMATE_DISCORD_ALLOWED_USERS=123456789012345678
# optional: only these channels (DMs from allowed users always work)
SHIPMATE_DISCORD_CHANNELS=
Everything else
| Variable | What it’s for |
|---|---|
SHIPMATE_API_TOKEN | Required in a container. Protects the console, the management API and /metrics. |
SHIPMATE_METRICS_TOKEN | Optional. A read-only token for your metrics scraper: /metrics and nothing else (see Monitoring your agents). Make one with openssl rand -hex 24. |
SHIPMATE_AGENT_NAME | The teammate’s name. |
SHIPMATE_TRIGGER_TOKEN | Turns on CI triggers and authenticates them (see CI triggers). |
SHIPMATE_TRANSCRIPTS | off keeps no trigger run transcripts, whatever triggers.json says (see CI triggers). Unset or on: fresh triggers keep them, and team-session triggers with "transcript": "on". Any other value is read as on, with a warning in the log. Read at start. |
SHIPMATE_TURN_IDLE_TIMEOUT_MS | Stops a turn that has made no progress (no message, tool call or tool result) for this long, in milliseconds (10 minutes by default, a day at most). A turn that’s working is never stopped by it; API retries and rate-limit waits don’t count as work. |
SHIPMATE_TURN_MAX_MS | The longest one turn may run, busy or not, in milliseconds (60 minutes by default, a day at most). Approval waits count toward neither limit. The older SHIPMATE_TURN_TIMEOUT_MS is still read as this setting, and logs a warning. |
SHIPMATE_RICH_CARDS | on (the default) or off, in any case: whether the agent posts incidents, rollouts, pull requests and verifications as cards, or as plain text. Any other value is read as on, with a warning in the log. The live settings file’s richCards wins over it, and applies without a restart. Helm: richCards. See Cards in chat. |
SHIPMATE_LIVE_SETTINGS | A JSON file of live settings (logLevel, investigationMode, investigationMaxParallel, richCards) the agent re-reads every 20 seconds and applies without a restart; each one it doesn’t hold comes from its variable. A file that isn’t a JSON object (a half-written edit) changes nothing: the last good settings stay, with a warning in the log. The Helm chart sets it with liveSettings.secret. |
SHIPMATE_SETUP_TIMEOUT | How long the start-up replay of setup.sh may run, in whole seconds from 30 to 7200 (900 by default; anything else is read as 900, with a warning in the log). |
SHIPMATE_ALLOWED_HOSTS | Extra hostnames the management API answers to, when you reach it by a name other than localhost. |
SHIPMATE_LOG_LEVEL | error, warn, info (the default) or debug. Debug adds chat IDs, never message text, for troubleshooting; turn it back down after. Read at start, so recreate the container after a change, unless it comes from the live settings file (SHIPMATE_LIVE_SETTINGS; Shipyard’s Config page from release 0.3.3), which applies a change within a minute. The console’s server reads it too. Helm: logLevel. |
SHIPMATE_LOG_FORMAT | json (the default) or pretty, one short line per record for a person. Without it, logs are JSON, and pretty only on a terminal outside a container. Helm: logFormat. |
HTTP_PROXY, HTTPS_PROXY, NO_PROXY, NODE_EXTRA_CA_CERTS, SSL_CERT_FILE | For a corporate network: a proxy and your own certificate authority. They’re passed to the agent and to setup.sh. |
SHIPMATE_CONFIG_OVERRIDES_DIR | A directory whose files replace the defaults: the agent’s persona, policy.json and triggers.json. The Helm chart sets it when you use agentConfig.overridesConfigMap. |
SHIPMATE_AGENT_ENV_PASSTHROUGH | The agent’s shell sees only an allowlisted set of variables. Name any others it should see here, comma-separated (for example KUBECONFIG,GRAFANA_TOKEN). Don’t name chat or Shipmate tokens; the browser and metrics tokens never pass, whatever you list. |
Shipyard’s settings
For a Shipyard you run on your own cluster. Each agent’s settings come from the wizard; these are Shipyard’s own.
| Variable | Default | What it’s for |
|---|---|---|
SHIPYARD_ADMIN_TOKEN_SHA256 | required | The SHA-256, in hex, of the admin token you sign in with. Shipyard never holds the token itself. |
SHIPYARD_VERSIONS, SHIPYARD_DEFAULT_VERSION | Shipyard’s own release | The Shipmate releases the wizard offers, comma-separated, and the one it picks first. The default is the release Shipyard was built from, and it must be in the list, or launches at the default are refused. |
SHIPYARD_NAMESPACE, SHIPYARD_PULL_SECRET | shipyard-system, ghcr-pull | Where Shipyard runs, and the pull secret for the private images that it copies into each agent’s namespace. |
SHIPYARD_CHART_URL | oci://ghcr.io/roundbeat-ai/charts/shipmate | The Shipmate Helm chart each agent is installed from. |
SHIPYARD_STORAGE_CLASS | "" | The StorageClass for agents’ volumes. Empty uses the cluster’s default. |
SHIPYARD_SECURE_COOKIES | off | 1 always marks the session cookie Secure. Otherwise it’s Secure whenever the request came over HTTPS. |
SHIPYARD_AGENT_EGRESS | open | public gives your agents the network policy hosted agents have: the public internet and nothing private (see Hosted agents). New agents get it at launch, older ones at their next save. |
SHIPYARD_AGENT_API_SERVERS | none | With that policy on, your Kubernetes API server endpoints (ip:port, comma-separated), so an agent can still start its browser. The kubernetes Service’s own address is added for you. |
SHIPYARD_MODELS | Anthropic’s current models | The pinned models the wizard offers, as id=Label, comma-separated. |
SHIPYARD_METRICS_TOKEN | none | The fleet’s read-only metrics token, written into every agent on release 0.2.16 or later (see Monitoring your agents). At least 16 printable characters. |
SHIPYARD_METRICS_SCRAPER_NAMESPACE, SHIPYARD_METRICS_SCRAPER_LABELS | monitoring, app.kubernetes.io/name=alloy | The scraper let in to each agent’s port 8787, by its namespace and pod labels. An empty namespace leaves the rule out. |
SHIPYARD_METRICS_PORT | 9464 | Shipyard’s own metrics, without auth. Admit only your scraper to it, and never route it to the internet. |
SHIPYARD_PUBLIC_ORIGINS | none | Origins, comma-separated, whose changes Shipyard accepts besides its own address: set it when a proxy in front of Shipyard rewrites the Host header. |
SHIPYARD_LOG_LEVEL, SHIPYARD_LOG_FORMAT | info, json | The same levels and formats as the agent’s. Shipyard’s audit lines are written at any level and keep "log":"audit". |
PORT | 8788 | The web app. |