Documentation
Everything you need to install, configure, and command a fleet of AI agents with Captain — on your own, with a team, from your inbox, and from a device in your pocket.
Video guides
More on the Captain YouTube channel.
Installation
The desktop app
For one person on a Mac or a Windows PC, download Captain (0.9.3; macOS on Apple silicon or Intel, Windows 10 or 11 64-bit). No Python needed: its first launch installs the engine, and Check for Updates… keeps it current. It runs a deck with sign-in off; for a team, use pip on a server.
Using pip (recommended for servers)
$ pip install captain-claw
$ captain-claw-web # research workspace · http://localhost:23080
$ flight-deck # multi-agent command center · http://localhost:25080
Using Docker
$ docker run -d -p 23080:23080 \
-v $(pwd)/config.yaml:/app/config.yaml:ro \
-v $(pwd)/.env:/app/.env:ro \
-v $(pwd)/docker-data:/root/.captain-claw \
kstevica/captain-claw:latest
Requirements
- Python 3.11 or higher
- At least one model provider — an API key (OpenAI, Anthropic, Google Gemini, DeepSeek, OpenRouter), "Sign in with ChatGPT" (OpenAI OAuth, no key needed), Google subscription text through the Antigravity CLI, or Ollama for fully local models
- Optional: a Soniox key for speech in and voice out on the devices, WhatsApp and Telegram voice notes, the HUD and the File library's recordings — each user's own in Connections → Soniox, or a team key an admin shares (
SONIOX_API_KEYstill works as the last fallback);ffmpegfor agent-made audio and recording summaries
Quick Start
1. Start a server
Run captain-claw-web for the single-agent research workspace, or flight-deck for the multi-agent command center.
$ flight-deck
Flight Deck running at http://localhost:25080
2. Configure on first run
On first launch, Captain runs an interactive onboarding wizard that pre-configures up to 12 models across providers. Re-run it anytime with captain-claw --onboarding. The first account you register on Flight Deck becomes the admin and opens in the Admin console; registration closes after that, and you invite the rest.
3. Spawn your first agent
In Flight Deck, use Spawn Agent to launch a single specialist, or Agent Forge to describe a goal and let an LLM design a whole team. Every agent is a card on the Agent Desktop — open one to chat, inspect files, or read its logs. Prefer chat first? Press Cmd/Ctrl+\ for the kiosk, the chat-first view.
4. Put it in your pocket
Flash an M5Stack StickS3, StopWatch or PaperColor with the device firmware, point it at your deck, and talk to the agent you just spawned.
Configuration
Captain uses a YAML configuration file with environment variable overrides. Configuration is loaded in this order (later sources override earlier ones):
./config.yaml— project root~/.captain-claw/config.yaml— home directory- Environment variables
.envfile- Built-in defaults
Model Configuration
model:
provider: "openai" # openai, anthropic, gemini, deepseek, ollama, openrouter, chatgpt, antigravity
model: "gpt-4o"
temperature: 0.7
max_tokens: 32000
allowed:
- id: "claude-sonnet"
provider: "anthropic"
model: "claude-sonnet-4-20250514"
- id: "gemini-flash"
provider: "gemini"
model: "gemini-2.5-flash"
See the Configuration Reference and the 0.8.2, 0.8.1 and 0.8.0 settings for all available options. Under Flight Deck, model tiers live in the Library and can be published to the whole team.
First Session
A session is a named, persistent conversation with its own model selection and memory. Start one and try a few things:
- Create a fresh session with
/new project-name— on the web, WhatsApp, Telegram, the HUD, or by saying "new topic" - Ask a research question — Captain will search the web, read pages, and synthesize a cited answer
- Drop in a PDF, DOCX, XLSX, or video and ask for a summary
- Switch models mid-conversation from the model selector
- Flip on Plan Mode for a structured, verified multi-step run
Everything you do accrues to memory — facts, contacts, decisions, and preferences are extracted automatically and recalled in future sessions.
Upgrading to 0.9.3 0.9.3
Security first. Up to 0.9.2, any file the deck could read was open to anyone, with no sign-in: a request with .. in its path climbed out of the folder of static files and returned any file the deck's process could read, its .env with API keys included. It worked through a reverse proxy too, and scanners on the internet already try it. 0.9.3 closes it. Update and restart every deck, then change every secret that was in the deck's .env.
0.9.3 also adds Drive, web playbooks, robot checks that come to you in your Chrome, Excel files as tables with a filter on every column, question cards from MCP servers, a Google Drive file picker and delivery states for WhatsApp Web: 38 pull requests, #743 to #782. These steps take a deck from 0.9.2 to 0.9.3; coming from 0.9.1, read the 0.9.2 steps too. The full list is in the release notes.
Steps
- The desktop app updates itself. New installers are on the release:
Captain-0.9.3-arm64.dmg(Apple silicon),Captain-0.9.3-x64.dmg(Intel) andCaptain-Setup-0.9.3-x64.exe(Windows). Since 0.9.3 an installer checks it is on the CPU it's for. - Each Flight Deck — Console → Updates, or
git pullandpip install -e .by hand. No new Python dependencies, and no migrations to run. - Restart Flight Deck, then every agent, and hard-refresh every browser tab.
- Change the secrets in the deck's
.envor in other files its process can read: model provider keys, the deck's own secret, mail and bot tokens. Treat them as read if the deck was reachable from outside your network. After the update, a request path with..in it gets a 400. - Reload Captain for Chrome (0.7.2 → 0.9.0): Connections → Browser, download it, unzip it over the folder Chrome loaded, then Reload in
chrome://extensions. - WhatsApp Web: turn it off and on for the deck after the restart, so delivery is tracked. Earlier messages show as untracked.
Changed
- Agents in the Ionian or Phrygian mode with no Drive default now run at Persistent: longer turns and one more model call per turn that used tools. Set How far it pushes to Diligent on an agent to keep it as it was.
- At Ambitious, extra work is on. Switch At Ambitious, add the obvious next step off per agent, or set
drive.initiative: false. - Every agent with a cognitive mode gets new mode text at its restart. All seven mode prompts are rewritten, and modes no longer decide how hard an agent pushes. Locrian gets the usual two retries (it had one), and agents on the small prompts (Eco included) run with no mode.
- New factories run on the list funnel unless the draft says its result isn't a list. Existing factories and the built-in templates keep their runner.
- Scheduled tasks pause after the longer of the admin's days or twice the task's own period, so a weekly task isn't paused after one week away.
- Each agent misses its prompt cache once after the update.
llm_usagegets its new columns by itself.
Opt-in
- Google Drive picker (admin): enable the Google Picker API in your Google Cloud project, create a browser API key, add the deck's address to the OAuth client's Authorized JavaScript origins, and paste the key into Picker API key. People then use Connections → Google → Files from your Google Drive → Pick files from Google Drive. It's hidden where full Drive access is already connected.
New in the config: drive.default and drive.initiative. No new environment variables to set.
From 0.9.1: upgrading to 0.9.2
0.9.2 adds First Mate with runs that finish their goals and the list funnel, web searches and pages in your own Chrome, recordings in Captain for Chrome, agent families and safer agents: 164 pull requests, #578 to #742. These steps take a deck from 0.9.1 to 0.9.2; coming from 0.9.0, read the 0.9.1 steps too. The full list is in the 0.9.2 release notes.
Steps
- The desktop app updates itself. New installers are on the release:
Captain-0.9.2-arm64.dmg(Apple silicon),Captain-0.9.2-x64.dmg(Intel) andCaptain-Setup-0.9.2-x64.exe(Windows). They aren't signed, so macOS asks first (System Settings → Privacy & Security → Open Anyway), and so does Windows (More info → Run anyway). - Each Flight Deck — Console → Updates, or
git pullandpip install -e .by hand. No new Python dependencies. - Restart Flight Deck, then every agent, and hard-refresh every browser tab. Restart Flight Deck first: an agent that finds a deck without the new routes doesn't ask again for four minutes.
- Reload Captain for Chrome (0.3.0 → 0.7.2): Connections → Browser, download it, unzip it over the folder Chrome loaded, then Reload in
chrome://extensions. No new permissions; reading pages for agents needs Work on every site without asking. From now on the panel says when it's behind. - Back up the new data:
first_mate.dbandbrowser-recordings/in the deck's data folder. Flight Deck also writes a rotating log at<FD_DATA_DIR>/logs/flight_deck.log.
Changed
- A browser tab opens the kiosk for people and the Admin console for admins. The classic layout is at
?app=classic, and Payments review links need it too. Tell your team before they log in. - Shared folders leave the File library unless someone added them, at its next scan; Add folder to Library brings one back. Agents' own files are listed as before, and the Data library still lists every folder's tables.
- Scheduled tasks pause for people away 7 days or more, on the first pass 10 minutes after the deck starts, with one Line note each. Change the days or turn it off first under Console → Settings → Agents. Admins stop seeing other people's scheduled tasks.
- Agents' own scheduled prompts move to their own "⏰" session on their first run. Jobs that do nothing count as failures and pause after 10; new jobs that run the model repeat at most every 15 minutes, 20 jobs per agent; existing jobs keep running.
- Bat runs behave differently: longer steps, plans up to 12 steps, checks between steps with short reviews (counted in the run's spend), and runs with no cap stop at 20 million tokens (
CLAW_BAT_TOKEN_CEILING, 0 = off). Steps already running at the upgrade keep their old limits. Run workers leave people's agent lists. - Tool search is on for agents past 16,000 tokens of tool descriptions (
tools.tool_search.budget_tokens; 0 turns it off). - Fewer nudges reach phones (turn Only nudges that can't wait reach your phone off for the old way), and Needs you holds only what's blocked on you. Copy says Tasks (was Taskboard), Needs you (was Needs me) and automations (was cron jobs).
- Non-admins on the team's key or tiers can't switch models; a conversation already switched goes back at its next turn.
web_fetchoutput is Markdown (headings, lists,| a | b |tables). A Datastoreupdatewith nowhereon a table of two rows or more is refused ({"_all": true}still works).
Opt-in
- First Mate is off until an admin turns it on (Console → Settings → First Mate), and then for admins only until Admins only is switched off. Each person's On their own starts off, so nothing runs on a schedule until they turn it on. The first weekly report comes the Monday after.
- Approvals: every kind is Don't ask until an admin changes it under Admin console → Settings → Approvals.
- Chrome searches and Chrome page reads are per person (Profile → Personal) and need Captain for Chrome 0.7.2. There's no deck-wide switch; keep the deck's search provider key, since it answers whenever a person's Chrome can't.
New settings: 0.9.2 Settings.
From 0.9.0: upgrading to 0.9.1
0.9.1 adds anonymization with the privacy gate, data rooms for Claude, Vatra, Basna and Council in the kiosk, a new kiosk home and agents in your own Chrome: 88 pull requests, #489 to #576. These steps take a deck from 0.9.0 to 0.9.1; coming from 0.8.8 to 0.8.11, read the 0.9.0 steps too. The full list is in the 0.9.1 release notes.
Steps
- The desktop app updates itself. New installers are on the release:
Captain-0.9.1-arm64.dmg(Apple silicon),Captain-0.9.1-x64.dmg(Intel) andCaptain-Setup-0.9.1-x64.exe(Windows). They aren't signed, so macOS asks first (System Settings → Privacy & Security → Open Anyway), and so does Windows (More info → Run anyway). - Each Flight Deck — Console → Updates, or
git pullandpip install -e .by hand. No new Python dependencies. The update into 0.9.1 still uses the old countdown; the restart-time choice applies from the next one. - Restart Flight Deck, then every agent, and hard-refresh every browser tab.
- Reload Captain for Chrome (0.1.0 → 0.3.0) in
chrome://extensions, or download it again from Connections → Browser. It asks for new permissions (debugger,tabGroups,alarms); Chrome shows its "is debugging this browser" bar while an agent works there.
Changed
- The kiosk looks different: Today is the home, the agent cards moved to Agents, Line is Inbox, Taskboard is Tasks, Scheduled is Automations, the right column is gone (⋯ → Files & data), and New agent opens the Agent store. Tell your team before they log in.
- Task rephrase is off by default from the agent's next restart, unless its config sets
scale.task_rephrase_enabled. Turn it on per agent with kiosk Agent settings → Model & thinking → Rewrite requests. - Agents call themselves Captain if they still run the untouched default personality; one you renamed keeps its name.
- Crew workers bill to the agent's model and key, even where a CLI login was saved (
runs_on=cliuses the CLI's login). - External memory costs a little more while one is connected: one recall per reply, and insights taken every 5 messages instead of 20. An old single connection moves over on first read; someone who had their own starts with the deck's shared memory off.
PUT /fd/external-memory/priorityand/mirrorare gone. web_searchresults are bigger in context: 10 by default, andmax_results: 5in old configs is ignored.
Opt-in
- Anonymization and data rooms. Nothing is anonymized until an admin sets a trusted model or a person runs it, and the privacy gate is off until each person turns it on. A data room needs a public HTTPS address for Claude to connect, with no Cloudflare AI-bot blocking in front of it.
- Agents in your Chrome stay off until you turn on Agents can use this browser in Captain for Chrome; Pick a smarter or cheaper model on its own (for
model_switch) is off by default.
New settings: 0.9.1 Settings.
From 0.8.8: upgrading to 0.9.0
0.9.0 adds Custom tools, agent files (export, import and backups), agents as colleagues with their own email and any IMAP inbox, external memory, lessons you approve, and the Course: 52 pull requests, #436 to #487. The same steps take a deck from 0.8.8, 0.8.9, 0.8.10 or 0.8.11 to 0.9.0. From 0.8.5 to 0.8.7, read the 0.8.8 steps too. The full list is in the 0.9.0 release notes.
Steps
- The desktop app — Check for Updates… (it also offers 0.9.0 within a minute of starting). New installers are on this release, needed only for a fresh install or the new About panel:
Captain-0.9.0-arm64.dmg(Apple silicon),Captain-0.9.0-x64.dmg(Intel) andCaptain-Setup-0.9.0-x64.exe(Windows). They aren't signed, so macOS asks first (System Settings → Privacy & Security → Open Anyway), and so does Windows (More info → Run anyway). - Each Flight Deck — Console → Updates, or pull and reinstall by hand.
jsonschemais now a declared dependency (it used to come only through LiteLLM), sopip install -e .(oruv sync) in the deck's environment. - Restart Flight Deck, then every agent. Agents need the restart for the seven new tools, the Course prompt and the lesson proposals. Then hard-refresh every browser.
- Custom tools stay off until an admin turns them on (Admin console → Settings → Custom tools). They need
giton the host (uvis optional). On a Linux host,python3 tests/test_flight_deck/test_xtool_sandbox.pysays whether the kernel has Landlock. - Back up the new data —
external_tools/,agent-bundles/andcourse.dbin the deck's data folder, andbundle_signing_keyin its home (losing it gives the deck a new fingerprint).
On by default
- Lesson proposals — a small model call on turns that read like a correction, 12 a day at most.
lesson_proposals.enabled: falsein an agent'sconfig.yamlturns them off. - Agents pick up email that names them, from the first new mail after the upgrade (older mail is only a baseline). Switch Pick up email meant for ‹agent› off per agent, or set
FD_AGENT_MAIL=offfor the deck. Give agents with common-word names a specific name to answer to.
Changed
- A deck without sign-in (the desktop app's) now applies its console Settings (branding, deck name, Docker) that it used to ignore.
- Deleting a user now stops and removes their agents, folders and chats.
- The kiosk's agent menu is a wide card in four labelled rows: At work, What it knows, Who it is and Its place.
- Learning: insights, reflections and playbooks no longer keep "tool X doesn't work" (they keep the fix instead), failures caused by setup or cured by a retry, guesses about your traits, or a one-off request as a standing preference.
- Scheduled tasks on an agent that's off start it about five minutes before the run and switch it off again after, when nothing else needs it. They used to fail with "agent not running".
On a team deck
- Custom tools: only people approved for Crew can make them, and approving someone for Crew still trusts them with the server. Each run is held in a Landlock sandbox on Linux 5.13+; on macOS, Windows and the stock Raspberry Pi 5 kernel there is none, so tools run as Flight Deck's own user. Run tools only in the sandbox refuses every run on such a host. A tool offered to Everybody waits for an admin under Approvals unless that approval is turned off.
- Email (IMAP) needs sign-in on: up to 20 inboxes per person, passwords sealed with the deck's data key, sending off by default (
FD_IMAP_SEND=offfor the whole deck), every send audited and rung. Hosts that resolve to private, link-local or cloud-metadata addresses are refused, except loopback for Proton Bridge. - External memory: each person connects their own, or an admin connects one Hindsight server for everyone (Console → Connections → External memory → Shared memory server), with a bank per person. Non-admins can't point theirs at loopback, private or
.localaddresses. - Agent files: every person can export and import their own agents in the kiosk; keys never travel unless sealed with a passphrase in a Full backup. Admins keep Decks this one trusts and can accept only signed files under Console → Settings → Agent files.
- Course: deck goals are set by admins and read by everyone, including members of shared agents. Their horizons, caps and suggestion limits are on Console → Settings → Course. Console → Activity shows who is using the deck and whether you've written to them.
Devices need nothing: firmware stays 0.20.4 / PaperColor B 1.0.31. BotPort hubs need nothing: 0.9.0 keeps protocol 2. Captain for Chrome and Captain for Mac need nothing from this release. New settings: 0.9.0 Settings.
0.8.9, 0.8.10 and 0.8.11
Three releases between 0.8.8 and 0.9.0. The 0.9.0 steps above cover all three.
- 0.8.9, Porthole (4 November) — the Windows desktop app creates and runs agents, and a downloaded Mac app is no longer called "damaged". Nothing changed on macOS and Linux decks. Release notes
- 0.8.10, Provisions (5 November) — Quick start tier sets (Console → Models → New tier set: a provider and its key, and every tier gets its current models);
ocr_pdfandocr_imageread scans with a local OCR engine, no model; a turn still making progress no longer stops at 40 steps (the ceiling is 4× the budget, at most 300), so long turns can cost more. RapidOCR and pypdfium2 became core dependencies (about 90 MB). For more OCR languages, install Tesseract (brew install tesseract tesseract-langorapt install tesseract-ocr tesseract-ocr-hrv);tools.ocrinconfig.yamlsets the engine order. Release notes - 0.8.11, Hold (5 November) — a message sent while the agent is busy waits and goes when it's free, or Send at next step hands it to the running turn; a reply that came while a phone was locked arrives when it's back; labelled New agent and New group buttons in the kiosk. Release notes
From 0.8.5: upgrading to 0.8.8
0.8.8 adds Captain for Chrome and Captain for Mac, and fixes from a day of watching real people use the cohort deck. 0.8.6 added the Line, Captain Swarm and 131 archetypes; 0.8.7 fixed fresh installs. The same steps take a deck from 0.8.5, 0.8.6 or 0.8.7 to 0.8.8. The full list is in the 0.8.8 release notes.
Steps
- Each Flight Deck — pull, and
pip install .where Captain is installed non-editable, or use Console → Updates. 0.8.7 addedmcp(throughlitellm[mcp]); nothing new since. - Restart Flight Deck, then every agent. Agents need the restart for the file cards, the loop-guard and false-claim fixes, progress lines in your language, the shared Chromium, the
linetool and the turn sources the two apps use. Then hard-refresh every browser. - On a server that can't start Chromium, once, as root, with the deck's Python:
python -m playwright install-deps chromium. - Captain for Chrome — Flight Deck → Connections → Browser → Download the extension, then Load unpacked.
- Captain for Mac — the GitHub release, or Connections → Browser.
- The desktop app — download Captain once if you still have the old 2.5 GB app; from 0.8.6 it updates itself with Check for Updates….
Devices need nothing: firmware stays 0.20.4 / PaperColor B 1.0.31. BotPort hubs need nothing: 0.8.8 keeps protocol 2.
Changed
- Public file links expire: 7 days by default, 30 at most. At start-up, links that never expired get an end date 30 days after they were made, but at least a week away, and each owner is told on the Line.
FD_PUBLIC_FILE_LINK_MAX_DAYS=0lets links live for ever. - Agents on other decks are for admins by default; Console → Network → Every user's agents too opens them up. The fleet list shows only the caller's own agents.
- Cron removes and changes jobs by ID, never by list position.
- Bat — since 0.8.6, a run that doesn't name a cap stops at $50 (
FD_BAT_DEFAULT_LLM_USD=0for none). - The bell — since 0.8.6, only what needs you; the rest is on the Line. Agents aren't told when the fleet changes; their owner's Line is.
- The desktop app has no Captain Swarm.
New settings: 0.8.8 Settings and 0.8.6 Settings.
From 0.8.4: upgrading to 0.8.5
0.8.5 adds Crew, Forge agents and a deck that updates itself, and the xlsx and pptx tools. The full list is in the 0.8.5 release notes. Coming from 0.8.3? Read the 0.8.4 steps too: they take the tools that run code from non-admins' agents.
Before you approve anyone for Crew
Approving someone trusts them with the server. A worker runs commands as the same system user as Flight Deck, so it can reach what that user can, including other people's files and the deck's database. No OS sandbox holds a worker to its worktree yet, apart from Codex's own. Crew is off for every non-admin until an admin ticks it, and FD_CREW=off turns it off for the whole deck.
Steps
- Each Flight Deck — pull, and
pip install .where Captain is installed non-editable. There are no new Python packages since 0.8.4. - Restart Flight Deck, then every agent. Agents need the restart for
crew,xlsx,pptxand thehostingfix. Then hard-refresh every browser. From now on Console → Updates does this for a deck on a git checkout. - For Crew — install the CLIs you want on the deck's host, tick Crew per user on Users, and each person saves their logins in Crew → Logins.
- Devices — publish the new firmware from
firmware/devicewithpython tools/publish.py <env> --deck https://<deck>; devices take it from Menu → Software update or by themselves. - The desktop app embeds its own deck and bundle, so it needs a new build to get any of this.
BotPort hubs need nothing new: 0.8.5 keeps protocol 2, and BotPort's code is unchanged since 0.8.2.
Changed
- The StopWatch doesn't end a recording on a pause, and devices have no character to pick.
- The Users page shows tokens, not dollars.
- Scheduled and linked turns now carry the agent's instructions, on a deck with accounts. An agent that ran with no job before now runs with its job.
- A stopped static site answers 404 until you Start it again.
New settings: 0.8.5 Settings.
From 0.8.3: upgrading to 0.8.4
0.8.4 adds Onboarding and the Taskboard, and holds agents to their own files on a team deck. The full list is in the release notes. Coming from 0.8.2? Read the 0.8.3 steps too. From 0.8.1, also the 0.8.2 steps: the hub goes first.
Before you upgrade a team deck
These apply on a deck with sign-in (FD_AUTH_ENABLED), when each agent next starts.
- Non-admins' agents lose
shell,terminal,scripts,app_runner,code,termux,bat,desktop_action,screen_captureandpinchtab. If someone relies on those, make them an admin or, on a deck whose users all trust each other, setFD_AGENT_CONFINE=off. - Agents can't read or write outside their own files, admins' agents included: an admin's agent keeps its linked folders and read folders, and its shell is not held back.
- Publishing or starting a hosted app, adding a VFS link and browsing the host's folders are admin-only.
- A non-admin can't send a team key to another endpoint. Moving an agent re-keys it to that endpoint's own team key, or is refused. An
.envedit that would send it elsewhere, or that adds a pinned variable such asHTTP_PROXYorPATH, answers 400 and writes nothing.
Decks with sign-in off, such as the desktop app and one person's deck, are unchanged.
Steps
- Each Flight Deck — pull, and
pip install .where Captain is installed non-editable. Addpip install 'captain-claw[pdf]'for PDFs with headings and tables. PyMuPDF is AGPL-3.0, so it stays optional. - Restart Flight Deck, then every agent — including Docker and standalone agents. Agents need the restart for confinement, the new tools, lessons, exams and reporting turns to the Taskboard. An agent without it is told to restart before an exam and keeps its old instructions block. Then hard-refresh every browser.
- WhatsApp Web — its service outlives a Flight Deck restart, so restart it too (turn Allow WhatsApp Web off and on again), or it goes on deleting the history on a ban. Until then it answers 404 to the new disconnect rather than deleting what you asked to keep.
- Devices — publish the new firmware from
firmware/devicewithpython tools/publish.py <env> --deck https://<deck>; devices take it from Menu → Software update or by themselves. Waveshare boards need one flash over USB first. - For the Taskboard's next steps — a Jev key (Connections → Jev, or the team's). Each user turns on their own inboxes on the board.
BotPort hubs need nothing new: 0.8.4 keeps protocol 2, and BotPort's code is unchanged since 0.8.2.
Changed
- Non-admins' agents on a sign-in deck lose the tools that run code, and every agent is held to its own files (see above).
- The agent's ⋯ menu: Instructions is now Instructions, insights & skills, and Onboarding is new.
- A setup's facts are lessons, not insights, so they reach the agent when they bear on a message.
- Reject on an Autonomous Work proposal is compare-and-set, like Approve.
New settings: 0.8.4 Settings.
From 0.8.2: upgrading to 0.8.3
- Each Flight Deck — pull, and
pip install .where Captain is installed non-editable. Addpip install 'captain-claw[whatsapp-web]'only if you'll allow WhatsApp Web. - Restart Flight Deck, then every agent — including Docker and standalone agents. Flight Deck creates its new tables on start; agents need the restart for the six tools, the register and link turns. Then hard-refresh every browser.
- Devices — publish the new firmware from
firmware/devicewithpython tools/publish.py <env> --deck https://<deck>; devices take it from Menu → Software update or by themselves. - Opt in, as an admin — Allow WhatsApp Web, the idle-sleep time, and the audit retention, all in the admin console. Users turn on Telegram notifications themselves.
BotPort hubs need nothing new: 0.8.3 keeps protocol 2.
Changed
- An agent folder left over from a removed agent, with files and no owner on record, can't be reused by anyone (see Security fix).
writeandeditrefuse.docx; agents usedocx.FD_LINK_WEBHOOKS_PRIVATEis nowFD_LINK_PRIVATE_ADDRESSES; the old name still works.
New settings: 0.8.3 Settings. Details in the 0.8.3 release notes.
From 0.8.1: upgrading to 0.8.2
0.8.2 lets Flight Decks lend each other agents through BotPort. Order matters: the hub first, then the decks. A Flight Deck on 0.8.2 refuses a hub older than protocol 2 and waits before retrying. Details in the 0.8.2 release notes. Coming from 0.8.0? Read the 0.8.1 steps too: daily plan limits come with them. From 0.7.x, do the 0.8.0 steps first.
Steps
- The hub.
cd ~/captain-claw && git pull, then~/botport-venv/bin/pip install ~/captain-claw/botportandscripts/botport-tmux.sh restart. If you edited the config, runbotport check -c ~/.botport/config.yamlfirst. Setserver.admin_tokenif you will open the dashboard from another machine. - Each Flight Deck. Pull, then
pip install .wherever Captain is installed non-editable. Restart Flight Deck, then every agent (an agent on old code doesn't see remote agents), then hard-refresh. - Connect the decks. On the hub's Decks page, press Add Flight Deck for each deck and paste its join code into Admin console → BotPort on that deck. Decks with keys in
botport.yamlconnect with those, as before. - Devices. Publish the new firmware from
firmware/devicewithpython tools/publish.py <env> --deck https://<deck>; devices take it from Menu → Software update or by themselves. StopWatch, StickS3 and PaperColor A are 0.18.2; PaperColor B is 1.0.18.
Changed
- The per-agent BotPort link (the Spawner's Direct BotPort link) is now legacy and off for new agents. Remote work goes through the deck's link, where the safeguards apply. Old links keep working; switch them off.
- Without
server.admin_token, the hub's dashboard and API answer only on the hub's own machine, opened ashttp://127.0.0.1:23180/orhttp://localhost:23180/(with auth on). With a token, nothing changes. - The hub makes dashboard keys only with
auth.enabled: true. On an open hub, any deck joins without one. auth.enabled: truewith an emptyauth.keysis now a warning, not an error.
The hub's new decks table creates itself on start; a deck's shares live in Flight Deck's settings. No manual migration. New settings: 0.8.2 Settings.
From 0.8.0: upgrading to 0.8.1
The version number was a patch bump, but read this before you deploy a team deck: daily plan limits are on by default, and MCP servers become private to whoever added them. Details in the 0.8.1 release notes.
Before you deploy
- Daily plan limits are on. On a deck with sign-in, every non-admin is counted against their plan from the first day: free 30 messages and 300,000 tokens per UTC day, premium 300 and 3,000,000, enterprise unlimited (0 = unlimited). Admins, the desktop app and decks without sign-in are exempt. Check Admin → Plans (or Console → Usage & limits) and each user's plan before your team's next morning. Users on pro move to premium by themselves.
- Pull, then
pip install .wherever Captain is installed non-editable (the deck serves the bundle from site-packages), then restart Flight Deck, then every agent, then hard-refresh. Agents need the restart for topic dividers, source marks, device context lines, streamed device answers and reasoning effort.
After you deploy
- Kiosk mode is set in Admin → Settings → Kiosk mode (Off, Everyone, Selected users);
--simple-chat/FD_SIMPLE_CHATonly seeds Everyone until you pick. - Admins open in the Admin console. The old "Where do you want to start?" dialog is gone; the full Flight Deck is one click away.
- MCP servers are private to their creator. On first start, servers you signed in to with OAuth go to whoever signed in; other existing servers stay deck-wide, as they behaved. Review them in Admin → Integrations → MCP servers.
- Soniox: move the server's key into Flight Deck with Admin → Integrations → Soniox → Move server key here (
SONIOX_API_KEYstill works as the last fallback). Flight Deck no longer passes the key to agents. - Telegram: the owner's private chat with their agent now continues the main conversation.
telegram.owner_in_main: falsekeeps it separate. - Devices: the StickS3 needs one last USB flash for over-the-air updates (it moves back to two app slots; settings survive). Generate a signing key once (
python tools/publish.py keygeninfirmware/device), then publish each build with an admin token — see Over-the-air Updates. PaperColor B publishes as thepapercolorkind, so once a B build is on the deck every PaperColor that takes updates moves to B. - File library previews of PDFs need
pypdfium2(in.[payments]); picture and recording summaries need a vision-capable model, a Soniox key andffmpeg. - Telegram inbox seals text with a key in
<FD home>/data_key(orFD_DATA_KEY_FILE); back it up with the database.cryptographyis now a declared dependency.
Removed and changed
- The kiosk's right-hand files/datastore column is gone — the File and Data libraries and Files & data replace it.
- The admin start picker is gone; admins start in the console.
- The StickS3's Smiley character is gone (its users get the Captain).
- The PaperColor's notes folder is
captain-notes(moved fromclaw-notesat start-up); only files the device named are ever read or removed. - Cache reads no longer count toward any token figure Flight Deck bills.
New tables and databases (file_library.db, data_library.db, payments.db, daily_usage, usage_reset_credits, scheduler_runs, telegram_inbox*, waitlist, invitations, public_shares, …) create themselves on restart. No manual migration. New settings: 0.8.1 Settings.
From 0.7.x: upgrading to 0.8.0
0.8.0 changed some defaults, mostly for security. Details in the 0.8.0 release notes.
- A deck reached through its own domain (a reverse proxy, a tunnel) must set
FD_ALLOWED_HOSTS=<domain>orFD_PUBLIC_URL=https://<domain>, or every request — the SPA, webhooks, OAuth callbacks, inbound MCP, the devices — is refused. LAN access by IP or machine name needs nothing.FD_CORS_ORIGINSno longer defaults to*. - Set a fixed
FD_JWT_SECRETon any shared deck — inbound MCP OAuth and Lupa need it stable. - Pull, restart Flight Deck, then every agent, then hard-refresh. Until an agent restarts, its peer and token calls get 403. Docker agents need an image rebuilt on 0.8.0 and
FD_URL+FD_AGENT_SHARED_SECRETin their env.
- After: reconnect Google once per user (Google is per user); publish your team tier set again; enable the Google Sheets and Docs APIs for in-place editing, tick Gmail (read + modify) for filing and add
gmail.sendfor topic auto-replies; for Microsoft 365 register an Entra ID app with the redirect URIhttps://<deck>/fd/microsoft/callback; review cron jobs the start log flags withlegacy cron job may write email. - Removed and changed:
gwsis retired (usegoogle_drive,google_calendar,google_mail); self-registration closes after the first account (FD_REGISTRATION_OPEN=1reopens it); stdio MCP servers are admin-only; chat bridges auto-send only files an agent wrote insaved/this turn; Autonomous Work never auto-fires a mail action; the Cmd/Ctrl+1–5 shortcuts are gone; new defaultsinsights.context_mode: relevant,context.compaction_summary: digest,session.automation_lane: AUTO; thewritetool refuses placeholder content (CLAW_WRITE_GUARD=0turns it off);deep_memory.embedding_dimsdefaults to0(auto-detect).
Flight Deck
Flight Deck is the multi-agent command center — the cockpit for everything in this section. Launch it with
flight-deck (default port 25080). From one dashboard you spawn agents,
watch them work in real time, chat with any one of them, and coordinate the whole fleet.
- Live Agent Desktop — every agent is a card showing its model, persona, current task, and status. Open one to chat, inspect files, or read its logs without pausing the others.
- Per-agent model & tools — mix GPT, Claude, Gemini, DeepSeek, and Ollama across one fleet; give each agent only the tools its role needs.
- Cost & trace analytics — per-agent token and cost meters plus a full activity log with traceable lineage for every tool call, consult, and hand-off; Admin → Usage rolls up team spend by user and run kind.
- Quick Chat — the fastest way in: pick an archetype and start talking immediately. The agent spawns hidden from the desktop (with the full chat experience — plan mode, attachments, next steps); a single Promote to desktop button reveals it on the canvas when you want it there.
- The kiosk — the chat-first view (Cmd/Ctrl+\) a team's non-admins live in: agents on the left, one timeline per agent, skill cards, the File and Data libraries and Scheduled tasks; see The Kiosk.
- The Admin console — admins start on pages of their own at
<deck>/console/<page>; see Admin Console & Users. - Chats that survive a restart — a chat follows its agent to a new port after a deck restart, refreshes an expired token, and says "Agent unreachable — reconnecting…" instead of a bubble per retry.
Built-in modules include Agent Desktop, Quick Chat, Spawn Agent, Agent Forge, Council, Basna, Vatra, Bat, Code, Flows, VFS, Agent Folders, File library, Data library, Observatory, Autonomous Work, Scheduler, Connections, HUD, Admin, and the Admin console.
Orchestration Modes
One agent isn't always the answer — and one orchestration strategy never is. Captain ships seven distinct modes, from ensemble reasoning to a full engineering pipeline to a finisher that won't quit — each tuned to a different kind of work.
| Mode | What it does |
|---|---|
| Flight Deck | Spawn, monitor, and coordinate many agents from one dashboard |
| Agent Forge | Describe a goal → AI designs a team with roles, tools, and SOPs |
| Agent Council | Structured deliberation — 2-N agents, moderated rounds, then a vote |
| Basna | Parallel ensemble — specialists answer blind, merged by reliability |
| Vatra | Collaborative team on a shared blackboard with review rounds |
| Code | Plan → approve → build → independent 3-reviewer pipeline, in real git repos |
| Bat 0.8.0 | Checkpointed steps with retries, survives restarts, stops only when an independent judge says done |
Agent Forge
Describe a business goal in plain English — "scout startups in Croatia, research the founders, build an investment pipeline" — and an LLM designs the whole team: a lead coordinator, specialist roles, the right model and tool set per agent, and fleet-wide Standard Operating Procedures. Review and edit anything before you spawn the entire team in one click.
- Describe the objective — no role-by-role spec required
- AI designs the team — roles, models, tools, and SOPs, all generated and editable
- Review, customize, spawn — tweak anything, then deploy the whole fleet
Agent Council
Structured multi-agent deliberation for brainstorms, debates, reviews, and planning. Convene 2-N agents — each with a different perspective. Every agent self-scores its suitability per topic, then chooses how to engage across moderated rounds.
- Agent actions — answer, challenge, refine, or broaden
- Moderated rounds — the moderator synthesizes conclusions and every agent votes
- 8 session types — debate, brainstorm, review, planning, and more
- Exportable minutes — save the full deliberation as markdown
Agent Archetypes
Every orchestration mode draws from a library of 132 built-in archetypes (32 general roles and 100 specialists) — each a role with a tuned prompt, default model, and tool set. Since 0.9.2 they include Computer User, the fifth Featured pick in the Agent store, which uses your browser and computer like a person until the goal is reached.
Pick them by hand in the Basna/Vatra team picker, let Agent Forge assemble a team automatically,
or fork one into a custom archetype of your own. With FD_ARCHETYPE_GRID=1 the library also composes reviewer.legal-style archetypes from a function and a domain.
Research & Intelligence
Deep Researcher · Market & Competitor Scanner · Fact Checker
Writing & Comms
Editor & Long-form Writer · Outbound Communications · Social Repurposer
Engineering
Software Implementer · Code Reviewer · Software Architect · Refactor & Simplifier · Debugger
Data & Analysis
Data Analyst · Report Builder
Ops & Coordination
Project Coordinator · Monitor & Watchdog · Triage & Router · Concierge · Inbox & Calendar Manager
Investment, VC & Multimedia
Deal Screener · IC Memo Preparer · Portfolio Watcher · Visual Document Extractor · UI & Screenshot Reviewer · Brand & Visual Design Reviewer
Basna & Vatra
Two modes for when the answer has to be right — one through independence, one through collaboration. Since 0.9.1 both, and Council, are in the kiosk too: how to start a run.
Basna · Parallel ensemble
N agents tackle the same question independently — blind to each other's work. Their answers are merged by reliability into one high-confidence result. Diversity beats a single point of failure. Use it for high-stakes single answers.
Vatra · Shared blackboard
Agents collaborate on a shared blackboard, each owning sections of the deliverable, reading what others wrote, and improving it across review rounds. Ideal for long documents that need many hands and one voice.
What changed in 0.8.0
- Vatra workers run until they're done — no ~30-minute cut-off, a full reading toolkit for every worker, 30-minute team planning, the Lead on the tier's full output limit (up to 64k), and lifted web-fetch caps.
- An in-turn context governor — a worker's turn is budgeted in real tokens, cut once and held so the cache stays valid, with big results spilled to files, older ones folded, and fetched pages de-duplicated run-wide. Workers read a rule-built run map.
- Long-form deliverables on weak models — runs declare their deliverable, assemble it by code, and can't reach
doneon a missing, placeholder or gapped one. The opt-in Story Integrity Protocol adds deterministic checks that can block, model passes that only revise, and advisory scores; a per-tier Weak / fast model checkbox tells the pipeline to tend a small model. - Runs always end — an exception leaves
error(continuable), never a run stuck onrunning. - Basna judge vs. your labels — the judge's label sits beside your thumbs vote; Basna measures the judge against you with Cohen's kappa, a confusion matrix, and exports.
Vatra, Basna & Council in the Kiosk 0.9.1
Three ways to put several agents on one job, now in the kiosk for everyone signed in, in the kiosk's look and at phone width. To build one thing, use Vatra; to find the best answer, Basna; to talk it through, Council. Basna and Vatra are separate pages now, each showing only its own runs. Feature page · Step-by-step guide
- Kiosk: click More under your agents (on a phone, the More tile; also in Settings), then under Agents as a team pick Vatra, Basna or Council. Each opens in a wide dialog with Fullscreen; closing it deletes nothing.
- Full layout: the sidebar's Multi-Agent section has Council, Vatra and Basna.
- New agents for a run use your model tiers, or the ones your admin published (Library → Publish to team).
Start a Vatra run
- Open Vatra and pick a project, or New project: Name, Description (the theme every run gets), Additional instructions (optional), then Create project.
- In Runs, click New and write the job in Task / intent. Attach adds files.
- Optional: the Setup chip holds Effort (Standard, Deep, Plan), Quality (Basic, Balanced, Thorough), Knowledge and Tuning (Max agents, Max parallel, Grouped, Review round, Shared datastore). Or use the Wizard.
- Click Plan team. The Lead splits the job into parts, one owner each; edit, move or remove them.
- Click Run team. Read the Group 0 — coordination plan: each agent's Mandate, what it Produces and what it Consumes from its teammates.
- Click Execute. The report (with Gaps, Files, Agents and Run cost) is on the run when it finishes; Continue… carries it forward.
Vatra runs on the deck, so you can close the dialog. Stop in the run header stops it, and Resume restores finished specialists at no new cost.
Start a Basna run
- Open Basna, pick a project (or New project), and in Runs click New.
- Write the question in Task / intent. Attach adds files.
- Click Route. A router picks the smallest set of specialists that can answer it well.
- Check the Route plan; Edit agent gives any agent its own model.
- Click Run ensemble. The agents work at the same time without seeing each other.
- Read the merged answer, with its confidence, on the Truth tab; Analysis shows agreement, differences and blind spots.
Leave the page open while a run is going; to come back later, open it from Runs. From chat, /basna <your question> works on the web, WhatsApp and Telegram.
Start a Council
- Open Council and click New session (the first time, Start your first session).
- Write the topic in Topic / Task and pick a Session Type (Brainstorm by default).
- Under Panel, pick Auto-assemble (2–6 panelists) or Pick agents (at least 2 of yours that are running; in the kiosk, switch them on first).
- Click Start Council. Join in from Inject a message into the discussion...
- After the rounds (5 by default), click Synthesize: one agent sums it up and the others vote.
- Click Export .md to save the minutes.
Council runs its rounds from your browser: keep the tab open while a round is going. Temporary agents from Auto-assemble keep running until Dispose agents.
Drive 0.9.3
Drive is how far an agent pushes to finish what you asked. Reasoning effort is how hard the model thinks; Drive is how many steps a turn may take, how often a weak answer is sent back, and whether the answer is checked before you get it. Higher levels take more steps and more tokens. Feature page
- Relaxed — takes the first complete answer. Fastest, cheapest. A turn may take 2 times its planned steps, 100 at most, and an answer is never sent back for another try.
- Diligent — the everyday level, and what every agent did before 0.9.3. 4 times the planned steps, 300 at most; an answer that fails its checks is sent back up to 2 times.
- Persistent — keeps going longer. Slower, costs more. 6 times the planned steps, 450 at most; up to 3 tries; and a check of the answer before it's delivered.
- Ambitious — as Persistent, and may add the obvious next step. Costs the most.
Set it
- For a chat: in the chat box, open the Drive picker (the gauge, beside the effort picker) and pick Auto, Relaxed, Diligent, Persistent or Ambitious. Auto means the agent's own default. The pick is remembered per agent; members of a shared agent don't see the picker.
- An agent's default: the agent's ⋯ menu and its model settings, then Agent settings → Model & thinking → How far it pushes. Pick a level, or Not set. The switch At Ambitious, add the obvious next step turns the extra work on or off; off, Ambitious works like Persistent. It applies from the agent's next message, with no restart, and is what scheduled runs, hand-overs, WhatsApp, Telegram and other channels use.
- Or ask the agent: "Be more persistent on this one", "go back to the everyday level", "don't add extra work". It changes the level with its
drive_leveltool, for the rest of the turn, for the chat box, or as its default. Only the agent's owner can; on a member's turn or a public link the tool refuses.
Which level a turn runs at: your pick for the turn, else the agent's default, else what its cognitive mode suggests (Ionian and Phrygian suggest Persistent), else Diligent. Automations ignore a turn's pick.
What Persistent and Ambitious add
- A check before delivering. After a turn that used tools, one more model call compares the answer with what you asked and sends it back once if something is missing or isn't backed by what the tools returned. If the check itself fails, the answer goes out as it is.
- The obvious next step (Ambitious only). Once the answer passes, the agent may do one more piece of work nobody asked for: reading, and writing files (
write,edit,docx,xlsx,pptx,visualize), within a quarter of a turn's step budget (10 tool calls by default). Nothing is sent, run or scheduled. It's listed under the answer as Also done (not asked for). Never on automations, a shared agent's member turns or answers that used no tools. - Short turns differ too. Every level except Diligent adds a short paragraph to the agent's prompt.
The level is in the usage and turn logs, and GET /fd/taskboard/drive-stats?days=30 gives turns, outcomes, tool calls and time per level. drive.default and drive.initiative in the config are the fallback.
Web Playbooks 0.9.3
A playbook is a known way to get something done on a website: where to go, what to fill in, what to read, where to stop. Captain ships 439 in 10 categories (travel, work, regional, accounts, shopping, research, media, local, home, money). 394 look something up and 45 fill something in, and those stop before a named last button, which you press yourself. No playbook types a password, pays, trades or moves money. Feature page
In Captain
- Open Playbooks in the kiosk's navigation.
- Type in What do you want done?, or pick a category. ★ Mine shows the ones you kept.
- Open a playbook. It says Looks it up or Fills it in for you, which site it's for and which browser it needs (Any browser, Best in your Chrome or Your Chrome, signed in), and has a short form made from what it needs. How it goes lists the steps.
- Under Who does it, pick one of your agents that is up.
- Press Run in <agent>'s chat. The chat opens and the request goes to the agent as your message.
In Captain for Chrome
Captain for Chrome 0.9.0: under the page card, Do it here shows chips for the site in front of you (the playbooks for it and your own recordings made there; past eight, All N →). ⚡ in the panel's header opens the store, with On this site, My playbooks and Popular; rows say Looks it up or Fills it in, + keeps one, and Run with <agent> starts it. What you kept is the same in both places.
For agents
The web_playbook tool (find, show, run) is there wherever an agent has browser, so an agent asked to do something on a site looks for a playbook first. Your own recordings count as playbooks too. While a fill-in playbook runs, the browser tool refuses a click on its stop button for the rest of the turn. It can't catch a click by coordinates or Enter in a field, so read what an agent is about to submit.
First Mate 0.9.2
First Mate runs factories: standing jobs under your own account, each on a charter you approve, checked against goals you choose on every run, started when you say, and spending from a weekly budget in tokens. Every run is a Bat run or a list funnel. Each person sees only their own factories; admins don't see other people's. Feature page · Step-by-step guide
Turn it on (admins)
- Admin console → Settings, the First Mate card. Switch on On for this deck.
- Leave Admins only on to try it yourself first, or switch it off to give First Mate to everyone signed in. Improvement runs stay with admins either way.
- Under Limits, set Factories per person (8 by default, 1 to 50) and Runs per factory a day (24 by default, 1 to 500), then Save.
People find it in the kiosk under Settings → Your agents at work → First Mate, or More under the agent column, and in the classic layout (?app=classic) under Automation → First Mate. A person who can't use it yet sees Not on yet, with the reason.
Your first factory
- New factory, then one of three ways in: Describe it (your words, optionally tied to a Course goal, then Draft it), a template (Inbox drafts, Follow-up chaser, Weekly report, Price watch, Meeting prep, Research digest), or From scratch (a name and a charter, then Create draft). With Rewrite it as a full charter. on (the default), First Mate spells out what a run needs to be told: groups with an amount each, the columns, where each fact must come from, what to do when one isn't found. It keeps every limit, number, name and link you gave.
- On the Charter tab: What it does, each run; Done when, goals marked Countable (Captain checks it with a script) or Judgement (the reviewers decide), each on or off, plus Add a goal…; When it runs (Only when I press Run now, Weekdays 08:00, Every day 08:00, Mondays 09:00, or your own, such as "every 6 h"); How it runs (Agents or List funnel). Save, then Approve and start. Nothing runs on a charter you haven't approved, and you approve the exact text you saw.
- Run now, or Run with data… to give one run files, a paste, links, an agent's files, Flight Deck folders or a conversation. Data gives every run the same extra data.
- Turn on On their own ("Run my factories on their own") so schedules and new mail start runs. It starts off for everyone. A schedule never fires at the moment you approve, and a slot that comes while a run is going, or more than 6 hours late, is skipped.
- Watch it on Runs ("3 of 8 steps done", Steps · Agents · Activity · Files · Notes · Extra data), then read Results: the main file first, with Open table, Download and Add to Library, Download all as a zip, and Worth a look before you use it.
An agent can draft one for you with the first_mate tool (list, status, run, pause, resume, report, draft); it arrives on your Line as "A new factory to approve" with Approve and start. An agent can't approve a charter, carry out what a factory would do or change its trust.
Budget
- Weekly budget (Your settings): 5M, 10M, 25M (the default), 50M, 100M or 250M tokens a week, or No weekly limit, shared between your factories. The week starts on Monday. No weekly limit is fine on a local model; on a paid API it can cost a lot.
- Cap per run: 3M by default, 1M to 50M, or No cap. It changes in place, with no new charter version, and a run going now follows it from its next step. A run with No cap still stops at 20 million tokens.
- Continue carries a stopped run on from where it stopped; finished steps stay finished.
Runs that finish their goals
Every factory run by agents is a Bat run, and every Bat run (from the Bat page, the bat tool or a factory) now:
- keeps going while it makes progress: no fixed step count or time limit, only a long silence (15 minutes: a hung model call) ends a step, and a context overflow is trimmed and retried;
- saves as it goes and resumes: each step keeps its results and a progress note in the run's folder, and starts from them after Continue, a deck restart, a timeout or a failure;
- plans for the job: many items of one kind are split by batch, up to 12 steps; the first fixes the columns, the last only puts the parts together, and if the planner fails twice a three-step plan stands in and says so;
- checks between steps: scripts at no token cost, and a short review that says whether the run is on course, drifting or off;
- reads what it delivered before the verdict (a table's rows, duplicates and empty cells; a document's sections and placeholders; code's syntax and tests), and knows what's short ("9 of 15, 6 more").
List funnels
For a factory whose result is a list of rows, code searches, fetches pages, filters, merges duplicates and checks every row, and a model is asked once per item, in a short fresh call: keep it, it came close, or drop it. Every value must be on a page or in a file the run read. Describe it → Draft it picks List funnel for a list task, or pick it under How it runs.
- Sources: web searches (list and directory pages in the results are followed), a list page, a links file, or your own tables (CSV, TSV, XLSX, JSON lines) and documents (PDF, Word, PowerPoint, Markdown, HTML), up to 200 files;
extra/report_*stands for many. About 70 countries, any kind of item. A list built only from files never searches the web. - Must rules are never bent; prefer rules have a looser reading that fills a short group after every strict row. To drop an item, the run must quote what breaks the rule.
- Came close items go into a file of their own, with why each fell short; before anything is loosened the run goes and looks (up to four small actions).
- Expert agent: one of your own agents beside the run, settling what the charter leaves open as you would. It may also turn down a row… lets it veto rows, with its reason. It never supplies a fact.
- The Recipe tab, Data → Already checked (with Forget), Searches a run may make (1,000, or 12 per row asked for when that's more), and Record this run for an offline test set.
Mail and trust
A factory acts outside only within its grants (May act). While its trust is Asks first, a run that would send mail is a Rehearsal: "It would do this. Nothing of it is done until you say so." Untick what you don't want, then Carry out all, once or Reject. Each carry-out is checked against the tool-call register and Gmail or Calendar (Confirmed, Check it, Did nothing outside, Not checked). Trust rises to Acts within its grants once its checks agree with your labels and its results are good; a doubtful carry-out lowers it. Record shows a health light (Healthy, Needs a look, In trouble), and Checks holds sealed test cases a new version is checked on before it goes live. Admins can start Improvement runs (not in the desktop app).
Your Line gets one thread per factory and First Mate's week every Monday morning; three failed runs in a row pause a factory and tell you. Archive factories and runs, and Restore them. Settings: 0.9.2 Settings.
Bat — the stubborn finisher 0.8.0
Bat is an orchestration mode for work that must get done. It plans, runs checkpointed steps with retries, survives Flight Deck restarts, and stops only when an independent, fail-closed judge says the task is complete. A Bat page shows steps, live agents, progress, the result and its files.
- A hard safety floor keeps its workers from catastrophic commands, whatever the plan says.
- A start gate asks you before a plan that sends email, spends money or creates accounts.
- 2FA codes and passwords are always asked of you — Bat never guesses or stores them.
- An independent judge decides completion; no verdict means not done, and the worker never grades itself.
FD_BAT_DISABLED=1 is the deck-wide kill switch; FD_BAT_SPEND=1 allows real-money spend. Bat state lives in bat.db and survives restarts.
Since 0.9.2 0.9.2: steps keep going while they make progress, save and resume, are checked between steps, and plan only for what's short; see runs that finish their goals. Admin console → Settings → Bat sets Steps at the same time (3; 1 or 2 for one local model server), Workers use (a cheaper tier for the bulk while a strong model plans and checks), Step ceiling per worker turn (5,000), Quiet minutes before a step stops (15) and Minutes one model call may take (20). A step can also be handed to Vatra, Basna, Code or Crew. A run with no cap stops at 20 million tokens and can be continued, and a run's workers are removed when it ends.
Code
Code is a full agentic engineering pipeline inside Flight Deck. A project holds folders (each a real git repo + agent workspace) and sessions (conversations that drive work in one folder). Describe what you want built; a router sizes the job — a quick edit goes straight to a specialist, a real feature runs the full pipeline:
- Plan — a planner surveys the repo and writes an ordered plan into
.plans/ - You approve — the plan lands in an editable gate; nothing is built without your sign-off
- Build — a builder implements the plan with real shell, dependency installs, and test runs
- Three independent reviewers in parallel — a code reviewer, a security reviewer (CVSS-ranked), and a QA engineer that actually executes the test suite; none wrote the code
- Triage — reads all three reports and makes a ship/fix decision on blocking issues only
- Fix loop (capped at 3) — each fix is re-reviewed as a delta; at the cap, open findings persist to
.reports/backlog.md
- Every phase is a git commit (
[plan],[build],[review rN],[fix rN]) in the folder's own repo — any commit opens a diff and is one confirm from rollback - Code Map — a per-repo symbol skeleton (SQLite + FTS5) plus an LLM-authored semantic layer; the
codemaptool returns pointers, never source dumps, so agents stop re-reading your tree. Git-blob-hash gated for cheap freshness - Your repos — run on a fresh VFS folder or link an existing local repo (read-write or read-only); commits land in your repo with your git identity
- Model-agnostic per role — planner, builder, reviewers, router, and triage each resolve to your Library tiers; run it on DeepSeek, mix in a reasoning model, or go 100% local with Ollama
- Cost you can see — every turn reports agent runs and in/out tokens; a Stop button kills a pipeline at the next phase boundary; Export produces a full Markdown transcript of the whole process
- 0.8.0 — vetoes a "clean" verdict while an armed test gate is red, fails closed on unparseable triage, and ends every session with a committed
HANDOFF.md
Crew 0.8.5

New in 0.8.5: Crew lets Captain run Claude Code, Codex, OpenCode and Pi for you. Code is Captain's own pipeline, with its own agents. Crew is the other way round: your agent is the first mate, and those CLIs do the work. Talk to your agent ("have Codex fix the login test and Claude add dark mode") or open Crew from the sidebar, or in the kiosk from the agent column or Settings.
How a task flows
- Ask. Pick a CLI and say what's wanted. Change the code (a
shiptask) works on a branch; Only look, and report (ascouttask) changes nothing. Asking twice while the first is active is the same task. - Say where. A project, a repository address or, for admins, a folder here. Crew clones an address itself in the background, and
crew action=clonegets one here with no work and no tokens. - Say what it runs on. Its own login or OpenCode's free models, an agent's model, a deck tier, or enter one: an address, a model, a context size and a key, for this task only. Through the deck, the CLI needs no login: it gets a key good for its current turn, and the real one stays on the deck. Those tokens count like an agent's: only what missed the prompt cache, plus output.
- Give it what it needs. Paste or attach any file, on New task and in any later message (50 MB each, 30 files or 200 MB a task). Tick folders of your files: Read is its own copy, remade each turn; Read and write is your real folder, at once, with no undo. Drive and OneDrive aren't offered.
- It works. Flight Deck watches without spending tokens, and a worker outlives a deck restart. Send now (Enter) stops what it's doing and it goes on with your message; After this turn (⌘/Ctrl+Enter) waits. A dropped connection shows as a grey note while the CLI retries, and if it gives up Captain starts it again from where it stopped, up to three times. After a quiet minute a line says what it's waiting on.
- It finishes. Your agent is called back on the channel you asked from. Results reach your VFS at
vfs:crew/<project>/<task>/(report.mdandfiles/), and the Files tab shows them. - A person lands it. Every task works on its own branch and never pushes. Merge, or Approve in the bell on a merge your agent asked for. Captain pushes, opens and merges pull requests with the GitHub token in Crew → Logins, which no worker sees. Work that hasn't landed is never removed unless you say so.
The environment
A worker can only run and test what's installed, so a project's page has an Environment card. Prepare it once in the main folder: by hand, in a terminal in the browser, or with Prepare it with, where a worker works it out, checks it runs and reports the test and start commands. Each task then gets its own instant copy of package folders, the shared Python environment with PYTHONPATH on its own code, its own CREW_PORT and temp folder. Captain never runs anything a repository brings with it.
Projects and Live sites
Tasks group by project, what wants you first and what's finished folded. Live sites lists everything you've put online: Stop keeps the address, Start brings it back, Publish puts up what a task made or one of your folders. On a deck with sign-in only an admin can run an app; a page is anyone's.
Who and whose
An admin ticks Crew per user on Users: which CLIs, how many at once. Admins, and a deck with sign-in off, can always use it. Each person saves their own logins in Crew → Logins, and a non-admin's worker never falls back to the deck owner's. OpenCode's free models need no login; Your own model runs OpenCode and Pi on your llama.cpp or Ollama. Install the CLIs on the deck's host; Crew → Logins shows which are there.
Approving someone trusts them with the server. A worker runs as the same system user as Flight Deck, and no OS sandbox holds it to its worktree yet, apart from Codex's own. Merging is enforced at the crew tool: a non-admin's agent has no shell, so that's the whole way to a merge, while an admin's agent is told the rule rather than held to it.
The crew tool
Your agent has all of this from any channel: options, dispatch, clone, env, prepare_env, list, status, files, steer, folders, stop, pr, request_merge and update_deck. dispatch returns at once and the agent is called back, so it doesn't poll. runs_on takes me, agent:<name> or tier:<name>; a key is never typed through a chat. Shown only to an owner an admin approved.
Agent Families 0.9.2
Flight Deck records which agent made which. An agent made by another agent is its child, and agents with the same parent are siblings.
- The tree: the agent column shows children indented and folded under their parent. Move one with ⋯ → Put under, or hold it over another's row for about half a second; an Undo bar stays 8 seconds. The Agents page shows family cards. At most 3 levels and 12 standing agents under one parent.
- Run workers (Bat, Vatra, Basna, Council, Code) no longer show as your own agents: a parent shows one line, Working · N workers, and a First Mate factory "<factory> · Working · N workers".
- Removing or powering off a parent asks what happens to the agents under it (Keep them moves them up a level). Info → Family shows where an agent sits, who made it and why.
- They know each other: each agent knows its parent, siblings and children, and messages say who's talking. With
flight_deckan agent canreportto its parent andaskortaskits parent, children, siblings, whole family or an agent group at once, with the answers coming back together.
Anonymization 0.9.1
Captain takes names, companies, addresses, emails, phone numbers, bank accounts and ID numbers out of a text, a file, a whole folder or a web page. Each becomes a token like ⟦PERSON_1⟧; the real values stay on your deck, encrypted, in a vault only you can open. Send the anonymized version anywhere, and put the real names back into whatever comes back. Your agents can do it too, and the privacy gate makes it automatic for them. Feature page · Step-by-step guide
- Tokens: the same party keeps one number (
⟦PERSON_1:2⟧is Ana Horvat again, written another way; the part after the colon only says which spelling to put back). The same vault gives the same token in every document; different vaults reuse the numbers, so tokens never link two cases. Titles, cities, dates and amounts stay. - What it finds: people (
PERSON), companies (ORG),EMAIL,PHONE,ADDRESS, labelled dates of birth (DOB),IBANand cards,OIBandJMBG, ID, passport, tax and registry numbers (ID_NUMBER), a description that points to one person (DETAIL, trusted model only), and anything you list yourself (Project Falcon | PROJECT). Office files are covered inside: headers, footers, comments, cells, formulas, sheet names, notes and masters, and the author is emptied. - Two kinds of result: In a vault (reversible; in GDPR terms pseudonymized) or Keep nothing (one-way), where Make them coarser turns a date of birth into a year, an address into a city, and ages and amounts into ranges.
- Who looks: code always (patterns, check digits, labels, legal forms, column names and what the vault already knows); the trusted model when an admin sets one up, which catches bare names and descriptions that point to one person; and the optional name pack. The model only adds things to hide and never rewrites your text. Captain checks its own output and replaces anything still found in another round; if something is still there after the last round, the run fails and nothing is returned.
- Where: Anonymize in the kiosk's Settings → What they keep → Anonymize (or More → Anonymize), and Files → Anonymize in the full layout. Its tabs: Anonymize, Put back, Vaults and Privacy gate.
Set up the trusted model (admins)
Code-only anonymization works on every deck with no setup. "Trusted" means trusted with the raw document, so it is deliberately not the agent's own model.
- Admin console → Settings, the Anonymization card.
- Pick a Provider:
ollama,litert,openai (or a compatible server),anthropic,gemini,xaioropenrouter, and type the Model. Don't use an Ollama-cloudmodel. - Fill in the Address if it isn't the provider's usual one (a vLLM, LM Studio or llama.cpp server is
openaiwith its address), and an API key only if the provider needs one. - For a cloud provider, tick the box that starts *This model doesn't run on this machine or your network* only if you trust that provider with the raw documents. Without the tick, the card won't save it.
- Choose If the model fails: Refuse (the default) or Code only, marked.
- Leave On switched on, click Save, then Check on samples: six made-up documents show what Code alone missed and what With the model missed.
A local ollama or litert model, or an openai server on this machine or a private network, is trusted as it is. A model that isn't local counts its tokens against the daily allowance of the person whose text it read. The Name recognition card adds the name pack (On, a Model, Download and start); it needs transformers and torch where Flight Deck runs, which the desktop app and a Raspberry Pi don't have.
Anonymize a text or a file
- Open Anonymize; it opens on the Anonymize tab. Pick Text or File (up to 25 MB).
- Under Keep the real values?, pick In a vault or Keep nothing.
- With In a vault, name the Vault: one per case or client, for example
Velora. Left empty, the run goes into your most recently used vault. - With Keep nothing, you can tick Make them coarser under Details.
- Under Who looks (shown when the deck has a trusted model), keep Code + trusted model, or pick Code only or Trusted model only.
- Optional: More options → Leave as they are and Always hide, one per line.
- Click Anonymize, check the result, then Copy or Download. Word, Excel and PowerPoint come back as the same kind of file; PDF and web pages as Markdown. The file's own name is anonymized too.
Put the real names back
- Open Anonymize → Put back and pick the Vault.
- Under What to put back, pick Text (paste it) or File (drop it), and click Put back.
- Tokens that aren't in this vault are listed and left as they are. Copy or Download:
Contract.anonymized.docxcomes back asContract.restored.docx.
The result holds the real values again: don't paste it into an agent's chat.
Files and folders where they are
In the kiosk, a file in Shared folders or the File library has its own Anonymize, and a folder in Shared folders has ⋯ → Anonymize the whole folder (up to 2,000 files, with Stop and Close (it keeps going)). The original is never changed: a copy goes beside it, or to your own Anonymized folder where you can't write. Pictures are not anonymized; the result says how many an Office file holds.
Turn on the privacy gate
- Open Anonymize → Privacy gate and switch On.
- Under What it covers, pick Sources I pick or The whole chat (your messages, what every tool returns, and the memory and recall notes).
- Under For which agents, keep On an untrusted model (the default) or pick Every agent.
- Under Who looks, keep Code (quick) or pick Code + trusted model.
- With Sources I pick, tick the Sources: Mail (Gmail, Outlook, IMAP), Chats (Telegram, WhatsApp), Calendar, Contacts (these four start ticked), Files (what agents read; or only some folders), Data tables, Memory (external and deep memory). Only these folders (optional) limits Files.
- Click Save, and start a new conversation. Agents follow it from their next step, within a minute.
What your agents read reaches their model as tokens, and the real values stay in your vault called Chat. With Sources I pick, a reply with tokens has Real names under it, which only you see. With The whole chat, your Flight Deck chat and your own private Telegram chat show the real values. Mail and WhatsApp messages an agent sends get the real values just before they leave, and if the gate can't check something, nothing gets through. Reset the chat vault starts it over and can't be undone.
What the gate doesn't cover. With Sources I pick, anything outside the ticked sources reaches the model as it is (your own messages, web pages, the shell, the browser). The system prompt is not anonymized, even with the whole chat, and that includes your profile. Pictures go to the model as they are. Real values aren't put back in replies over WhatsApp, Messenger or devices, in scheduled deliveries, on public pages, or in the Line and notifications. Flight Deck's own one-off generations on your model tier aren't gated, and the agent's tool-call audit keeps the arguments as they ran.
The anonymize tool and Captain for Chrome
Agents started by Flight Deck have the anonymize tool: anonymize (one of path, a vfs: folder, url or text, with vault, mode, keep, extra, generalize, lane, output_path), restore (the real values go into a new file for you; the agent gets its path, never its contents) and vaults (names and counts, never values). For a path or a page the tool reads it itself, so the original never goes through the agent's model. restore is refused on automatic turns: schedules, flows, other agents, the Taskboard.
Captain for Chrome 0.3.0 has Anonymize this page (or Anonymize the selection), and right-click → Anonymize with Captain: Copy, Save in Flight Deck, and later Put the real names back. Its vault is named after the site, so the same person gets the same token on every page of it.
Vaults
Anonymize → Vaults lists your vaults. Open one to rename it, set Delete it by itself after (Never, 30 days, 90 days or A year), or Show the real values: each token, the value it puts back, its other spellings, and how often it went out to a model (↑) and came back (↓). A token's history shows when and how it was Added, each time it Went out and to which model, and where it was Put back. Reset deletes the values and keeps the numbers; Delete → Delete for good removes the key too. Neither can be undone.
Only you can open your vaults: no admin page shows them, and agents get names and counts only. They live in anonymize.db in Flight Deck's data folder, each with its own key sealed with the deck's data key, the vault's name included. Up to 1,000 vaults of 20,000 values each.
Limits
- Check the result before it leaves. Code misses a bare name unless the vault knows it or the name pack is on; models miss a name that is also a word ("Will", "Grant", "Zora") or a small company's name in a short title.
- Numbers and dates stay on purpose, and a vault is reversible: for data you hand over for good, use Keep nothing with Make them coarser.
- Some foreign company forms and registry numbers aren't known to code, and a first name and a surname in two spreadsheet cells get two tokens.
- Sizes: a file up to 25 MB, a text up to 2,000,000 characters, a folder up to 2,000 files. Settings: 0.9.1 Settings.
Data Rooms 0.9.1
A data room takes a virtual data room (a ZIP or a folder of hundreds of files) and anonymizes all of it into one vault. Claude reads the anonymized copies through its own connector, Captain Data Rooms: the story, the context and every number, but no names. Claude sends its answers and files back through the same connector, and Flight Deck puts the real names back, for you alone, on the deck. Feature page · Step-by-step guide
- One room, one vault. A party has one token in every file of the room: *Velora d.o.o.* is
⟦ORG_1⟧, *VELORA DOO* in a ledger⟦ORG_1:2⟧, so Claude can match a payroll against a register on the number. Numbers, dates and the story stay; OIB, JMBG, phone, account and registry numbers get tokens, even as numbers in a workbook. - Nothing reaches Claude before you release it, and a file that still holds a real name is blocked and never released.
- Results come back restored, on the deck only. Claude gets a receipt, never the restored text.
- Anyone signed in can make data rooms. A room belongs to its owner alone: an admin's act-as can't open it.
What it needs (admin)
- A trusted model for the best recall (Set up the trusted model). Without one, code alone looks for names. The same model writes the file descriptions and fixes Croatian case endings. Hundreds of files on a local model take hours; one room runs at a time.
- OCR (Tesseract or RapidOCR where Flight Deck runs) for scanned pages, pictures and the text in pictures inside Office files.
- A public HTTPS address for the connector, for example
https://deck.example.combehind Caddy or nginx: setFD_PUBLIC_URLand a stableFD_JWT_SECRET, and restart Flight Deck. The proxy must pass/fd/mcp-rooms,/.well-known/oauth-protected-resource/fd/mcp-rooms,/.well-known/oauth-authorization-server,/register,/authorize,/authorize/roomsand/token.
Cloudflare and Claude-User. Claude's calls after sign-in carry the user agent Claude-User, which Cloudflare's AI-bot blocking answers with 403 "Your request was blocked."; a quick tunnel (*.trycloudflare.com) does the same. You get through both sign-in pages and the app shows under Claude's access, but Claude reports that the server refused its request and Claude's activity stays empty. Turn off AI-bot blocking for the deck's zone, or add a WAF skip rule that lets Claude-User through (or skips /fd/mcp-rooms, /.well-known/*, /register, /authorize*, /token). A deck without a public address can still use Download for Claude.
Make a room
- Open it: kiosk Settings → Data rooms (under *What they keep*) or More → Data rooms; full layout Files → Data rooms.
- Create it: under New data room, fill in Codename (Claude sees this) (*Project Falcon*; keep it neutral, it isn't checked for real names) and Your name for it (only you see this) (*Velora acquisition*), then Create data room.
- Add files: drop a ZIP on Drop a ZIP here, or click to choose one and click Add the ZIP (25 MB by default,
FD_ROOMS_MAX_ZIP_MB; add several ZIPs for a bigger VDR), or fill in A folder in Files and click Read the folder (admins: any folder On the deck's machine). - Names to hide: one per line under Companies, People, Products and brands, Web domains, Registry and ID numbers and Anything else, then Save. This is the biggest help with recall.
- Run: a strip shows the phase (Anonymizing files, Naming folders, Final sweep, Checking for leftovers), the file, sizes and the time left. Stop stops at once; a run resumes after a deck restart.
- Review: blocked files and leftovers, Roles, Same party? and the file descriptions (below).
- Release N: the clean files not yet released. Blocked and failed files stay on the deck.
It reads Word, Excel, PowerPoint, PDF, text, and scans and pictures through OCR; pictures inside Office files become a grey "picture removed" box with their OCR text kept, anonymized. .doc, .xls, .ppt, .msg and files over 25 MB are listed as Can't be read and never passed on.
Review before Claude sees it
- The file viewer: the Original (only you see it) beside What Claude reads, scrolling together; search by Text, Token or Real name. Workbooks show as sheets on both sides, cell for cell.
- Leftovers: a file the check still finds a real value in is Blocked, with Still in this file — why it's blocked. Not a name here (confirm with Yes, it's not a name) keeps a word that isn't a name in this room; then Check again.
- Roles: type a role in Role — what, not who (*Target*, *Buyer*, *CFO of the target*) and Save roles. A role that names a real value is refused.
- Same party?: two tokens that may be one party (a one-letter typo, a first name alone, a changed surname), with code's score from 0 to 99%. Same or Not the same, or move the Score slider and answer Same for all N.
- What each file is about: the trusted model writes one line, a paragraph, a summary, keywords and topics for every clean file, in English, from the text Claude reads. Describe N files fills in the ones that need it.
Connect Claude
- Open Data rooms. On the Claude's access card, click Copy next to the connector address (
https://deck.example.com/fd/mcp-rooms). Anhttp://address or an internal name meansFD_PUBLIC_URLisn't set. - In Claude (claude.ai, Claude Desktop or Cowork): Settings → Connectors → Add custom connector.
- Name it Captain Data Rooms, paste the address and connect it.
- Connect to Flight Deck: your deck Email and Password, then Approve. The page has no Google button, so your account needs a password.
- Which data rooms?: tick the rooms Claude may read, or All my data rooms, and new ones, and click Allow.
On the deck, Claude's access lists the app with a checkbox per room; Save or Disconnect take effect at the next call. The room connector is separate from the fleet connector: a fleet sign-in doesn't work for rooms. Download for Claude builds a ZIP for a Claude Project instead (Text only for a smaller one): the released files, ROLES.md, FILES.md and README-for-Claude.md, checked once more for real values, up to 300 MB, one download, gone after an hour.
Working in Claude
Turn the Captain Data Rooms connector on in the chat and talk about parties by role or token. Don't type real names in Claude: a real name you type reaches Claude for good. Made-up examples:
- "Use the Captain Data Rooms connector. In Project Falcon, give me a two-page overview of the target: what it sells, revenue and EBITDA for the last three years, and the five biggest risks. Cite file and page. Deliver it to the room."
- "Find every customer contract with a change-of-control clause. Deliver an Excel workbook: one row per contract, with the counterparty's token, term, notice period, the clause, and file and page."
- "Check my Captain data room tasks."
Claude's 15 tools: room_list, room_overview, room_list_files, room_find_files, room_file_summaries, room_search, room_read, room_get_file, room_deliver, room_deliver_document, room_deliver_workbook, room_deliver_deck, room_deliver_file, room_get_delivery and room_tasks. Each sees only the released, clean files of the rooms you ticked. The server tells Claude to keep every token exactly as written, in answers and in every file, to match parties on the number, and never to guess who a token is.
Getting results back
Every delivery lands under From Claude, stored encrypted with the room vault's key and restored for the room's owner only; admin act-as can't open it, and there are no public links. Read it as Real names or As Claude wrote it; download a text delivery as Markdown or Word, and a file built on the deck as Excel, PowerPoint or Word. For Croatian, In their case puts people's names into the case each sentence needs. Badges warn of no tokens, real values and N unknown. The bell says only *Claude delivered a result*.
Tasks for Claude
- Open Tasks for Claude and write the task in your own words, real names included (up to 8,000 characters).
- Click See what Claude reads: the preview shows it in tokens, and says if a real name is still in it.
- Click Leave it for Claude. It shows Waiting for Claude.
- In Claude, with the connector on, say "Check my Captain data room tasks".
- The task goes Claude has it, then Answered, with Open the answer #n.
What can still slip
- A name the vault never learned (add it to Names to hide, then Check again); a name in a file's own name (it blocks the file but isn't hidden); names glued with underscores (
velora_holding). - In workbooks, a date of birth in a date cell, or a 9-digit mobile number with no country code and no phone header, isn't hidden.
- One party can get two tokens (Same party? joins them); exact numbers, sector and city can still point to one company.
- With both Captain connectors on in one Claude chat, a task sent to one of your agents could bring back raw text: keep the fleet connector off in data-room chats.
Custom Tools 0.9.0
Off by default: Python tools of your own, built by Crew's coding agents and run by Flight Deck for your agents. An admin turns them on in Admin console → Settings → Custom tools; then Custom tools is under Multi-Agent in the full layout and in the kiosk's Settings menu, with the tabs Mine, Shared with me, Everybody and, for admins, Approvals. Feature page
- Making one (people approved for Crew): New tool → Name, Title and What it should do → Check it. Your own model returns a fuller spec with a reason for each change and an Already there? warning when agents can do it already. Keep Checked or Yours, pick a coding agent, Build it. The worker writes the tool, its tests and its examples in the tool's own git repository; when you approve the merge, Flight Deck publishes it in the background, and it goes live only if the tests and every example pass. Otherwise the old version stays live, and the last three versions can be made live again under Versions.
- Agents use them through the
custom_toolstool (list,describe,run, andbuild,improve,propose). Flight Deck runs every call, never the agent: one process per call, JSON in and out, as the person whose turn it is, with that person's secrets (Your secrets for it) and files, and nothing else from the deck. Calls are limited to 60 seconds (300 at most) and 1 GB of memory by default, and land in the agent's tool-call register. - Agents suggest tools. After a long turn of repeated, mechanical work, the agent's own model may draft one; it waits in Your agents suggest at the top of Mine, and nothing is built until you click Build it (
tool_proposalsinconfig.yaml: 4 a day at most). - Offer it: to People… or to Everybody on this deck (which waits for an admin's approval unless turned off). An offer runs for nobody until they click Add, which is their consent to what the tool says it needs. Others can run it and give it their own secrets, but never change it or see its code, versions or logs; when a new version asks for more, everyone who added it gets a bell.
- A tool can ask the agent that ran it to use its tools (declared in
tool.jsonunderuses, each with a reason; sending mail or messages only when the tool's owner runs it; never code, money or changes to the agent), run your other custom tools (3 levels deep at most), and ask the person running it a question in Flight Deck. Try it on the page has Run as for tools that call an agent.
The sandbox
On Linux 5.13 or later each run is held in a Landlock sandbox: it reads only its own version and the system folders, writes only to the call's folder, has no TCP unless tool.json says "network": true, and can't signal anything outside.
macOS, Windows and the stock Raspberry Pi 5 kernel have no Landlock, so tools there run as Flight Deck's own user and can reach what it can; the admin card says which this host is. Run tools only in the sandbox stops every tool on a host without one. Installing a tool's own packages at publish time runs outside the sandbox.
Needs git on the host (uv is optional). Tools live in <FD data dir>/external_tools/, so add it to backups.
Questions in Flight Deck: ask_user
The same dialog serves the new ask_user tool: an agent asks the person its turn is for one question (text, one choice, several, yes/no) or a short form of up to 10, in every Flight Deck tab they have open, and waits 10 minutes by default (up to an hour). The bell says ‹agent› asks you something; Send or Don't answer, and either way the agent says what it assumed. Turns started by a schedule have nobody to ask, and turns from Telegram, WhatsApp, glasses, devices or public links ask in their reply instead. The dialog always says never to type a password or key there.
Agent Files: Export, Import and Backups 0.9.0
Any process agent you own fits in one .captain file, to restore later, move to another deck or hand to someone else. In the kiosk: the agent's ⋯ → Back up / export (in the Its place row) and New agent → From a file. Feature page
- What goes in: Template (who it is and what it was taught, for a fresh copy someone else starts from), Trained (and what it learned since, without its conversations and files) or Full backup (everything: conversations and files too), with an Includes list to fine-tune. Before a Template or Trained file leaves, What it learned — look it over: insights that are usually about you or your clients (preferences, feedback, projects, deadlines, people) start unticked, and People it knows is a separate tick.
- Never in the file: its
.env, keys and tokens, connections, logs and your own profile. Connections travel by name only, and the import lists the ones to set up again with Open Connections. A Full backup can carry its keys with Include its keys, sealed with a passphrase; Flight Deck doesn't keep the passphrase. - Bringing one in: the dialog shows what the file holds, who made it and when, and whether it is Signed by this deck, by a deck you trust, or unsigned, before anything is made. Make A new agent on Its own model or One of your models, or pour it Into an existing agent: Add to what it has (what it knows stays; the file only adds what it hasn't got) or Replace it (memory, files, conversations and tasks; its model and keys stay). A backup is taken first, kept a week, with Undo. Scheduled tasks always arrive switched off.
- Packages and updates: name a Template or Trained export under Updates later ("Bookkeeper for Acme") and each export becomes its next version. Bringing in a newer one offers Update to version N: the old version's items are swapped for the new ones, and what the agent learned since, or what was changed there, stays. A package's onboarding becomes the agent's base, which the person adds to but can't change.
- Scheduled backups: kiosk Settings → Agent backups → Back up my agents automatically, every day or week from an hour you pick, keeping 1–60 per agent (7 by default), for all agents or chosen ones, with an optional copy into a folder of your files (those copies aren't pruned). Backups kept downloads, deletes or restores any of them (Restore it). Scheduled backups are full and never carry keys.
- Signed files: every deck signs its bundles with its own key, and a file changed after signing is refused. Agent backups shows this deck's fingerprint to give to whoever imports your agents; admins list Decks this one trusts under Admin console → Settings → Agent files and can switch on Only take files signed by this deck or a trusted one.
Files go up to 2 GB (FD_AGENT_BUNDLE_MAX_MB); Docker agents can't be exported yet, and the dialogs are in the kiosk only.
Agents as Colleagues & Email 0.9.0
An agent can hand a piece of work to another of your agents and carry on with the answer. The colleagues tool has list (who is on the team), hand_over and handed (what it handed out and how far each one is). Feature page
- A hand-over is its own Taskboard task, under Between your agents, linked to the task the agent was on. The colleague's answer goes back to the agent that asked, in that task's session, and the work carries on; with no board task, it comes to its chat.
- Authority never grows: the turn's mail permissions travel with the work, read by code, not by the model, and the right to send a Gmail reply never passes on.
- Limits: no handing to itself or back along the chain, at most 4 agents in a chain, 60 hand-overs per owner a day, the owner's token allowance, and Colleagues it may hand work to in each agent's ⋯ → Identity & email. Only on the owner's own turns under Flight Deck.
Agents with their own address
⋯ → Identity & email gives an agent a Role, What it does, Its own inbox (an IMAP inbox only it uses), Addresses that land in your inbox (you+researcher@gmail.com) and Names it answers to. Every 60 seconds Flight Deck reads your Gmail, Outlook and IMAP inboxes, and mail sent to an agent's address, or that names it in the subject or greets it ("Hi Rita,", "@Rita"), becomes a Taskboard task for that agent, under Email for an agent. Automatic, bulk, list, no-reply and agent-sent mail is skipped, and the first look at a mailbox only sets a baseline. Those turns write drafts only, except from the agent's own IMAP inbox, where that inbox's sending setting decides.
It's on for every agent: switch Pick up email meant for ‹agent› off under Email in its settings, or set FD_AGENT_MAIL=off for the deck. Give agents with common-word names a specific name to answer to.
Gmail replies sent, when you say so
Replies in your Gmail per agent: Drafts (the default), Send to you (when the email came from you) or Send to anyone (when Gmail verified the sender). Only that one reply to that sender, with no cc or bcc, and it still goes through your Google email-sending switch, allowlist and daily limit. Outlook replies stay drafts.
Any mailbox, with IMAP
Connections → Email (IMAP) connects up to 20 IMAP/SMTP inboxes per person beside Google and Microsoft: a company mail server, Fastmail, iCloud, Yahoo, Zoho, GMX, Gmail with an app password, or Proton Mail through Bridge. Type the address and the server settings fill in.
- Each inbox has its own signature, sender name, Receive only, the agents allowed to use it (Which agents can use this inbox) and its sending policy.
- The
imap_mailtool lists, searches, reads, drafts, files and sends; it never deletes and never moves mail to Trash or Junk. Hidden until an inbox is connected. - The password is sealed and the IMAP/SMTP work happens inside Flight Deck, so it never reaches an agent.
- Sending is off until you tick Let my agents send email from this inbox, with Only to these recipients and a Daily limit (50 by default, up to 500). A repeat of the same email in Drafts, or in Sent within 14 days (
FD_IMAP_REPEAT_CHECK_DAYS), is refused unless asked for. - The connection test takes seconds and, when a host blocks port 465, offers Use port 587 (STARTTLS).
Needs sign-in on (or the desktop app); FD_IMAP_SEND=off stops sending deck-wide. Hand-overs, lesson proposals and agent email were tested with stand-in models and stubbed mailboxes; IMAP was tested live against GreenMail and Dovecot.
Course 0.9.0
The goals your agents' work is for. Course is under Workspace in the full layout's sidebar and under Settings → You in the kiosk. Feature page
- Three levels: The deck (set by an admin, read by everyone), You and Your agents (one agent's own), each goal Strategic, Long-term, Medium-term or Short-term, with Done when, an optional metric and target, and a parent goal at its own level or a wider one, so they form a tree.
- Agents work with them in mind: every agent working for you gets the live goals in its prompt (What your agents receive previews it) and uses them to decide what matters next. A goal is never permission to do anything.
- Suggestions wait for you: agents (with the new
coursetool and their self-reflection) and Flight Deck can suggest a goal or a change; it waits on your Line (Put this goal on the course? → Accept, Edit on Course, Decline) and under Waiting for you on the page. Let my agents add their own short-term goals without asking is the one exception. Only a person marks a goal done. - Wired into the deck: tasks, plans, projects, scheduled tasks and Swarm runs can be marked Serves a goal; the Taskboard sorts by Serves your course; Autonomous Work ranks work that serves a goal higher (never with more rights); Forge's review offers Add this team's goal to your Course. Goals nothing has moved show under Off course, and a goal that misses its review leaves the agents' prompts until someone says it's still on course.
- Admins set the horizons per level, caps, suggestion limits and the weekly progress estimate, conflict check and stalled-goal suggestions on Admin console → Settings → Course: horizons, limits, suggestions and checks.
Captain for Chrome 0.8.8
A browser extension that sends the page you're on to one of your agents. It reads the page in your own browser, signed in and as you see it, and fetches the files it links to with your session, so the agent works on a portal, an intranet or a dashboard exactly as you saw it. Chrome, Edge, Brave and Arc (Chromium 116+). Feature page
Install
- Flight Deck → Connections → Browser → Download the extension, and unzip it.
- Open
chrome://extensions, turn on Developer mode, press Load unpacked and pick thecaptain-for-chromefolder. Pin the Captain icon. - Click the icon, type your deck's address and press Connect. A tab opens on your deck: sign in, check the code matches, approve.
It isn't in the Chrome Web Store yet. No password is kept in the extension: it holds a token of its own (a personal access token named Browser · …), which you disconnect from Connections → Browser or the extension's settings.
Use
Open it with the toolbar icon, Alt+Shift+C, or right-click a page, a selection, a link or a picture. Pick an agent and an action: Handle it, Summarize, Save to space, Grab files, Extract data, Dig deeper, Fact-check, Draft a reply, Make tasks, Watch it, Remember or Ask. Read it as gives any action a lens; the agent suggests its own from its personality and description, and the eight general lenses stay under More….
- What goes with it: the page as Markdown (always), the selection, the whole page as one
.mhtml, a screenshot, the tables as CSV, and the files it links to. Files can be searched and filtered by kind; what can't be fetched is listed for the agent. - Watch it puts a check in Flight Deck's Scheduled tasks, never the agent's own cron: one task per page and agent, hourly, every 6 hours, daily or weekly. Each check compares the page with
watch/latest.mdand says only what changed. - The run: the panel follows the agent's steps and its answer, with a working bar; download what it made, ask a follow-up, or start a New topic.
A clip lands in vfs:web-clips/<day>-<site>-<title>/ (page.md, selection.md, page.mhtml, screenshot.png, tables/, files/, clip.json) and in the agent's main chat as your own message. The page is marked as web content: text in it is never your instructions. It counts against your daily allowance.
Agents in your Chrome 0.9.1
Captain for Chrome 0.3.0, in the panel's settings: Agents can use this browser. Your agents' browser tool then works in your signed-in Chrome (target="chrome"), each agent in tabs of its own in a tab group named after it, with Stop in the panel and Chrome's "is debugging this browser" bar while it works. Off until you turn it on; only the agent's owner, never on a shared agent's member turns, never on Flight Deck's own pages, chrome:// or file://. A site that blocks the agent's own browser and web_fetch makes it ask you once, in Flight Deck, to use your Chrome. Anonymize this page (or right-click → Anonymize with Captain) needs no agent: see Anonymization. Updating from 0.1.0: reload it in chrome://extensions; it asks for debugger, tabGroups and alarms.
New in 0.9.3 0.9.3
Captain for Chrome 0.9.0. A robot check comes to you: when an agent's web_search or web_fetch in your Chrome meets a "prove you're human" page, the tab comes to the front, the chat says it's waiting and the panel shows Waiting for you. Answer it and the search or read goes on in the same tab: up to 5 minutes in a chat, 2 minutes for a run that started on its own. Leave it and the agent falls back to the deck's own search or fetch; close the tab and that site isn't tried in Chrome for 10 minutes. The browser tool in your Chrome isn't covered yet. Playbooks: Do it here chips under the page card and the ⚡ store (Web Playbooks). To update from 0.7.2: Connections → Browser, download it, unzip it over the folder Chrome loaded, then Reload in chrome://extensions.
New in 0.9.2 0.9.2
Captain for Chrome 0.7.2 runs your agents' web searches and page reads in your Chrome (below) and records processes an agent does again (Recordings). To update: Connections → Browser, download it, unzip it over the folder Chrome loaded, then Reload in chrome://extensions. No new permissions.
Web Searches & Pages in Your Chrome 0.9.2
Agents' web_search and web_fetch can run in your own Chrome through Captain for Chrome, in a background tab, signed in as you: searches on Google, Bing, DuckDuckGo, Yahoo or Qwant instead of the deck's paid search service, and pages that turn a server away (LinkedIn's "999" and sign-in wall, X's and Facebook's sign-in, bot checks) read the way they are for you. Both are off until each person turns them on. Feature page · Step-by-step guide
For LinkedIn and X
- Flight Deck → Profile → Personal (in the kiosk, Settings → Profile). On Web pages, set Read pages through my Chrome to Every page, and Only these sites to
linkedin.com, x.com, twitter.com. - On Web searches, set Search through my Chrome with to Google.
- In Captain for Chrome 0.7.2's Settings, turn on Work on every site without asking, or press Allow on the card the panel shows.
- Be signed in to LinkedIn and X in that Chrome. The cards say "Reading pages in <browser>" and "Searching on <engine> in <browser>" when it's ready.
Those sites are then always read as you, and every other page is read by the deck as before. x.com doesn't cover twitter.com, so list both. X doesn't always answer the deck with a sign-in page, which is why Every page beats Only pages that turn Flight Deck away there. Neither needs Agents can use this browser, which is only for the browser tool.
The two cards
- Web searches → Search through my Chrome with: Off — Flight Deck's search service (the default), Google, Bing, DuckDuckGo, Yahoo or Qwant. Up to 50 results a search on Google and Bing, 35 on Yahoo, 10 on DuckDuckGo and Qwant; an agent gets 10 unless it asks for more.
- Web pages → Read pages through my Chrome: Off — Flight Deck reads pages itself (the default), Only pages that turn Flight Deck away (after HTTP 401, 403, 429 or 999, a dropped connection, a bot check or a sign-in wall) or Every page; with Only these sites (a site covers its subdomains; empty means any site; up to 50).
How a page is read
The page opens in an inactive, muted tab in a collapsed group (Captain · search or Captain · reading) and closes when done. Captain waits until the page has finished drawing (at least 1.5 s, at most 10 s), scrolls through up to eight screens for what loads as you scroll, and sends back the HTML without scripts, styles, form fields or frames (about 3 MB and 40 seconds a page at most). The agent's result starts with [Read in the person's own Chrome (<browser>), signed in as them]. With Chrome closed or the setting off, searches go to the deck's search service and pages are read by the deck, as before. A robot check or a cookie question on the engine falls back too, with a note asking you to answer it once in Chrome.
Safety and limits
- Your agents see what you see on those sites, as you, and a page they read can try to send it elsewhere: list only the sites you need. A profile they read can show you as a viewer, and searches show in your browser history and your Google or Bing activity.
- Only your own agents' turns use your Chrome, never a member's turn on an agent you share. Scheduled runs use it whenever it's open.
- Refused addresses, checked on the deck, in the extension and again where the page ended up: anything but http and https, IP addresses that aren't public,
localhost, names with no dot,.local,.internal,.lan,.corpand similar, and Flight Deck's own pages. - Keep one agent out with
tools.web_search.via_chrome: falseortools.web_fetch.via_chrome: falsein itsconfig.yaml. web_fetch_batch,web_getandweb_search'senrichpassages still read on the deck, so ask for pages one at a time. A very long thread or feed may come back partial (about eight screens): for more, have the agent open it with thebrowsertool in your Chrome and scroll. Brave Search, Startpage and Ecosia aren't offered.- The waits and sign-in checks were tested on stand-in pages, not live LinkedIn or X accounts, and both sites change their pages.
Admins: restart Flight Deck first, then the agents. There's no deck-wide switch. Keep the deck's search provider key (tools.web_search.provider), since it answers whenever a person's Chrome can't.
Recordings in Captain for Chrome 0.9.2
Record what I do in Captain for Chrome's panel records a process on a site as steps in words: open a page, click, type, choose from a list, tick, pick a file, press Enter or Escape. Feature page
- Add an instruction to any step, then Stop and review (or Discard): name it, say what it's for, reorder or remove steps, Add a step in your own words, and Save.
- Each value you typed or picked gets This value: Always the same, Ask me before it starts, Ask me when it gets there or The agent decides.
- Recordings → Run: Who does it, the values asked before it starts, Anything different this time?, extra data for every run or this run only, then Run with <agent>.
The run goes to the agent as your own turn. With Agents can use this browser on, it works in its own tab group in your Chrome, and it stops to ask when a step doesn't fit the page. Earlier runs keeps the history. Passwords, one-time codes and card fields are never recorded: the agent asks for them with request_secret when it gets there. Flight Deck lists your recordings, their extra data and their runs under Connections → Browser → Recordings; runs start from Chrome. Up to 200 recordings per person, 300 steps each.
The panel says when Flight Deck has a newer copy of the extension (Download, Reload, Later), and Connections → Browser shows each browser's version.
Captain for Mac 0.8.8
A menu-bar app for macOS 14 and later (Apple silicon and Intel) that sends what's on your screen, from any app, to one of your agents. It needs a 0.8.8 deck. Feature page
Install
- Download it from the GitHub release or from Flight Deck → Connections → Browser → Download Captain for Mac (the deck's own build when it has one, else the release). Unzip it and move it to Applications.
- It isn't notarized yet: if macOS won't open it, System Settings → Privacy & Security → Open Anyway.
- Allow Accessibility. Screen Recording, Microphone and Speech Recognition are only for the screenshot, OCR and voice; Settings → Permissions shows each.
- Settings → Flight Deck: type your deck's address, press Connect, approve the code in Flight Deck. The token (
Desktop · …) is kept in the Keychain.
Use
- Ask: hold fn alone for 3 seconds (key and time in Settings → Trigger: fn or a right-hand modifier, 0.5 to 5 s), click the menu-bar icon, or the optional floating button. Any other key cancels the hold.
- What it reads: the selection (sent first, as what you mean), what's under the pointer and the line around it, the window's text (on screen first, then the rest; a terminal's end of scrollback), a screenshot of the window or the screen when Settings asks for one, and OCR on the Mac when an app shares no text. Each piece is a chip you can switch off or look at.
- The task: type it, or say it (Apple speech recognition; Listen when Captain opens, Send when I stop talking, a language, and Only on this Mac). Empty means Handle it. One-click actions: Explain, Summarize, Draft a reply, Improve, Translate, What's wrong?, Make tasks, Remember, Save it.
- The answer streams in the panel; Copy or Paste into <app>, and ask follow-ups about the same capture.
A capture lands in vfs:screen-clips/<day>-<app>-<title>/ (screen.md, selection.md, screenshot.png, clip.json) and in the agent's chat as your words, marked as screen content, never instructions. FD_MAC_APP_URL changes where the deck's download points.
The Line 0.8.6
One timeline per person for everything the deck and their agents did without being asked in a chat. Line in the full layout's navigation, a Line row above the agents in the kiosk, and a button next to the bell on a phone. Feature page
- What it holds: scheduled tasks' results (failures need you; a skipped run isn't posted), Autonomous Work's actions and Taskboard hand-overs, plan steps, coding sessions, Basna, Vatra and Bat runs that answered on another channel, proposals and questions waiting for you, nudges, payments to look at, and fleet changes.
- The bell is only what needs you, waiting items on top. Shares, sends, accepted invites and successful runs moved to the Line.
- Reading it: day groups, headlines, an unread dot and Failed, Needs you and Approve? pills, a filter strip, threads (a hand-over and its answer, or one Taskboard task), and Approve / Reject on a proposal. Items are kept 30 days; unresolved ones are never dropped.
- Talking to it: one composer — ask any of your agents, or hand it the open item with Look into it, Draft a reply or What should I do?. A sleeping agent is woken; the answer lands on the Line. Only your words count as the request.
- Channels (Connections → Notifications, or Channels on the Line): WhatsApp and Telegram each at Everything, Needs you or Off, and one agent's chat at its own level, as a note that never starts a turn. Quiet hours let only nudges through to phones. A Daily summary is a scheduled task, Summary of your Line.
- Agents get a read-only
linetool (news,recent,search,read) and, on your own turns, a one-line count of what's new. A shared agent's members never get either.
Forge Agents 0.8.5

New in 0.8.5, in the kiosk and the simple layout: New agent → Forge agents, for someone who knows what they need but not which agents would do it. Close the dialog at any point: it carries on, and the bell opens it again. Agent Forge is still there for designing a team around a goal and spawning it in one click.
- Describe. Your request in your own words, and up to 10 files of 25 MB each. Plan my team starts it.
- Review. Vatra's planner opens your files, picks the fewest standing agents that cover the request, writes each one's job and may ask you questions. Rename, rewrite or leave out an agent; Update the plan starts from your edits. Nothing exists until you press Create N agents, and a plan never exceeds the room your agent limit leaves.
- Create. Each agent gets its archetype's way of working, its job and its teammates. The team shares a folder (
vfs:<team>/) and one set of data tables, and reaches each other withconsult_peer. - Finish. Captain recommends what should run by itself and what software is worth building, with why. Only what you keep gets made. What runs by itself becomes scheduled tasks, under Scheduled tasks. Software to build goes to Crew as ordinary tasks, built to a fixed contract: an HTTP API under
/api/agent/with a bearer key and a manifest, a WebSocket at/agent/ws, or both. Connect your agents then reads the app's manifest, registers its API on the agents you choose and links them to its socket; the key is never in the plan or their instructions.
An agent now knows its job with no one in its chat: Flight Deck tells it before each scheduled turn and before a linked system's first turn after it starts, on a deck with accounts. A link also follows its agent when a restart moves it to another port.
Known gaps: it has run end to end with a stand-in model, CLI and app, but a real model's plan and a real worker building to the contract have yet to be tried together. A team's tables aren't in the Data library, a non-admin can't host a runnable app (so Connect needs an admin or another host), and it isn't in an admin's dialog for a user's agents.
Deep Mode
Deep Mode trades speed for correctness to produce frontier-quality answers. It runs multiple independent rollouts per question, applies self-consistency voting across the candidates, and runs diverse-lens critics that attack the draft from different angles before anything is returned. Reach for it when "probably right" isn't good enough.
Plan Mode
Flip the planning toggle and every message routes through /plan + /plan-execute.
Captain turns a single request into an ordered DAG of 3–8 steps with concrete descriptions and acceptance criteria, runs them under the orchestrator,
judges each step against its acceptance criteria, and automatically revises failing steps inside a bounded loop.
- Decompose → review → execute → verify → re-plan — inspect and edit the DAG before anything runs
- Live plan card — renders inline in chat and persists as workflow JSON (reloads byte-identical)
- Named deliverables — deliverable steps must name their output file, so results never get buried in the run transcript
- Task Planner — in the kiosk's message queue, a reviewed plan is distributed round-robin across lanes
BotPort & Fleet Communication 0.8.2
On one deck, agents in a fleet find each other and work together: a synchronous consult with consult_peer, or a delegation whose result comes back later.
Since 0.8.0 peer consult and delegate routes take the caller's identity from Flight Deck's own records, so an agent can only reach its owner's peers.
BotPort takes that across decks. It is a small hub — a Raspberry Pi in a tmux pane is plenty — that lets Flight Decks lend each other their agents.
The planner on your VPS asks Researcher@pi, the research agent on the Pi at home, and the answer streams back with live progress, as if both sat on the same deck.
How it works
- Agent@deck. An agent on another deck is addressed as
Researcher@pi.list_agentsshows every shared agent on the network with its deck's display name (Flight Deck 'pi' (Kitchen Pi)). - Consult or delegate. A consult waits for the answer, with the remote agent's progress live in the chat. A delegate returns at once; the result lands later in the asking agent's main chat as [Delegated result from Researcher@pi] ….
- Every deck dials out. Only the hub must be reachable, so a Pi behind home NAT or a laptop joins as easily as a VPS. Tailscale, a Cloudflare Tunnel, Caddy or the hub's own TLS keep it private; never use plain
ws://across the open internet. - Agents never hold the hub's credentials. An agent asks its own Flight Deck, which carries the request. The receiving deck hands it to its own agent the way it would a local consult.
You reach a remote agent through one of your own agents, in chat: "Ask Researcher@pi: … — wait for the answer" or "Delegate to Researcher@pi: …".
Use the full Agent@deck name; a bare name matches local agents first. Files don't cross decks yet: paste the content into the message.
Set up a hub
The hub needs Python 3.11+ (Raspberry Pi OS Bookworm has it) and runs as a plain Python process on any Linux box:
$ git clone https://github.com/kstevica/captain-claw.git ~/captain-claw
$ python3 -m venv ~/botport-venv
$ ~/botport-venv/bin/pip install ~/captain-claw/botport
$ mkdir -p ~/.botport && cp ~/captain-claw/botport/config.example.yaml ~/.botport/config.yaml
# set server.admin_token (openssl rand -hex 24), keep auth.enabled: true, empty auth.keys
$ ~/botport-venv/bin/botport check -c ~/.botport/config.yaml
$ ~/captain-claw/scripts/botport-tmux.sh start # also: status, logs, attach, restart, stop
server.admin_tokenguards the dashboard and the REST API. Without one, they answer only on the hub's own machine, opened ashttp://127.0.0.1:23180/orhttp://localhost:23180/.- The tmux script runs
checkbefore every start, restarts the hub if it exits, and loads secrets from~/.botport/env. Add@reboot /home/<user>/captain-claw/scripts/botport-tmux.sh startto your crontab to start it at boot. - Hardened. Keys are checked in constant time, failed registrations are limited per address and key, each deck's identity is bound to its key,
X-Forwarded-Foris believed only fromtrusted_proxies, and swarm files have a disk quota. Dashboard changes must be sent as JSON. - The hub listens on 23180 and never silently moves to another port.
/healthzmust show"protocol": 2. Also there:botport gen-key,botport --version,/api/statusand a rotating log file.
Add a Flight Deck, without a restart
- On the hub's dashboard, open Decks and press Add Flight Deck. Give it a display name, a deck name (its address on the network, suggested for you; it can't change later) and a description of what's on it.
- Create key shows the deck's join code once: the hub address, deck name, key and secret in one line. Check the hub address the deck will use (a VPS may reach the hub by its tailnet IP or a
wss://hub.example.com/wsname). The same values are there field by field, and asFD_BOTPORT_*variables for a deck without a screen. - On that deck, as an admin: Admin console → BotPort → Join code, paste, Save. The hub's dialog turns green the moment the deck connects, and the deck's Status card reads Connected.
Rotate a secret or Remove a deck and it takes effect at once: the deck using that key is disconnected, and its Status card says why. The hub stores only a fingerprint of each secret.
Keys in botport.yaml keep working as before. Every deck's display name and description reach the hub's map, every deck's Network card and the list your agents get.
Safe by construction
A request from another deck runs in a lane of its own (BP…), never in the owner's chat or another deck's history.
- It never writes or sends email and never triggers Flows. Its reply goes only back to the requester.
- It never gets the network tools (
flight_deck,consult_peer,botport): no fan-out on someone else's behalf, no A → B → A loops. Nor does it get the tools bound to the owner's session and memory (cron,sessions,history,topics,terminal, …). - On top of that, the admin's deny list applies (Tools remote requests may not use; for an agent other decks use, consider
shell, scripts, write, edit). - Accept requests from matches only deck names the hub verified. An empty list lets no deck in.
- An answer that drew on members' private data is not sent off the deck.
It still answers with the agent's own tools and data: its files, its datastore and accounts connected to it (reading mail is not blocked, only writing). Share an agent only when that is fine, or deny those tools for remote requests.
Built not to lose work
- A deck that drops reconnects by itself and replaces its old socket.
- An answer waits on the hub for 15 minutes for a requester that dropped. A worker that dropped mid-task gets 90 s to come back.
- Lost acknowledgements are resubmitted, and submission is idempotent. A dispatch that never arrived is sent again.
- Timeouts tell both sides. Two Flight Deck processes sharing one identity back off instead of fighting over the link.
The dashboard
- Network — the hub in the middle, every Flight Deck around it with its shared agents, load and status. Each request is drawn as it travels, asker → hub → agent, and progress and the answer come back the same way; failures are red, busy decks glow. Around the map: decks online, shared agents, in flight, the last 24 hours, success rate and median answer time; an in-flight rail with each agent's latest step; recent results; a live ticker.
- Requests — everything recent, filterable by state and deck, searchable; a drawer with the route, the live step, the task and the whole conversation.
- Decks — add, name, rotate and remove decks (above).
- Kiosk mode — the ⛶ button, K, or
?kiosk=1: full screen, scaled to the display, the cursor hidden when idle. Put it on a TV in the office and watch your agents work with each other.
The dashboard asks for the admin token once per browser. For scripts: /healthz (open), /api/status, /api/overview and /api/decks, with Authorization: Bearer <admin-token>.
Sharing agents
Nothing is shared until someone picks it.
- Users share the agents they own — in the kiosk, the agent's ⋯ → Share on network…; in the Agent Desktop, the card's actions menu. The item shows when the deck is connected to a hub and the admin lets users share.
- "Share on network?" says what other decks can do with the agent; what stays out of their reach (your chats, your profile, sending email, Flows, scheduled tasks, the terminal, whatever the admin blocks); what is worth knowing (it answers with its own files, datastore and connected inbox, and its use counts toward this deck); and which decks are on the network now. A network badge marks a shared agent.
- Admins stay in control — Admin console → BotPort: the admin's own Exposed agents list, as before; Let users share their own agents (
FD_BOTPORT_USER_SHARING, on by default); a Stop button on every owner's share. - A share lapses when the agent changes hands and goes with the agent when it is removed. An agent must be running to take requests.
Swarm and the earlier fleet features
The hub still runs BotPort Swarm, its multi-agent workflows: DAG-based orchestration with multi-level timeouts, inter-agent file transfer (gzip + base64, up to 50 MB), a shared clipboard, a director broadcast panel and cron-scheduled recurring swarms. Agents that connect to the hub on their own (the Spawner's Direct BotPort link) still work, but that link is legacy and off for new agents.
The whole road, from pip install on the Pi to the first request between two decks, with troubleshooting: docs/botport-deployment.md. Settings: 0.8.2 Settings.
DAG Orchestrator
/orchestrate decomposes a complex request into a task graph and runs it across multiple sessions.
- Parallel execution across multiple sessions with real-time progress monitoring
- Approval gates, retry policies, and checkpoints
- Failure handling:
fail_fast,continue_on_error, ormanual_review - Headless runs via the
captain-claw-orchestrateCLI
Team Deployment 0.8.0
When Flight Deck is reachable by more than one person, the defaults that are fine for a single-user machine are not enough.
Set these on the Flight Deck backend before the first teammate logs in. The full checklist is in
docs/team-deployment.md.
| Variable | Set to | Why |
|---|---|---|
| FD_AUTH_ENABLED | true | Enforces login on every route. Without it anyone reaching the port is the local admin. |
| FD_JWT_SECRET | openssl rand -hex 32 | A fixed secret keeps people logged in across restarts; inbound MCP OAuth and Lupa need it stable. |
| FD_PUBLIC_URL / FD_ALLOWED_HOSTS | https://deck.example.com | The Host guard refuses any domain it doesn't recognise. A deck behind a domain must list it; LAN by IP needs nothing. |
| FD_LOCKDOWN | 1 | Disables host-filesystem surfaces that make no sense off-machine and makes the agent secret mandatory even from loopback. |
| FD_AGENT_SHARED_SECRET | random | Agents authenticate to Flight Deck's internal routes with it; otherwise those routes are loopback-only and a proxy can spoof them. |
| FD_GLASSES_BRIDGE_TOKEN | random | Shared secret for the glasses and scheduler bridge. |
| FD_REGISTRATION_OPEN | unset | Self-signup closes after the first (admin) account. Admins add teammates. FD_REGISTRATION_DISABLED=1 forces it closed. |
What the hardening changed
- Agent proxies are owner-scoped. Every port-addressed proxy and the agent WebSocket refuse a caller who is not the agent's owner (admins may reach any). Code, Hosting, Basna, Vatra and peer routes take the owner from Flight Deck's spawn records, never from a body
owner_id. - A Host and Origin guard on every HTTP and WebSocket route closes DNS rebinding and "any web page you visit can drive your local deck". CORS no longer defaults to
*. - Provider keys never reach the browser. The Spawner offers "use the system key" with a sentinel Flight Deck resolves server-side.
- Flows and the scheduler require authentication; jobs and flows have owners; stdio MCP servers are admin-only.
- MCP servers are private to whoever added them 0.8.1 — only the owner's agents use a server and only the owner sees, calls or manages it, so one person's OAuth sign-in never reaches everyone. An admin can share a server with the whole deck (deck-wide) from Connections → MCP Servers or Admin → Integrations.
- Agent tokens go only to their own agent 0.8.2 — Flight Deck sends an agent's web token only to that agent's own address (loopback, or a Docker agent's container names and IPs). The same rule covers the WebSocket proxy, Flows, the glasses bridge and agent notifications; tokens are compared in constant time.
- Agents stay in their own files
0.8.4— on a deck with sign-in, every process agent's file tools are checked by real path against its folder, its workspace, its owner's VFS and the call's shared folders..envis out of reach, control files can't be written, andglobandgrepresults are filtered.FD_AGENT_CONFINE=offturns this off for a deck whose users all trust each other. - Non-admins' agents don't run code or drive the host
0.8.4—shell,terminal,scripts,app_runner,code,termux,bat,desktop_action,screen_captureandpinchtabare refused and hidden; skills install no dependencies;browser,direct_api,apisandweb_fetchtake public addresses only. This is containment, not an OS sandbox: an admin's agent still has a shell that reaches the whole host. - Hosted apps and host folders are admin-only
0.8.4— publishing or starting a hosted app runs a command on the server; static sites stay open to everyone. Adding VFS links and browsing the host's folders need an admin too. - Team keys stay where the team sends them
0.8.4— non-admins read a team key or any secret-named value as····and its last four, and saving a masked value keeps the key. A team key, or a key in Flight Deck's own environment, goes only to the provider's own endpoint or one the published team sets route it through. - Pinned variables
0.8.4— variables that would have a non-admin's agent load code from a path or route its calls elsewhere (PATH,PYTHON*,LD_*,HTTP_PROXY, CA bundles and more) keep Flight Deck's values, and saving one answers 400, naming it.
First-run checklist 0.8.1
- Set the variables above and start the backend.
- Register the first account — it becomes the admin and opens in the Admin console (
<deck>/console), whose Overview carries a setup checklist. - Add people (Console → Users, or the Users page): Invite by email — sent from your own connected Gmail or Outlook; they choose their password from a one-time link — or Add user with a temporary password they must change at their first sign-in. With sign-up closed, No account? leads to a waitlist; approving an application can email the applicant their sign-in link.
- Set the org provider API keys (Admin page, or Console → Models → team API keys). They stay server-side.
- Publish a team tier set (Library → tier sets → Publish to team, or Console → Models) so teammates run models without pasting keys.
- Check the daily plan limits (Console → Usage & limits, or Admin → Plans): every non-admin is counted per UTC day — by default free 30 messages and 300,000 tokens, premium 300 and 3,000,000, enterprise unlimited. Put each user on the right plan; grant free resets if someone runs out.
- Decide who gets the kiosk (Admin → Settings → Kiosk mode: Off, Everyone, Selected users) and set the deck's branding (instance name, logo, description).
- Ask each teammate to connect their own Google or Microsoft account (Connections). For the M5Stack devices and voice notes, share a Soniox team key (Admin → Integrations) or let each person add their own.
Admin Console & Users 0.8.1
Admins start in the Admin console — a layout of its own for setting the deck up and looking after it, with no chat and no agent desktop.
Every page has an address, <deck>/console/<page>, so a link opens it directly and Back / Forward move between pages.
Switch to user view goes to the kiosk; the full Flight Deck is one click away. The existing Admin, Users, Library and Connections pages stay as they are.
| Page | What it holds |
|---|---|
| Overview | People, agents running, messages today, 30-day spend, waitlist and Telegram requests to review, a setup checklist, the machine's load, memory and disk |
| Models | Tier sets as cards, each tier opening an editor; publish with "changed since published"; team API keys |
| Archetypes | Search and filters, a sectioned editor with a draft from a description, read-only built-ins with Make a copy, forge, share |
| Connections | The deck-wide part (OAuth client, team Telegram bot, Jev and Soniox team keys, shared MCP servers) above the admin's own connections |
| Users | Users · Invitations · Waitlist, as on the Users page |
| Activity 0.9.0 | Who is using the deck, who has gone quiet, who never started, and whether you've written to them |
| Usage & limits | Today per person against the plan, spend by person and kind, plan limits in one table, recent activity |
| Settings | Branding, sign-up and the waitlist, kiosk mode, Docker, profile defaults |
People in, the right way
- The Users page — Users · Invitations · Waitlist tabs, with search and filters. From a user, an admin administers their agents — create from an archetype, start, stop, configure, remove — each action logged.
- Invite by email — sent from the admin's own connected Gmail or Outlook; the invitee picks their own password from a one-time link.
- A waitlist that answers — with sign-up closed, No account? leads to a waitlist under the deck's name; approving an applicant creates the account and emails them the sign-in link.
- Passwords — Add user and Set password (with "sign them out everywhere") give a temporary password that must be changed at the first sign-in (a box, on by default; off for a shared kiosk account). Everyone has a Password card in their Profile, with "sign out my other devices".
- Your deck, your name — Admin → Settings: an instance name (in place of "Flight Deck" in the panels, the tab title and the sign-in page), a short description and a logo on a redesigned sign-in page, with a Powered by Captain footer an admin can switch off.
Daily plan limits
Plans are free, premium and enterprise (pro is renamed premium), each with messages and AI tokens per UTC day, with per-user overrides.
Messages are counted where Flight Deck relays a human turn — web, WhatsApp, Telegram, the devices, the HUD — and agents report tokens for every LLM call; prompt-cache reads don't count, and commands that never reach a model (/new, /help) are free.
Admins, the desktop app and decks without sign-in are exempt.
| Plan | Messages / day | Tokens / day |
|---|---|---|
| free | 30 | 300,000 |
| premium | 300 | 3,000,000 |
| enterprise | unlimited | unlimited |
- The kiosk shows an allowance bar under the lane tabs and closes the composer when the day's allowance is spent; the Info dialog shows today's meters. A spent token allowance also skips scheduled tasks (one-shots retry after the reset).
- Free resets — admins grant resets (to one user, the selected ones or everyone) up to a deck-wide cap; a user spends one from the usage bar or the Info dialog to start the day over.
- Edit the limits in Admin → Plans or Console → Usage & limits; Users shows today's usage with Reset today.
Activity 0.9.0
Console → Activity (/console/activity): who is using the deck, who has gone quiet, who never started, and whether you've written to them. A bar per day for what each person typed on any channel (their agents' own work shows faint and never counts), Write from your own Gmail or Outlook (Message or Ask for feedback), and Mark as written for a call, WhatsApp or a chat in person. With Gmail read access it shows your mail with each person too: dates and subjects only, kept 10 minutes in memory.
Admin fixes 0.9.0 — a deck without sign-in applies its console Settings; Make it a company archetype; Plan limits shows only the limits the deck enforces, and limit messages say to ask the admin; deleting a user stops and removes their agents, folders and chats; an empty deck asks for Create the admin account; waitlist approvals can go into kiosk mode; Recent activity reads as sentences with people's names, and Reset today is recorded; Ask for feedback greets people by first name.
Also for admins
- Team tier sets with team keys — an admin publishes a tier set; teammates without models run on it. Publishing shares the keys server-side, process agents missing a key get it and restart, and a spawn nothing can supply a key for is refused instead of producing a dead agent.
- Kiosk mode — who gets the kiosk (Off, Everyone, Selected users) and the default for new accounts; see The Kiosk.
- Telegram auto-approve (Admin → Integrations) — new requests for the team bot are approved at once; someone an admin turned down still waits.
- MCP servers are private to whoever added them; an admin shares one deck-wide from Connections or Admin → Integrations. Remote MCP servers that follow the MCP authorization spec sign in with discovery, Dynamic Client Registration, PKCE and a resource indicator, in a popup — with refresh, sign-out and revocation.
- Sharing — share a run, folder or archetype from its page; a shared folder offers Copy to my workspace; shared archetypes fork into your own library. A share you receive or a run that finishes while your tab is closed lands in the bell.
- Team spend — Admin → Usage rolls up dollars by user and run kind; each user binds their own WhatsApp number for Autonomous Work nudges.
- The desktop app opens straight into the Admin console or the locked kiosk, signs in to Google and Microsoft through the system browser (RFC 8252 loopback), and no longer starts runaway agent servers.
The Kiosk 0.8.1
The chat-first view a team's non-admins live in — and admins too, with Cmd/Ctrl+\ or Switch to user view.
In 0.8.1 it is a complete place to work: agents on the left with a power switch each and tiles for the File library, the Data library and Scheduled tasks; one chat per agent in the middle.
The right-hand files/datastore column is gone — the libraries replace it.
- A guide on the first visit. Getting started walks through creating an agent, giving it work, connecting Google or Microsoft, the team Telegram bot and the profile — each step with a real screenshot in the viewer's theme (phone screenshots on a phone, swipe to turn the page) and a button straight to it. Info, Settings and the empty chat open it again.
- A chat that reads like a conversation app. Larger, centred messages; a roomier composer with attach, paste and a round send button; an empty chat or a fresh topic opens with "Good afternoon, Maya." and the agent's top three skill cards.
Skill cards and how hard it thinks
- "What can I do?" Skill cards are one-click tasks Flight Deck writes for each agent from its archetype, instructions, tools, connected accounts, schedules, topics, intentions, insights and playbooks (with the owner's fast tier, cached, rewritten when the agent changes). Six sit in the composer; More opens up to sixteen more on request, with Suggest again and a nudge when the list is old.
- Cards that ask. A card that needs something — an email to answer, claims to check — asks for it first, with a text box, a file or a picture.
- Reasoning effort. A button in the composer offers Auto plus exactly the levels the agent's model has — one scale (off · minimal · low · medium · high · xhigh · max) translated per vendor and transport for Claude, OpenAI GPT-5.x/6 and o-series, Gemini and Gemma, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Mistral, gpt-oss, Nemotron, local servers, Ollama and OpenRouter. A server that refuses the field is healed: the request goes again without it. Agent Settings also sets a level per source — WhatsApp, Telegram, a device, scheduled tasks, … (kept in
~/.captain-claw/reasoning_effort.json).
One timeline per agent
- New topic no longer wipes the screen: the conversation stays, with a divider the agent names ("New topic · Rome trip") once the topic is left behind.
- A Topics menu jumps back to any topic or resumes it; the
sessionstool does the same by asking ("go back to the Rome trip") on surfaces with no menu. - Turns from other channels show where they came from — via WhatsApp, via M5Stack StickS3 (desk); see Sessions & Channels.
- The loaded window is capped at 2,000 rows with Earlier and Later messages, so a long-lived tab stays quick.
Libraries and schedules
- File library — Flight Deck reads every file the user's agents keep (stopped agents too) and has the fast tier write a title, a summary, one of twelve categories and tags. Pictures are described by a model that can see (text in them read word for word); recordings and videos are transcribed with Soniox and summarised. Search runs through names, summaries, transcripts and text; a preview pane shows the picture, a player, a PDF's first page, rendered Markdown, a table or code. From a file: open, download, edit, present as a deck, publish a public link, or share it from the phone.
- Data library — the same for the agents' datastore tables: each column profiled (how full, ranges, sums, dates, common values), a title, summary and key facts written from the profile, and a live data grid with readable headers, links, formatted numbers and a record panel per row. Export as CSV (formula-safe), JSON or XLSX.
- Scheduled tasks — kiosk users schedule their own agents: a prompt on a timer (
daily,weekdays 08:30,weekly mon,wed 18:00, …, in the user's time zone) whose result goes to the agent's chat, the user's own Gmail or Outlook, and/or Telegram. Each task runs in a session of its own ("⏰ Morning brief"), every run is logged and searchable, and Continue in chat picks the conversation up.
Agents, the queue and the Info dialog
- Each agent has a ⋯ menu — Info (its intentions and topics), Instructions (the owner's standing instructions, applied from the next reply), Settings (provider, model, key and endpoint from the providers an agent can actually run on; vision auto/on/off; how it thinks; reasoning effort per source) and Remove, which deletes the agent, its chat log and its scheduled tasks for good. Agents the libraries can't index keep Files & data. A power switch per agent starts and stops it. 0.8.2 On a deck connected to a hub, the owner can also Share on network… from the ⋯ menu, after a dialog that says what other decks can and can't do with the agent; see BotPort.
- Since 0.8.4 the ⋯ opens a card of icon tiles, a sheet on a phone: Info, Activity, Tasks, Instructions, insights & skills, Onboarding and Settings, with Remove agent set apart. Arrow keys move between tiles.
- A new agent picker — a gallery with search by role, task or skill, family chips, and cards that show the model class and thinking style; a detail panel explains the pick — what it does, what it runs on, how it thinks, what it can do — before you name it.
- A message queue you can read — one card on top says what is happening and offers the next step; below it Up next (numbered, reorderable, editable) and a folded Done list with times and tokens; undo for remove, skip and clear.
- Info and limits — the Info dialog shows the user's corner of the deck in one read: the tier set their agents run on (never a key), their agents and models, the profile text their agents receive, their plan, today's message and token meters, and which accounts are connected.
- On a phone the kiosk is one screen at a time — the agent list, or one chat full screen with a back arrow — with dialogs as sheets, 16 px fields iOS doesn't zoom into, and a viewport that follows the keyboard. The Android HUD app (
android/hud) wraps the deck's/hud/for phones. - Settings — the kiosk's footer is one Settings button. Since 0.8.4 it opens a card of tiles, grouped: the Taskboard, Scheduled tasks, Activity, the File and Data libraries, Shared folders, Profile, Connections, your own AI keys, the theme, refresh agents, Getting started and sign-out.
New since 0.8.2
- The Taskboard
0.8.4— everything the agents were asked and sent, and what needs you: the Tasks tile, or an agent's ⋯ → Tasks. - Onboarding
0.8.4— an agent's documents, lessons, practice and exams, in ⋯ → Onboarding. - Instructions, insights & skills
0.8.4— one dialog in the ⋯: what the agent has learned as cards to search, teach, correct or forget, with the document each came from, and its skills to read, switch on or off, and correct. - Agent settings
0.8.4— two tabs: Model & thinking and Reasoning effort. - A Files menu in the composer
0.8.4— the last five files the agent made in this chat, with Open and Show in library. - Insert now
0.8.4— hand a queued message to the running turn, which reads it on its next step. ⌘/Ctrl+Enter queues a message (0.8.3); Enter still sends. - Compact cards
0.8.4— automated results and the agent's rephrasing of your request show as a small card with a preview and Open. - Shared folders
0.8.3— the shared VFS as a library: recent files, your folders, agent runs, what's shared with you, linked folders, and Google Drive and OneDrive folders mounted read-only, with preview, edit, rename, drag-and-drop upload and search.
Who gets the kiosk
The admin's choice, in Admin → Settings → Kiosk mode: Off, Everyone (every non-admin) or Selected users — a Kiosk mode box on each user in Users and in the Add user form — plus New users start in kiosk mode as the default for new accounts.
flight-deck --simple-chat (or FD_SIMPLE_CHAT=1) now only seeds Everyone until an admin picks. Admins are never locked; a signed-in user picks up a change on the next token refresh or reload. It is a UI lock, not an API boundary.
Onboarding 0.8.4

New in 0.8.4: ⋯ → Onboarding gets an agent ready for the job, on one page with five tabs: Overview, Lessons, Practice, Materials and Exams. Tick Set up its way of working next when you create an agent to start there.
Way of working: your material goes in.
- Up to 12 documents by drag and drop, upload or from the File library (PDF, Word, Excel, PowerPoint, CSV, Markdown, text, HTML; up to 3,000 PDF pages each), each with how the agent should use it, plus instructions of your own.
- A knowledge base that costs no tokens. Every document reaches the agent whole: an overview, parts under 200 KB and a map of its sections. Semantic memory indexes
knowledge/first, and theknowledgetool searches and reads it. Installcaptain-claw[pdf]for PDFs with headings and tables. - A reading budget. Quick (60k tokens), Standard (250k) or Deep (1M). Material over the budget is read by its most instructive sections, chosen without a model and pulled towards an optional Focus on.
- Read in the background, by the agent's own model, with thinking off. Closing the dialog or restarting Flight Deck doesn't stop it, and the bell says when it's ready. Steps stay small, calls are paced, and rate limits are waited out.
- You review it: rules, what to ask about first, skills, facts, templates and a glossary, each with its source. A longer read keeps more, up to 150 rules, 30 skills, 1,000 facts, 30 ask-first items, 20 templates and 400 terms.
- Spreadsheets become tables: one datastore table per sheet, with no model involved.
- Read the rest later: each document tracks which sections were read, and only the unread part costs tokens.
- Add to it or replace it, on new and existing agents. Learned facts and the agent's own files stay either way. "Put this in your knowledge" keeps a file from chat.
Lessons. A setup's rules, ask-first items and facts are the agent's lessons, each with its source and who taught it. Always in mind stays in the instructions; When it matters reaches the agent with the messages it bears on, picked by words and by meaning, at most 6 items and 1,800 characters a turn. Add, reword or remove them here, or use Save as a lesson on a chat message.
Exams. Quick (10 questions), Standard (25), Deep (60) or Marathon (120), on all documents or the ones you tick. Flight Deck writes the questions, asks them through the agent's real chat on a private lane that keeps nothing, and grades every answer point by point. A wrong answer says why: it didn't look, looked in the wrong place, found it and got it wrong, or made things up. Teach it this makes it a lesson, Read the parts it missed queues those documents, and asking again shows better or worse.
Practice. Give it a real task, or take one of three suggested from its documents. Nothing is sent or kept. Good, or Fix it: the correction becomes a lesson and it tries again.
For a team. What an admin teaches a user's agent is its base, which the user adds to but can't change. On a shared agent, a member's Suggest as a lesson waits for the owner. Pass it on packages an onboarded agent's documents, tables, lessons, skills and exam questions as a new archetype.
Materials browses it all: a read meter per document, sections as a tree marked read or searchable only, a reader and search. Instructions, insights & skills (⋯) shows what the agent has learned as cards to search, teach, correct or forget, and its skills to read, switch and correct.
The Taskboard 0.8.4

New in 0.8.4: everything your agents were asked and sent, on every channel, in lanes: Needs me, Waiting on others, Agents working, Done and All. Open it from Tasks in the kiosk, ⋯ → Tasks on an agent or Settings → Taskboard. Every user has their own board: a member's tasks go to that member, and owners and admins never see them.
- What's on it: every agent turn, scheduled jobs, Autonomous Work proposals, follow-ups, held Gmail auto-replies and sends, linked systems, agents' to-do lists, and the last 30 days of each agent's chats, marked as history and never acted on.
- Your own inboxes (Telegram inbox, WhatsApp Web, Gmail) are off until you consent, kept 30 days, and deleted when switched off.
- It reads the work. The agent's own model writes the title, the ask, the result and who's involved; Jev decides whether it's a task, who owes the next move and whether it's done; without Jev, rules decide. Why is this here? shows every decision.
- Keys like Gmail's:
j/k,eDone,bSnooze,rnext step,mNext move,fOpen bigger,/search,gthen a lane,?for the list. Nothing approves a next step by key. - A reply brings the same task back to Needs me, marked New reply, with its history. Your corrections stick against later sweeps, with Undo.
- Open bigger shows one task over the board, and a task with a Gmail thread shows the whole email, fetched with your token when you open it and kept nowhere.
- Next steps wait for you. With Jev, the agent's model drafts a reply, a reminder or a question as a proposal you edit, approve or reject. Email only ever becomes a draft, and recipients come only from verified parties.
- Hand it to an agent: Next move → The agent…, say what to do, Hand over. It runs as your own request, and your Email sending switch still applies.
- Then it checks: the reply is compared with the tool-call register, and with Gmail and Google Calendar read with your token, and Jev compares your words with the record. What the agent did shows the verdict; in doubt, the task stays open and yours.
- Several at once 0.8.5: tick tasks (or
x, Shift+click for a run,*thenafor all shown), then Done, Snooze, Next move, Not a task, Reopen or Got it, with Undo for the lot. Hand to agent takes one instruction for all ("thank them and politely decline"): the tasks leave Needs me, and the agent works through them one at a time, each with its own details. A line over the board says how far it has got, and Stop the rest sends what still waits back to you. A task you closed or moved on before its turn is passed over and says why, and a run a deck restart cut isn't sent again. Nothing approves a next step in bulk. - Merge, unmerge and split with Undo, and export as CSV or JSONL.
?taskboard=<id>links open a task.
Plan and known gaps: docs/taskboard-plan.md. FD_TASKBOARD_DISABLED=true stops the sweep and triage; CLAW_TURN_REGISTER=off stops an agent reporting its turns.
Your Own AI Keys & Profile 0.8.4
Your own AI keys (0.8.4, Settings): add Anthropic, OpenAI, Google Gemini, OpenRouter or xAI keys, each checked with the provider and sealed at rest. While it's on, your tier set runs on them with no daily limits, and existing agents follow. An admin can turn it off for the deck.
Profile (0.8.4, Settings) is Personal · Deck-wide · Password. Fill it in for me reads your documents and links, looks you and your company up on the web, and drafts About me, My company and My standing preferences on the team's model. Nothing reaches your agents until you Use a draft and Save.
Activity & Audit 0.8.3
New in 0.8.3: the tool-call register records every tool call every agent on the deck makes — the agent, the time, the tool, its parameters with secrets masked, what started it, and how it ended (ok, error, blocked, timeout, aborted, interrupted). Calls are recorded before the safety checks, so refused calls show up too.
- Activity — in the kiosk's Settings and on each agent's ⋯: your own agents' calls.
- Admin console → Audit — every call on the deck, an integrity check of the chain, and the retention (90 days by default, 7 to 3,650).
- CSV and JSON-lines export.
- Tamper-evident: rows are append-only and HMAC-chained, and gaps show. Someone with access to the host and the deck's key could still rebuild the chain, and tools a model provider runs on its own side aren't recorded.
- A shared agent's owner sees members' calls without their parameters or errors.
- Agents read their own record with the
activitytool; see Inside an agent. - Why did this happen? 0.9.2 on any call replays the approval and guard decisions with no model call; see Safer Agents.
Safer Agents 0.9.2
Approval cards
A card before an agent pays, sends, posts, shares, deletes or stores a password. An admin sets a policy per kind under Admin console → Settings → Approvals: Don't ask (the default for every kind, so nothing changes on upgrade), Ask, Ask every time or People do it themselves. The card reaches every Flight Deck tab of the person the turn is for, and the bell: Allow once, Allow for this conversation, Always allow here or Don't allow. Profile → Approvals lists what you always allow, with Ask me again. The kind comes from the tool and its action, never from what the agent says. With nobody there (a schedule), an Ask kind goes ahead only when the person always allows it for that agent.
Secrets and Its browser
The new request_secret tool opens a masked box in Flight Deck for a password or a one-time code. The agent gets only a reference for the browser tool to type. Flight Deck keeps the value in memory only, for 10 minutes and 3 uses, and scrubs it from what the browser reports back. Off Flight Deck, or with nobody there, the tool tells the agent to let the person sign in themselves. Its browser, in an agent's menu, shows its headless browser live: Take control for a CAPTCHA or a sign-in, then Hand it back, and the agent is told what changed.
Why did this happen?
On any call in Activity (or the Admin console's Audit), Why did this happen? replays the approval and guard decisions on the recorded call, with no model call: what it was, who started it, the approval then and by today's rules, the guard, and how it ended. Different today marks what today's rules would settle the other way.
Jobs that do nothing, and Needs you
A scheduled run that called no tool and only announced work counts as "did nothing". A job pauses after 10 bad runs in a row, new jobs that run the model repeat at most every 15 minutes (20 jobs per agent), missed daily or weekly runs more than 2 hours late are skipped, and a job that reached its end stops itself. Needs you holds only what's blocked on you: a question, an approval, a Go, a decision. A Bat run started from chat gets a live card with Stop, Try again and Open.
Updating the Deck 0.8.5
New in 0.8.5: Console → Updates → Check now, then Update now, on a deck running from a git checkout. It follows the branch it's on, so a fork follows the fork, and it only moves forward, to the commit you saw.
- Test start. The new commit runs from a temp folder on a spare port, with an empty data folder and none of the deck's keys. If that fails, nothing has been touched.
- Warning. Everyone signed in gets a toast, then one they can't close, counting down two minutes.
- Stop the agents. Mid-turn ones can be waited for, up to 5 more minutes. Crew's workers keep going.
- Pull, with any new packages already installed.
- Restart in place: the same process, command line and tmux pane.
- Check. If it doesn't come up, the old commit goes back and the deck starts on that, by itself.
Every admin gets an email saying how it went. Automatically is Off by default, or Tell me, or Install by itself, where whatever is merged to the branch goes live once it passes the test start. An admin's agent can ask with crew action=update_deck, which puts an Approve in the bell. A desktop build or a container has no checkout, so it's updated the way it was installed.
Idle Agents Sleep 0.8.3
New in 0.8.3, off by default. Admin console → Settings → Agents → Put idle agents to sleep stops agents that have been idle for a while (10 minutes to a week) to free memory.
- A sleeping agent wakes five minutes before its scheduled tasks and cron jobs, and when something needs it: a chat, a channel message, a device, a link, a member, another agent, a Flow or an auto-reply.
- The kiosk shows Asleep, process cards an
asleepbadge, and the Processes page counts sleeping agents apart. - Never put to sleep: run workers, Iskra beings, agents with a Telegram, Slack or Discord bot of their own, an agent with a run in flight, and Docker agents.
FD_AGENT_IDLE_STOP_S(seconds) overrides the admin setting.
Owner Profile
Each user's About me, Company and Preferences — plus deck-wide defaults from the admin — reach every agent they own on every turn, with no restart. An agentic signature, set per account, is appended to every email and draft your agents write. Since 0.8.4 a researcher can draft these texts for you.
Connections
One tab per service — Google, Microsoft, ChatGPT, Antigravity, MCP Servers, WhatsApp, Telegram, Deep memory, Jev, Soniox — with status dots and state that survives a tab switch. Each person connects their own accounts; an agent only ever gets its owner's token, resolved from Flight Deck's records.
Agent access for Claude (MCP) lives here too: generate a personal access token for Claude Code, the HUD pairing, and the devices.
- MCP servers 0.8.1 are private to whoever added them; remote servers that follow the MCP authorization spec sign in with Dynamic Client Registration and PKCE in a popup. An admin can share a server deck-wide.
- Soniox 0.8.1 — each user's own key, or a team key an admin shares; agents never hold one. Speech for the devices, voice notes and the
audiotool goes through Flight Deck.
Public File Links 0.8.1
A Share button on any agent file — the file browser, the side files panel, the File library, the phone action sheet — publishes a snapshot at <deck>/s/<token> for anyone holding the link.
The dialog explains what publishing means before anything happens, then shows the link with Copy and Open, views, expiry, Update copy and Stop sharing, plus a list of all your links.
- A copy, not a window. The file is copied at share time; the public page never contacts an agent. Refreshing keeps the same URL.
- Rendered safely. The page is served without scripts; Markdown is rendered with raw HTML escaped; HTML, SVG and XML-ish files run in a sandbox with no access to Flight Deck's cookies, storage or API. Unknown, revoked and expired links all get the same 404.
- "Share that file." The
public_linktool (share / unshare / list) lets an agent do the same when a person asks; an automated turn may share only when its own job text asks for a link, and secret-looking files and databases are refused. Links belong to the agent's owner and show in their Share dialog. FD_PUBLIC_FILE_LINKS=offturns the feature and every existing link off;FD_PUBLIC_FILE_LINK_MAX_MBcaps the size (default 50). Agent-made links useFD_PUBLIC_URL, else the public address you open the deck on.
M5Stack StickS3, StopWatch & PaperColor 0.8.1
Voice clients for Captain on three M5Stack devices and, since 0.8.4, the Waveshare ePaper 1.54. Press the talk button and talk; press it again — or just stop talking — to send. Flight Deck transcribes it (Soniox), sends it to one of your
agents, and the device speaks the answer sentence by sentence as the model writes it, shows the text, and shows any picture the agent made — with the agent's live activity
("Searching: …", "0:12 · 3 steps") while it works. Server side: captain_claw/flight_deck/device_bridge.py at /device/ws.
Firmware: firmware/device/. The StickS3 shipped in 0.8.0; since 0.8.1 one firmware tree builds for all three, and all three take signed updates over the air.










One source tree builds all three (src/board.h holds what differs):
| StickS3 | StopWatch | PaperColor | |
|---|---|---|---|
| Screen | 240×135 LCD | 466×466 round AMOLED, touch | 4" E Ink Spectra 6, 400×600, six inks |
| Talk | front button | yellow button (or the on-screen record button) | A (B build) / C, the top button (A build) |
| Other buttons | side | the second button | two more: answer, options, settings |
| Extras | Captain, animated | vibration, clock face, raise to wake, background picture, info page | two RGB status lights, room temperature and humidity, RTC, microSD |
| Hotspot | Captain-StickS3-xxxx | Captain-StopWatch-xxxx | Captain-PaperColor-xxxx |
| Build | pio run -e sticks3 | pio run -e stopwatch | pio run -e papercolor_b (or papercolor) |
| Firmware | 0.20.4 | 0.20.4 | 1.0.31 (B) · 0.20.4 (A) |
A turn
- Press to talk, press again to send — or, on the StickS3 and the PaperColor, stop talking: 2.5 s of quiet sends the recording, with "quiet" measured against the recording's own levels rather than a fixed one. A blip starts a recording and a lower one ends it; a rising chime comes before the spoken answer and a falling one after (Talk sounds and Beeps around speech switch them off).
- From sleep. A press that wakes the StickS3 or the StopWatch only wakes it; the next press talks. The PaperColor starts recording on the press that wakes it, while Wi-Fi and the deck connect.
- Answers as they're written. The deck forwards the model's text as it streams; the device shows the answer sentence by sentence and reads each sentence aloud while the rest is still being written, so the first words are heard early. Only the answer streams — never the agent's own rephrasing, titling or tool rewrites. On the StopWatch the sentence being spoken is lit and the page turns with the voice; the StickS3's pages follow it too.
- Long answers play through 0.8.2 — the voice plays through a ring in memory instead of one buffer, so the old 66-second ceiling is gone. Flight Deck still speaks at most about 1,500 characters of an answer (
MAX_SPOKEN_CHARS) and shows the rest. A long answer arrives faster than it is spoken, so the device asks the deck to hold (audio_hold) and to go on (audio_go); a pause holds it. - Pause, replay, stop. A press while it speaks stops the speech; a double press plays the last answer again — from memory while the whole answer is still there, otherwise re-sent by the deck. On the StopWatch the button under a spoken answer is a pause, then a play that goes on from the word it stopped at, and while the agent works the button under the timer is a stop: the agent stops after its current step.
- Robust on weak Wi-Fi. A turn holds through a dropped link (Connection lost — reconnecting…, up to 2 minutes) and the answer is delivered after the reconnect; Flight Deck keeps a turn and its answer for 10 minutes. "New topic, how warm is it?" goes straight to the answer.
Voice notes, offline and on purpose
- Offline voice notes. Out of Wi-Fi, or with the deck down, talking keeps a voice note (8 kHz ADPCM: about 14 minutes in the StopWatch's flash, 5½ on the StickS3, far more on the PaperColor's microSD). Once the deck is back the device asks — the talk button sends them, the other button keeps them for later (the PaperColor B sends them by itself) — and they go up as one turn the agent reads in order, with when each was recorded. A note is deleted only after the deck has it. With no saved network in reach a device is an offline note-taker within seconds.
- Note-taking mode. Hold the talk button for a second (StopWatch: yellow, PaperColor B: A): every recording is kept as a note — written to flash or the card as it's recorded, no length limit, no quiet stop — until you hold it again and they all go to the agent at once, without asking. Rising tones mean on, falling off; the watch face shows a red arc and "Note mode · hold yellow to send", the paper's dashboard "NOTE MODE · HOLD A TO SEND".
What the agent knows, and sound by voice
- Device readings with every question — battery (%, volts, charging), Wi-Fi network and signal, how it's held and whether it's moving (StickS3, StopWatch), the room's temperature and humidity (PaperColor), the local time — as one
[Context: …]line, never as your words. "How's my battery?" or "is it warm in here?" just work; the agent doesn't recite them unless asked or the battery is nearly empty. - Battery time left (or until full) — learned across deep sleep, shown on the watch face, the status pages and the paper's dashboard (≈ 2 h 10 min left).
- Sound by voice — "volume up", "volume down", "beep on", "beep off" (or "louder", "quieter", "pojačaj", "tiše") never reach the agent: the deck catches them, the device changes and says the result at the new volume. Anything longer still goes to the agent.
StopWatch
- A watch first. Idle, the screen is a clock face — the date, the time large, Captain, the robot from the app icon, above the time on a dial with the seconds going round, the battery and its time left. Raise to wake: a wrist raise lights a dark or dimmed screen, lowering the wrist puts it out.
- Three pages from the clock. Swipe right for the background picture alone, left for the info page (voice notes waiting and the room for more, the Wi-Fi network and its signal, the Flight Deck address, the agent); up or down goes to the last answer.
- Background picture. Send your agent a picture and ask for it as the watch background: its
watch_backgroundtool hands it to Flight Deck, which crops it to fill the circle. It is drawn frosted — a light blur, then darkened — behind every screen, sharp on the picture-only page. Ask the agent to clear it to go back to black. - The ring round the edge shows what the watch is doing — red while it listens (filling toward the 110 s recording limit), amber while the agent works (a tick per tool step, the track breathing under the moving head). While it speaks, the sentence being said is lit and the rest dimmed; in character mode it shows as a subtitle under the face.
- Status as gauges — three pages: the ring as the Wi-Fi signal with the deck and agent under it, the ring as the battery with uptime and use, then the firmware, voice, memory and notes.
- Touch and haptics. Swipe an answer to page it; touch in every picker; a double tap goes home; Tap to talk (off by default) puts a record button on the screen. A tick for a step or a page, a double tick at the end, a longer one for a choice, three for something that went wrong. A two-level menu, and screens that slide and fade.
PaperColor
A voice-first colour e-paper. Every redraw of its Spectra 6 panel takes 15–30 s and the paper keeps its picture with no power, so it redraws only when it has been put down;
the two status lights carry the turn in the meantime. Two builds share the hardware and the papercolor update kind:
B — the dashboard papercolor_b · 1.x
- The screen is a dashboard redrawn every five minutes (:00, :05 … :55), awake or asleep: the clock, the date, the room's temperature and humidity, the battery with time left, voice notes waiting and room left, and the links (Wi-Fi, deck, agent).
- A talks; B shows the last answer at the largest of four sizes that fits (B again pages on, then back to the dashboard); C shows the options QR code for the settings page on your phone.
- Offline notes go to the agent by themselves on the next link, and Auto update is on. Once Wi-Fi, the deck or the agent has been down for 30 s, the links are redrawn in red.
- Note-taking mode (hold A), notes on microSD, key beeps.
- An hourly white pass 0.8.2 — six-ink paper that only ever goes from one picture to the next loses colour and keeps faint shadows. Once an hour, and once after a real restart, it goes all white before the dashboard. A screen you asked for stays quick.
A — home and answers papercolor · 0.18.x
- C, the top button, talks. About 30 s after you stop, the paper draws the newest answer once; pages, the status page and the home screen draw at once.
- A home screen with the date, the room (temperature, humidity), whether it's ready, and the newest answer.
- Hold A for Options (a QR code for the phone settings page); hold B for Wi-Fi & settings.
- It asks before sending notes kept offline.
- Status lights — red blinking while it records you (brighter when you're louder; on the B build the other light, steady, says how long: green, then yellow, then red); while the agent works, a blink for every step it takes — light blue for a tool, dark blue for narration, purple for the model thinking; green blinking with the voice; a soft white glow while the paper redraws. Starting up, both are yellow, then each turns green as Wi-Fi and the agent are reached. Offline, one light blinks blue: the left one for no Wi-Fi, the right one when Flight Deck or the agent can't be reached. Off / low / bright in the settings.
- microSD notes — with a card in the slot (put in or taken out while it's awake), notes recorded offline are kept on it, hours of room, and notes already in flash move onto it; without one they stay in flash (about 14 minutes). FAT32 or FAT16 only. The notes live in
captain-notes/, and only files named the way the device names them are ever read, sent or removed. - Text and marks in all six inks (black, white, red, yellow, blue, green), pictures dithered into them. Asleep, the paper keeps what it shows and the last answer lives in flash.
StickS3
- Icons — Captain, animated, instead of text, with idle, listening, thinking, speaking and agent-down poses. Since firmware 0.20.0 Captain is the only character, on every board.
- Text size — small / medium / large for replies, the working screen, notices, the menu and the status page (which then spans pages).
- Volume 25/50/75/100% and Boost off / +6 / +10 dB (extra speech gain with a soft limiter). Above 75% on battery the stick may restart on loud peaks; on USB it's fine.
- Screen-off and power-off timeouts; male or female Soniox voice; spoken-reply language per device (
en,hr, …); a paged status page with battery time left.
Device Setup
- The device opens a hotspot
Captain-StickS3-xxxx/Captain-StopWatch-xxxx/Captain-PaperColor-xxxx(scan the QR code on screen). - Open
http://192.168.4.1and fill in:- one or more Wi-Fi networks (up to 5; it joins whichever is in reach)
- Flight Deck address:
ws://<mac-ip>:25080on your network, orwss://<your deck domain> - access token: Flight Deck → Connections → Agent access for Claude (MCP) → Generate token (not needed on a deck with auth off)
- optional: agent slug, spoken-reply language (
en,hr, …), volume, screen-off and power-off timeouts; on the StopWatch also buzz and time zone; on the PaperColor orientation, status lights, key clicks, reading the menu aloud, power-off, redrawing while asleep and time zone
- Save — the device restarts and connects.
- Settings on your phone. Every setting can be changed later from a phone on the same Wi-Fi: Menu → Settings → Settings on phone (StickS3, StopWatch) or the Options QR code (PaperColor: hold A on the A build, press C on the B build) opens the device's settings page; the link carries a one-time key and closes when you leave that screen.
- Back to setup. Switch on with the talk button held, or Menu → Wi-Fi & settings (PaperColor: hold B on the A build, hold C on the B build). With no Wi-Fi saved, setup opens by itself; with saved networks out of reach, the device carries on offline and keeps voice notes.
- The deck needs a Soniox key — the user's own in Connections → Soniox, or a team key the admin shares (
SONIOX_API_KEYas the last fallback). A deck reached through a domain needs that domain inFD_ALLOWED_HOSTSorFD_PUBLIC_URL.
Build & Flash
$ uv tool install platformio
$ cd firmware/device
$ pio run -e sticks3 -t upload # or: -e stopwatch / -e papercolor_b / -e papercolor
# see every screen without the device (Mac, SDL2 from Homebrew)
$ pio run -e preview && uv run --no-project --with pillow python preview/render.py # StopWatch → preview/out/sheet.png
$ pio run -e preview_paper && uv run --no-project --with pillow python preview/render.py paper # PaperColor A → preview/out/paper/
$ pio run -e preview_paper_b && uv run --no-project --with pillow python preview/render.py paper_b # PaperColor B → preview/out/paper_b/
- Download mode. StickS3: hold the side button until the green LED blinks, upload, then press the side button once to restart (a stick in deep sleep doesn't enumerate on USB — press the front button first). StopWatch: with USB in, hold the power button ~2 s until the green LED lights. PaperColor: with USB in, hold the side reset button ~3 s.
- Back up the factory firmware before the first upload:
esptool read-flash 0 0x1000000 stopwatch-factory.bin(orpapercolor-factory.bin). - Serial log: open the port with DTR/RTS released — asserting them resets the StickS3 into download mode.
pio device monitor --dtr 0 --rts 0. - Back to stock: M5Burner → StickS3 / StopWatch / PaperColor → UIFlow2 (or Xiaozhi), or write back a full flash dump with
esptool write-flash 0 <dump>.binin download mode.
Over-the-air Updates
The devices update over Wi-Fi from your own Flight Deck, signed with a key that never leaves your machine. Every firmware since 0.8.1 went out this way.
Make the key pair once, then bump FW_VERSION in src/main.cpp and publish:
# once: the signing key pair
$ uv run --no-project --with cryptography python tools/publish.py keygen
# each build: sticks3 / stopwatch / papercolor / papercolor_b
$ uv run --no-project --with cryptography python tools/publish.py stopwatch \
--deck https://deck.example.com --notes "what changed"
- keygen keeps the private key in
~/.captain-claw/firmware-signing/— back it up; without it no device accepts a new build. The public half goes intosrc/ota_pubkey.h, compiled into every build. - Publishing builds the env, signs the SHA-256 of the build (ECDSA P-256) and uploads it with an admin token:
--token cc_pat_…, theFD_TOKENenvironment variable, or the file~/.captain-claw/firmware-signing/deck-token, so it never has to be typed on a command line. - PaperColor B publishes as the
papercolorkind (--hwto say otherwise). The paper takes whichever version is newest, so the B builds are 1.x — once a B build is on the deck, every PaperColor that takes updates moves to B. - Connected devices of that kind get the offer at once, others on their next connect: Menu → Software update (PaperColor: on the Options screen), or by itself with Auto update when idle on USB. The device verifies the SHA-256 and the signature, and rolls back to the previous version if the new one can't reach Wi-Fi and the deck within 90 s.
- StickS3 from 0.8.0: one last USB flash moves it back to two app slots so it can take over-the-air updates; settings survive.
- Firmware store on the deck:
<fd_home>/device_firmware.
Meta Ray-Ban Display HUD
The HUD is Flight Deck's frontend for smart glasses. It lives at /hud/ and is built for the Meta Ray-Ban Display, a 600 × 600 display you drive with swipes and pinches.
From the glasses you can chat with your running agents in the same conversation you see in the dashboard (approvals, Stop, read-aloud; dictate or handwrite with Meta's composer),
read Markdown files your agents wrote, and browse datastore tables. About 150 KB on the wire in 9 requests; later launches come from the service worker's cache.
- Pairing — you never type a password on the glasses. They show a code; approve it at
https://<deck>/hud/pairon your phone or computer. - Install — Meta AI app → Devices → Display glasses settings → App connections → Web apps → Add a web app, URL
https://<deck>/hud/(Developer Mode on). Firmware v125+; the composer needs v127+. - Requirements — Flight Deck at a public HTTPS URL with accounts on; the built HUD ships with Flight Deck.
The earlier Glasses Bridge (phone page → agent → glasses page, with optional streaming Soniox TTS in 60+ languages) still works and installs as a PWA. Full details in docs/glasses-hud.md.
Sessions & Channels 0.8.1
A session is a named, persistent conversation with its own model and memory context.
- Create with
/new project-name; per-session model selection./newworks on the web, WhatsApp, Telegram and the HUD; "new topic" / "nova tema" starts a fresh session too. - Topics on one timeline (0.8.1) — a new topic no longer wipes the chat: a divider the agent names marks it, a Topics menu jumps back to any earlier topic or resumes it, and the
sessionstool does the same by asking ("go back to the Rome trip") on WhatsApp, Telegram, the devices and anywhere else without a menu. - Automated turns (scheduler, flows, plans, peers, workers, MCP tasks) run in their own
AUTOlane, so a job never occupies the main chat. A kiosk scheduled task runs in a session of its own. - Session protection prevents accidental clearing
- Merge two sessions into one, or run a command in another session (cross-session execution)
- Export chat, monitor, pipeline trace, or summary to files
One conversation across every channel 0.8.1
The web chat, the app, WhatsApp, the glasses, the M5Stack devices — and now the owner's own Telegram — share one main conversation with the agent. Every message records its source
(web, app, glasses, whatsapp, telegram, device:<kind>, scheduled, …) with a label a person reads.
- The model sees "[via WhatsApp] …" or "[via M5Stack StickS3 (desk)] …" in its history (the stored text is unchanged), and the turn's note names where the current message came from.
- The kiosk shows other channels' turns in the timeline, marked via WhatsApp, via M5Stack StickS3 (desk).
- The owner's Telegram turn holds the lane like any other: it waits while a web, WhatsApp or device turn runs, and
/newfrom it starts a new main conversation (telegram.owner_in_main, on). Other Telegram users and groups keep sessions of their own. - Reasoning effort can differ per source — less for a quick device question, more for scheduled work — from agent Settings in the kiosk.
Memory System
Six independent memory layers, shared across the whole fleet:
1. Working Memory
Current session messages within the context window, with smart compaction that summarizes older messages near the token limit (a deterministic topic digest since 0.8.0).
2. Semantic Memory
Vector + BM25 hybrid search across all sessions and workspace files, with temporal decay and relevance scoring.
3. Deep Memory
Typesense-backed long-term archive with full-text and semantic search over documents and conversation chunks. Since 0.8.0 the vector width is auto-detected (it silently dropped every vector before), scores are 0..1, and deep memory is a Flight Deck capability: one admin connection, agents hold no key, every search scoped to its owner.
4. Insights
Auto-extracted facts, contacts, decisions, deadlines, preferences, feedback, and references in a typed taxonomy. Entries carry why and how_to_apply, deduplicated by entity keys and BM25 similarity.
5. Nervous System (Autonomous Dreaming)
Synthesizes across all memory types during idle hours — tension tracking, an intuition maturation pipeline, cognitive-tempo detection, and confidence decay.
6. Self-Reflection
Auto-triggers after enough activity, reviews recent work and prior reflections, and generates improvement directives injected into the system prompt.
Each chunk has three layered representations: L1 headline (~100 chars), L2 contextual summary (~300 chars), and L3 full text (~1,400 chars). Topics are built from the conversation only, ranked, pinnable, and can recall one earlier topic into a turn (shadow mode by default).
What an owner teaches (0.8.4). An agent set up through Onboarding keeps two more things: knowledge/, whole documents that semantic memory indexes first under its own cap (memory.max_knowledge_files, 3,000) and the knowledge tool searches; and lessons, rules, ask-first items and facts that reach it with the messages they bear on, at most 6 items and 1,800 characters a turn. Insights also stop repeating themselves: an exact repeat or the same fact reworded is dropped, numbers and negations must match, and each insight keeps the file and section it came from.
Lessons from your corrections 0.9.0. When you correct an agent or state a standing rule in chat ("too long", "always CC Marko", "ask me before booking"), it drafts one lesson and nothing more: Lessons to approve (a badge beside the bell, and a card in each kiosk agent's ⋯ menu) shows it as a Rule, Ask first or Fact, with your words it came from, to Approve, Edit or Dismiss. Nothing is taught without your yes, and Just learned keeps an Undo. Only the owner's own turns are read, a word check lets through only messages that read like a correction, and the agent's own model drafts it (lesson_proposals in config.yaml: on by default, 12 a day at most).
Learning that doesn't harden failures 0.9.0. Insights, reflections and playbooks no longer keep "tool X doesn't work" (they keep the fix instead), failures caused by setup or cured by a retry, guesses about your traits, or a one-off request as a standing preference. A wrong insight is corrected under its own key instead of gaining a rival.
External Memory 0.9.0
Connections → External memory links one memory service to all of a person's agents: Membase or Hindsight (MIT, self-hosted with one Docker command, or Hindsight Cloud). Feature page
- The
external_memorytool takes the provider's own actions and rules (remember,search,reflect,list,documents, andforgetonly withconfirm=true), and a read-only key can't write. Hidden until a memory is connected. - Copied in on its own mirrors new Insights, Intentions and Lessons (and, if you tick them, Reflections and Intuitions) through a durable outbox that waits out a refused key or a full quota.
- An admin can connect one Hindsight server for the whole deck (Console → Connections → External memory → Shared memory server), and everyone without their own gets a bank of their own. Non-admins can't point theirs at loopback, private or
.localaddresses.
Since 0.9.1 0.9.1: Qdrant and ArcadeDB join Membase and Hindsight, with vectors made on the deck by default (nothing leaves it). Agents read from memory before every reply, by each memory's Reading priority (First — my main memory, Alongside, Only when needed), and each person can connect up to five memories of their own, beside the admin's shared one.
Hindsight was tested against a self-hosted 1.2.0; Membase and Hindsight Cloud not at all. FD_MEMBASE_BASE_URL and FD_HINDSIGHT_BASE_URL set the default addresses.
Context Engine 0.8.0
Weak models degraded as sessions grew: background notes were appended after the question as assistant turns, and a per-minute clock in front of the history broke the prompt cache. The crowded-session context engine fixes the placement.
- Background notes form one frozen block per turn; every message carries its origin.
- Correctives and rejected replies are never replayed; a cut-off answer is continued.
- On a production replay a turn's first request now repeats 96–98% of the previous one (5.6% was cached before).
- Knobs:
context.compaction_summary(digest|model),context.notes_allocator(trim|capped),context.turn_governor(off; Vatra turns it on for workers),insights.context_mode: relevant.
Native Vision 0.8.1
A model that sees images gets the turn's pictures inline, as image parts of its own request, instead of a separate vision model's text description.
Tool screenshots — the browser, screen capture, cv — go to it too.
model.vision:auto(known multimodal families),onoroff— per agent in Flight Deck (kiosk: the agent's Settings). Local Qwen builds needon.context.inline_imagescaps pictures per call (4, the newest tool pictures, a size cap); image tokens come off the history budget.- A server that refuses images is healed in the same call: the picture is replaced by the fallback's description and not sent to that model again. HEIC and TIFF uploads become JPEG.
image_visionis always available, and a failed description no longer forbids it.
Virtual File System (VFS)
Every one of your agents reads and writes into a shared Virtual File System — a sandboxed workspace, scoped per Flight Deck user, that lives apart from your host machine. When one agent produces a report, a data extract, or a generated asset, it lands in the VFS where any of your other agents can pick it up, so work flows between them without copy-pasting or scattered downloads.
- Shared across your fleet — all of a user's agents and sessions read and write the same tree
- Browsable in Flight Deck — explore, preview, and download files from the Agent Folders view; share a folder with a teammate or copy theirs to your workspace; export any file to your own Google Drive
- Host-sandboxed, per user — each Flight Deck user gets their own isolated tree; agent file operations never touch the host disk
- Google Drive folders as projects — mount a Drive or Shared Drive folder read-only; agents read, extract and OCR its files as if they were local, fetched on demand — or clone it to real Markdown (
clonemd=true) for grep and deep memory - The handoff layer — backs inter-agent file transfer and the shared clipboard across the crew
Built-in Tools
Captain comes with 85 built-in tools (84 in the desktop app, which has no Captain Swarm), organized by category. Since 0.9.2, past 16,000 tokens of tool descriptions an agent in full mode sends only some in full and loads the rest by name with search_tools (on Claude models, Anthropic's own tool search). See the Tools Reference for the full list. Since 0.8.1 the everyday working set — shell, glob, web fetch and search, the extract tools, insights, contacts, APIs, todo and image_vision — is always on, whatever an archetype's list says.
New in 0.8.3 to 0.9.3
drive_level— Reads or changes how far the agent pushes (Drive):get, orsetto Relaxed, Diligent, Persistent or Ambitious for this turn, this chat or as the agent's default, and the extra work at Ambitious on or off. Refused on turns that aren't the owner's 0.9.3web_playbook— The 439 shipped web playbooks and the owner's own recordings:findone for a task or a site,showits steps and inputs,runit. Offered wherever the agent hasbrowser0.9.3first_mate— The owner's First Mate factories:list,status,run,pause,resume,reportanddraft, which waits on their Line for Approve and start. It never approves a charter, carries out a rehearsal or changes trust 0.9.2request_secret— Ask the person for a password or a one-time code in a masked box in Flight Deck; the agent gets only a reference forbrowserto type, kept in memory for 10 minutes and 3 uses 0.9.2anonymize— Take names, companies, addresses and ID numbers out of a file, avfs:folder, a page or a text into one of the owner's vaults;restoreputs the real values into a file for the owner that the model never sees, andvaultslists names and counts, never values. It reads files and pages itself, so the original never reaches the agent's model 0.9.1model_switch— Switch among the agent's own provider's models (same key, same endpoint) when you ask for a smarter or cheaper one, from any channel; on its own only with Pick a smarter or cheaper model on its own 0.9.1custom_tools— List, describe and run the owner's Custom tools and the ones they added; ask Crew tobuildorimproveone, orproposeone for the owner to build. Flight Deck runs every call as the person, in a Landlock sandbox on Linux. Shown only while the deck has Custom tools on 0.9.0ask_user— Ask the person the turn is for a question, or a short form of up to 10, in a Flight Deck dialog, and wait (10 minutes by default, up to 60) 0.9.0colleagues— Hand a piece of work to another of the owner's agents and get the answer back in the same task:list,hand_over,handed. Owner's turns only 0.9.0imap_mail— Read, search, draft, file and (when the inbox allows it) send from the owner's IMAP inboxes; never deletes. Hidden until an inbox is connected 0.9.0external_memory— The owner's Membase or Hindsight memory, shared by all of their agents;forgetonly withconfirm=true. Hidden until a memory is connected 0.9.0course— The goals the agent's work is for:view,linkwork to a goal,reportprogress,proposea goal or a change, which waits on the owner's Line. It never marks a goal done 0.9.0image_manipulation— Resize, crop, rotate, combine, overlay, watermark, annotate, animate, split and convert pictures (png, jpg, webp, gif, bmp, tiff, ico, avif, pdf), about 45 operations, with no model or network. Always on 0.9.0ocr_pdf/ocr_image— Read scanned PDFs and pictures with a local OCR engine, never a model; the same file gives the same text 0.8.10crew— Run Claude Code, Codex, OpenCode or Pi as workers, each in its own git worktree, and supervise them; shown to an owner an admin approved. See Crew 0.8.5xlsx— Make, read, edit and check Excel workbooks with no scripts: charts, pivots and macros stay, formulas stay live, and every call lists the cells and totals that moved 0.8.5pptx— Make, read, edit, check and render PowerPoint decks with no scripts, on the deck's own layouts; every result says what doesn't fit 0.8.5line— Read the owner's Line: what's new, recent items, search, one item; read-only 0.8.6captain_swarm— Propose a Captain Swarm run that waits for the owner's Go; it answers only for the deck's admins, and isn't in the desktop app 0.8.6knowledge— Search and read the owner's documents, with no model 0.8.4visualize— HTML in, the page and a PNG out 0.8.4docx— Word files with real tracked changes 0.8.3self_check— Test the agent's live connections and models 0.8.3reasoning_effort— Read or change its own reasoning effort when you ask 0.8.3activity— Its own tool calls, read back from the register 0.8.3linked_system— Message a system linked to the agent 0.8.3whatsapp_web— Read, and with consent send to, your own WhatsApp 0.8.3
File & System
shell— Execute terminal commandsread/write/edit— File I/O (writerefuses placeholders and reads back)glob— Pattern matchingterminal— Live PTY on remote machines
Web
web_search— Brave, Tavily or You.com; 10 results by default, up to 50, andenrich=true(0.9.1); or Google, Bing, DuckDuckGo, Yahoo or Qwant in the owner's own Chrome when they turn it on 0.9.2web_fetch— Clean text from URLs (200k chars per page), headings, lists and tables kept as Markdown, plus the page's relevant pictures; signed in as the owner in their Chrome when they turn it on 0.9.2web_get— Raw HTMLweb_fetch_batch— Parallel fetchbrowser— 60+ Playwright actions, 30 more andtarget="chrome"for your own Chrome (0.9.1); types passwords by reference fromrequest_secret0.9.2
Documents & Media
pdf_extract/docx_extract/xlsx_extract/pptx_extractimage_gen/image_ocr/image_vision/cvvideo_vision— Watch & describe videosummarize_files— Summarize many files
Mail, Calendar & Files
google_mail/google_calendar/google_drive— Gmail, Calendar, Drive, Sheets and Docs in placemicrosoft_mail/microsoft_calendar/microsoft_onedrive— Outlook, Calendar, OneDrivesend_mail— SMTP / Mailgun / SendGridstt/pocket_tts— Speech ↔ textaudio0.8.1 — Soniox: transcribe a file, speak text to an MP3 WhatsApp, Telegram and the devices deliverwhatsapp_send_file— Deliver to chattelegram_inbox0.8.1 — Read the owner's Telegram, read-onlypublic_link0.8.1 — "Share that file" as a/s/<token>linkwatch_background0.8.1 — A picture as the StopWatch's backgroundscreen_capture— Screenshot + vision
Memory & Data
datastore— SQLite tables + raw SQLinsights/intentions/topicssessions0.8.1 — Switch topics by askingtodo/contacts/historycron_tool— Schedule recurring workjev— Calibrated yes/no, choice and rubric judgmentspayments0.8.1 — Bill payments it prepares, never makes (opt-in)
Orchestration
flight_deck— Spawn & coordinate agents;reportto a parent,askortaska family 0.9.2basna/vatra/bat/consult_peerbotport— Agent-to-agent networksynthesize_flow— Author a Flowcodemap— Query the per-repo Code Mapshared_agent_usage— A shared agent's owner view
Research reports with pictures 0.8.2 — web_fetch and web_fetch_batch keep the pictures a page shows that could matter to the research (with a caption, telling alt text or a title, inside the content) and drop logos, icons, avatars, ads, navigation and repeats.
Reports use them: .md links the original, .html embeds it so the file stands alone, .docx places it. Settings: tools.web_fetch.save_images (on), images_per_page (4), images_per_batch (16).
Guards & Safety
Captain features a three-layer guard system that checks inputs, outputs, and tool executions before they happen:
- Input guards — screen user inputs before sending to the LLM
- Output guards — check model responses for risks before presenting
- Script/Tool guards — validate shell commands and tool calls before execution
Each guard operates in ask_for_approval or stop_suspicious mode, with configurable blocking patterns and a full audit trail of unique IDs for every message, tool call, insight, and intuition.
Since 0.9.2 an admin can also hold an agent's paying, sending, posting, sharing, deleting or storing a password for the person's OK, with approval cards; see Safer Agents.
guards:
input: { enabled: true, level: "ask_for_approval" }
output: { enabled: true, level: "stop_suspicious" }
script_tool: { enabled: true, level: "ask_for_approval" }
Mail & Fabrication Guards 0.8.0
- No email nobody asked for. Autonomous Work had drafted ~40 unrequested "Re: …" replies once it had earned trust. Mail actions are now human-only — proposed, never auto-fired by grant or trust — and every automated turn (scheduler, flows, plans, peers, workers, MCP tasks) may write mail only when its own human-written text asks for that email.
- A fabrication guard. An agent answered six send requests in a row with "Sent …", invented Message IDs and narrated searches — with zero tool calls. Every final reply is now judged: a claimed send or calendar change in a turn where none happened, an ID nothing ever showed the model, or a narrated lookup with no tool call is rejected (never replayed) and the agent is asked — at most twice — for a true reply. The corrective never tells it to go and make the send.
- Never the same email twice. Drafts and sends check Drafts and recent Sent for the same recipient and subject (
repeat_check_days: 14) and refuse a repeat unless you ask for another copy. - Only deliverables are auto-sent. Chat bridges used to post any file named on a
Path:line in tool output — a forged line in an email could post any host file into the chat. Now a file goes only if this turn wrote it inside the agent'ssaved/area. - A garbled reply gets a way out. With a Jev key connected (
tools.jev.check_replies: true), a reply that came out as a loop, token soup or raw tool-call JSON gets a notice recommending/new.
Playbooks
Playbooks are learnable orchestration patterns stored in memory. When the agent solves a multi-step task well, it can distill the approach into a reusable playbook (auto-distillation) that gets injected into context on similar future tasks — so the fleet gets better at recurring work over time.
Personas
Personas change how the assistant interacts with you — tone, priorities, and style. Switch between built-in personas (Developer,
Lawyer, Startup Founder, and more) per session, and use the personality tool to read or update agent identity and per-user profiles.
Intentions
A control-plane primitive that sits between noticing (insights) and doing (cron / scheduler). The assistant can hold notes-to-self and propose future actions, then act on them only with your permission. Combined with the Flight Deck scheduler, it powers proactive, permissioned pushes over channels like WhatsApp. Mail is never among the actions it fires on its own.
Flows
Flows are a deterministic composition language for agent-native automations, running inside Flight Deck and dispatching steps to the agent pool. A Flow is a trigger plus an ordered list of steps — a deterministic spine (triggering, routing, sequencing, guardrails) with agent judgment only in the steps that need it. Build them in a visual UI, write the DSL in the Code tab, or describe one in plain English and let a model write it — all round-trip losslessly through a real parser. The model is never the source of truth; the parser is.
flow "Competitor Watch"
trigger cron "0 9 * * 1"
step fetch:
spawn pricing, features, news
join -> results
step report:
gosub "Build Report" with {{steps.fetch.output}}
on error -> notify
output -> email, slack
- Step types —
tool(deterministic RPC, includingtool: jev),agent(scoped judgment turn),vision,branch,input, andemit - Compose —
gosubcalls another flow with arguments and uses itsreturnvalue. Flows are functions. - Parallelize —
spawn/joinrun flows concurrently and collect futures - Recover —
on error -> stephandlers and inline status branches - Control —
/flow status,pause,resume,stopfrom any channel (WhatsApp, glasses, web) - Self-authoring —
synthesize_flowturns a goal into a validated, call-only flow that earns promotion after clean runs (3 clean → ⭐ candidate; 3 failures → quarantined). A synthesized flow can't call a permanent world-acting flow until promoted, so agent-written automations never borrow your vetted authority. - Owned — since 0.8.0 flows have owners and their routes require a logged-in user.
Full language reference: FLOWS.md (also in-app via the Flow language docs button in the Code tab).
Research Workspace
The Computer workspace turns a question into a polished, cited deliverable. Captain searches the web, scrapes pages, processes documents, and synthesizes a structured report with themed visual rendering. Output is organized into tabs:
Answer, Blueprint, Files, Todos, Data, Insights, and Visual — export to HTML or PDF.
Browser Automation
The browser tool wraps Playwright with 60+ actions — navigate, click, type, scroll, screenshot, extract, and more.
Record a workflow once and replay it with different data, run tab-aware research with nested context, and replay API calls captured during a session.
web_fetch automatically falls back from a plain HTTP fetch to a headless browser when a page is JavaScript-rendered.
Document & Video Processing
Drop in PDFs, Word docs, Excel sheets, PowerPoint decks, images, and CSVs — Captain extracts, analyzes, and transforms them into
markdown, tables, or structured insights. A local cv tool (OpenCV) handles detection and measurement under the LLM's vision.
For video, video_vision watches and describes a clip end-to-end: deterministic frame sampling, Soniox audio transcription with
timestamps, per-frame vision, and one synthesized description. Text-only models delegate frame description to a multimodal peer automatically.
Brain Graph
A 3D force-directed visualization of the assistant's cognitive topology — sessions, insights, intuitions, contacts, and the connections between them. It's the visual face of the memory system, showing how knowledge accumulates and links across everything you've done.
Nervous System
The Nervous System proactively synthesizes across all memory types during idle hours ("dreaming"). It discovers non-obvious connections, recurring patterns, and speculative hypotheses — with tension tracking that holds contradictions without forcing resolution, a maturation pipeline where intuitions sit through dream cycles before surfacing, cognitive-tempo detection, and confidence decay with validation tracking. Review its discoveries in the Nervous System page.
Autonomous Work
Between conversations, Captain doesn't go idle. Driven by the Nervous System, agents keep working on their own — dreaming over what they know, forming and maturing intuitions, tracking the standing intentions you've set, and watching the whole fleet for patterns worth your attention.
- Standing intentions — notes-to-self the agent keeps revisiting ("watch whether this claim holds," "track that agent's behavior") until they resolve
- Dream cycles — idle-time synthesis that surfaces non-obvious connections and speculative hypotheses, maturing across cycles before they surface
- Fleet-wide awareness — repeated failures, shared blockers, and idle signals are spotted across every agent at once
- Proactive but permissioned — when it notices something worth acting on, it can reach out (a WhatsApp nudge, a scheduled task) only with your approval, via Intentions. Mail is never auto-fired.
Observatory
The Observatory is the live window into that inner life — a single page where you can watch the agent think. It shows the standing intentions it's tracking, live counters for blocks and thoughts, and a chronological stream of consciousness: timestamped thoughts and dream-cycle discoveries, each tagged with what it touched and how confident it is.
- Standing intentions — the open questions the agent is actively watching
- Stream of consciousness — a feed of thoughts and dreams, each spotting patterns across the fleet
- Tensions held, not forced — contradictions are tracked openly rather than papered over
- Auditable — every entry traces back to a source through the six-layer memory and full lineage
Self-Reflection
After enough activity, Captain auto-triggers a self-assessment that reviews recent conversations, memory facts, completed tasks, and previous reflections, then generates actionable improvement directives injected into the system prompt. Review them on the Reflections page.
Themes
14 built-in retro themes — Amiga Workbench, Atari ST 1040, C64 8032, Classic Mac, Windows 3.1, Hacker, Modern, Windows 11, macOS, iPhone, Android, Nokia 7710, and Nokia Communicator. Custom themes are supported via downloadable templates. Flight Deck has light and dark themes, and an admin can set the deck's name and logo.
Skills System
Captain supports OpenClaw-compatible SKILL.md files with auto-discovery from workspace, managed, and plugin directories.
Install a skill straight from GitHub with /skill install <url>, and use a persistent skill environment with variable overrides.
Jev 0.8.0
Jev (TypeSafe AI) gives fast, calibrated judgments about text — yes/no, choice and rubric questions with probabilities. Each user connects their own key in Connections → Jev (a team key can be shared by the admin).
- Agents get a
jevtool that calls through Flight Deck with the owner's key; while a key is usable, agents are told to ask Jev first whenever a task means judging content. - Flows get a
tool: jevstep; the inbound MCP server getsjev_ask; Connections has a playground. - Jev powers the garbled-reply check and keeps work going (0.8.1): when a turn runs out of steps it judges whether the agent is still making progress and extends it (
tools.jev.check_progress); when a guard refuses a repeated call, Jev picks the next step instead of a fixed message (tools.jev.review_blocks).
Lupa — a research desk on Flight Deck 0.8.0
lupa/ ships Lupa, a standalone B2B research desk built purely on Flight Deck's HTTP API: streams of research with a plan gate,
reports with a receipts panel (verdict, confirmed and refuted claims, facts ledger, cost with ROI), deepening rounds, standing briefs and a
Basna second opinion — and Kalup, a Pack Studio that turns a desk description into a published vertical desk behind a green ship-gate.
Install with pip install -e lupa/api, sharing FD_JWT_SECRET with Flight Deck. See lupa/README.md.
Payments (opt-in) 0.8.1
Off by default. With FD_PAYMENTS=1 and pip install .[payments], Captain prepares bill payments it never makes — you approve and send every one yourself.
Agents get a payments tool.
- A barcode for your bank app — an HUB3 / EPC QR code from an invoice.
- A Revolut Business draft you send yourself, or a pay-by-bank link your bank approves with its own SCA (Enable Banking).
- Online purchases with a one-time card you approve (Stripe Link, a Revolut single-use card; ACP and AP2 checkout).
- Bills confirmed from a read-only bank statement (
FD_PAYMENTS_STATEMENTS), a reminder before a bill is due, and recurring bills spotted. - Card numbers are scrubbed at every entry point — typed or spoken in a voice note — and only you clear a blocking warning.
Settings: FD_PAYMENTS_SYNC_TIMES, FD_ENABLEBANKING_APP_ID / _KEY, FD_LINK_CLIENT_ID / _SECRET / FD_LINK_TEST, FD_AP2 — see 0.8.1 Settings. Plans and decisions: docs/payments-phase0-plan.md to docs/payments-phase4-plan.md.
Google Workspace
Each user connects their own Google account in Connections → Google; agents use their owner's token through Flight Deck. Three tools cover the suite:
google_drive— search, read and upload files; Sheets and Docs edited in place (sheet_read/update/append/clear,doc_read/replace_text/append_text/insert_texton the same file id); mount a folder as a read-only VFS projectgoogle_calendar— list, create and change events (invites never auto-emailed without you asking)google_mail— read, search, draft, reply, file (archive, move, labels — never trash), open attachments withget_attachment, and send when allowed
The old gws CLI wrapper is retired in 0.8.0. Enable the Sheets and Docs APIs in the deck's Google Cloud project for in-place editing; tick Gmail (read + modify) for filing.
Microsoft 365 0.8.0
microsoft_mail, microsoft_calendar and microsoft_onedrive are the Outlook twins of the Google tools — the same per-user connection through Flight Deck (Microsoft Graph), owner-only.
- Outlook mail reads, searches, drafts (replies inside the conversation), files with categories and folders — and never sends.
- Calendar changes that would make Outlook email attendees need
notify_attendees: trueand a turn where a person asked. - OneDrive reads Office and PDF inline, uploads large files in sessions, and never overwrites.
Setup: register an app in Entra ID with the Web redirect URI https://<deck>/fd/microsoft/callback, then fill Connections → Microsoft.
Gmail Sending 0.8.0
google_mail gains send, send_draft, update_draft and list_drafts. Under Flight Deck every send goes through one gate:
- a per-user policy (off by default), a recipient allowlist and a daily limit
- duplicate suppression, an audit table (
gmail_sends) and a bell per send - attachments from
saved/andvfs:— 20 files / 25 MB, secrets and databases refused - the agentic signature appended to every message
FD_GMAIL_SEND=off is the deck-wide kill switch. Standalone agents (no Flight Deck) need tools.google_mail.allow_send: true.
Topic Auto-replies 0.8.0
Off by default. An agent answers inbound Gmail that is only about one of your narrow topics, with no confirmation. The engine runs in Flight Deck only.
- Topics are narrow by construction — a lint, a breadth test on your real mail, and a drift breaker.
- Senders must pass Gmail's own authentication.
- An outbound guard blocks secrets, card and bank numbers, internal hosts and your never-disclose terms; a second judge reads every reply.
- Anything doubtful waits in Flight Deck as a held card.
FD_GMAIL_AUTOREPLY=offstops it deck-wide. Needs thegmail.sendscope.
Agent Links 0.8.3
New in 0.8.3. Give an outside system, such as your CRM, shop or monitoring, its own key to one of your agents, and they talk directly.
Your system (CRM, shop, monitor) Flight Deck Agent WebSocket /link/ws ──▶ cc_link_… key → the link's ──▶ a 🔗 session of its own HTTP POST /link/messages ──▶ queue, events, files linked_system tool signed webhook ◀── answers, files, messages ◀── (writes on its own)
- Connections → Systems (in the kiosk too) adds a link to one of your agents. The system gets its own
cc_link_…key, shown once. - Three ways in: a WebSocket at
/link/ws; HTTP withPOST /link/messages(add?wait=to get the answer in the same call),GET /link/eventsandGET /link/files/<id>; or a webhook Flight Deck signs with HMAC-SHA256. Files go both ways. - Or Flight Deck dials out. A link can name an orchestrator's
wss://address and the key it issued; Flight Deck keeps the connection open while the agent runs, so an agent behind a home router needs no public address. - The agent can write first with the
linked_systemtool (list,send), if the link allows it (the agent can message it, on by default). - Kept apart. A link's turns run in a session of their own, are never mirrored into your chat, and may write email only if the link's own instructions ask for it. Keys are stored only as a hash; the webhook secret and an outbound link's remote key are sealed. Shared-agent members can't use
linked_system. - Webhooks and outbound links go only to public
https://andwss://addresses unlessFD_LINK_PRIVATE_ADDRESSES=1.
A Meta WhatsApp Cloud API bridge routes a WhatsApp chat to a Flight Deck agent and back — a genuine two-way personal-assistant channel. An allow-list gates every send, slash commands rebind channels and control proactive pushes, and the scheduler plus Intentions can deliver agent-initiated messages.
- Inbound, everything — text, documents, albums, stickers, images, video, location, contacts, and voice notes (transcribed via Soniox, recording kept); every file reaches the agent.
- Outbound, both ways — agents send pictures, video, audio and documents back (type decided from the file's bytes, falling back to a document that always arrives) and deliver what a turn made once the reply is out (
whatsapp.auto_send_media, 6 per turn). - Reliable — a message sent while the agent is busy is retried in order instead of lost; automated results arrive once, formatted; every message gets an emoji reaction (
WHATSAPP_REACTIONS=offdisables);/newanswers. - Per user — each user binds their own number in Connections → WhatsApp for Autonomous Work nudges.
WhatsApp Web: Your Own WhatsApp 0.8.3
New in 0.8.3, experimental and opt-in.
WhatsApp Web support uses an unofficial client (neonize). That is against WhatsApp's terms of service, and WhatsApp can ban an account that uses one. It is off until an admin allows it (Allow WhatsApp Web) and each user consents, and it isn't available in the desktop app. Install it with pip install 'captain-claw[whatsapp-web]'.
- Link your own number in Connections → WhatsApp Web by scanning a QR code or typing a pairing code, like any linked device. Flight Deck keeps the history, sealed at rest, for as long as you choose (7, 30, 90, 365 days, or everything).
- Your agents read it with the
whatsapp_webtool (status,chats,read,recent,search,contact,attachment,send): chats, messages, contacts and attachments, with voice notes transcribed when Soniox is set up. Each turn starts with a line on what came in since the agent's last turn. Only the owner's agents read it; shared-agent members never do. - Sending is off by default. When on, an agent sends only to existing chats you whitelisted (it never starts a conversation), within a daily limit (30, up to 200), 6 a minute per chat, and never the same text to the same chat twice in 24 hours. Every message carries your signature. It never reacts, marks messages read or changes your presence. The fabrication guard catches a claimed WhatsApp send that didn't happen.
- Auto-replies in chats you choose. Tick auto-reply on a whitelisted chat, pick one of your agents and its trigger words. The agent answers when it's named, called by a trigger word or
@word, or replied to, and may keep talking for 15 minutes after its last message. It sees only that chat's last 30 messages and may run one web search; never your mail, files, calendar, memory or other chats. At most 10 answers an hour per chat; messages older than 10 minutes and other assistants are ignored; nobody in the chat can change its rules. - Auto-reply activity shows each decision: a one-line reason, the reply or the reason for silence, the model's reasoning, the search, tokens and time.
- A ban doesn't take your history. Disconnect and Switch number ask whether to keep it; if WhatsApp bans the number or the device is removed on the phone, it's kept. Agents go on reading it, nothing is sent from it, and you delete it on the card when you want to.
- Kill switches:
FD_WHATSAPP_WEB=off,FD_WHATSAPP_WEB_SEND=off,FD_WHATSAPP_WEB_AUTOREPLY=off.
Notifications 0.8.3
Since 0.8.3, Autonomous Work's nudges and the proposals waiting for your approval reach you wherever you choose on the Notifications card in Connections (also in the kiosk's Settings and the admin console):
- WhatsApp (on), Telegram (off until you turn it on) and your devices (on: a beep, a banner and a count);
- the bell in Flight Deck, always, with Approve / Reject on each proposal and a ⤢ bigger view. Nudges and proposals render as Markdown, with pictures dropped and links shown as text.
Quiet hours send the count without the beep. A channel that fails never stops the others.
Telegram 0.8.1
A native Telegram bot — route a chat to any agent in your fleet. /new starts a fresh session for that user (the old one is kept in history).
- One team bot per deck. Flight Deck polls it and relays each member to their own agent after admin approval — or at once with auto-approve (Admin → Integrations). An agent can also run a bot of its own.
- Live narration — sent as it happens, one message per blurb (
STREAM_NARRATION=offfolds it into one answer). - Everything reaches the agent — photos, documents, contacts, voice notes, audio, video, round videos and GIFs; voice is transcribed (Soniox), and card numbers, typed or spoken, are scrubbed.
- The owner in the main conversation. The owner's private chat continues the conversation the web chat, WhatsApp, the glasses and the devices share, holding the lane like any other turn and showing via Telegram everywhere (
telegram.owner_in_main, on). Other users and groups keep sessions of their own. See One conversation across every channel. - A read-only Telegram inbox. Connect the team bot in Telegram → Settings → Chat Automation (Telegram 12.7 or newer; Premium users also under Telegram Business → Chatbots), or add it to a group, and Flight Deck keeps a read-only copy of the chats you pick, sealed at rest, for 7–365 days. Your agents read it like mail with the
telegram_inboxtool, and each turn's context says "3 new from Ana". Nothing is sent in your name. Turn it on in Connections → Telegram → Inbox. - Agents in groups. Bots can't follow a
t.me/+invite link, so an agent joins through its bot's add-to-group link; in a group it answers @mentions, replies to its messages and/ask, with a group's own limited session (web search and fetch only, none of the owner's profile or memory) and a cap per hour (telegram.group_turns_per_hour, 30;telegram.groupsturns it off).
Claude via MCP 0.8.0
Flight Deck hosts an MCP server at /fd/mcp-server so an external MCP client — Claude Code, Claude Desktop, claude.ai — can list your active agents, send them tasks, and read back results, all scoped to your own agents.
Tools: list_agents, send_task (async, returns a task_id), get_result, cancel_task, and jev_ask.
- Claude Desktop / claude.ai — add a custom connector with
https://<deck>/fd/mcp-server; it signs in with OAuth 2.1 (dynamic client registration + PKCE), no token to copy. - Claude Code — generate a personal access token in Connections → Agent access for Claude (MCP), then:
$ claude mcp add --transport http captain-fleet https://<deck>/fd/mcp-server --header "Authorization: Bearer cc_pat_…"
Requires HTTPS, FD_PUBLIC_URL, and a stable FD_JWT_SECRET. Flight Deck is also an MCP client: add an HTTP or stdio server in Connections → MCP Servers and your agents pick up its tools. Since 0.8.1 a server is private to whoever added it unless an admin shares it deck-wide, and remote servers that follow the MCP authorization spec sign in with Dynamic Client Registration and PKCE.
Slack
Message and thread handling so an agent can participate in Slack conversations and respond in context.
Discord
Channel and DM support to bring a Captain agent into your Discord server or direct messages.
Twitter / X
OAuth 2.0 integration via the twitter tool — read mentions and DMs, compose and post tweets, search, like, retweet, and upload media.
To have agents read posts on X as you see them, signed in, with no API key, use web pages in your Chrome 0.9.2.
Docker
$ docker run -d -p 23080:23080 \
-v $(pwd)/config.yaml:/app/config.yaml:ro \
-v $(pwd)/.env:/app/.env:ro \
-v $(pwd)/docker-data:/root/.captain-claw \
kstevica/captain-claw:latest
Mount config.yaml and .env read-only and persist data to /root/.captain-claw. Docker agents on a 0.8.x deck need an image rebuilt on the deck's version and FD_URL + FD_AGENT_SHARED_SECRET in their env.
Docker Compose
version: "3.8"
services:
captain-claw:
image: kstevica/captain-claw:latest
ports:
- "23080:23080"
volumes:
- ./config.yaml:/app/config.yaml:ro
- ./.env:/app/.env:ro
- ./data:/root/.captain-claw
restart: unless-stopped
Several decks on one host: isolate each with FD_DATA_DIR (and CAPTAIN_CLAW_FD_HOME for MCP servers, apps and the agent secret).
Public Mode (BYOK)
For shared deployments, Public Mode gives each user a session-isolated workspace addressed by an access code. Users bring their own LLM API keys, which are stored in the browser only — never server-side.
Configuration Options
| Key | Default | Description |
|---|---|---|
| model.provider | openai | openai, anthropic, gemini, deepseek, ollama, openrouter, chatgpt, antigravity |
| model.temperature | 0.7 | Sampling temperature (self-heals on temperature-pinned models) |
| model.max_tokens | 160000 | Context window size |
| model.vision | auto | auto / on / off — whether the agent's own model sees images |
| compaction.threshold | 0.8 | Auto-compact at 80% full |
| compaction.ratio | 0.4 | Reduce to 40% when compacting |
| guards.*.enabled | true | Toggle input / output / script_tool guards |
| guards.*.level | ask_for_approval | ask_for_approval or stop_suspicious |
Small-context models (20k–32k tokens) use chunked processing automatically.
0.9.2 Settings 0.9.2
Restart Flight Deck after changing an environment variable, and an agent after changing its config.yaml. The console cards take effect when saved.
| Setting | Default | What it does |
|---|---|---|
FD_FIRST_MATE_DISABLED | unset | true doesn't start First Mate's supervisor at all. Turning First Mate on or off for people is the console switch, not this |
FD_FIRST_MATE_TICK_SECONDS | 60 | How often First Mate looks at schedules, budgets and new events |
FD_BAT_STEP_CEILING | 5000 | Default for Step ceiling per worker turn (300–100,000) |
FD_BAT_IDLE_MINUTES | 15 | Default for Quiet minutes before a step stops (3–240) |
FD_BAT_CALL_MINUTES | 20 | Default for Minutes one model call may take (3–120) |
FD_BAT_WORKER_TIER | the planning tier | Default for Workers use: reason, balanced, fast, longctx, coding, vision or micro |
CLAW_BAT_TOKEN_CEILING | 20000000 | Where a Bat run with no token cap stops (it can be continued); 0 = never |
FD_LOG_FILE | <FD_DATA_DIR>/logs/flight_deck.log | The deck's rotating log file; another path, or off |
FD_ACCESS_LOG | unset | all also logs the successful polling requests left out by default |
FD_CREW_APPS / FD_CREW_APPS_PER_USER / FD_CREW_APPS_MAX_RUNNING | on / 2 / 6 | Hosted apps for non-admins approved for Crew: off takes them away; how many one person and the whole deck may run at once |
FD_CREW_APP_MEMORY_MB / FD_CREW_APP_HOURS | 1024 / 0 | Memory one such app may use, and how long it runs before it's stopped (0 = no limit) |
tools.tool_search.budget_tokens (agent config.yaml) | 16000 | Tool descriptions sent in full per call before the rest load by name; 0 = off. Also agent Settings → Tool search |
tools.web_search.via_chrome / tools.web_fetch.via_chrome (agent config.yaml) | true | false keeps this agent's searches or page reads out of its owner's Chrome |
| First Mate (Admin console → Settings) | off | On for this deck, Admins only (on) and Limits |
| Bat (Admin console → Settings) | the FD_BAT_* values | Steps at the same time (3), Workers use and the three time limits; a run going now picks changes up |
| Approvals (Admin console → Settings) | Don't ask | A policy per kind: pay, send, post, share, delete, store a password |
0.9.1 Settings 0.9.1
A model saved on the Anonymization card takes the environment's place. Restart Flight Deck after changing any of them. A data room's connector also needs FD_PUBLIC_URL and a stable FD_JWT_SECRET.
| Setting | Default | What it does |
|---|---|---|
FD_ANONYMIZE_PROVIDER | none | The trusted model's provider (the same list as the card). Needs FD_ANONYMIZE_MODEL too |
FD_ANONYMIZE_MODEL | none | The trusted model |
FD_ANONYMIZE_BASE_URL | the provider's usual | Its address |
FD_ANONYMIZE_API_KEY | none | Its key |
FD_ANONYMIZE_ATTESTED | off | 1, true or yes: you vouch for a model that isn't local |
FD_ANONYMIZE_ON_FAILURE | refuse | refuse, or deterministic (code only, marked) |
FD_ANONYMIZE_MODEL_TIMEOUT | 600 | Seconds for one call to the trusted model |
FD_ANONYMIZE_MODEL_MAX_TOKENS | 32000 | The trusted model's answer limit |
FD_ANONYMIZE_MODEL_NUM_CTX | the smallest of 8K, 16K or 32K the call fits | Ollama only: the context the model is loaded with (2048 or more) |
FD_ANONYMIZE_MODEL_THINK | off | The trusted model's thinking: off, low, medium, high, on, or model |
CLAW_ANONYMIZE_GATE_TIMEOUT | 1800 | Read by agents, not by Flight Deck: seconds one privacy-gate check may take |
FD_ROOMS_MAX_ZIP_MB | 25 | The biggest ZIP you can add to a data room |
FD_ROOMS_DESCRIBE_CHARS | 16000 | How much of one file the trusted model reads to describe it |
scale.task_rephrase_enabled (agent config.yaml) | off | Task rephrasing; also Rewrite requests per agent in the kiosk |
0.9.0 Settings 0.9.0
| Setting | Default | What it does |
|---|---|---|
FD_IMAP_SEND | on | off: no IMAP sending on this deck |
FD_IMAP_REPEAT_CHECK_DAYS | 14 | How far back in Sent an IMAP send looks for the same email |
FD_AGENT_MAIL | on | off: agents don't pick up email that names them, deck-wide |
FD_MEMBASE_BASE_URL | Membase's own | Where Membase is |
FD_HINDSIGHT_BASE_URL | none | Where a Hindsight server is |
FD_AGENT_BUNDLE_MAX_MB | 2048 | The largest agent file, and the most it may unpack to |
FD_COURSE_REVIEW_TICK_S | 1800 | How often the Course's review sweep runs, in seconds |
lesson_proposals (agent config.yaml) | on, 12 a day | Lessons drafted from your corrections; enabled: false turns them off |
tool_proposals (agent config.yaml) | 4 a day | Tools an agent may suggest after repeated, mechanical work |
| Custom tools (Admin console → Settings) | off | Turns Custom tools on for the deck; Run tools only in the sandbox stops every tool on a host without Landlock |
0.8.8 Settings 0.8.8
| Setting | Default | What it does |
|---|---|---|
FD_USAGE_FINISH_MINUTES | 30 | One message past a spent allowance when your agents worked this recently; 0 turns it off |
FD_PUBLIC_FILE_LINK_DAYS | 7 | How long a new public file link lasts |
FD_PUBLIC_FILE_LINK_MAX_DAYS | 30 | The longest a link may last; 0 lets links never expire |
FD_BOTPORT_OUTBOUND_USERS | off | Other decks' agents for every user, not just admins (also Console → Network) |
FD_MAC_APP_URL | the GitHub release | Where Download Captain for Mac goes when the deck has no build of its own; empty turns it off |
0.8.6 Settings 0.8.6
| Setting | Default | What it does |
|---|---|---|
FD_BAT_MAX_PARALLEL | 3 | Bat steps running at once |
FD_BAT_DEFAULT_LLM_USD | 50 | The cap for a Bat run that doesn't name one; 0 means none |
FD_CAPTAIN_SWARM_DISABLED | off | Turns Captain Swarm's supervisor off |
FD_CAPTAIN_SWARM_MAX_RUNS | 1 | Captain Swarm runs at once per person |
FD_CAPTAIN_SWARM_MAX_LANES | 4 | Attempts at once in a run (1–8) |
FD_CAPTAIN_SWARM_PER_SITE | 1 | Attempts at once on one site or account (1–4) |
FD_CAPTAIN_SWARM_MEASURE_PARALLEL | 1 | Measurements at once (1–8) |
FD_CAPTAIN_SWARM_BROWSER | on | Lets Captain open pages in headless Chromium for its own checks (public addresses only) |
FD_CREW_CRUSH_BIN | found on PATH | Where Crush is, if Flight Deck can't find it |
tools.web_search.provider: keenable | brave | Keenable search; KEENABLE_API_KEY for higher limits |
| WhatsApp, Telegram, Agent chat (Connections → Notifications) | as before | Everything, Needs you or Off for the Line on each |
| Daily summary (the Line) | off | A Summary of your Line task at a time you pick |
CAPTAIN_CLAW_MANIFEST_URL (desktop app) | the latest release | Where the desktop app looks for releases |
CAPTAIN_CLAW_RUNTIME_DIR (desktop app) | ~/Library/Application Support/Captain/runtime on a Mac | Where it installs Python and each version |
0.8.5 Settings 0.8.5
| Setting | Default | What it does |
|---|---|---|
FD_CREW | on | off turns Crew off for the whole deck |
FD_CREW_TERMINAL | on | off takes the browser terminal from everyone, admins too |
FD_CREW_CLAUDE_PERMISSION | auto | Claude Code's permission mode for workers: auto, acceptEdits or bypassPermissions |
FD_CREW_MAX_RUNNING | 8 | Workers running at once on this deck |
FD_CREW_MAX_TURN_HOURS | 6 | The longest one turn may run |
FD_CREW_STALL_MINUTES | 15 | Silence before you're told a worker seems stuck |
FD_CREW_WORKING_SECONDS | 60 | How often the still-working line refreshes |
FD_CREW_MODEL_SILENCE_SECONDS | 300 | How long a model server through the deck can say nothing |
FD_CREW_ERROR_WAIT_SECONDS | 300 | How long a CLI gets to show it's past a failed call |
FD_CREW_RETRY_WAIT_SECONDS | 20 | The first wait between tries |
FD_CREW_CLAUDE_BIN, _CODEX_BIN, _OPENCODE_BIN, _PI_BIN | found on PATH | Where a CLI is, if Flight Deck can't find it |
FD_UPDATE_REPO | worked out | The checkout, when the deck can't work it out |
FD_UPDATE_POLL_S | 900 | How often Tell me and Install by itself look |
FD_UPDATE_COUNTDOWN_S | 120 | How long everyone gets before the restart |
FD_UPDATE_BOOT_TIMEOUT_S | 300 | How long the new version gets to come up |
| Crew (per user, on Users) | off | Which CLIs, how many at once, and the terminal |
| Automatically (Console → Updates) | Off | Off, Tell me or Install by itself |
0.8.4 Settings 0.8.4
| Setting | Default | What it does |
|---|---|---|
FD_AGENT_CONFINE | on with sign-in | off turns confinement off, for a deck whose users all trust each other |
FD_TASKBOARD_DISABLED | — | true stops the Taskboard's sweep and triage; it then fills only when opened |
CLAW_TURN_REGISTER (agent) | on | off stops an agent reporting its turns |
FD_SETUP_TOKENS_PER_MIN | 40000 | How fast a setup read may go; 0 is unpaced. Models on the same machine aren't paced |
FD_SETUP_REASONING | off | Thinking level for setup reads; auto leaves the model's own |
FD_PROFILE_REASONING | low | Thinking level for the Profile researcher |
memory.max_knowledge_files | 3000 | Semantic memory's cap for knowledge/, kept apart from other files |
tools.jev.find_images | true | Let Jev pick the picture a reply hands over |
| Your own AI keys (admin) | on | Lets users run their agents on their own keys |
| Taskboard inboxes (per user) | off | Telegram inbox, WhatsApp Web and Gmail on your board |
| Taskboard auto-close, Jev and reading caps (per user) | on, 200, 100 a day | Whether Jev may close tasks, and how many calls a board makes a day; 0 is no cap |
pdf extra | not installed | pip install 'captain-claw[pdf]': PDFs with headings and tables |
New stores create themselves on start: taskboard.db on the deck; lessons.json, practice.json and .owner-setup.json for each onboarded agent. No manual migration.
0.8.3 Settings 0.8.3
| Setting | Default | What it does |
|---|---|---|
FD_LINK_PRIVATE_ADDRESSES | off | Allow ws://, http:// and private hosts for webhooks and outbound links |
FD_WHATSAPP_WEB / _SEND / _AUTOREPLY | — | off switches WhatsApp Web, its sending, or its auto-replies off deck-wide |
| Allow WhatsApp Web (admin) | off | Lets users link their own WhatsApp |
| Put idle agents to sleep (admin) | off | Idle time before an agent sleeps, 10 min to a week |
FD_AGENT_IDLE_STOP_S / FD_AGENT_IDLE_TICK_S | — / 60 | Idle time in seconds, overriding the admin setting; how often the controller looks |
| Audit retention (admin) | 90 days | How long tool calls are kept, 7 to 3,650 days |
CLAW_TOOL_AUDIT (agent) | on | off stops an agent recording its tool calls |
| Notifications: WhatsApp / Telegram / devices (per user) | on / off / on | Where nudges and waiting proposals go |
| WhatsApp Web sending, daily limit, signature, retention (per user) | off, 30, — sent by my assistant, everything | |
| The agent can message it (per link) | on | Whether linked_system may write to that system |
New Flight Deck stores create themselves on start: agent_links, agent_link_events, agent_link_files, tool_audit.db with its key file, and each user's WhatsApp Web store. No manual migration.
0.8.2 Settings
| Setting | Default | What it does |
|---|---|---|
| server.admin_token (hub) | — | Token for the hub's dashboard and REST API |
| server.behind_proxy / trusted_proxies | off / loopback | A TLS proxy or tunnel on the hub's host; whose X-Forwarded-For to believe |
| server.tls_cert / tls_key | — | Serve wss:// from the hub itself |
| server.data_dir | ~/.botport | Database, log and swarm files |
| server.swarm_workspace_mb / min_free_disk_mb | 1024 / 512 | Swarm file quota; disk the hub never fills |
| auth.max_failures_per_minute / block_seconds | 10 / 300 | Failed-registration limiter |
| concerns.reconnect_grace_seconds / result_retention_seconds | 90 / 900 | Wait for a worker that dropped; keep answers for a requester that dropped |
| FD_BOTPORT_URL / _DECK_NAME / _KEY / _SECRET | — | A deck's link, pinned by environment |
| FD_BOTPORT_EXPOSE / _ACCEPT_FROM / _ALLOW_OUTBOUND | — / * / on | What it shares, whom it serves, whether its agents ask others |
| FD_BOTPORT_MAX_CONCURRENT / _DENY_TOOLS | 4 / — | Remote tasks at once; extra tools remote requests may not use |
| FD_BOTPORT_USER_SHARING | on | Users may share their own agents |
| FD_BOTPORT_ENABLED / FD_BOTPORT_NO_PROXY | — | Switch the link off; ignore HTTP(S)_PROXY for it |
| tools.web_fetch.save_images / images_per_page / images_per_batch | on / 4 / 16 | Pictures kept for research reports |
The server.*, auth.* and concerns.* settings belong to the hub (~/.botport/config.yaml); each can be overridden with BOTPORT_<SECTION>__<KEY>. The FD_BOTPORT_* variables belong to Flight Deck; most of them are also in Admin console → BotPort, and a field set by the environment can't be changed there. See BotPort.
0.8.1 Settings
| Setting | Default | What it does |
|---|---|---|
| FD_PAYMENTS / FD_PAYMENTS_STATEMENTS | off | Payments; read-only bank statements |
| FD_PAYMENTS_SYNC_TIMES | two daily slots | When bank statements are read |
| FD_ENABLEBANKING_APP_ID / _KEY | — | Pay-by-bank links and statements (Enable Banking) |
| FD_LINK_CLIENT_ID / _SECRET / FD_LINK_TEST | — | Stripe Link one-time cards |
| FD_AP2 | off | AP2 protocol checkout |
| FD_PUBLIC_FILE_LINKS / FD_PUBLIC_FILE_LINK_MAX_MB | on / 50 | Public file links; size cap |
| FD_AGENT_WS_WAIT_S | 30 | How long a chat waits for a restarting agent |
| FD_DATA_KEY_FILE | <FD home>/data_key | Key that seals the Telegram inbox |
| FD_DESKTOP | — | Set by the desktop app (loopback sign-in) |
| DEVICE_VOICE_MALE / DEVICE_VOICE_FEMALE | Adrian / Emma | Device voices |
| model.vision | auto | Send pictures to the model itself (on for local Qwen builds); see Native Vision |
| context.inline_images | 4 per call | Pictures per call, newest tool pictures, size cap |
| telegram.owner_in_main | true | Owner's Telegram in the main conversation |
| telegram.groups / group_turns_per_hour | true / 30 | Agents in Telegram groups |
| tools.jev.check_progress / review_blocks | true | Jev extends working turns / reviews refused calls |
| STREAM_NARRATION | on | off folds Telegram narration into one answer |
| ~/.captain-claw/reasoning_effort.json | — | Reasoning effort per source (also from agent Settings) |
Kiosk mode, daily plan limits, free resets, branding and Telegram auto-approve are set in the deck itself (Admin → Settings, Admin → Plans, Admin → Integrations, or the Admin console), not in the environment.
0.8.0 Settings
| Setting | Default | What it does |
|---|---|---|
| FD_ALLOWED_HOSTS | — | Extra host names the deck answers to |
| FD_REGISTRATION_OPEN / _DISABLED | — | Reopen / force-close self-signup |
| FD_SIMPLE_CHAT / --simple-chat | off | Kiosk: non-admins get only the simple layout (since 0.8.1 it only seeds the admin's Kiosk mode) |
| CAPTAIN_CLAW_FD_HOME | — | Per-instance home for MCP servers, apps, agent secret |
| FD_AGENT_SHARING | off | Allow sharing an agent with other users |
| FD_ARCHETYPE_GRID | off | Function × domain archetypes |
| FD_BAT_DISABLED / FD_BAT_SPEND | Bat on / spend off | Bat kill switch / allow real-money spend |
| FD_GMAIL_SEND / FD_GMAIL_AUTOREPLY | — | off = deck kill switch for agent sends / auto-replies |
| WHATSAPP_REACTIONS | on | off disables emoji reactions |
| SONIOX_API_KEY | — | Speech in and voice out for the devices, voice notes and the HUD (since 0.8.1 the last fallback after keys kept in Flight Deck) |
| tools.jev.check_replies | true | Garbled-reply notice suggesting /new |
| tools.google_mail.allow_send | false | Standalone agents may send Gmail |
| tools.*_mail.repeat_check_days | 14 | Sent window for the repeat check (0 = off) |
| tools.web_search.provider | brave | Now also youcom (YDC_API_KEY) |
| whatsapp.auto_send_media / max_media_per_turn | true / 6 | End-of-turn file delivery to WhatsApp |
| context.compaction_summary | digest | model = the old LLM summary |
| context.notes_allocator | trim | capped = cut each note to its share |
| context.turn_governor | false | In-turn context governor (Vatra turns it on for workers) |
| session.automation_lane | AUTO | "" keeps automated turns in the main chat |
| session.rotation_cues | "new topic", … | Phrases that start a fresh session |
| conversation_topics.recall | shadow | on sends the topic recall card |
| deep_memory.embedding_dims / min_score | 0 / 0.12 | Auto-detected width / relevance floor |
Tools Reference
The built-in tools, by name. The full machine-readable reference lives in llms-full.txt.
CLI Commands
captain-claw # interactive terminal
captain-claw --tui # full terminal UI
captain-claw-web # web server (port 23080)
flight-deck # command center (port 25080)
flight-deck --simple-chat # seeds kiosk mode for every non-admin until an admin picks
captain-claw-orchestrate # headless orchestrator
captain-claw --onboarding # re-run setup wizard
In-session slash commands
/new <name>— create a named session (web, WhatsApp, Telegram, HUD)/orchestrate— run a DAG across sessions/plan+/plan-execute— Plan Mode/flow status | pause | resume | stop— control running Flows/skill install <url>— install a skill from GitHub
REST API
Captain exposes a REST API for programmatic access — one of its interfaces alongside Web, Terminal, WhatsApp, Telegram, Slack, Discord, Twitter/X, the Ray-Ban HUD, the M5Stack devices and the inbound MCP server — so you can drive agents and Flows from your own code. Lupa is built entirely on Flight Deck's HTTP API. See the in-app API documentation and the GitHub repository for current endpoints and authentication.
Architecture
The Agent class is composed of specialized mixins — orchestration, completion, context building, the tool loop, guards, scale-loop detection, pipeline tracing, session management, playbooks, reasoning, and chunked processing for small-context models.
Process of Thoughts (full lineage traceability)
Every element carries unique IDs enabling end-to-end traversal:
- Message IDs (12-char hex)
- Insight provenance (
source_message_id+supersedes_id) - Intuition provenance (
source_message_idfor dream cycles) - Todo hierarchy (
parent_id,triggered_by_id)
Ready to try it on real work?
Join the waitlist for Cohort 001, or install it yourself.