smif

module
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: MIT

README

smif

Every agent. Every machine. One terminal.
Claude Code on your laptop, Codex on your desktop, OpenCode and Hermes next to them. One list, and you can write to any of them.
Keep your terminal. Nothing to migrate, and your sessions run with or without smif.

smif.dev · Install · Docs

Latest release macOS and Linux MIT licence

Every agent. Every machine. One terminal. Claude Code on a laptop, Codex on a desktop, OpenCode on a server and Hermes in an office, each with its logo, join one list in smif, and a line typed there goes to the session on that machine.

Features

Install

curl -fsSL https://smif.dev/install.sh | sh
smif

smif finds your open sessions on its own, with no config. It needs one supported agent and git, on macOS or Linux. Messages, workers and forks need Claude Code 2.1.

Other ways to install

The script puts smif in ~/.local/bin and checks its checksum (read it). Set SMIF_INSTALL_DIR for another folder.

go install github.com/appnice/smif/cmd/smif@latest   # Go 1.27.2 or newer

Binaries are on the release page. They are not notarized, so on macOS a file saved from a browser needs xattr -d com.apple.quarantine smif.

See every session

Row Meaning
! 3m … needs you Stopped on a permission prompt or a question
▶ 4m12s … Bash npm run build Working, and the step it runs now
● new An answer you have not read
○ Idle

tab jumps to the next session that needs you. o brings its tab to the front.

smif never answers a permission prompt for you.

Answer from one place

enter opens a chat with the selected session.

  • Idle: smif types your prompt into its tab. This works in Terminal.app, iTerm2, tmux and herdr.
  • Busy or waiting: the text waits in a queue and goes in when the session is idle. ctrl+f asks a read-only fork instead, which needs smif init.

A long paste stays whole, ctrl+v attaches an image, and smif warns you before it sends something that looks like a secret.

Key Does
tab Next session that needs you
enter Chat
o Go to the session's tab
p Send a saved prompt
n New session in the same folder
m Machines
y Copy the newest code block
Y Copy the newest answer
mouse drag Select inside one pane and copy
? All keys

Other machines

Press m in smif, or run smif remote add. Pick a machine from your network, ~/.ssh/config or Tailscale, or type an address, and smif sets it up. You type the password once.

You can read its sessions here, and a session that starts to wait notifies you. Writing is off until you turn it on for that machine with w. Then you can type into its sessions and start new ones with n. smif uses its own key, which cannot open a shell, and there is no server in the middle. See docs/usage.md.

Stop watching the screen

smif sends a notification when a session starts to wait, or answers after a long turn.

With smif install, the status line of each session names the others:

! shop waits · ● docs, scraper answered

smif install also adds hooks, /smif, the MCP server and a background service. It backs up every file it changes.

Send messages between projects

Sessions can ask each other things, like mail between projects:

ask the web agent if v2.3 is live

The message waits on disk. Your rules decide what handles it, and your open sessions are not interrupted.

Message Handled by You get
A question with a known answer A script, no model An answer in about 25 ms
A crash or a code question A background claude -p with locked tools A summary, and a fix as a branch to merge
A note, like a finished build The digest One line in /smif
A decision for you You A notification

Set it up with smif install and smif init. See docs/messages.md.

Other agents

Claude Code, Codex, OpenCode and Hermes are checked against a real agent. The rest come from reading their source, so expect faults.

A new Codex or OpenCode session takes prompts from smif after its first message.

Agent Support
Claude Code Everything
Codex See, type when idle, queue. Cannot see an approval prompt, so no needs you
OpenCode, Hermes See, type when idle, queue. An approval reads as busy, so no needs you
Qwen Code, GitHub Copilot CLI, Factory Droid Read only, not verified
21 more, in a herdr pane Name, folder and state, not verified
Any other agent, with [harnesses.<name>] in the config Name and folder, see docs/agents.md

Mail also works between Claude Code and Codex, so one can ask the other to review a diff (docs/messages.md). Forks work with Claude Code only. See docs/agents.md.

Coming from Conductor?

Conductor's cloud ends on November 20 and its Mac app winds down in 2027. smif is a different kind of tool: it does not create workspaces, it gives you one list of the sessions you already run.

Conductor smif
Sessions Created inside the app The ones you already have open
Where you work In the app In your own terminal
Workspaces A git worktree per task Any folder or worktree you use
Review and merge In the app Your own git tools
Agents Claude Code, Codex, Cursor Claude Code, Codex, OpenCode, Hermes, more coming soon
Systems macOS macOS, Linux
Other machines Its cloud, ending November 20 Yours, over ssh
Code No public repo Open, MIT
Future Mac app winds down in 2027 MIT, and your sessions run without it

As of November 2026.

How it works

Claude Code's session files, transcripts and hooks feed the local smifd daemon (SQLite, a Unix socket with mode 0600, one per user), which feeds the smif view, the status line inside every session, notifications and your terminal tabs.

smif reads the files your agents already write, and one local daemon keeps the state. Nothing leaves your machine: no server, no cloud, no telemetry. The exceptions are the machines you add and a phone ping that you turn on with daemon.notify_url: it sends the agent or folder name and what happened, with no prompt or answer (docs/safety.md).

Uninstall

smif uninstall

This puts back every file byte for byte. Your data stays in ~/Library/Application Support/smif or ~/.local/share/smif until you delete it.

Docs

To work on smif, run make check, or make check-linux for Docker.

License

MIT

Claude Code, Codex, OpenCode and Hermes belong to their makers. smif is an independent project, not affiliated with any of them.

Directories

Path Synopsis
Command bench is Smif's benchmark (docs/rfc-benchmark.md, tiers S, R and T).
Command bench is Smif's benchmark (docs/rfc-benchmark.md, tiers S, R and T).
cmd
smif command
Command smif is the Smif CLI, daemon, MCP server, hooks and status line in one static binary (RFC 4.1).
Command smif is the Smif CLI, daemon, MCP server, hooks and status line in one static binary (RFC 4.1).
internal
api
Package api is Smif's wire protocol: newline-delimited JSON-RPC 2.0 over a Unix socket (RFC 5.4), plus the request and response types of every method in RFC 7.1.
Package api is Smif's wire protocol: newline-delimited JSON-RPC 2.0 over a Unix socket (RFC 5.4), plus the request and response types of every method in RFC 7.1.
audit
Package audit mirrors committed audit rows into the append-only daily JSONL log (RFC 8.1, 8.3).
Package audit mirrors committed audit rows into the append-only daily JSONL log (RFC 8.1, 8.3).
auth
Package auth manages agent tokens, run-scoped worker tokens and peer credential checks (RFC 5.4, 8.2).
Package auth manages agent tokens, run-scoped worker tokens and peer credential checks (RFC 5.4, 8.2).
blob
Package blob is content-addressed attachment storage under blobs/sha256/ab/cd<rest> (RFC 8.1).
Package blob is content-addressed attachment storage under blobs/sha256/ab/cd<rest> (RFC 8.1).
config
Package config loads and validates ~/.config/smif/config.toml (RFC 7.6).
Package config loads and validates ~/.config/smif/config.toml (RFC 7.6).
daemon
Package daemon wires Smif together: the socket API, the store, the router, the scheduler, the supervisor and the runners.
Package daemon wires Smif together: the socket API, the store, the router, the scheduler, the supervisor and the runners.
envelope
Package envelope defines the immutable message envelope (RFC 5.1) and the limits checked at ingress.
Package envelope defines the immutable message envelope (RFC 5.1) and the limits checked at ingress.
harness
Package harness is the layer between the daemon and each coding agent's own files (ADR-0019).
Package harness is the layer between the daemon and each coding agent's own files (ADR-0019).
harness/claude
Package claude is the Claude Code provider (ADR-0019): session files, transcripts, the file status, the fork route, the process name and the history of past sessions (history.go, ADR-0021).
Package claude is the Claude Code provider (ADR-0019): session files, transcripts, the file status, the fork route, the process name and the history of past sessions (history.go, ADR-0021).
harness/codex
Package codex is the Codex CLI provider (ADR-0019).
Package codex is the Codex CLI provider (ADR-0019).
harness/copilot
Package copilot is the GitHub Copilot CLI provider (ADR-0019).
Package copilot is the GitHub Copilot CLI provider (ADR-0019).
harness/droid
Package droid is the Factory Droid provider (ADR-0019).
Package droid is the Factory Droid provider (ADR-0019).
harness/hermes
Package hermes is the Hermes Agent provider.
Package hermes is the Hermes Agent provider.
harness/opencode
Package opencode is the OpenCode V2 provider (ADR-0019).
Package opencode is the OpenCode V2 provider (ADR-0019).
harness/qwen
Package qwen is the Qwen Code provider (ADR-0019).
Package qwen is the Qwen Code provider (ADR-0019).
install
Package install adds and removes Smif's hooks, status line, slash command, MCP registration and service unit (RFC 7.3, 7.4, R-OPS-1).
Package install adds and removes Smif's hooks, status line, slash command, MCP registration and service unit (RFC 7.3, 7.4, R-OPS-1).
machines
Package machines adds another machine to the session list (ADR-0024): it finds candidates, and it runs the one setup both `smif remote add` and the Machines screen use.
Package machines adds another machine to the session list (ADR-0024): it finds candidates, and it runs the one setup both `smif remote add` and the Machines screen use.
mcpserver
Package mcpserver is the stdio MCP server interactive sessions and onward-enabled workers use to send mail (RFC 7.2).
Package mcpserver is the stdio MCP server interactive sessions and onward-enabled workers use to send mail (RFC 7.2).
notify
Package notify raises OS notifications for needs_human, dead letters and budget exhaustion (RFC 7.4).
Package notify raises OS notifications for needs_human, dead letters and budget exhaustion (RFC 7.4).
paths
Package paths resolves Smif's config, data and socket locations.
Package paths resolves Smif's config, data and socket locations.
presence
Package presence turns Claude Code hook and status-line payloads into presence updates (RFC 6.4, 7.4).
Package presence turns Claude Code hook and status-line payloads into presence updates (RFC 6.4, 7.4).
router
Package router decides, in code, how a message is handled (RFC 6.1, 6.6, R-ISO-3): allowlists first, then hop and thread guards, then the first matching rule.
Package router decides, in code, how a message is handled (RFC 6.1, 6.6, R-ISO-3): allowlists first, then hop and thread guards, then the first matching rule.
runner
Package runner defines the handler interface and the structured result every handler returns (RFC 6.3, 7.5, R-RUN-2).
Package runner defines the handler interface and the structured result every handler returns (RFC 6.3, 7.5, R-RUN-2).
runner/claude
Package claude runs Claude Code workers headless (RFC 6.3).
Package claude runs Claude Code workers headless (RFC 6.3).
runner/codex
Package codex runs a read-only mail worker on `codex exec` (ADR-0022).
Package codex runs a read-only mail worker on `codex exec` (ADR-0022).
runner/command
Package command runs deterministic command handlers (RFC 7.5): the envelope on stdin, one JSON result object on stdout, no LLM.
Package command runs deterministic command handlers (RFC 7.5): the envelope on stdin, one JSON result object on stdout, no LLM.
scheduler
Package scheduler orders runnable messages and enforces concurrency caps (RFC 6.5, R-CON-1): one worker per agent, a global worker cap, and a separate command-handler pool.
Package scheduler orders runnable messages and enforces concurrency caps (RFC 6.5, R-CON-1): one worker per agent, a global worker cap, and a separate command-handler pool.
statusline
Package statusline renders Smif's status-line segment and wraps an existing status-line command (RFC 7.4, R-HUM-1).
Package statusline renders Smif's status-line segment and wraps an existing status-line command (RFC 7.4, R-HUM-1).
store
Package store owns Smif's SQLite database: messages, runs, presence, cursors, budgets, blobs, threads and the audit table (RFC 8.1).
Package store owns Smif's SQLite database: messages, runs, presence, cursors, budgets, blobs, threads and the audit table (RFC 8.1).
supervisor
Package supervisor runs handler processes in their own process group so a timeout or cancel kills the whole tree with kill(-pgid) (RFC 4.2, 6.7).
Package supervisor runs handler processes in their own process group so a timeout or cancel kills the whole tree with kill(-pgid) (RFC 4.2, 6.7).
ui
Package ui is the human terminal UI (`smif ui`): a Bubble Tea program that polls the daemon socket with the human token and draws the overview.
Package ui is the human terminal UI (`smif ui`): a Bubble Tea program that polls the daemon socket with the human token and draws the overview.
workspace
Package workspace manages per-agent git worktrees and thread branches (RFC 6.4, D5).
Package workspace manages per-agent git worktrees and thread branches (RFC 6.4, D5).
site
demo/fakeclaude command
Command claude stands in for a Claude Code process in the site's recordings (director.py): it waits until it is killed, while its tty echoes whatever Smif types.
Command claude stands in for a Claude Code process in the site's recordings (director.py): it waits until it is killed, while its tty echoes whatever Smif types.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL