FreeBSD oriented "herdr" TUI multiplexer dedicated to AI agents (tmux for agents)
  • Go 95%
  • Shell 4.8%
  • Makefile 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Clawdie AI Assistant 7607e585f9
All checks were successful
go-ci / linux (build, vet, test) (push) Successful in 1m45s
verify-evidence / verify evidence reports (push) Successful in 3s
Merge pull request 'chore(docs): move jev and decision model research to colibri repository' (#42) from chore/move-research-to-colibri into main
Reviewed-on: #42
2026-10-08 13:43:34 +00:00
.forgejo/workflows ci: add race suite and document evidence-verifier scope 2026-10-02 14:44:12 +02:00
cmd/herdr feat(server): implement CLI baseline, paths, and socket ping server 2026-09-29 13:46:44 +02:00
docs chore(docs): move jev and decision model research to colibri repository 2026-10-08 15:37:35 +02:00
internal test(cli): isolate sockets via CLAWDIE_HOST_ROOT and paths.SocketPath 2026-10-06 10:49:16 +02:00
reports/jev fix(ci): make verify-evidence fail closed on missing repos and clarify upstream hygiene wording 2026-10-02 08:51:49 +02:00
scripts fix(scripts): fallback to report-level commit in verify-evidence.sh 2026-10-02 13:05:02 +02:00
testdata/contracts/herdr-slice Merge pull request 'docs(contracts): capture Milestone 1 event and persistence contracts (Step 0)' (#31) from docs/milestone-1-contract-capture into main 2026-10-03 04:26:30 +00:00
vendor vendor: align libghostty-vt to Herdr 0.9.3 snapshot with Zig 0.16.0 2026-10-01 09:28:10 +02:00
.gitattributes feat: bootstrap Go build and Ghostty vendor 2026-09-21 02:34:08 +02:00
.gitignore server, build: fix pane.resize data race and address review nits 2026-10-02 07:32:54 +02:00
AGENTS.md fix(paths): resolve the herdr socket under the host-root run dir 2026-10-05 13:04:45 +00:00
go.mod feat: bootstrap Go build and Ghostty vendor 2026-09-21 02:34:08 +02:00
HOWTO.md docs: add build statistics screenshot 2026-09-30 08:42:31 +02:00
LICENSE docs: adopt Apache downstream port policy 2026-09-20 23:01:29 +02:00
Makefile server, build: fix pane.resize data race and address review nits 2026-10-02 07:32:54 +02:00
NOTICE docs: adopt Apache downstream port policy 2026-09-20 23:01:29 +02:00
README.md docs(howto): correct remote-attach status for bherdr and FreeBSD 2026-09-30 08:05:02 +02:00
THIRD_PARTY_NOTICES.md fix: sanitize Ghostty vendor boundary 2026-09-26 14:20:19 +02:00

bherdr

bherdr is a FreeBSD-focused Go port of herdr, the terminal workspace manager for AI-agent sessions. It carries forward a versioned subset of Herdr's CLI, socket API, session format, and agent-detection contracts.

The installed command remains herdr; bherdr is the repository and package identity.

Role in Clawdie

bherdr owns the terminal/session boundary:

zot / pi  ←→  bherdr (`herdr` process, panes, PTYs, sessions)
                         │ newline-JSON socket API
                         ▼
                 Colibri control plane
                 tasks, lifecycle, MCP, ledger

Colibri consumes bherdr as a process through its socket API. There is no shared library, Go dependency, or cgo/FFI boundary with Colibri; bherdr remains the terminal/session component and Colibri remains the orchestration and memory component.

What bherdr provides

  • FreeBSD-native process and agent detection through kinfo_proc.
  • Terminal sessions, panes, PTY ownership, events, and the compatible socket contract.
  • FreeBSD jail integration and packaging-oriented deployment primitives.
  • Compatibility with the observed herdr protocol and session behavior.

The compatibility contract is docs/COMPATIBILITY-SPEC.md. It defines the supported surface and records source and behavioral provenance.

Relationship to Colibri memory

Memory is not owned by bherdr. Colibri's planned memory layer presents one agent-facing contract: remember, recall, forget, and improve. OpenViking provides fuzzy/semantic recall; Oxigraph provides exact relational facts. Agents reach both through Colibri, never by calling Oxigraph directly. The system of record is the source of truth; its concrete representation — authored files, Brain table, or another explicitly chosen store — remains open. OpenViking's semantic index and Oxigraph's graph are rebuildable projections. Every derived triple must be traceable to its source and carry a minimal provenance envelope (source_ref, derived_at, derivation_method as opaque fields); the richer provenance schema, retention, and promotion-from-derivation policy, together with authorship and write authority for canonical records, remain open design questions.

License and distribution

bherdr is distributed under Apache-2.0 as an attributable downstream port of Herdr. NOTICE, upstream attribution, and third-party notices record the distribution obligations. Qualified counsel must review Apache compliance, third-party notices, and Herdr trademark/command-name use before public distribution.

Build and packaging decisions are recorded in docs/wiki/, including the Apache-port decision.

Repository layout

  • HOWTO.md — short answers to recurring operational questions (remote-attach status, session nesting)
  • docs/COMPATIBILITY-SPEC.md — implementation contract and behavioral evidence
  • docs/PHASE-01-SLICE.md — bherdr ↔ Colibri coexistence plan
  • docs/VENDOR-HYGIENE-REVIEW-2026-09-29.md — pinned vendor review and unresolved Fira Code distribution evidence
  • docs/wiki/ — architecture and design decisions
  • AGENTS.md — contributor and agent conventions