Shipping with the Allternit Factory build. The
terminal binding, team.yaml and the gizzi agents commands are the approved design and are not live yet. Hosted and Connected bots are live today.gizzi agents is the crew: which agents exist, which harness each one runs on, and which machine it’s on.
Every agent in the Factory is a Bot: one record with a stable id. The Factory doesn’t add a second kind of agent. Bots differ in two separate ways: how a bot runs (its execution binding) and how people reach it (its channels).
Three ways a bot runs
Connected bots carry a lane (
official, channel, ui_bridge or local) and a guarantee (exact, best_effort or read_only), and they’re directed by another bot. The guarantee decides what “delivered” means for that bot. See delivery states.
Reach is separate from running
Telegram, Slack, SMS, phone calls, email and push are how people talk to a bot. They’re not a way for the bot to run. A Hosted bot can be on Telegram. A Terminal bot’s Telegram messages arrive as turns in its pane. A Connected bot stays inside its directing bot’s phone. Channels belong to orchestration.A Terminal bot is a full Bot
Everything that comes with a bot comes with a Terminal bot. Server-side pieces work the same for every binding. Pieces that have to live inside the harness are delivered by the engine when the pane starts, and again on re-entry (after compaction or a restart). Each one is labeled with what actually happens.
Each field reports one of
delivered, guidance, partial or unavailable, so a screen never claims more than the harness actually got.
Delivery keeps a git workdir clean. Claude Code’s Gate hook rides on the spawn’s own --settings file (outside the workdir), so the repo’s .claude/settings.json is never edited. Every file delivery creates inside a git checkout (CLAUDE.local.md, .allternit/bot/, a skills folder) is added to that repo’s local info/exclude, so a pane never leaves files for a commit to pick up. A file git already tracks is changed in place only for harnesses with no other way in, and the delivery notes say so.
Folder trust at spawn
Claude Code and Kimi stop on a “trust this folder” prompt the first time they open a folder. Claude Code also asks once about externalCLAUDE.md includes. Nobody watches a pane at spawn, so the bot sat idle and every send queued behind the dialog. The engine now records that trust before the pane starts, for the workdir you passed to agents up (and its real path, if it is a symlink). For Claude Code it sets hasTrustDialogAccepted and hasClaudeMdExternalIncludesApproved on that folder in ~/.claude.json. For Kimi it writes ~/.kimi-code/workspace-trust/wd_<folder>_<hash>. The stores are replaced atomically. A store that is missing or can’t be parsed is left alone, never recreated.
Approval prompts at spawn
A Terminal bot’s harness never stops to ask a person before running a command or writing a file. Nobody answers prompts in a pane, so the engine starts each harness in its own auto-approve mode and puts Allternit’s Gate in front instead:
Any approval or sandbox flag in the bot’s command is replaced, so every bot of a harness starts the same way. Kimi and Gemini run in ACP mode (
kimi acp, gemini --experimental-acp) when gizzi drives them. There the client answers each permission request with the Gate’s verdict, so their command is left as it is. Kimi’s other subcommands, such as kimi session, and its one-shot kimi -p (which refuses --auto and --yolo) are also left alone.
When a pane can’t open its folder (macOS)
On macOS the pane host runs under Allternit Desktop, so it needs Desktop’s permission for protected folders (Desktop, Documents, Downloads). If a bot’s workdir is in one of them and the permission is off, the agent exits right away withgetcwd: Operation not permitted. gizzi agents up then fails with needs_person and says what to do: allow Allternit Desktop under System Settings → Privacy & Security → Files and Folders (or Full Disk Access), or use a workdir outside those folders.
team.yaml
A team is a file. gizzi agents up <team> reads it, spawns a pane for each Terminal bot, binds the Hosted and Connected bots, and registers everyone. Teams can mix all three bindings.
bot@team (for example builder@product-build). The pane, the thread and the node all point at the same bot id.
Presets
A preset swaps which harness or binding fills a role, without editing the team. For example, one preset can run thebuild role on Terminal Claude Code and another on Vendor ChatGPT.
--dry-run prints the plan: one step per bot (spawn, bind, skip or stop), with the harness, machine and reason. Run it again without --dry-run to do exactly that.
Changing a bot’s model
gizzi agents model <bot@team> <model> changes a Terminal bot’s model. The change is saved in overrides.json next to team.yaml, so your hand-written team.yaml and its comments are never rewritten. It applies the next time the bot starts. A running bot keeps its current model until then.
--restart stops the bot’s pane and relaunches it with its harness’s resume, the same way gizzi agents recover does. Hosted and connected bots keep their model on your account; change it in the app or with gizzi agents bot.
Handing a seat to a fresh session
When a Terminal bot’s context is full, or it’s stuck,gizzi agents handoff <bot@team> gives its seat to a fresh session without losing track of the work:
- It saves the old pane’s last screen (and your
--note) to.allternit/factory/handoffs/<bot>-<team>-<time>.md. - It stops the old session. That session is marked finished, so
gizzi agents recoverwon’t bring it back. - It starts the bot fresh, in the same folder, and its first message tells it to read the handoff file.
--on <computer>
--on (or a bot’s machine: in team.yaml) names one of your paired computers: a Mac, a Linux box or a VPS you paired with allternit computer pair <code>, one your organization paired, or your Allternit cloud computer. The engine checks the name against your paired computers, by name (any case) or id:
- A name that isn’t paired is refused (exit
2), and the message lists your paired computers. - A computer that hasn’t joined the mesh yet is refused (exit
1). - Checking needs allternit-api. Without it, the step fails as
transport.
- Your engine sends the team folder (team.yaml, CULTURE.md,
bots/…) and the bots placed there. - When your workspace is a git repo with an
httpsorsshorigin, it also sends the commit you’re on. - The other computer clones the repo at that commit into a workspace of its own for you and that team (
~/.allternit/factory/remote-work/<you>/<team>/repo), and the bots work there. The bots push their work there as a branch, so the other computer needs its own git access to the repo. - Without a repo, the bots work in a plain folder there.
gizzi agents psshows it with that computer as its machine. Your engine asks that computer which of your bots are live.orchestration sendandorchestration capturereach it, andagents down <bot@team>oragents down <team>stop it there.- Its pane is live wherever local panes are.
gizzi agents attach <bot@team>mirrors it in your terminal: you see its screen as it changes and your keystrokes go to it (ctrl+]leaves; the bot keeps running).gizzi agents wall <team>gives each of the team’s remote bots a pane on the wall that mirrors it, and closes those panes when you close the wall. - The app’s Factory screens show it the same way, with its terminal tile live and labeled with the computer it runs on (Desktop, ai.allternit.com and the phone layout).
- The mirror redraws the other computer’s screen at its own size, about five times a second at most. Typing over the mesh is a little slower than in a local pane.
- Bots the other computer runs aren’t registered with allternit-api from there, so they appear under your account through your engine.
- A paired computer’s engine takes peer calls on port
3019. Desktop starts it with--peer-port 3019when the Mac is paired, andallternit computers serveforwards that port over the mesh beside VNC. An engine started before the computer was paired starts taking peer calls within 30 seconds of the pairing. - Your cloud computer pairs itself, with nothing to run: it’s listed as
Cloud computer(gizzi agents up product-build --on "Cloud computer"). It puts only the peer port on the mesh, never its screen (cloud computers as paired computers). If--onsays it isn’t paired, open Computers once in the app so the paired list syncs. - Peer calls need a peer ticket from cloud-api, which goes only to the computer’s owner or a member of its organization (peer tickets). Your allternit-api asks for it and carries the call (
/api/v1/computers/:id/factory-peer/*). - On the other computer you can only reach the bots you started there, and only in your own workspace.
Bot templates
gizzi agents templates browses Gizzi’s specialist bot templates (engineer, reviewer, DevOps, QA, product and others). list [category] [--json] prints them, create <template> makes an agent from one, and export / import move an agent between machines as a file. The templates live in Gizzi, so the engine’s own allternit-factory agents templates points you to Gizzi (exit 64). This replaces gizzi agent-hub.
Harnesses
gizzi agents harness list shows the agent CLIs on a machine (Claude Code, Codex, Kimi, Grok, Antigravity, Gizzi and others): whether each is installed, and whether Allternit’s skills, MCP server and rules are synced into it. gizzi agents harness sync brings them up to date. Discovery is local; no network calls are made. This replaces gizzi runtime.
gizzi agents doctor checks a machine in three parts:
- transport: the pane engine’s socket and git.
- executors: each harness that can run a bot, and whether it works interactively and headless.
- harness: the copies the Factory installs itself into its managed folder (
~/.allternit/factory/harness).
Only
PROBLEM turns the check red.
Watching and attaching
gizzi agents pslists every bot with its binding, state, current node and proof count. Running sessions are checked against the live panes on everyps, so a dead process shows as dead, never as running.gizzi agents wallopens the live wall of terminals in the engine’s pane view.ctrl+b qreturns you to Gizzi.gizzi agents wall <team>opens the same wall with its Agents panel narrowed to that team’s running bots (the panel is titledteam <name>) and focused on the first one. The narrowed view goes away when you close the wall. With none of the team’s bots running it says so (exit2) and suggestsgizzi agents up <team>. The view belongs to the shared wall session, so anyone attached to the wall at the same time sees it too.gizzi agents attach <bot@team>depends on the binding. A Terminal bot opens its pane (a bot on another computer opens a live mirror of it; see--on). A Hosted bot opens its session right in Gizzi’s TUI. A Connected bot shows its thread and ticket status, because it has no terminal.gizzi agents recovershows what it would restart after a crash.--applydoes it. A session qualifies when its pane is gone, it isn’t finished, and its notes sentinel (if it has one) doesn’t saystatus: done. Only the lead that started it can restart it (--lead <id>, else$ALLTERNIT_FACTORY_LEADor your user name), unless you pass--as-human. The restart goes through the same spawn gate as any spawn, with the bot’s identity and WIH kept, and uses the harness’s own resume when the original launch named a session (claude --resume,codex resume,kimi --session,agy --conversation,grok --resume).gizzi agents down <bot@team>stops one bot’s pane;gizzi agents down <team>stops the team’s.
Hand-off lanes
A bot project’s team view (the project pane’s Team, or Open team lanes on the Team card) opens on Lanes. Graph and List are one click away; phones show Lanes and List.- Bot cards sit on top: avatar, name, binding, state, context used (
ctx 41%), the bot’s role, and the node the bot is on now. A bot with no current node shows its next ready node (Up next, with +N for more queued), else Ready for a task. - One lane per team link, in the direction work moves. For
delegates_toanddirectsthe lane runs from → to. Forchecksit runs from the checked bot to its checker, so builder → checker · checks holds the work the checker reviews. - Nodes in a lane: a campaign node goes in the lane whose target is its assignee and whose source owns a node it waits on (
blocked_by). A node with no such match goes in its assignee’s first lane. With no campaign, each bot’s current node stands in. Nodes in flight come first, then waiting ones, then finished ones; a lane shows four, then +N more. - Status line: With <bot> (working), Checking, Needs you, Up next, Waiting on another step, Done or Failed.
- Open a node card to see its intent, its files, its proof count and deliveries, plus Open node (the Node page) and Take over. Take over shows for a Terminal bot whose pane is running; it switches to Code mode and focuses that bot’s pane, where you can type into its session. It doesn’t pause the bot.
- Layout: each lane is one card wide and sits centred under the two bots it joins. Lanes keep their left-to-right order and move aside just enough not to overlap; a row holds as many lanes as there are bots, and more start a second row. Wide teams scroll sideways.
- Lines: on Desktop a rounded line runs from a dot under each bot to a handle on top of each of its lanes (the left handle takes the bot further left). Lanes with work in flight draw in blue with a moving pulse, which stops when reduce motion is on. Phones stack the lanes without lines; each lane’s header names both bots with their faces.
Spawn, message and list sessions
Three small commands and tools cover most hand-offs between sessions. They work in a normal Gizzi session, not only in a bot team.gizzi spawn <cli> "<prompt>"starts a session of another coding CLI on this computer. It is the short form ofgizzi start(see Start a session from your phone forgizzi startand starting on another computer). The prompt, and a hand-off file if you pass--handoff, go in a private task file under~/.gizzi/spawn, and the new session is told to read it. Flags:--cwd,--handoff,--runtime,--mode,--window,--terminal,--dry-run.--windowopens a terminal window that runs only the attach command, so you can watch the session.--dry-runprints the request and the launch command without starting anything. See Gizzi work views.message_agentis now offered in normal Gizzi sessions. The target is the name or address of a live session;listshows the live sessions. The first message to each target asks you: Allow once or Always for this target. Later messages to that target in the same session do not ask. A name that is unknown or matches more than one session gives an error that lists the live sessions. Sends go through the existing Factory delivery, with its rate limit. Subagents and workers that have no bot chat do not get the tool./remotelists the other CLIs’ panes next to this session, each with its status and how far you can reach it. See Continue a session anywhere.
Worktrees
A Terminal bot that works in a worktree gets an Agent Tree: its own branchao/<slug> from fresh origin/main, owned by the bot and seeded from the warm base. gizzi agents down <bot> --rm-worktree lands it, or pauses it when it holds unmerged or uncommitted work. People and sessions use the same gizzi agents tree verbs.