Skip to main content

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 different machines see each other through a NATS relay (a message server); biff ships with a shared demo relay. 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/8eae0bd/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/8eae0bd/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/8eae0bd/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/8eae0bd/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
  • Cross-machine presence and messaging --- sessions connect through a NATS relay 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 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.

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, SSH session or CI job.

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 talk kai "can you review?" Real-time conversation

Setup and maintenance commands:

Command What it does
biff install Install the Claude Code plugin for your user account; changes nothing in any repo
biff enable Turn biff on for the current repo (see Setup)
biff disable Turn biff off for the current repo and remove what enable added
biff doctor Check the installation
biff install-statusline Add biff to your Claude Code status line
biff uninstall-statusline Restore your original status line
biff uninstall Remove the plugin and this clone's biff git hooks
biff mcp Start the MCP server over stdio (the plugin runs this)
biff serve Start the MCP server over HTTP (default 127.0.0.1:8419)
biff version Print the package version, and the plugin version if installed

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
--version Print the version and exit

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. 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; the Claude Code session it is run from (CLAUDE_CODE_SESSION_ID, as a client of that session, creating nothing); this repo's default (biff session use, or the last session new); a fresh session. 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.

Setup

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

Without a configuration file, biff uses the shared demo relay and finds peer repos in the GitHub organization that owns the repo's remote. Add a configuration file when you want a fixed team roster, your own relay, or a different set of peer repos. Commit it as .punt-labs/biff/config.yaml:

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

relay:
  url: "tls://connect.ngs.global"

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.

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 run your own relay, 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 (once per repo, same as /biff enable):

    • 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 runs biff enable once

    biff disable removes all of it.

Run biff doctor to check the result. Installing has the full guide.

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 channels to monitor, no threads to catch up on, no emoji reactions to parse. Communication is pull-based: you decide when to engage.

Documentation

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

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

License

MIT

Metadata

Release files for punt-biff 1.23.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for punt-biff 1.23.0
File Size Uploaded Provenance Actions
punt_biff-1.23.0.tar.gz 300.0 kB With provenance Details for punt_biff-1.23.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for punt-biff 1.23.0
File Interpreter ABI Platform Actions
punt_biff-1.23.0-py3-none-any.whl Python 3 none any Details for punt_biff-1.23.0-py3-none-any.whl

Total release size: 634.6 kB

Release files / punt_biff-1.23.0.tar.gz

Download URL punt_biff-1.23.0.tar.gz
Size 300.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5bef0a32f00392bd03fcd1594842920971010a9d6c96606253a93a245e27e5fa
BLAKE2b-256 checksum
How to use checksums
25af6553dd1da2a1b205c2fdcab968cdbe7179df10a9854a8e695aa1ee26268e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / punt_biff-1.23.0-py3-none-any.whl

Download URL punt_biff-1.23.0-py3-none-any.whl
Size 334.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
657842b3175ffffb85cc11fe39637b6f52897289fd31334713defb0424938c7c
BLAKE2b-256 checksum
How to use checksums
86a8ee5dcbc674961b7a6b35067f03763e8635431eab4c0f97589b415d62002b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for punt-biff 1.23.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for punt_biff-1.23.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.23.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page