carbon6

Guide

Everything after installing: signing in, adding workers, and the head's features one by one.

Run

On the head machine:

c6h               # binds private/tailnet addresses only; prints the web UI URL
  1. Sign in: run c6h login-link on the head and open the link it prints (it works once, for 15 minutes). Then add a passkey under Settings → Sign-in, and sign in with Touch ID, Face ID or a security key from then on. A new link always gets you back in.
    • If the head uses a non-default config, use the command printed at startup (for example, c6h --config /etc/c6h/c6h.toml login-link) so the link comes from the running head's database. Invalid-link errors name that same config. Run it as the service user, as above for .deb installs.
    • To sign in another device (a phone), create a one-time code under Settings → Sign-in → Sign in another device and type it into that device's sign-in page. Codes work once, for 10 minutes; five wrong codes cancel all outstanding ones.
  2. In the UI, add an LLM connection under Settings. For a local Ollama, use http://127.0.0.1:11434/v1 with no key. carbon6 finds a local server's context window automatically (vLLM, llama.cpp, Ollama's loaded model); you can set it with the connection's Context window.
  3. On the Workers page, click Add worker, then run the printed command on the worker machine (or create a token with c6h enroll-token on the head):
c6w enroll c6e1.…
c6w run

The token holds the address the head advertises (advertise_host in c6h.toml). A worker on another network that reaches the head some other way (a public name, a port forward) enrolls with c6w enroll --head <host[:port]> c6e1.…: it dials that address, still checks the head's certificate against the token's name, and keeps the address for c6w run.

Command line (c6)

c6 runs sessions headless, for scripts and terminals. It signs in with an API token: create one under Settings → Sign-in → API tokens (or with c6h api-token on the head), then:

c6 login https://head.example:7700 --token c6_… --ca carbon6-ca.pem   # --ca only if the head signs its own certificate
  • c6 run "fix the failing test" starts a session in the current folder on the only online worker (or --worker, -C <dir>, -c <connection>, -m <model>; the model defaults to your latest session's). It prints the reply as the agent works, with tool calls on stderr, and exits 0 when the turn completes, 1 when it fails, or 130 when interrupted (Ctrl-C interrupts it). The prompt can come from stdin, and --json prints events as JSON lines.
  • c6 send <id> "…" continues a session (a unique id prefix is enough). Also: c6 wait, c6 show (Markdown), c6 stop, c6 sessions, c6 search and c6 workers.
  • c6 ops [words] finds operations, meaning everything you can do in carbon6 (with no words, it lists the areas; with an operation's name, it shows its input).
  • c6 op <name> key=value… runs one and prints the result as JSON, for example c6 op workers.enrollments.create body='{"name":"build-1"}' or c6 op connections.models id=<id>. Destructive operations ask first, or skip the question with --yes. For list settings, select the realm explicitly on both reads and replacements: c6 op settings.templates.get realm=c6, then c6 op settings.templates.put realm=c6 body=@templates.json (likewise settings.policies.get/put). realm belongs beside body, not inside it; the file is the complete JSON array, including unrelated entries you want to keep. Omitting realm preserves each endpoint's default (templates: home; policies: root); a CLI launched from a realm's session does not infer that session's realm. Realm-scoped tokens cannot use the admin-only catalog-call endpoint or target another realm through the settings API.
  • API tokens reach the whole API except sign-in management, or only one realm's data if you limit them (c6h api-token --realm home, or the realm choice under Settings → Sign-in → API tokens). Revoke them in Settings. C6_URL, C6_TOKEN and C6_CA override the saved login.
  • The API reference:
    • GET /api/v1/openapi.json describes the whole API as OpenAPI 3.1, generated from the same catalog, for code generation.
    • Agents writing an integration in a session use the carbon6_api tool. It gives the base URL, how to authenticate, and each operation's method, path and input, and can save the OpenAPI document into the project. It only reads the reference; the code it writes calls carbon6 with your token.

The assistant

✦ Ask in the header (⌘J) asks carbon6 to do anything you can do in the UI, or to explain your setup. For example:

  • "What can I do in carbon6?"
  • "Which models are set up for vision?"
  • "Create an enrollment token for a new worker"

How it works:

  • It runs in the head, so it works before any worker is attached.
  • It finds operations in a catalog of everything the UI does. A test keeps that catalog complete.
  • It asks for missing details with a form in the conversation, with choices from your actual workers, connections and sessions.
  • Secrets never pass through the model. Tokens and codes it creates are shown only to you, in a card. Secrets you give it (API keys) stay out of the model too.
  • It waits for your approval before anything destructive, such as deleting, revoking, sending mail, or replacing a list with fewer entries.
  • Its model is set under Settings → Assistant. Its conversations have the label assistant, so routes, policies and budgets for that label apply.
  • The design is in docs/assistant.md.

Collections

Collections are typed tables of records in a realm, for anything apps and agents keep: candidates, contacts, experiments, inventories. See them under Collections.

  • Strict: each collection has a JSON Schema. A record must match it exactly: no fields the schema doesn't name, every required one, the right types and values. Optional unique keys (such as name) are kept unique.
  • Safe to share: an update gives the version it read, so two writers can't silently overwrite each other. Every change is kept, with who made it (you, a session, or a token).
  • Agents: sessions use records_query, records_get, records_put and records_delete, within their realm. Records are also searchable in the memex and can appear in session briefs.
  • Code: /api/v1/collections… (see carbon6_api or /api/v1/openapi.json). A query filters by field ({"where": {"score": {"$gte": 8}}}), by words, sorts, pages, or counts per value.
  • Changing a schema: a new schema is accepted if every record already there still fits.

Environment knowledge and Decisions

  • Environment knowledge: agents record what they learn about the systems around the code (CI, clusters, networks, hosts) as facts in the memex. Each fact says how it is known (reviewed, verified, observed, inferred), where it applies, and how to re-check it. Every session starts with the relevant facts, and contradictions become decisions.

  • Decisions: everything that needs you is in one list under Decisions:

    • tool calls waiting for approval;
    • workflow steps waiting for a go-ahead;
    • the assistant's questions;
    • questions agents asked without stopping (decision_request: the answer comes back to the session as a message);
    • facts to confirm, and disputes.

    Answer with an option, a form or a note, or start a session that helps you settle one. Answering one answers what waits on it, and answering in the session settles the decision. With options, a notification carries a link that answers it from your phone. With a deadline, an unanswered decision takes its default answer.

  • Task cards: while working, an agent proposes things worth doing that don't belong in the current change (dead code, a stale doc, a missing test, a bug noticed in passing) as cards: a title, why, and the prompt a new session would get. Start it runs that session where the first one worked (in a fresh worktree if it used one), and Not now dismisses it. Cards show in their session and in Decisions under "Suggested tasks", without notifications. When to propose is an editable prompt (session.task_cards). Design: docs/task-cards.md.

  • In the session, too: a session shows its own open decisions under its transcript, as Waiting for you, to answer right there. These are the questions its agent asked without stopping, the grants it asked for, and what it was started to work on. Its tool approvals and questions show in the transcript itself, as before.

  • Waiting on you: the session header's list includes its open decisions and task cards, its tool approvals and questions, and approvals/questions in its subagents at any depth. Each opens the answerable card. Subagent approvals/questions also stay visible just above the message box in the same amber style as held notices; Show opens the card in its thread, or its own session if the thread isn't drawn. Subagent approvals count in What needs you and use the same approval notifications and signed Allow/Deny links as a top-level session. Offered task cards still don't count in What needs you or send notifications.

  • The design: see docs/os.md §4.2 and docs/follow-through.md §6.

Configuration

  • Head: c6h.toml, optional (see crates/c6-head/src/config.rs): ~/Library/Application Support/c6h/c6h.toml on macOS, ~/.config/c6h/c6h.toml on Linux, or --config.
    • State (database, master.key, CAs) lives in data_dir: by default ~/Library/Application Support/c6h (macOS) or ~/.local/share/c6h (Linux). Back up c6h.db and master.key together.
    • Add any names you reach the head by to extra_names; the head refuses requests addressed to other names, with the UI port or without a port. Its Tailscale MagicDNS name is added automatically.
    • Passkeys need HTTPS (or http://localhost). ui_tls_head_ca = true makes the head issue its own certificate from a private CA, so its names never appear in public Certificate Transparency logs (as they would with Let's Encrypt or Tailscale certificates). Trust that CA once per device:
      • Mac (Chrome and Safari use the macOS Keychain): curl -so /tmp/carbon6-ca.pem http://<head>:7700/ca.pem, then sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /tmp/carbon6-ca.pem, and restart the browser. (Or open the file in Keychain Access and set Trust → Always Trust.)
      • iPhone, iPad: open http://<head>:7700/ca.mobileconfig, install the profile in Settings, then enable it under General → About → Certificate Trust Settings.
      • Android: download http://<head>:7700/ca.crt in Chrome, then Settings → Security & privacy → More security settings → Encryption & credentials → Install a certificate → CA certificate, and pick carbon6-ca.crt (menu names vary a little by phone; search Settings for "CA certificate"). Android then shows a "network may be monitored" notice; that is expected for any user-installed CA. Then force-stop Chrome (Settings → Apps → Chrome → Force stop): if you ever clicked through the certificate warning, Chrome keeps showing "Not secure" until it restarts.
      • Elsewhere: add http://<head>:7700/ca.pem to the system's trusted certificates (Linux: /usr/local/share/ca-certificates + update-ca-certificates).
      • The CA is name-constrained to the head's names and private IP ranges, so it cannot vouch for any other site.
    • Or set ui_tls_cert/ui_tls_key to PEM files. With HTTPS on, plain HTTP on the UI port redirects to the HTTPS name. With a wildcard certificate (*.example.com), that name is the first of extra_names it covers.
    • Behind a proxy that passes TLS through on 443 (Traefik's TCP passthrough, nginx stream) or a port forward, set ui_public_url to the address you reach the head by: https://head.example.com, or with a port. Login links, the redirect to HTTPS, the addresses the head lists and the address Google, Slack and apps' sign-ins send you back to (unless Settings → Notifications sets one) use it, and the head answers to it. For passkeys the head must still terminate TLS itself (ui_tls_cert/ui_tls_key or ui_tls_head_ca), so a proxy that terminates TLS won't do.
    • Sign-in is on by default; auth = false turns it off.
    • Set otlp_endpoint (or OTEL_EXPORTER_OTLP_ENDPOINT) to export traces.
    • MCP servers, slash commands, agents, skills and hooks are configured in the UI (Settings) and stored on the head. Settings is grouped (General, Models, Agents and tools, Automation, Memory and memex, System), with one page per setting.
  • Worker: its identity lives in ~/.local/state/c6w (Linux) or ~/Library/Application Support/c6w (macOS).
    • For Claude Code sessions, install claude on the worker and sign in there; set C6_CLAUDE_BIN if it is not on the worker's PATH.
    • Optional ChatGPT plan limits: on the Workers page, under ChatGPT plan limits, check the worker to read limits from its installed, signed-in codex. Off by default; discovers Codex through the service user's login shell ($SHELL -lic 'command -v codex', or /bin/sh -lc if unset), with a timeout and cached result. The UI shows the selected path and that it came from the user's shell. Optional Codex command is an absolute-path override, without arguments or ~ expansion. The executable's own folder is prepended to PATH for that command only, so a sibling node is found; the worker environment, HOME and CODEX_HOME are unchanged. It never reads Codex credentials or starts a model turn. Exact account ids take priority; otherwise exactly one case-insensitive email match updates a connection. Ambiguous/unmatched snapshots get their own row in the LLM connections list, with the reason. One Codex install reports one account; other ChatGPT accounts get no numbers this way. All plan-window text and bars show what's left (the API still reports used_percent). See Plan limits for settings and protocol details.

Updates

carbon6 updates itself from GitHub releases. It installs only a release whose release.json is signed by carbon6's release key, which is built into every binary, and only files with the checksums it lists. Design: docs/updates.md.

  • Asking first: the head looks every 15 minutes (update_check_secs in c6h.toml). A new release becomes a Decision, "Update carbon6 to 0.3.5?", with its notes. Settings → System → Updates shows the same, with Update now, Skip, and Look now.

  • Other modes: update on its own (patch releases, or minor ones too, optionally only within a time window), just show it, or don't look at all.

  • Order: the head updates first, its database upgrade making a backup as always, and restarts. Then each worker updates, one after another, once its sessions are idle (or after 24 hours).

  • By how it was installed:

    • Homebrew: brew upgrade;
    • .deb: the package's root helper, c6h-update.path / c6w-update.path, which checks the signature itself;
    • a plain binary: replaced in place.

    A build from source is never updated.

  • Edge channel: set the channel to edge (Settings → System → Updates) and the machine is also offered every green commit on main, which CI publishes as a rolling edge pre-release. With Update on its own, each one arrives within minutes. Stable machines never see them.

  • Rollback: a version that fails to start three times is replaced by the previous one, along with the database backup. That version is then skipped, and a Decision says so.

Upgrades

A new version of carbon6 upgrades its databases when it starts: the head's (c6h.db) and its knowledge's (knowledge/memex.db, one per realm). Workers' journals need no upgrading.

  • A backup first: the database is copied to backups/ next to it, named with the versions and the time, before anything changes. Backups are kept until you delete them.
  • All or nothing: if a step fails, or a check finds data missing afterwards, the backup is put back and carbon6 refuses to start, saying why. The database is as it was, so the previous version still runs on it.
  • Nothing lost silently: every table must keep its rows, unless the upgrade says it moves or removes them.
  • Try it first: c6h upgrade --check upgrades a copy and prints what would change, leaving your database untouched. c6h upgrade upgrades without starting the head.
  • History: Settings → System lists each upgrade with what changed and where its backup is.
  • Going back: stop carbon6 and put the backup in place of the database.

From 0.2 to 0.3: the memex is part of the head now, and reading files and syncing Google run in kits on a worker with Docker or Podman.

  1. Stop and remove c6m first: brew services stop c6m && brew uninstall c6m (Ubuntu: sudo systemctl disable --now c6m && sudo apt remove c6m). The head takes its knowledge in, moving the folder without copying it, the first time it starts with c6m stopped.
  2. Upgrade the head and workers (brew upgrade c6h c6w, then brew services restart c6h c6w), and keep Docker Desktop (or Podman) running on at least one worker.
  3. Approve "Install the kit c6-extract?" under Decisions. Mail kept before is then read again in the background, once: about an hour per 200,000 messages on a laptop. Until a message has been read again, its thread shows its text without the HTML.
  4. Google accounts synced by the memex before move into the gmail, google-calendar and google-contacts apps on their own (Settings → Mail & calendar).

Sessions from Claude Code and Codex

Settings → System → Imports turns on importing for the workers you pick. Each such worker reads ~/.claude/projects and ~/.codex/sessions every minute, and only files that changed. Every session there becomes a carbon6 session (labelled imported:claude-code or imported:codex) with its messages, tool calls and usage. New messages follow as you keep using those tools.

  • Realms: folder rules place sessions (~/work/** → work), and anything else goes to home.
  • Continuing: send a message to an imported session, picking a connection. A Claude Code connection resumes it with Claude Code's own memory of it; any other connection continues from the history. From then on it is carbon6's, and the import leaves it alone.
  • History only: imported sessions start no triggers or notifications and count against no budget. Their digests go to the memex like any session's. Design: docs/imports.md.

Labels

Sessions carry labels, which group them and decide which settings apply.

  • Automatic labels:
    • worker:<name>;
    • repo:<host/owner/name>, from the git remote, so a repository is the same on every machine;
    • folder:<path>;
    • model:<model>.
  • Your own labels: anything else, like client:acme, spike or rust. Add them when starting a session (they're remembered per folder), from Labels in a session's glance with + label, or with c6 run -l. A side chat keeps its parent's labels, and /clear keeps them for the fresh session.
  • Finding sessions. The session list, search, the inbox, mission control and the activity dock share one label filter, kept in your browser. Type labels into it (suggestions come from your sessions; repo:github.com/acme covers the whole org), or click any label on a session. The inbox and the dock note how many sessions the filter hides (the dock shows the filter, with a clear button), the Inbox badge counts only what the filter shows (its tooltip gives the rest), browser notifications come only for sessions the filter shows (the toggle reads "🔔 filtered"), and mission control falls back to the most recent matching sessions. The session list's search also matches labels. On the command line, c6 sessions -l <label> and c6 search -l <label> … filter the same way.
  • Grouping the session list. Group by nests the list by label keys, as many levels as you like: for example repo, then client, so each repository holds its clients' sessions. Any key works: the automatic ones (repo, host, worker, folder, model) or your own (client from client:acme). A session goes under its first label with that key; sessions without one come last, under "no client". The most recently active group comes first. Click a group to fold it (remembered in your browser). The levels are kept in the head (session_grouping), so every browser shows the same grouping.
  • "Applies to". Commands, agents, skills and hooks each have an Applies to field in Settings:
    • empty means everywhere;
    • otherwise, labels a session must all have, e.g. repo:github.com/acme/app or client:acme, rust;
    • repo: and folder: match path prefixes, so repo:github.com/acme covers a whole organization and folder:~/code everything under it.
  • Same name, different labels. Several commands, agents or skills can share a name if their labels differ; a session gets the most specific one that matches. Every matching hook runs.
  • What applies. A session's ⋯ → Session details… lists what applies to it, and why anything doesn't.
  • When changes apply. Commands follow label changes at once. Agents, skills and hooks are fixed when a session starts.

Memory

Notes kept across sessions (Settings → Memory). Each has a scope: one label, like host:web1, repo:github.com/acme/app or client:acme, or none for every session.

  • Where they go: a new session gets the notes for its labels in its instructions, most specific and newest first.
  • The agent keeps them current: it saves durable facts with remember (how a machine is set up, where things are, your preferences), corrects a note by replacing it, and removes stale ones with forget. Each change shows in the transcript.
  • Editing: you can add, edit and delete notes in Settings. Notes written by an agent link to the session that wrote them.

Policies and approvals

Policies (Settings → Policies) are rules for the agent's tool calls in sessions with given labels.

  • What a rule matches: a tool-name pattern (Bash|Write|Edit; Claude Code's names work with every model) and an optional pattern over the call's input (rm\s+-rf, git\s+push).
  • What it does:
    • deny: the agent is told why.
    • ask: the call waits for you. The transcript shows what it would run with Allow / Deny. The session moves to Needs your approval at the top of the inbox and the badge, the dock marks it, and a notification fires if the tab is in the background. Denying tells the agent you said no; an hour with no answer counts as no.
  • Order: the first matching policy applies.
  • Presets: ask before any change on env:prod, never run destructive commands on prod, ask before package changes or git push, keep research sessions read-only.
  • Scope: policies apply to subagents' calls too. Claude Code sessions aren't covered.

Memex

The memex is your knowledge store, part of the head: items, a graph of things with the claims made about them, and search, one database per realm under the head's knowledge/ folder. Its design, and what comes next (documents and papers, Gmail, calendar and contacts, photos and videos), is in docs/memex.md.

  • Claims: every link in the graph is a claim with an owner (you, an app, the realm's agents, or a program such as the mail sync). Anyone may add their own and only the owner retracts it; each realm's reader policies (Settings → claim_policies) say whose to believe, yours first by default. See docs/apps.md §9.

  • carbon6 → memex:

    • every session's digest (what was asked, what tools did, what it concluded);
    • published outputs;
    • pages your agents read with the browser or web fetch;
    • your memory notes.

    Each comes with the session's labels, which become things in the memex's graph (client:acme, host:web1, repo:…). Updates queue on the head until the knowledge store takes them.

  • memex → carbon6:

    • Briefs: a new session starts with a brief from the memex about its labels and its first message (recent sessions about the same things, facts, what else matches), after its memory notes.
    • Tools: agents get memex_search (keywords and meaning), memex_get (an item in full, or a thing with its notes, items and related things) and memex_note.
  • @-mentions: typing @ in a message also offers things from the memex (people, clients, hosts, topics); @memex:client:acme attaches what the memex knows about it to the message.

  • Documents and papers: add files on the Memex page (Add files) or keep folders in sync (Settings → Memex folders: a folder on a worker, read where it is).

  • Reading files: the head never parses mail, documents, photos or videos itself. The c6-extract kit does, on a worker with Docker or Podman, sandboxed with no network. The first time something needs reading you're asked to approve it (Decisions), and the worker builds it (a few minutes, once). Until then, files wait (Memex status shows how many). Plain text and Markdown need no kit. Design: docs/knowledge.md §4.

  • Bringing in data from other tools: memex.ingest (on POST /api/v1/memex/rpc, with an API token) takes batches of items typed by MIME type: mail as message/rfc822 (an old archive, for example), and documents as PDF, Word, Markdown, text or HTML. Each item comes back created, updated, duplicate or rejected with the reason (or queued, while no worker has read it within a minute). memex.types lists what each type accepts. Imported mail is threaded and searchable like synced mail, is never written back to Gmail, and becomes the synced copy if Gmail later has the same message. Design: docs/memex.md §4.5.

    • Formats: PDF, Word (.docx), Markdown, HTML and text are read.
    • Papers are recognized, with their title, authors, DOI or arXiv id, and the papers they cite. Cited papers become things too, so the memex holds a citation graph. For example, a paper's page lists the papers in your memex that cite it.
    • Originals open from the item.
  • Trails: named paths through items and things, each step with a note on why it matters. Add steps from any item, or have agents add them with memex_trail. See them under Memex → Trails.

  • Search by meaning: Settings → Memex picks an embedding model from one of your connections (Ollama's nomic-embed-text, OpenAI's text-embedding-3-small, …). Without one, search is by keywords.

  • Scopes: sessions see sessions, outputs, web pages, notes, documents and papers. Settings → Memex scopes lets sessions with given labels see more (email, photos, once those are in). You see everything on the Memex page, where you can also search, open items and things, delete items, and write notes.

Mail, calendar and contacts

carbon6 is a client for your Gmail and Google Workspace accounts (☰ → Mail, Calendar, Contacts). Each realm can have its own: personal Gmail in home, a business's Workspace account in that business's realm, each with its own mail, events and contacts (each realm's pages show its own). Three apps do the syncing, installed in each realm that has accounts: gmail, google-calendar and google-contacts. They run on the google kit on a worker with Docker or Podman, which reaches only Google. Their packages are part of carbon6, and an IMAP or CalDAV app would be written the same way. Design: docs/knowledge.md §6.

  • Setup (Settings → Mail & calendar):

    • Install the apps (you approve each under Decisions).
    • Create an OAuth client in your Google Cloud project (Web application, with the redirect URI shown).
    • Enable the Gmail, Calendar and People APIs.
    • Set the app to "In production", or "Internal" for Workspace.
    • Paste the client ID and secret (they become home's secrets GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET), then Add Google account: one sign-in for the three apps.

    The head keeps the sign-in encrypted; the apps' syncs get short-lived access tokens only. A head that synced Google itself before moves your accounts, client and everything synced into the apps when it starts, so nothing is fetched again.

  • Mail:

    • Import: your whole mailbox is imported, newest first and resumable, then kept in sync every two minutes. Labels, read state, archive and drafts sync both ways.
    • Views: Inbox, Needs reply (someone else wrote last, to you directly, not a list, in the last two weeks; with a model, what it sorted for the Brief as needing you or a real first contact; with none, nothing from an automated sender), Waiting (you wrote last, over two days ago), Starred, Sent, Drafts, Archive, Spam, Trash, and your labels.
    • Reading: conversations, with HTML sandboxed and remote images off until you allow them.
    • Writing: Markdown compose, reply and reply all, attachments, drafts, send later, and undo (messages wait 10 seconds).
    • In the graph: every message is in the memex. Senders and recipients become people (one person across all their addresses), and company domains become organizations.
    • Inbox: carbon6's inbox shows mail that needs a reply. The Brief (below) goes further.
  • Calendar:

    • Sync: every calendar on every account, synced both ways.
    • Views: agenda, week and month, with recurring events expanded (exceptions included).
    • Events: details, RSVP, delete (this event, this and following, or all), and new events with invitations.
  • Contacts:

    • Synced both ways.
    • People you write to (and hear from) but who aren't contacts are listed, and Add to Google contacts files them in a carbon6 group. Settings → Memex can do this on its own.
  • Agents: sessions whose scope includes email (Settings → Memex scopes, for example labels mail) get:

    • mail_threads, mail_thread (mail is marked as untrusted data, never instructions), mail_draft and mail_send;
    • calendar_events (with free/busy), calendar_create and calendar_rsvp.

    A built-in policy holds mail_send, calendar_create and calendar_rsvp for your approval (switch it off in Settings → Memex).

  • Automations on mail: the trigger When mail arrives starts a template or workflow for matching mail (mail.received from:@acme.com subject:invoice), with the message as its input.

Slack

Each realm can mirror Slack workspaces into its memex, as it does Gmail: every conversation you're in (channels, private channels, DMs and groups), with threads and shared documents, kept current within minutes (edits and deletions too), searchable, and linked to the people your mail knows. Settings → Slack walks you through making your own internal Slack app from a manifest (it keeps Slack's normal rate limits, which apps from outside Slack's directory don't), then connecting workspaces. Chat (☰) works like Slack's own client: a sidebar of starred, your own sections, channels, DMs and apps, with unreads and mentions that follow Slack's read state; Unreads, Threads, Activity, Saved and Search (in: from: has: before: is:thread); messages grouped by sender and day with a "New" line, rendered formatting, emoji, files and reactions; reply in threads (also to the channel), edit and delete yours, save for later, mark unread; a composer with formatting, @/#/: completion and drafts; ⌘K to jump. Posts give you a few seconds to undo (docs/chat.md). Agents in sessions whose memex scope includes chat can read conversations and post; their posts wait for your approval. Design: docs/slack.md.

Activity

The console's Activity page shows what carbon6 is doing now: each model call as it streams (what it's for, the model, how long, tokens per second, and its prompt and answer when you click it), sessions running, each connector's sync (mail, calendar, contacts, Slack: the round under way, each account's state, rate limits) and the memex's work. A dot in the top bar says when anything is in flight. It's kept in memory only. Design: docs/activity.md.

The brief

The Brief (☰ or Apps) is Mail & chat's home. Instead of 200 messages, you get the handful of things people need from you. Design: docs/brief.md.

  • Sorting: each recent mail thread and Slack conversation is sorted as one of:

    • needs you;
    • a real first contact;
    • FYI;
    • a newsletter or notification;
    • noise;
    • a cold pitch.

    It runs in the memex's reading loop, with your understanding model and its daily budget.

  • Cold pitches go first, mostly with no model. Anyone you've written to (or anyone at their company), your contacts and your colleagues are never pitches. A stranger's mail sent through a sales-sequence tool, or a sequence's "bumping this" follow-up, is. The model sorts the rest. Cold pitch and Not a pitch on a thread mark the sender for good. Sort as… with a note teaches the sorting.

  • Requests: what needs you becomes a request: what's asked, by whom, by when. Ana's email and her Slack ping about the same thing are one request. It closes when you answer it, anywhere.

  • Drafts: each request waits with a reply drafted in your voice. It's written from the conversation, your history with the person, what's open between you and your calendar. What only you can decide is left as choices. Pick them, edit, and ⌘↵ sends (mail with its undo window).

  • Keys: J/K, Enter, E done, H tomorrow, # drop, Esc.

  • Timing (Settings → Brief): a brief notification at your times (08:30 and 13:30 by default) and a close-of-day note. Urgent requests (your rule, memex.triage.urgent) tell you at once. A new request is the trigger event request.opened.

  • Your rules are settings: the prompts memex.triage, memex.triage.pitch, memex.triage.signals, memex.triage.urgent, memex.requests.same and memex.requests.draft (Settings → Prompts), each realm's own.

  • Agents in sessions that see mail or chat get the requests tool.

Browser

Where the worker's machine has Chrome, Chromium, Brave or Edge (or C6_CHROME names one), sessions get a browser tool: a headless browser of their own.

  • Actions: open, read, click, type, select, press, scroll, back, screenshot, evaluate, close.
  • Reading: a page comes back as its text plus a numbered list of links, buttons and fields, which the agent clicks and types into by number.
  • Secrets: type with secret: NAME types a secret's value without the model ever seeing it. Secret values are also hidden from everything the browser returns.
  • Profiles: each session has its own profile under the worker's state folder, so sign-ins last while it works. Profiles unused for 30 days are removed, and a browser idle for 10 minutes is closed (and reopens on the next action).
  • Screenshots go to the session's Outputs.
  • Policies apply as to any tool. The presets include asking before the browser types into or picks options in a page.
  • SSH sessions: the browser runs on the worker, not on the target.

Notifications

Channels (Settings → Notifications) tell you about your sessions while you're away.

  • Kinds: push (your own browsers and phones, see below), ntfy (a phone app; the URL is your topic), a Slack or Discord webhook, any webhook (JSON), or email over SMTP. Tokens and SMTP passwords are secrets.
  • Events: approval, failed, finished, notice, output, automation, budget. A channel without a list gets approvals, failures, notices, automation failures and budgets.
  • Scope: applies_to labels limit a channel to matching sessions (env:prod, automation:).
  • Approvals from your phone: an approval notification links to a page showing the held call with Allow / Deny. The link is signed, works without signing in, and expires after an hour; answering takes a button press, so chat link previews can't answer for you. Links use the address under the channel list (taken from your browser the first time you save a channel).
  • The agent's notify tool: agents can send you a notice (a title, a few lines, a priority), for example from an automation that finds a problem.
  • Testing: Send a test sends a message on a channel and shows any error.
  • Browser support: browser notifications are optional. If their APIs are unavailable (as in some mobile browser tabs), the local notification toggle is disabled and sessions still open normally; push settings show that notifications are unavailable there.

Web push (no third party): on each device, Settings → Notifications → Turn on here, then add a channel of kind push. The head encrypts each message for each device and sends it to the browser's own push service, signed with its own key. Tapping a notification opens the session, or for an approval its Allow / Deny page.

  • Requirements: HTTPS, or localhost. With the head's own certificate authority, that means a device that trusts /ca.pem.
  • iPhone and iPad: add carbon6 to the Home Screen (Share → Add to Home Screen) and open it from there; iOS only allows web push for home-screen apps.
  • Devices: listed with when they last got a message. A subscription the push service says is gone is removed.

On a phone: the head works as a home-screen app (manifest, icon, standalone). Fields use 16px text so iOS doesn't zoom in on them, the composer shows its model as a chip, and Usage and mission control fit small screens.

Hosts

The host inventory (Settings → Hosts) lists machines your workers reach over SSH. Each host has a name, an SSH target (user@host[:port] or an ~/.ssh/config alias on the worker), an optional worker, labels like role:web and env:prod, and optionally a check interval. carbon6 never handles SSH keys; the worker's own SSH setup is used.

  • Sessions: use a host's name as the SSH target (the new-session form suggests them). The session gets the host's labels, so policies, budgets, routing, memory and secrets for env:prod apply without tagging each run.
  • Fleet runs: a template's Hosts by label (role:web, env:prod, or *) starts one session per matching host, through that host's worker.
  • Checks: the Workers page lists hosts with their last check (reachable, latency and system, or why not) and a Check button. With a check interval, the head checks on its own and sends a host notification when a host stops answering or comes back.

Usage

Usage (in the ☰ menu, and the console's header) shows tokens and cost for the sessions matching the label filter, over today or the last 7, 30 or 90 days: totals, a daily chart, and breakdowns by model, connection, label, and the most expensive sessions (subagents count toward the session that started them).

  • Prices (Settings → Prices): USD per million tokens, per model id or prefix (claude-sonnet-*); cache reads and writes default to the input price. Models without a price count as $0, and Usage lists them.
  • Budgets (Settings → Budgets): a limit per day, week or month for sessions with given labels (automation:, client:acme, or everything).
    • notify: a budget notification once per period when it's used up.
    • block: the notification, plus running turns with those labels are stopped, and new sessions and messages with them are refused until the period ends.
  • Usage from before this existed is filled in from the session logs once.

Model routing

Routing rules (Settings → Model routing) choose the connection and model for sessions started without one: from the new-session form on Auto, c6 run without --model, and templates or automations that leave the model empty.

  • A rule: labels it applies to (yours, or worker:, folder:, host:, template:; a bare host: means any SSH host), a connection (optional), a model, an effort and, optionally, a connection, model and effort for subagents (any API connection, not Claude Code). A named agent's model, or one a Task call asks for, still wins.
  • Tools: optionally choose the tools its sessions get (names such as read or memex_search, in any profile's naming, or mcp__<server>__<tool>; empty: all). A session keeps its starting list; its side chats and subagents get no more. Claude Code sessions and the assistant keep their own tools. See tool lists.
  • Order: the first enabled rule that matches wins. A session started on a given connection only takes rules for that connection (or for any).
  • No match: the connection of your latest session (if you didn't pick one), its default model, else the model of your latest session on it.
  • Presets: Opus with Haiku subagents everywhere, remote hosts on a fast model at low effort, research at high effort, a template on a local model.

Pools

A pool is a connection made of other connections, each taking some calls at once. What runs in the head (the memex, the assistant, suggestions) spreads its calls over a pool's members, for example Ollama on your laptop and on your server.

  • Picking: each call goes to the least busy member with a free slot. With every slot taken, it waits its turn in the head.
  • Failing over: a member that fails (unreachable, 429, 5xx) rests, with backoff, and the call goes to another member. Members without the model, or not for the caller's realm, are passed over.
  • Setting one up: add each server as a connection, then a connection of kind Pool with its members and their calls at once, and choose the pool in Settings → Memex. Set the memex's calls at once to about the total of the members' slots.
  • Sessions don't use pools: their workers dial their own connection.
  • Seeing it: Activity shows which member took each call.

Details: docs/pools.md.

Templates and fleet runs

A template (Settings → Templates) is a saved way to start a session:

  • Where: a worker; * for every online worker; or a list of SSH hosts, reached through a worker.
  • How: connection, model and labels.
  • What to ask: a prompt, where {{input}}, {{target}}, {{date}} and {{time}} are filled in.

Running one: run a template from the Sessions page ("Run a template"; an app's templates are marked with its realm and run there), with c6 run -t <name> [input] (it finds the realm that has the template), or on a schedule or from a webhook (see Automations).

Fleet runs: a template with several targets starts one session per target, all sharing a run:<id> label. The UI opens mission control filtered to the run, and c6 run -t waits for them all and prints each one's last reply.

Settings has examples: a health check across hosts, updating every worker, a research digest.

Automations: schedules and webhooks

An automation (Settings → Automations) starts a template:

  • On a schedule: cron fields in the head's local time, with presets like "weekdays at 9:00" and @daily. Each automation shows its next run.
  • When its webhook is called: POST any body to the URL you're shown once. JSON is passed to the template's {{input}} pretty-printed. Point CI, an alert manager or a form at it.

Webhook URLs: the URL is the webhook's only credential, so treat it like a password. New URL replaces it, and a wrong or switched-off URL answers 404.

Runs: each run is labelled automation:<name> and run:<id> and lands in your inbox when it finishes. Every automation shows its last run, any error, and Run now. Times missed while the head was down are skipped, not made up.

History and health:

  • A run's outcome comes from how each of its sessions' first turn ended: ok, failed (an error, a session that could not start, or a target that did not start), or stopped (interrupted).
  • Each automation shows dots for its last ten runs. History lists runs with their trigger (schedule, webhook or manual), duration, model calls and cost, and their sessions.
  • A failed run sends an automation notification.
  • Switch off after N failed runs in a row (the form suggests 3; never, if unset) turns the automation off and tells you.

Workflows

A workflow (Settings → Workflows) is a list of steps, run in order:

  • run: start a template (fanning out to its hosts or workers as usual). The step's output is its sessions' last replies.
  • approve: wait for your go-ahead. Answer in the panel under the editor, or from the approval notification's link; "Stop" ends the run.
  • notify: send a notification.

Inputs, titles and messages can use {{input}} (the workflow's input) and {{steps.<id>.output}}. A step with when runs only if an earlier step's output contains or does not_contains some text, or changed since the last run. changed compares the output's last RESULT: line, so a check that answers in different words each time only counts as changed when its result does.

  • Failures: a failed run step ends the run (unless continue_on_failure) and sends an automation notification.
  • Starting one: run it from the panel, or from an automation by choosing the workflow as its template. The automation's history then follows the workflow's outcome.
  • Durability: runs are stored on the head and pick up again after a restart.
  • Presets: tell me only when a check's result changes; check, ask me, then fix; research, then write it up.

Connectors (MCP servers)

Settings → MCP servers has an Add a connector… menu:

  • GitHub: issues, PRs, code.
  • Slack: read and post messages.
  • PostgreSQL: read-only queries.
  • A headless browser: Playwright, for research and web tasks.
  • A generic remote HTTP server with a bearer token.

Secrets in configs: ${NAME} anywhere in a server's command, arguments, environment, URL or bearer token is filled in from that secret, so tokens stay in the secret store. A server that needs a secret the session doesn't have isn't started, and the session says which secret is missing.

Scoping: "applies_to": [labels] limits a server to matching sessions, like other settings.

Outputs: decks, reports and other deliverables

When the agent finishes a deliverable (a slide deck, a report, a chart, a document), it publishes it with the publish_file tool, and it appears in the session's Outputs pane (⋯ → Outputs, or a newest output in its glance):

  • Preview by type: HTML pages (decks included) in a sandbox, PDFs, images, Markdown and text. Anything else is offered for download.
  • Versions: every publish is kept as a version, with a picker. Open and Download are next to the preview.
  • In the transcript: a "📦 Published …" line marks each publish, with images shown inline.
  • Where content lives: each version's content is stored in the session itself (up to 20 MB), so it's still there when the worker is offline or the file has changed since.
  • Getting started: Settings → Skills has examples to start from. Slide deck builds one self-contained HTML deck that prints to PDF. Research report searches, cross-checks and writes a cited Markdown report.

Web search with any model

Claude and OpenAI models search the web through their own provider. For the rest (Ollama and other OpenAI-compatible servers), choose a provider under Settings → Web search, and sessions get a web_search tool. The options:

  • Brave Search API or Tavily: the API key is a secret, picked by name.
  • SearXNG: self-hosted, so it needs only its URL, with the JSON format enabled.

To give every model the same search, tick "Offer it to every model".

Remote machines over SSH

For a machine you can reach by SSH but don't want to install c6w on, start a session there through a worker. In the new-session form choose SSH host, through the worker and enter user@host (or an alias from the worker's ~/.ssh/config) and a folder there (default: home). On the command line: c6 run --ssh admin@web1 "install and start nginx".

  • What runs where. The agent's shell commands, file reads and edits, grep and glob, and background commands all run on that machine.
  • Connection. The worker connects with its own SSH setup: keys, agent and ~/.ssh/config, never passwords (BatchMode). It keeps one multiplexed connection per host.
  • What the agent is told. The session's system prompt names the machine and its OS. The agent is told it works non-interactively (sudo -n).
  • Secrets reach remote commands through stdin, never through a command line.
  • Session view. The session shows ⇄ user@host and gets a host: label. Its Terminal tab opens an SSH shell in the session's folder there.
  • What stays on the worker. Hooks and MCP servers run on the worker. Files on the target aren't checkpointed for rewind, and @-mentions refer to the worker's files, so they're off for SSH sessions.

Sessions without a folder

Not every task belongs in a repository. Leave the folder empty when starting a session (or use c6 run --scratch), and the worker gives it a scratch workspace of its own, scratch/<session> in the worker's state directory. It's where the agent downloads, drafts and builds things for research, documents and one-off jobs.

New session like this one

New like this… in a session's ⋯ menu opens the new-session form in a popup, filled in from that session: its worker, folder (or SSH host and folder), connection, current model and effort, labels (so the same agents, skills, hooks and routing apply), realm, and a fresh git worktree if it ran in one. Change anything, optionally type a first message, and Start session: the new session starts empty and opens beside it. The popup leaves the main form's remembered choices alone.

Secrets

Keep API keys, tokens and passwords under Settings → Secrets. Each one is an environment variable ($GITHUB_TOKEN) for the agent's shell commands, background commands included, in the sessions it applies to (an "Applies to" label list, like other settings).

  • Names in prompts, redacted output. The system prompt lists only names and descriptions. Command output uses best-effort literal-value redaction ([secret:NAME]), not a guarantee that a value can never reach the model or UI. Redaction is not isolation from an agent that can use those credentials.
  • Storage. Values are encrypted on the head and can only be replaced, never read back.
  • Delivery. Workers fetch values when a turn starts, keep them in memory for a few minutes, and never write them to their journal. Session credential requests enforce a secret's worker: labels; this is a delivery check, not a filesystem boundary.
  • Per realm. A secret belongs to a realm, and the same name can hold a different value in each (work's GITHUB_TOKEN and home's). A session gets its realm's, else root's: root's secrets are every realm's that has none of its own by that name. A realm's Settings → Secrets shows its own; the console's are root's.

Background tasks

The agent can start work in the background and carry on: long builds, test suites, servers (bash with run_in_background), and subagents (Task with run_in_background).

  • When a task ends, the agent is told. It gets the exit code, how long the task ran and the end of its output (for a subagent, its report). If a turn is running, the agent sees it at its next step. If the session is idle, a new turn starts so the agent can react by itself. "Start the build and tell me when it's done" works without you checking back.
  • Opting out. A task started with notify: false doesn't wake anyone. Use it for servers and watchers meant to keep running.
  • The running-tasks control. While tasks run, the session's tile bar shows ◌ N (each named on hover; a click lists them, subagents too, with the last few that failed or were stopped) and the end of its transcript a line listing each task, how long it has run, with Inspect and Stop. The agent is told when you stop one.
  • In the transcript, each ending appears as a one-line entry, with the agent's notice folded underneath.
  • Limit. Notices start at most 20 turns per hour in an idle session. Beyond that they're held until your next message, and the session says so.
  • Worker restarts. Tasks die with the worker; the agent is told they were lost, and a command left running by the old worker process is stopped.

Agents can also message other sessions in their realm with message_session. Each send adds one to the last session message's hop count. The default max_message_hops is 4: chains of up to four messages are allowed; a fifth is refused. Your next direct message resets that session's count to 0. Settings → Agents → Limits also caps sends per session per hour (default 30); that allowance survives head restarts. See Session messages.

Subagents

The agent can hand work to a subagent with the Task tool. A subagent is a session of its own, shown as a thread under the call that started it (docs/subagents.md).

  • Watching one. While it works, the thread shows its last few steps live. Click the thread to open its whole conversation, or ↗ to open it beside. The session's ◌ N lists the subagents running and the last few that failed or were stopped, at any depth; pick one to go to its thread.
  • Stopping one. ■ Stop in its thread ends its turn without stopping the agent that started it. That agent gets a summary of what the subagent did (its last message, the files it changed, its errors). Stopping the main turn stops the subagents it waits on too.
  • Continuing one. Its conversation is kept, so it can pick up where it was:
    • after a stop, a failure or a worker restart, ↻ Resume sends it the resume prompt (Settings → Prompts);
    • you can reply to it at any time from its thread;
    • the agent that started it can send it a message with SendMessage, as a follow-up or to steer one running in the background.
  • Where its report goes. A report from a turn the agent waited on comes back as the call's result. For a turn you started, the report goes to the agent that started the subagent: at its next step if it's working, or with its next message if it's idle. Tick Wake the agent that started it to have it react right away.
  • Nesting. Subagents can start subagents of their own. Settings → Agents → Subagent limits sets how deep (3 by default) and how many may work at once below one session (16).
  • Asking about one. ↳ Ask works in a subagent's thread too: the side chat sees its conversation and doesn't disturb it.
  • Where one runs. A subagent can run on another connection and model than its session, on any API connection its realm may use. carbon6 runs it itself, whatever the session runs on. Ask for one in your message ("use a subagent on my ChatGPT connection with gpt-6.1-sol at high"), and the agent passes it to Task. Or set the session's default in the Subagents row under the message box, or in a routing rule. A named agent can name one as connection/model. The thread shows "connection · model".
  • Claude Code sessions. Claude Code's own subagents show as threads too, read-only: Claude Code runs and continues them. Claude Code also gets carbon6's Task and SendMessage over MCP (mcp__carbon6__Task), so it can hand work to subagents on any other connection.

Rewind and edit

Hover one of your messages: ↶ Rewind takes the conversation back to before it, and ✎ Edit changes it and sends it again. Either can also restore files: before each turn the worker snapshots the session's folder into a private repository in its state directory (your own git repository, if any, is never touched; folders without git work too; node_modules/, target/ and the like are skipped, as are files your .gitignore ignores). Rewound messages stay in the transcript, folded under a marker.

Attachments and @-mentions

Paste, drop or pick (📎) files of any type in the message box or when starting a session. Documents keep their filename, media type and original bytes; large inline images are still resized for model limits. The worker stores non-inline files outside your repository and tells the agent their paths, with best-effort extracted text for PDF, Office, HTML and RTF documents. Anthropic and the official OpenAI Responses API also receive PDFs natively; other backends use the text and path. See session file uploads for extraction limits and SSH behavior. Type @ to mention a file or folder in the session's folder: a fuzzy finder completes the path, and the worker attaches the file (or a folder's listing) when the message arrives, so the model has it without a tool call. Files over 256 KB are mentioned but not inlined. Upload limits: 10 MiB per file, 20 MiB per message.

Drafts survive a reload, including attachments in session and Ask reply boxes and the ordinary new-session form. Text stays in this browser's localStorage; attachment names, types, data and order stay in IndexedDB, scoped to the same realm and draft. Sending or removing the attachments clears their saved copy. The browser keeps at most 20 MB of attachment draft payloads (including base64 and metadata), evicting the oldest modified drafts' attachments first, not their text. A quiet note reports attachments that couldn't be kept or restored. Storage is local to this browser and origin, not a backup or a cross-device sync; clearing site data clears drafts too. Seeded start forms without a saved text draft remain temporary.

Slash commands

Type / in the message box for the command list.

  • Built in: /compact [focus] summarizes the conversation so far (optionally focused on something) to free context; /init writes an AGENTS.md describing the codebase; /review [what] reviews the uncommitted changes, or a branch or PR you name; /clear starts a fresh session in the same folder with the same model; /export downloads the conversation as Markdown.
  • Your own, under Settings → Slash commands: a name, a description, an arguments hint and the prompt. In the prompt, $ARGUMENTS and $1…$9 take the arguments, !`cmd` the output of a shell command run in the session's folder, and @path attaches a file. Changes apply to the next message, and a command named like a built-in replaces it. Start from an example (fix a GitHub issue, write a commit message, explain code).

Agents and skills

Both live in Settings and are copied into each new session.

  • Agents (Settings → Agents) are specialized subagents the model can launch with the Task tool. Each has:
    • a name;
    • a description, which the model reads to pick one;
    • optionally, the tools it may use (Claude Code's names, e.g. Read, Grep, Glob, work with every model; all tools when empty);
    • optionally, a model (opus, sonnet, haiku or a model id; honored on Anthropic connections);
    • its instructions, which become its system prompt.
  • Skills (Settings → Skills) are instructions the agent loads by name when they apply. Only the name and description sit in its prompt until then.
  • On/off. Each command, agent and skill can be switched off without deleting it.

Hooks

Hooks are shell commands that run on the worker at set points in every session. Set them up under Settings → Hooks; the head stores them and each new session takes a copy. Start from an example (refuse rm -rf, protect .env files, format after edits, tell the agent the git branch, keep going until tests pass) or write your own.

  • Events: PreToolUse and PostToolUse (narrowed by a tool-name regex; Claude Code's names like Bash and Edit work with every model), UserPromptSubmit, Stop and SessionStart. A hook can be limited to sessions in one folder, and switched off without deleting it.
  • How a command runs. It runs in the session's folder, gets the event as JSON on stdin (tool_name, tool_input, prompt, …), and has C6_PROJECT_DIR set to the repository root.
  • Exit code 2 blocks, with stderr as the reason:
    • PreToolUse: the call is refused and the agent is told why;
    • UserPromptSubmit: the message is shown struck through and never sent;
    • Stop: the agent keeps working, with the reason as feedback;
    • PostToolUse: stderr is added to the tool's result.
  • Exit 0. Printing {"decision": "block", "reason": …} also blocks. Plain output from UserPromptSubmit and SessionStart is given to the agent as context.
  • Claude Code sessions get the same hooks, passed to the claude CLI as settings.

Workspace

The UI is a workspace of tiles: framed cards, each with its own bar (‹ › back and forward, its name, ⧉, minimize, ⛶ focus, ✕). Up to four sit side by side; more stack in those four columns in turn: the fifth halves the first column (the other three stay full height), the sixth the second, and so on, until the ninth makes the first column three high. In a column of three or more, the tile you last used there takes half the height and the others share the rest (it grows when your click finishes, so what you clicked doesn't move away).

  • Inside a tile: at most two panes, a list and the item opened from it. Clicking anything inside a tile opens it in that tile's right pane, beside the list, replacing what was there. ‹ and › (⌘[ / ⌘]) step through the tile's own history.

  • The first click acts: clicking a control or link in an unfocused tile focuses that tile and performs the action in the same click; it doesn't take a separate click to focus it first.

  • Drag a tile's bar onto another tile's top or bottom half to stack it there, or its left or right edge to make a column. Blue highlights mark moves that can happen, including the gaps between tiles. With four columns already open, a tile sharing its column cannot make a fifth: the edge shows no highlight, and dropping there does nothing; drop above or below a tile to stack it. A tile alone in its column can still move that column. Dropping where a tile already sits does nothing and shows no highlight.

  • A new tile only when you ask: ⌘/Ctrl-click a link, ⧉ in a tile's bar (moves the open item into a tile of its own), or + Tile. ⌘1–9 focus a tile, numbered in reading order (the columns left to right, each top to bottom); a session open in a tile shows that number on its rows in the dock. A session that is already open is shown where it is instead of opening twice.

  • Minimize (the bar's — beside ⛶) hides a tile, still loaded, keeping its column, its place in it, its history and where it was scrolled; the others take its room. The dock's Minimized group brings it back, as does opening its session from anywhere or its ⌘ number. The last tile shown can't be minimized.

  • A session's tile has the session's mark as a stripe along the top of its bar (the bar keeps the panel's own colours, so it reads whatever the mark), with its state as a dot and a word (idle, running, starting, failed, needs you). Double-click its name in the bar to rename it. Each session gets a colour when it starts (the one its realm's recent sessions use least; side chats and subagents take their parent's); click the dot in the bar (or the palette in the rail's card) to change it. PUT /api/v1/sessions/{id}/colour.

  • A session tile's bar is the only row above the transcript (the find bar joins it when open). After the state (its own turn's: a session whose turn ended reads idle while its background work goes on): ◌ N while tasks or subagents run (how many; each named on hover, listed with Inspect and Stop on a click; a click on the state goes to what waits on you, else that list, else the glance), then icons: Changes (with how many files changed), Terminal, and the context ring (how full, amber from 80%) when the glance isn't a column; then ⋯. With another view open beside the session in its tile (a doc), the icons and ⋯ are in a slim strip at the top of the session.

  • Changes, Terminal, Files and Outputs open as panes beside the session, never in place of the transcript: beside it when the tile is wide enough for both, else in a tile of their own (⌘/Ctrl-click: a new tile). Clicking an icon again closes its pane.

  • ⋯ holds Rename…, Find in session (⌘F), Files, Outputs, Session details… (its usage, and its labels, slash commands, agents, skills and hooks), New like this…, Save as template… and Archive.

  • The header's navigation (Sessions, Decisions, Settings…) replaces what the focused tile shows. Back brings it back.

  • Activity dock (left, on wide screens), in sections:

    • Waiting for you (amber): a tool call waits for your approval;
    • Running (blue);
    • Finished (green, red when failed): sessions that ended while not on screen, until you open them. ✕ lets one go, clear all of them; the latest 20 are kept;
    • Pinned (☆ in a session's header).

    Hide the dock with « in it (or ⌘\): a strip stays at the left edge, and pointing at it slides the dock out over the tiles until you move away. » keeps it open again.

    Below it, Sessions: every session (with the label filter's labels), one narrow row each in its colour, grouped as the session list is (group ▾; the grouping is the same setting) with groups you fold remembered. Hovering a row pops out its full title, state, worker, folder, model, labels and colour, with Open, New tile and New like this. Both sections fold.

    Inbox lists the same for triage; Mission shows them as live cards you can reply from.

  • A session's glance: a line each for where it runs (worker, model, runtime), its worktree or folder, branch and changes, its work and labels, and its context, then its newest outputs; first, while there is any, what waits on you (an approval or a question, going to its card). A line acts where you would: Changes and the folder open their panes, Work and Labels their editors, Context its breakdown (with Compact now) and usage. A wide session shows it as a column beside the transcript; otherwise the context ring (or ⌘I; Esc closes it) opens it, as a sheet from the bottom on a phone.

  • Realms and the console: each realm is its own app at /r/<realm>/: its sessions, inbox, decisions, analytics and its own settings, with realm-scoped API requests. This organises the UI; it does not isolate sessions or their files. The menu by the logo switches realm (⌘-click opens one in a new tab) and shows how many things wait on you in each. Console (/admin/) is carbon6's administration: realms, workers, connections, the defaults realms inherit, spending, sign-in and updates. The head enforces API scopes, not the page. The app opens where you were last. Design: docs/realms-ux.md.

  • Light or dark: Settings → Appearance: follow the system, or always light or dark (kept in each browser).

  • Motion: beside the theme, choose System (default, follows the device), Full (even if the device asks for reduced motion), Reduced (short fades, no travel or spinning/pulsing), or Off (no transitions or animations). Like the theme, this is kept in each browser, across realms. Menus and sheets work from their first frame; closing makes them inert immediately, and reopening during an exit reverses it. Tile contents never scale. Same-size tile moves translate only; maximize, restore, opening and neighbour resizing apply the final layout immediately, then reveal its full-size text through a brief 100ms fade (80ms Reduced) over an always-opaque background. Removed tiles disappear without cloned exit text; Off is instant. No tile animation changes layout frame by frame. New transcript entries and the following-end glide share a 200ms out curve; user scrolling interrupts at once, while long jumps and Reduced/Off snap. Streaming text never animates.

  • Thinking: Settings → Appearance → Session transcripts → Show thinking, off by default. Off hides reasoning entirely; on shows it expanded under Thinking, in sessions and inline threads on desktop and phone. Kept in carbon6 across realms and devices, without changing stored events or model input (display preference and API).

  • Phones: one 44px top bar, no footer. The app menu holds realm selection, navigation, search, Activity, notifications, connection and version; its positive count is app-wide waiting. Sessions opens a flat list of open sessions/pages (switch or close, hidden ones too), recently viewed, All sessions, New session or page, Ask and the Needs you bell. The plain context ring opens the session sheet with Changes, Terminal, Files, Outputs and the existing glance. A fixed 44px status slot above the message box keeps working and live turn stats on the left and positive background work on the right, on one line; idle leaves the left empty. The whole row opens its details without moving/remounting the message box; waiting and failure details remain available. A phone on its side keeps this layout: desktop needs 512px of height as well as width. On a touch screen Return is a new line in a message box; ⌘/Ctrl+Enter sends everywhere. See session header.

  • The message box grows with what you type, up to 40% of the window, then scrolls. An image pasted, dropped or attached opens full size when you click it, before you send. The session's model and its subagents' model are chips under the box, each opening its pickers; a change waiting for Send shows beside them.

  • Tool calls show their summary straight away and start collapsed (plans start open). Open one to watch its live output; live and final output, including images, share the same fixed-height scrolling area. Finishing a call doesn't open or close it. Calls that make a session or write a document reserve their link's space from the start, including on a phone.

  • Recently viewed heads the Sessions page: the last 8 sessions you looked at, newest first, with each one's state and when, the same on every device (the head keeps each realm's last 20: POST /api/v1/sessions/{id}/viewed, GET /api/v1/sessions/recent). Hidden while you search.

  • Start session (the Sessions page) opens the new session in place of the form's tile (‹ goes back to it); one started from a popup (New like this, or from work or mail) gets a tile of its own. The session opens at once: the memex's brief for it is fetched afterwards, before its worker gets it.

  • The workspace is saved in the browser; the address bar shows the focused pane, so links and reloads land in the right place.

The search box in the header (⌘K) searches every message, tool call, tool output, thinking block and error in all sessions, including side chats and subagents. Words and "quoted phrases" must all match, as substrings (3+ characters each, case-insensitive); -word excludes. Results are grouped by session; each match links to its place in the transcript, opened and highlighted. In a session, the find bar (it opens from a search result, with ⌘F, or with Find in session in ⋯) highlights every match on the page (the current one in orange) and steps through every match in the session and its side chats: Enter / ⌘G for the next, Shift+Enter / ⇧⌘G for the previous, Esc to close. The index (SQLite FTS5) is kept in the head's database, updated as events arrive, and rebuilt automatically when its format changes.

This guide is the README's; edit it on GitHub.