sous v0.28.1 · changelog

One memory across all your projects, for you and your agents.

Keeping twenty repositories moving across branches, terminals, and coding agents breaks down when every tool traps context inside a single folder. sous indexes live git, GitHub, GitLab, and repo docs alongside private notes and sourced decisions — ready when you open a shell and handed to your agent when a session starts, without holding it all in your head or hand-maintaining status files everywhere.

brew install bilal-/tap/sous && sous setup
View on GitHub
  • Plain files in ~/.sous

    Versioned local JSON with locked atomic writes. No hosted account or daemon.

  • Zero model calls or embeddings

    Deterministic git signals, session hooks, and fast word and prefix recall.

  • 11 agent tools + any terminal

    Context stays with the project across every coding agent and shell you open.

❯ sous hereapi · main · last commit 1h ago  "Retry a slow shard"  3 commits unpushed · main · 1 file uncommitted · mainlast session · agent · 2026-11-19 · main · ended: "The facets are cached and paged. Next: retry a slow shard, then de…"  files · shard.go  recent · agent · feat/facets · 2026-11-17 · "Facet counts match shard totals; ready to merge."project docs · README.md · STATUS.mdnext step · retry a slow shard, then deploy (STATUS.md, 3h ago)  status · Facets are cached and paged.  note · session activity is newer than STATUS.mdon you: 1 · on others: 1 · ideas: 1  3  check the index after the deploy  20h  5  Priya is reviewing the facets PR  1d  (them)  4  try a smaller shard size  2d  (idea) memory · 1 current  sous recall -p ~/code/acme/api --history for previous decisions and handoffs  m:1 decision · acme/api · Use cursors across shard boundaries so new results do not shift… · docs/design.md · verified  sous recall --show <m:id> for a complete record and its source efforts · sous effort <name> for linked work and dependencies  e:1 Search launch · 3 linked open · 0 completed · 1 blocked   sous note "…" to add · sous done <n> to close · sous kind <n> me to escalate
01 Branch & unpushed commits
Current branch, last commit subject, and commits sitting ahead of origin before you touch a file.
02 Files in flight & other branches
Uncommitted files (shard.go) plus how recent sessions ended on sibling branches like feat/facets.
03STATUS.md + newer-session warning
Reads the committed next step and flags when local session activity is newer thanSTATUS.md.
04 Verified project memories
Surfaces sourced decisions (m:1) and cross-repo efforts (Search launch) scoped to this repo.
01 // Resume & captureoffline hook · <5s budget · zero LLM summarization

Every session starts knowing where you left off.

Re-opening a repo after ten days should not begin with archaeological digging through scrollback. sous setup wires lightweight hooks into eleven agent tools so startup context and session handoffs work automatically.

  1. 01 · Startup

    Offline brief in under 5s

    Injects branch state, open notes, STATUS.md, verified project memories, and any background run waiting on you — never waiting on the network.

    sous hook session-start
  2. 02 · Plain facts

    Hooks record what happened

    Across start, stop, compaction, and exit where supported, sous records branch, your prompt, uncommitted files, latest commit, and last reply — nothing summarized by an LLM.

    branch · prompt · files · commit · reply
  3. 03 · Portable

    Switch agents freely

    Working context belongs to the repository directory, not one tool’s transcript. Stop in one agent and continue in another, or check it yourself in a shell.

    sous here --brief
  4. 04 · Precedence

    Team docs first, ~/.sous safety net

    STATUS.md wins whenever it gives a next step, with a warning when session activity is newer. When STATUS.md is absent, ~/.sous catches handoffs privately.

    STATUS.md → private fallback
[sous] Automatic cross-repo working memory (private in ~/.sous/, never committed). Read the context below and any repo STATUS.md/FOLLOWUPS.md first; before asking what was decided or left off, run `sous recall <words>` (--all across projects). Save durable decisions, constraints, or lessons with `sous remember "<what and why>"` (-k decision|constraint|lesson|question), and to-dos with `sous note "<task>"`. When wrapping up work, update the repo's STATUS.md/FOLLOWUPS.md first if present (never create them unasked), otherwise save a concise private handoff with `sous remember`. Run sous help for the rest.[sous] Runs waiting on the user:  6 billing: run needs you · Fix the flaky invoice test. · "Two fixtures cover the flaky tes…" · sous reply 6 "<answer>"api · main · last commit 1h ago  "Retry a slow shard"  3 commits unpushed · main · 1 file uncommitted · mainlast session · agent · 2026-11-19 · main · ended: "The facets are cached and paged. Next: retry a slow shard, then de…"  files · shard.go  recent · agent · feat/facets · 2026-11-17 · "Facet counts match shard totals; ready to merge."project docs · README.md · STATUS.mdnext step · retry a slow shard, then deploy (STATUS.md, 3h ago)  status · Facets are cached and paged.  note · session activity is newer than STATUS.mdon you: 1 · on others: 1 · ideas: 1  3  check the index after the deploy  20h  5  Priya is reviewing the facets PR  1d  (them)  4  try a smaller shard size  2d  (idea) memory · 1 current  sous recall -p ~/code/acme/api --history for previous decisions and handoffs  m:1 decision · acme/api · Use cursors across shard boundaries so new results do not shift… · docs/design.md · verified  sous recall --show <m:id> for a complete record and its source efforts · sous effort <name> for linked work and dependencies  e:1 Search launch · 3 linked open · 0 completed · 1 blocked   sous note "…" to add · sous done <n> to close · sous kind <n> me to escalate
02 // Remember & 5-source recalllocal word & prefix match · no vector DB

Team docs when a repo has them. Private memory when it doesn’t.

Hooks record session facts automatically; you or your agent save durable decisions, constraints, lessons, and private handoffs with sous remember (with optional--source and --verified). One sous recall <words> --all query searches five local sources at once — no embeddings or model endpoint.

  • m:

    Sourced memories

    Decisions, constraints, lessons, questions, and private handoffs with verification and supersession history.

    ~/.sous/memories.json
  • a:

    Agent disk memory

    Per-project memory files an agent keeps on disk, indexed read-only so any agent or terminal can search them.

    read-only · never written
  • d:

    Repo status docs

    Committed STATUS.md and FOLLOWUPS.md files across every repository in your configured code folders.

    STATUS.md · FOLLOWUPS.md
  • n:

    Private notes

    Open tasks on you, items waiting on others, and rough ideas you jotted down without opening a tracker.

    sous note · ~/.sous
  • s:

    Session history

    Rolling history of recent prompts, closing replies, branches, and modified files across agent sessions.

    up to 200 recent sessions
❯ sous recall shard --all5 memories · sous recall --show <m:id> for a full record  m:1 decision · acme/api · Use cursors across shard boundaries so new results do not shift… · docs/design.md · verified  s:1bfc2e9d handoff · acme/api · ended: The facets are cached and paged. Next: … · session · agent · main · unverified  d:74dc6b2f:STATUS.md handoff · acme/api · # Status Facets are cached and paged. ## Next step… · STATUS.md · unverified  s:3c3e6c8d handoff · acme/api · ended: Facet counts match shard totals;… · session · agent · feat/facets · unverified  n:4 handoff · acme/api · try a smaller shard size · note #4 (idea) · unverified

Verified decisions with provenance

Keep the file or link behind a choice, verify it against the repo, and supersede older records without losing history.

❯ sous recall --show m:1m:1 · decision · 2026-11-19T03:16:23Zproject · ~/code/acme/apiworkspace · ~/codesource · docs/design.mdauthor · humanUse cursors across shard boundaries so new results do not shift pages.verified · 2026-11-19T03:16:23Z · docs/design.mdsous recall -p ~/code/acme/api --history for previous decisions and handoffs

One effort across multiple repos

Connect the repositories, open notes, blockers, and decisions behind a single launch without moving issues out of their trackers.

❯ sous effort "Search launch"  e:1 Search launch · 3 linked open · 0 completed · 1 blocked  project · acme/api · workspace ~/code  project · acme/billing · workspace ~/code  1 send the pricing copy to Sam · me  3 check the index after the deploy · me  5 Priya is reviewing the facets PR · them  1 waits for 3  m:1 decision · acme/api · Use cursors across shard boundaries so new results do not shift… · docs/design.md · verified  tracker snapshot · 2026-11-19T03:16:24Z  sous show <n> for current work · sous effort link <name> --note <n> to connect it
03 // Cross-project triage & surfacesterminal · browser · menu bar · mobile

A note inside a repo can’t remind you the repo exists.

Tuesday’s review request, an unpushed feature branch, and a checkbox buried in a two-week old repo all slip the same way. sous scans every repo in your code folders and lines work up by whose move it is.

  • runs

    Needs you & runs

    Delegated worktree runs asking a question (needs you), working in progress, or finished and ready to review.

    sous reply · sous approve
  • action

    On you

    Pull request reviews requested from you, private notes marked me, and unchecked boxes in FOLLOWUPS.md.

    oldest waiting first
  • blocked

    On others

    Work waiting upstream on someone else: a teammate’s review, an external dependency, an app store check.

    tracked until closed
  • local git

    Unfinished

    Branches with no upstream, uncommitted files, unpushed commits, and stashes sitting across your local clones.

    live git scan
  • resume

    Next up

    Where each project says to pick up — oldest untouched first — reading STATUS.md first with private handoff and session fallback.

    STATUS.md · [session · branch]
  • New terminal (~5ms)Prints the cached board once per window so nothing slows down shell startup.
  • sous serve --openLoopback web board on 127.0.0.1 for triage, diffs, and replies.
  • SwiftBar & herdrmacOS menu bar counts and a native task pane built on protocol 1 snapshots.
  • On your phonePair with Shellbell to answer waiting runs away from your desk.
A task's detail pane in sous, with an agent's question and a reply field beside the list.A task's detail pane in sous, with an agent's question and a reply field beside the list.
Answer an agent question, review a branch, or close a follow-up from sous serve --open. Open image for full size.
04 // Worktree delegationisolated git worktree · ordinary push blocked

Hand a task to an agent. sous keeps track of it.

sous go <project> --run launches your agent headless inside a dedicated git worktree so your working checkout stays clean. Ordinary pushes are blocked inside the worktree until you inspect and approve the result.

  1. 01 · Delegate

    Isolated worktree, idempotent on retry

    Give a brief that states what done means. Retrying the exact command returns the existing run rather than starting a second copy.

    ❯ sous go billing --run "Fix the flaky invoice test.
    
    Done means it passes 20 runs in a row."
  2. 02 · Unblock

    Questions surface on your board

    When the agent hits a real choice, the run pauses as needs you labeled(agent) with the exact sous reply command to continue.

    ❯ sous show 66  billing  Fix the flaky invoice test.  (me · just now)   needs you · Two fixtures cover the flaky test. Keep the old one or the new one? (agent)   branch sous/run-6 · worktree ~/.sous/runs/85e12cd551eb/worktree · log ~/.sous/runs/85e12cd551eb/log   next: sous reply 6 "<answer>" · sous done 6
  3. 03 · Land or discard

    Explicit approval and clean teardown

    Review the worktree commits locally. Approve to push the branch and open a draft pull request, or discard and clean up the worktree in one step.

    ❯ sous approve 6          # push branch + open draft PR
    ❯ sous discard 6          # turn the result down
    ❯ sous done 6 --clean     # remove finished worktree
05 // Architecture, honesty & fitlive index · never a shadow tracker

Working memory, not another tracker to babysit.

sous has no sprints, story points, or cloud sync. Every architectural rule is chosen so you can trust what the headline says — especially when offline or when a remote service is down.

Fit · For you if

10–40+ repos across agents and shells

You jump between services, libraries, and side projects daily, work from terminals and coding agents, and want a live index rather than another PM board to curate.

multi-repo builders & maintainers
Fit · Probably not if

One repo all week or one team tracker

If your whole week lives in a single checkout, or every task already moves through one issue board you keep open all day, you do not need sous in the middle.

zero lock-in · plain files
Invariant 01

Missing never looks like zero

When GitHub or a plugin cannot be reached, the headline prints ? on you (github failed) instead of a calm zero, keeping last known rows marked (stale).

loud failures · preserved cache
Invariant 02

The tracker wins

Shared tasks stay in GitHub, GitLab, or FOLLOWUPS.md. Close a filed issue upstream and your local note closes automatically on the next check.

no duplicated status
Invariant 03

No model inside

Everything sous owns is plain versioned JSON in ~/.sous. No account, no telemetry, and no model API key. Read the privacy details.

~/.sous · MIT licensed
Invariant 04

Private until you ask

Notes, memories, and background runs stay on your machine. Writing anywhere others can see — sous file or sous approve — is always an explicit command.

explicit external writes
06 // Agents & plugin contractAXI-checked CLI · contract v0

AXI-compliant CLI. Four small plugin doors.

Agents call the exact same CLI you do, and built-in integrations run through the exact same executable doors as a 40-line shell script.

Built for the agent calling it, and for you.

  • Structured --json everywhere. Every read, mutation, and error emits deterministic JSON, never bare null.
  • Idempotent retries. Repeating sous note, sous done, or sous go --run safely converges instead of duplicating work.
  • Scoped next-step hints. Responses include the exact follow-up commands to run next; sous help holds the rest.
  • Strict exit codes & zero prompts. Distinct codes (0–5), offline 5-second hook bounds, and conformance to AXI.
❯ sous note -p api -k me "check the index after the deploy" --json{  "id": "3",  "did": "already_noted",  "ref": null,  "next": [    "sous done 3"  ]}
sous-signal-*

Finds what is waiting on you

Scans local folders or remote APIs and emits stable s: items with ages and refs.

Built in
git, FOLLOWUPS.md, GitHub, GitLab
Write your own
Jira, Linear, Gitea, CI pipelines, calendar holds
sous-backend-*

Files and reconciles notes

Creates shared issues when you run sous file and closes notes when upstream closes.

Built in
FOLLOWUPS.md, GitHub Issues, GitLab Issues
Write your own
Jira, Linear, Gitea, plain-text team backlogs
sous-launcher-*

Starts a tool in a project

Hands the terminal over to your chosen agent or editor inside the matched repo.

Built in
11 agent launchers via sous go
Write your own
Your editor, tmux session, devcontainer shell
sous-runner-*

Works a task in the background

Runs an isolated task, reports questions and status, and carries replies back.

Built in
7 headless worktree agent runners
Write your own
Orchid review queues, remote sandboxes, CI workers

Point it at your code folder. Then get back to work.

Run sous setup (or sous setup ~/code) to index your project folders, install shell and agent hooks idempotently, and see every file it touched.

brew install bilal-/tap/sous && sous setup

macOS and Linux · single static binary. Read the setup guide, design notes, or Commands.