Purpose
vivac is a provenance tree tool designed for coding agents. When developing with agents, work continuously spawns new work, and after a few layers it is easy to lose the thread of the original goal. The core idea of vivac is: each node records which node it was "born" from, so that months later it can still answer "why are we here."
It is aimed at developers who run multiple projects at the same time and need to switch contexts frequently. The author personally runs eight projects in parallel, five of which are large in scale, and vivac was built precisely to solve the two problems of "having to piece together already-settled decisions every time you return to a project" and "agents changing things that have already been settled."
Main capabilities
- Provenance tree: each node records its parent node, forming a traceable structure of decisions and work.
- Session briefing: automatically runs when a session opens
vivac session start, injecting the current position, settled decisions, and untouchable matters into the agent context. - Open/closed status:
vivac donewill refuse to mark something complete while there are still unclosed findings, and will explain what is missing;openlists pending items in order, showing at most ten. - Decision records:
--alternativesaves rejected options,--supersedeslinks overturning relationships,--againstrecords the rules or pillars on which the judgment is based. - Hypothesis abandonment:
abandonmarks refuted premises, and everything under them is abandoned accordingly, but content that can still be rescued remains at its birth location. - Web interface:
vivac webopens all local projects in the browser, to see which project has progress, which is stalled, the complete lineage of nodes, and the entire tree; the Agents page can compare native versions of different harnesses and apply synchronization plans; the Artifacts page connects retained deliverables with their producers and decisions that reference exact revisions. - Data portability:
.vivac/is a pure JSON lines file within the project, can be exported with a single command, and can be read without this binary. - Security constraints: redaction protection is performed on writes, no secrets, personal data, or file contents are stored, and no telemetry is sent.
How to use
Installation: each release provides precompiled binaries (x86_64 and aarch64 for Linux and macOS, x86_64 for Windows), listed in SHA256SUMS and with signed build provenance. After extracting, put vivac into PATH. You can also build from source from crates.io using Rust toolchain 1.89 or newer via cargo install . To upgrade, run vivac update.
Initial setup: run vivac setupin the folder where the agent is opened, then run vivac setup codex(for Codex). Setup installs hooks, the opening module, the server, and skills, and shows every file that will be touched and the exact command each hook will run.
Basic loop: when starting the first thread, explain what is being done, which creates an edge for free; then ask where you are and why.
Migrating an existing project:vivac setup does not automatically read other memory systems or files such as CLAUDE.md, AGENTS.md, MEMORY.md. You need to use vivac-migrate skill: the agent lists all sources, asks which to bring in, shows the plan before writing, checks what was written, then proposes retiring the other mappings one by one.
When to use
- Running multiple projects at the same time and needing to quickly restore context.
- Developing with an agent, where work spawns multiple layers of subtasks.
- Needing to record decisions along with their alternatives, reversals, and rationale.
- Wanting to keep the same record when switching between different harnesses or models.
- Needing to check project status yourself without asking the agent.
Limitations
- It saves tokens, but not all of them; the agent still needs to read files, reason, and explain.
- It cannot guarantee that nothing is forgotten, because all memory systems still depend on model judgment.
- It does not capture files automatically; Artifacts require explicit action.
- It does not read other memory systems or project documents; migration must be done by the agent under the user's decision.
- It is not recommended to use it alongside another memory system, because the two mappings will conflict.
- Performance budget: 50 ms for reads, 5 ms for writes; falling short will be pointed out.
- It does not store secrets, personal data, or file contents, and does not send telemetry.
- Pull requests are not open yet; see CONTRIBUTING.md for the reason.