Skip to content
punt-labsPublic

About

Team (human+agent) coordination and communication that works across git-repositories and hosts, enabling natural language cross-repository agent coordination and problem solving.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

952 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

biff

Team messaging and presence commands for the terminal and Claude Code.

License CI PyPI Python Working Backwards

The original biff mail notification app

Biff gives a software team, and the coding agents working with it, the Unix communication commands who, finger, write, talk, wall, mesg, last and .plan. You use them as slash commands in Claude Code, as biff subcommands in any terminal, or in biff's interactive shell. Sessions on one machine find each other through a local relay (message files in your home directory) with no network, no account and no shared credentials. Sessions on different machines connect through a NATS relay (a message server) that you opt in to. The name comes from the 1980 Berkeley mail notification program, part of the same BSD family as talk and wall.

Platforms: macOS, Linux

Quick Start

curl -fsSL https://raw.githubusercontent.com/punt-labs/biff/eeaf768/install.sh | sh

Restart Claude Code twice. Biff is off in every repo until you turn it on, so in your repo run:

/biff enable

Then type /who to see your team.

CLI Only (No Claude Code Plugin)

To install the biff CLI and MCP server without the Claude Code plugin (for another AI coding tool such as Codex or Cursor, a plain terminal, or an organization that blocks plugins), pass --no-plugin:

curl -fsSL https://raw.githubusercontent.com/punt-labs/biff/eeaf768/install.sh | sh -s -- --no-plugin

The BIFF_NO_PLUGIN=1 environment variable does the same, for contexts that cannot pass arguments through the pipe:

curl -fsSL https://raw.githubusercontent.com/punt-labs/biff/eeaf768/install.sh | BIFF_NO_PLUGIN=1 sh

The installer also skips the plugin when claude or git is missing. Without the plugin it still installs the biff command, adds it to your PATH and runs the health check. To add the plugin later, run these two commands:

claude plugin marketplace add punt-labs/claude-plugins
claude plugin install biff@punt-labs
Manual install (if you already have uv)
uv tool install punt-biff
biff install
biff doctor
Homebrew install (macOS/Linux)
brew tap punt-labs/tap
brew install punt-labs/tap/biff
biff install
biff doctor
Verify before running
curl -fsSL https://raw.githubusercontent.com/punt-labs/biff/eeaf768/install.sh -o install.sh
shasum -a 256 install.sh
cat install.sh
sh install.sh

Features

  • Claude Code slash commands --- /who, /write, /read, /talk, /wall and the rest run inside Claude Code through biff's MCP server; there is no separate app
  • CLI and interactive shell --- every slash command has a biff subcommand; biff on its own starts a shell with history, tab completion and live notifications
  • Local by default --- with no relay configured, your agents on one machine message each other through files under the repo's .punt-labs/local/biff/relay/, with no network
  • Cross-machine presence and messaging --- opt in to a NATS relay (the shared demo relay, the self-hosted Docker relay or your own NATS server) and sessions on different machines see each other over TLS
  • Agents and humans in one list --- agent sessions appear in /who next to people, set a /plan, and send and receive /write and /talk
  • Status bar --- an opt-in addition to your Claude Code status line showing unread count, wall broadcasts and talk messages
  • Per-repo switch --- /biff enable --scope project writes a committed marker file, so biff is on for everyone who clones the repo; a .punt-labs/biff/config.yaml file is optional

What It Looks Like

See Who's Online

> /who

▶  NAME          K    MGR  REPO   IDLE  S  P  HOST
   kai:tty1                myapp  0m    +  +  m2-mb-air
   eric:tty2               myapp  1h    +  +  m2-mb-air
   priya:tty1              myapp  0m    -  +  priya-mbp
   claude:tty3   [A]  kai  myapp  3m    +  +  m2-mb-air
Column Meaning
NAME Address to use with /write and /talk (user:tty)
K [A] marks an agent session; blank for people
MGR On agent rows, the person behind the agent (from git config user.name, or the OS user); hidden when no row has a value
S + accepting messages, - do not disturb (/mesg n)
P + the session has a plan; /finger shows it

Send a Message

> /write kai "auth module looks good, just one nit on the error handling"

Message sent to kai.

Check Your Inbox

> /read

▶  3 new messages
   FROM        DATE              MESSAGE
   kai:tty1    Sat Feb 15 14:01  hey, ready for review?
   eric:tty2   Sat Feb 15 13:45  pushed the fix for the flaky test
   priya:tty1  Sat Feb 15 12:30  can you look at the migration script?
More examples: /finger, /plan, /last, /wall, /talk, /mesg

Check What Someone Is Working On

> /finger kai

▶  Login: kai                              Messages: on
   On since Sat Feb 15 14:01 (UTC) on tty1, idle 0:03
   Host: m2-mb-air  Dir: /Users/kai/code/myapp
   Plan:
    refactoring auth module

When the repo has ethos team data (.punt-labs/ethos/teams/*.yaml), /finger also shows the agent's role (a Roles: block when it has several). For an agent, Launched by: names the OS user who started it:

> /finger claude

▶  Login: claude [agent]                   Messages: on
   Role: coo (engineering) — reports to ceo (jfreeman)
   On since Sat Feb 15 14:01 (UTC) on tty2, idle 0:03
   Launched by: kai
   No Plan.

Set Your Status

> /plan "debugging the websocket reconnect logic"

Plan: debugging the websocket reconnect logic

A beads issue ID expands to the issue title:

> /plan biff-ka4

Plan: biff-ka4: post-checkout hook: update plan from branch

Session History

> /last

▶  NAME       REPO   HOST       LOGIN             LOGOUT            DURATION
   kai:tty3   myapp  m2-mb-air  Sat Feb 22 14:01  still logged in   -
   kai:tty2   myapp  m2-mb-air  Sat Feb 22 11:30  Sat Feb 22 13:58  2:28
   eric:tty1  myapp  m2-mb-air  Sat Feb 22 09:15  Sat Feb 22 12:45  3:30

Broadcast to the Team

> /wall "release freeze --- do not push to main" 2h

Wall posted (2h):
   release freeze --- do not push to main

Teammates with the biff status bar installed see WALL: release freeze in bold red until the wall expires.

Talk in Real Time

> /talk kai "can you review PR #42?"

Invite sent to kai. When they accept, talk_read shows replies.

Talk works like BSD talk: you send an invite, and the conversation starts when the other side accepts. Talk messages are not stored; they reach only a session that is connected at the time. Either side can end the conversation.

In a terminal, biff talk user:tty (or talk user:tty in the biff shell) opens the same conversation: it invites, or accepts an invite, and then you type lines and end hangs up. biffd holds the conversation, so it needs a NATS relay; on the local relay biff talk says so and exits 1.

Agent sessions in Claude Code receive talk invites and messages too: /talk claude:tty3 reaches an agent. Biff does not interrupt an agent; the agent sees the invite on its next turn. Run /read 1m in the agent's session to have it check every minute, or /read to check now. See Agent Workflow for details.

Go Do-Not-Disturb

> /mesg n

is n

Your status bar shows (n) instead of the unread count. Messages still arrive; /mesg y or /read shows them.

Commands

Command Origin What it does
/who BSD who List active sessions
/finger user BSD finger Show a user's sessions, status and plan
/write user "text" BSD write Send a message
/read [duration | n | status] BSD from Check your inbox; a duration such as 5m checks on that interval, n stops, status shows the interval
/plan "text" BSD .plan Set your status line
/tty name BSD tty Name the current session
/last [user] [count] BSD last Show session login/logout history
/wall "text" [duration] BSD wall Broadcast to the team; /wall clear removes it
/talk user ["message"] BSD talk Start a real-time conversation
/mesg y | /mesg n BSD mesg Accept or block messages
/biff enable | /biff disable --- Turn biff on or off for this repo (same as biff enable / biff disable)

Each command is also available with the plugin prefix, for example /biff:read.

CLI

Every slash command has a matching biff subcommand. The CLI works outside Claude Code, in any terminal or SSH session. The product commands (who, finger, write, read, plan, last, wall, mesg, tty, status) run through biffd, the per-user daemon: a command starts it when it is down, and biff install installs it as a user service. A command that cannot start it exits 1 and says why. The one exception is biff wall in a CI runner whose environment carries BIFF_RELAY_* settings (no session, no daemon): it talks to that relay directly: posting and clearing reach the configured repository and every repository of the configured organizations, showing reads the configured repository's wall only, and it exits 1 when the relay refuses. Every other command runs through biffd, which a command starts from its own environment where there is no service manager (a container): biffd then serves that environment's BIFF_RELAY_* settings, a later command is accepted only if its BIFF_RELAY_* equal them (same variables, same values), and is otherwise refused naming the variables biffd was started with and the ones that differ. biffd sends those credentials only to the relay URL it was started with, refuses to start with a credential and no BIFF_RELAY_URL, and shows the variable names in biff daemon status. Under a systemd or launchd unit biffd has no such environment, so a command that carries BIFF_RELAY_* is refused; put the relay in .punt-labs/biff/config.local.yaml instead.

Command What it does
biff Start the interactive shell
biff who List active sessions
biff finger kai Show what kai is working on
biff write kai "review the PR" Send a message
biff read Check your inbox
biff plan "debugging websocket reconnect" Set your status (--clear removes it)
biff last kai --count 10 Session history, optionally filtered by user (default 25 entries)
biff wall "deploy freeze" --duration 2h Broadcast to the team
biff wall Show the active wall
biff wall --clear Remove the active wall
biff mesg off Go do-not-disturb (on to accept messages again; y/n also work)
biff tty dev Name this session dev
biff status Connection state and unread count
biff watch Print one JSON line per arrival (unread count, mail, wall) until interrupted
biff talk kai "can you review?" Real-time conversation

Setup and maintenance commands:

Command What it does
biff install Install the Claude Code plugin and biffd's user service for your user account; changes nothing in any repo
biff enable Turn biff on for this checkout (see Setup)
biff disable Turn biff off for this checkout without changing shared activation
biff doctor Check the installation
biff daemon serve Run biffd, the per-user daemon, in the foreground (biff install runs it as a service; biff mcp and the hooks use it by default). It serves the BIFF_RELAY_* settings of the environment it is started in, and refuses a client whose own differ (see Environment-variable relay overrides)
biff daemon install, uninstall Install or remove biffd's user service alone (systemd user unit, macOS LaunchAgent)
biff daemon start, stop, restart, status Control the service; status shows whether it is installed and running, and its version. install, start and restart wait up to 30 seconds for biffd to answer /health (set BIFF_DAEMON_HEALTH_WAIT to a number of seconds up to 600) and print one line to stderr when the wait passes 3 seconds; a biffd that is running but not yet answering exits 4 with still starting, not a failure; status also prints biffd's pid
biff install-statusline Add biff to your Claude Code status line
biff uninstall-statusline Restore your original status line
biff uninstall Remove the plugin, biffd's service and this clone's biff git hooks
biff mcp Start the MCP server over stdio (the plugin runs this)
biff version Print the package version, and the plugin version if installed

The MCP server remains available for initialization and tool discovery when the relay is unreachable or rejects authentication. Tool calls report a relay connection failure until connectivity is restored; established connections keep reconnecting indefinitely after a disconnect.

Global flags go before the subcommand:

Flag What it does
--json Print JSON instead of text, e.g. biff --json who
--verbose, -v Debug logging to stderr
--quiet, -q Suppress command output
--user name Act as another identity, e.g. biff --user github-actions wall "CI failed" for a bot
--no-telemetry Disable local usage capture for this invocation
--version Print the version and exit

On a Devin VM, GitHub may not return a user for its integration credentials. Run biff --user devin who (and pass --user devin to other biff commands) to use the team handle instead of the VM's OS username. GitHub remotes rewritten through Devin's Git proxy still use the GitHub owner and repo for presence and peer discovery.

Diagnostics and usage

The CLI (including the REPL and status line), MCP server (stdio), and hooks (including detached SessionEnd cleanup) write diagnostics to the same private file, ~/.punt-labs/biff/logs/biff.log. The file records INFO and above and rotates at 5 MiB with five backups. Terminal diagnostics go to stderr (WARNING and above by default); MCP stdio stdout is for protocol messages only. Biff no longer writes a separate hook-errors.log. Sessions that stopped responding without deregistering are not shown by /who; it logs them there as one INFO line, N sessions stopped responding (last seen ...).

Local usage capture is on by default. It records supported CLI command names and MCP tool names, durations and protocol outcomes in a separate private SQLite store, ~/.punt-labs/biff/telemetry.db, for 90 days. It does not record command arguments, tool results, identities, or messages, and Biff does not send usage data over the network. Set PUNT_TELEMETRY=off or BIFF_TELEMETRY=off, or pass biff --no-telemetry <command> to disable capture. Any off switch wins.

Interactive Shell

Run biff with no arguments:

biff <version> — kai:tty1
Commands: finger, last, mesg, plan, read, status, tty, wall, who, write, talk, timestamps, exit

kai:tty1 ▶ who
▶  NAME       K  REPO   IDLE  S  P  HOST
   kai:tty1      myapp  0m    +  +  m2-mb-air
   eric:tty2     myapp  1h    +  +  m2-mb-air
kai:tty1 ▶ timestamps on
Timestamps on.
kai:tty1 ▶ talk eric
Waiting for eric:tty2 to respond... (type 'end' to cancel)
Connected to eric:tty2. Type 'end' to return to REPL.

kai:tty1 ▶ can you look at the auth fix?
[14:32] eric:tty2 ▶ on it now
kai:tty1 ▶ end
Talk with eric:tty2 ended.
kai:tty1 ▶ exit

The shell logs your session in and out, keeps your presence current, and prints wall broadcasts and new-message alerts while you sit at the prompt. It has line editing, history (kept in ~/.punt-labs/biff/repl_history) and tab completion. timestamps on / timestamps off adds a local [HH:MM] stamp to incoming talk messages for the current shell only.

Named sessions

Commands from one shell share one durable session with one ttyN: the session, its presence row and its tty name outlive each biff process. biffd keeps the session records. It sweeps them once at start and every 10 minutes: a session unused for 8 hours goes dormant (name and inbox kept; the next command revives it), and a dormant session is removed after 3 days.

biff session new --tty main     # Create a session named "main" (errors if the name is taken)
biff session ls                 # This host's sessions: name, user, repo, state, id
biff session use main           # Make "main" this repo's default (no attach)
biff session end main           # End it; unread mail moves to your user mailbox
biff -s main write kai "hi"     # Run one command as session "main" (or set BIFF_SESSION)

Without -s, a command runs as the first of: BIFF_SESSION; this repo's default (biff session use, or the last session new); a fresh session. The session verbs run as that session too; in a repo with no session a verb makes one to run as and ends it before the verb runs, so session ls there lists nothing and session new --tty tty1 may take the first name. A shell is always a CLI session, even when run from Claude Code. An explicit -s naming an unknown or ended session is an error and never creates one; an ended session is never revived, but biff session new --tty <name> may reuse the name.

Keys and agent attestation

Each person and each agent has one Nostr key. You sign each agent's public key, and the signature expires: 24 hours by default, 7 days with --image for an agent image, or set BIFF_ATTESTATION_HOURS. A receiver checks the expiry on its own clock.

biff key init                          # Create your owner key; prints your npub
biff key agent claude                  # Create an agent's key; publishes its npub
biff key attest claude --hours 24      # Sign the agent's key as its owner (you must be present)
biff key attest claude --npub npub1... # Confirm a key read from the directory (an agent image's)
biff key show claude                   # The agent's key and the state of its attestation

When this machine holds the agent's key, attest signs it. When only the shared directory has it (an agent image holds the key), attest prints the npub and refuses until you pass --npub with that same value: the directory is unauthenticated, so you confirm the key out of band first.

biff who shows an NPUB column with each user's short published npub. It is the key published under that name, not proof that the session holds it. biff key show checks an attestation against the owner key pinned on this machine when there is one; for an owner with no pin it reports unpinned: the signature verifies against the key published under that name, but nothing local confirms that key. The pin is a file your user can write, so a match is not proof against code running as you: an agent running as your user could write its own owner key there and a matching directory entry, and show would say it matches. Anchoring the pin properly (the owner key signing it, or keeping it in the presence-gated vault) is open work, tracked as PL-1705 ("Owner key pin is writable by same-user code, so an agent can pin its own owner key"). show and the who NPUB column print only validated npubs and strip control characters from everything the directory supplies.

Keys are published and looked up under your GitHub login, the same name biff who shows; --owner overrides it. Public keys go in ~/.punt-labs/biff/nostr.yaml. When the ethos command is installed they go in that name's ethos nostr ext namespace instead, and ethos refuses a name that no identity has. biff does not map a GitHub login to a different ethos handle.

Private keys never enter the repository or an ethos ext file. Agent keys rest in the OS keyring when the machine has one, and in passphrase-sealed files under ~/.punt-labs/biff/keys/agent when it has none. The first biff key command on a machine records which of the two it chose, in ~/.punt-labs/biff/keys/agent-backend (keyring or file). That choice stays: a machine that chose files keeps using them after a keyring appears, and a later session that cannot reach a keyring the machine chose refuses to create or sign anything, with a message naming the keyring, rather than starting a second key store. biff key show reads only public data and opens no private vault, so it still works in that session. To move agent keys to another backend, edit that file after moving the keys yourself; biff does not migrate them. The public half of your owner key is pinned in the clear in ~/.punt-labs/biff/keys/owner/<handle>.pub (directory 0700, file 0600), so biff key show verifies an attestation from that record without a passphrase, a keyring or any private vault. It reports "unverified" only when the record cannot be read (for example, permission denied), and "invalid" when the record is damaged. biff --json key show reports the verdict and where the owner key stands: valid or expired only when the owner key matched the local pin; unpinned or unpinned-expired when the signature verifies but this machine holds no pin for the owner; unverified when the pin cannot be read; invalid when the pin contradicts the published key, is damaged, or the attestation does not verify; no-owner-key when no key is published for the owner. Your owner key rests in a macOS keychain item that trusts no application, or on Linux in a file sealed by a passphrase that biff reads only from /dev/tty. An agent process cannot create the owner key or sign with it.

When macOS asks to let security read the owner key, click Allow. Never click Always Allow. Always Allow adds /usr/bin/security to the item's access list, and from then on any program you run, an agent included, reads the key with no prompt. biff checks the access list before every read and refuses an item that trusts an application; the fix is to delete the item, run biff key init again and re-attest your agents.

Setup

Biff needs a git repo and a GitHub identity. It reads your username and display name from gh auth.

--user <handle> (or BIFF_USER) overrides it; when the repo registers that handle as a kind: agent ethos identity, the session is flagged [A] in /who. BIFF_OWNER names the human behind an agent for the MGR column when git config user.name is the bot's.

Without a configuration file, biff uses the local relay: sessions on this machine find each other and nothing leaves it. Add a configuration file when you want a fixed team roster, cross-machine presence through a NATS relay, or a different set of peer repos. Commit it as .punt-labs/biff/config.yaml:

team:
  members: ["kai", "eric", "priya"]

relay:                          # optional: omit it to use the local relay
  type: nats                    # local (the default), demo or nats
  url: "tls://relay.example.com:4222"

peers:
  orgs: ["my-org"]              # find repos with active sessions in this GitHub org
  repos: ["my-org/other-repo"]  # repos that are always visible

The peers: key makes /who, /write and /finger reach sessions in other repos. orgs finds repos with active sessions; repos lists repos that are always visible. Both are optional.

Mail is kept per repo, and read drains the mailbox of the repo you run it in. So /write user (no tty) delivers to the repo where that user has a session: yours if they have one here, otherwise their most recently used repo among those visible. A user with no session in any visible repo gets it in your repo's mailbox.

Put per-user relay credentials (a token, NKeys seed or credentials file path) in the gitignored .punt-labs/biff/config.local.yaml, never in the committed file. See Installing for the schema, relay configuration to choose the demo relay, the Docker relay or your own NATS server, and environment-variable relay overrides for the five BIFF_RELAY_* variables used in CI and containers.

What the two setup commands change:

  • biff install (once per machine) installs the biff Claude Code plugin for your user account. The plugin provides the MCP server, slash commands and Claude Code hooks. It changes nothing in any repo. If Claude Code is not installed, it reports a CLI-only install and stops.

  • biff enable --scope project (once per repo, same as /biff enable project):

    • writes .punt-labs/biff/enabled (the on switch), .punt-labs/biff/CLAUDE.md (a guide for agents) and .github/workflows/biff-notify.yml (a CI workflow); commit these
    • adds an @.punt-labs/biff/CLAUDE.md import line to the repo's CLAUDE.md
    • adds biff's permission rules to the repo's .claude/settings.json; biff commands that change settings still ask for your approval
    • installs git hooks in this clone's .git/hooks/ that update your plan on checkout and commit; the hooks are not committed, so each clone that wants the hooks runs biff enable --scope project once

    biff disable --scope project removes the shared activation, leaving the deposited guide dormant.

  • biff enable (same as /biff enable, or explicit --scope local) activates just this checkout. It writes an ignored marker and guide in .punt-labs/local/biff/, adds the import to CLAUDE.local.md and grants to .claude/settings.local.json. It installs no Git hooks or CI workflow and changes no tracked files. If necessary Biff adds the ignore rules to Git's local info/exclude.

Bare biff enable and biff disable default to local. Use --scope project for team activation and in shared rollout scripts. Local disable leaves the team's settings and guide in place but turns integration off in this checkout. Use biff disable --scope project --opt-out to keep both scopes off, and biff enable --scope project --clear-opt-out to lift that policy. Existing guides are pinned until enable --refresh; an occupied notify workflow that differs from Biff's render is left alone unless given --replace-workflow. Biff's ordinary commands are permitted as before.

Run biff status or biff doctor to see which marker decided activation. Installing has the full guide.

Devin

An organization admin can install the Devin plugin from https://github.com/punt-labs/biff/tree/main/devin-plugin, binding its MCP installation environment to MCP_BIFF_RELAY_TOKEN: secret:org:MCP_BIFF_RELAY_TOKEN. The MCP config maps that secret placeholder to BIFF_RELAY_TOKEN; empty or unexpanded values are unset rather than sent to the relay. Never put a token value in files. After installing the plugin, open Customize > MCPs > From plugins > biff > Connect and save the relay token as MCP_BIFF_RELAY_TOKEN. Devin fills plugin MCP placeholders only from values saved on that plugin installation. The launcher uses installed biff 1.24.0 or newer, otherwise requests punt-biff>=1.24.0 through uvx (or uv tool run), falling back to plain biff only when neither runner exists. Install uv or a current biff first. It supplies a fresh session ID when absent so startup can register presence. Explicit biff mcp --user devin binds unstamped tool calls to that same session; stamped calls keep their declared caller and malformed stamps are refused.

The plugin provides a long-lived MCP server, who/read/write/wall skills, and an always-on five-minute mail polling rule. Its self-contained SessionStart command is inline in hooks.json, requiring no plugin-root variable. It creates missing local team configuration and Devin identity records in DEVIN_PROJECT_DIR and repositories under ~/repos/, excluding newly created files from Git without overwriting existing configuration. It does not run biff enable or change repository enablement policy.

Codex, OpenCode and other MCP clients

Biff identifies the caller of every tool call from a _caller argument that Claude Code's PreToolUse hook stamps. A client with no such hook (Codex, OpenCode) has nothing to stamp, so biff mcp refuses its calls as unidentified. Launch the server with --user (biff 1.24.0 or newer) to bind calls that carry no _caller to that identity; a call that carries a valid _caller keeps it, and a malformed one is still refused:

# ~/.codex/config.toml
[mcp_servers.biff]
command = "biff"
args = ["mcp", "--user", "codex"]

The OpenCode form below needs OpenCode 1.19.0 or newer: 1.18.0 rejects the mcp.servers layout.

{"mcp": {"servers": {"biff": {"type": "local", "command": ["biff", "mcp", "--user", "opencode"]}}}}

Only an explicit --user on a stdio launch relaxes the refusal. The Claude Code plugin passes none, so its server still refuses an unstamped call. --user names the biff identity, so pick a handle that no other agent uses.

Channels (Claude Code)

With channels, new mail, walls and talk reach a Claude Code session on their own, as short channel events, so nobody has to poll. An event is a one-line summary, never a message body; it names the biff tool (read_messages, wall or talk_read) that reads the body. Where channels cannot be live, poll with /biff:read 2m. Channels need a biff release newer than 1.24.2. See Channels design (DES-087).

Team and Enterprise plans: an Owner sets it up once.

In the claude.ai admin console, open Organization settings > Claude Code > Managed settings (https://claude.ai/admin-settings/claude-code) and add to the managed settings JSON:

{
  "channelsEnabled": true,
  "allowedChannelPlugins": [
    { "marketplace": "punt-labs", "plugin": "biff" }
  ]
}

allowedChannelPlugins has no field of its own; it is set only in this JSON. The Channels toggle on the same page sets channelsEnabled alone. The list replaces Anthropic's default channel list rather than adding to it, so also list every other channel plugin the organization uses. Organizations that manage devices instead can set the same keys through MDM or a managed-settings.json file, but only one managed source applies: the admin console wins over MDM, and an MDM profile that sets any policy key hides the file entirely, so put the channel keys in whichever source the organization already uses (managed settings).

Then each user launches with:

claude --channels plugin:biff@punt-labs

Individual accounts and local testing use the development flag, which shows a confirmation prompt at every launch. It skips allowedChannelPlugins, but on Team and Enterprise plans Channels must still be turned on (channelsEnabled):

claude --dangerously-load-development-channels plugin:biff@punt-labs

A plugin loaded with --plugin-dir is in the inline marketplace, so it is plugin:biff-dev@inline there (plugin:biff@inline for a released checkout).

Amazon Bedrock, Google Vertex AI and Microsoft Foundry: channels are not available; poll with /biff:read 2m instead.

Channels Warning (Claude Code)

When Claude Code starts in a biff-enabled repository, biff checks whether new messages can reach the session on their own (as Claude Code channel events). If it knows they cannot, it prints a warning at startup and tells the model: why, how to fix it, and to poll instead with /biff:read 2m (/biff-dev:read-dev 2m for the development plugin). If you are already polling, ignore the warning. Polling also turns on the between-turn mail nudge; without it, and with channels live, channel events are how the agent hears of new mail. /biff:read n turns polling and the nudge off.

Biff warns you only when it can see the cause: a telemetry or feature-flag opt-out (CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, DISABLE_GROWTHBOOK, DISABLE_TELEMETRY, CLAUDE_CODE_DISABLE_FEATURE_FLAGS), a cloud provider (CLAUDE_CODE_USE_BEDROCK, CLAUDE_CODE_USE_VERTEX, CLAUDE_CODE_USE_FOUNDRY), or a Claude Code that was "not started with a channel flag for biff" (--dangerously-load-development-channels plugin:biff@punt-labs). Settings it cannot see, such as server-managed policy, never produce a warning for you; the model is told only that channels may be off. On resume, clear and compaction only the model is told, and a -p run is model-only.

biff doctor checks the same variables in the shell you run it from and prints one informational Channels line per blocker with its fix, for example ○ Channels: DISABLE_TELEMETRY is set. Unset DISABLE_TELEMETRY and restart Claude Code. All the cloud-provider variables share one line. Run it from the shell that starts Claude Code: doctor cannot see a running session's environment, which the start-up warning above checks instead.

With the NATS relay, doctor also checks the live path end to end. It sends each of your running biff sessions in the repo a channel check, waits up to 30 seconds for all of them at once, and prints one informational line per session: ✓ Channel: kai:tty1: channel live, or ○ Channel: kai:tty1: channel not confirmed followed by a pointer to the Channels lines above. A session that is not confirmed never fails doctor. With no running session, or with the local relay, doctor prints one line saying there is nothing to check or that the check needs the NATS relay.

Status Bar

biff install-statusline adds biff to the end of your existing Claude Code status line; it does not replace it. biff uninstall-statusline restores the original.

Line 1: your-existing-status | kai:tty1(3)
Line 2: ▶ WALL: release freeze until 5pm

kai:tty1(0) means no unread messages, kai:tty1(3) (bold yellow) means three unread, and kai:tty1(n) means messages are off. Line 2 shows the latest /talk message (bold yellow), an active wall (bold red), or ▶ when there is nothing to show.

Agents Welcome

Biff treats an agent's Claude Code session like any other session. An agent can set a /plan for its current task, /write a person when it needs a decision, and appear in /who with everyone else.

  • Across machines: /who lists every session's plan, so an agent or a person can see what others are working on before starting a task.
  • On one machine: /who and /finger show each session's host and directory. Agents sharing a machine and directory can agree on who does what with /write and use separate git worktrees.

See Agent Workflow for patterns and examples.

Vision

Biff assumes the terminal is where you're already working, so that is where your team communication should be. There are no chat rooms to monitor, no threads to catch up on, no emoji reactions to parse. Mail, wall and talk are the whole vocabulary. Where your harness supports it, a one-line channel event tells you something arrived, and you decide when to read it.

Documentation

Installing | Agent Workflow | Claude Setup | FAQ | Troubleshooting | Changelog

For contributors: Contributing | Library API | Design Log | Installer Design | Documentation Index | Testing Guide

License

MIT

About

Team (human+agent) coordination and communication that works across git-repositories and hosts, enabling natural language cross-repository agent coordination and problem solving.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages