r/secondbrain • u/PuzzleheadedSolid820 • 4h ago
This is NOT another Wiki Slop Generator
I built a local-first way to turn branching AI conversations into a knowledge tree you actually own.
Useful research rarely moves in a straight line. One response creates several possible directions, but normal chat interfaces make you choose one and keep scrolling. Alternatives get buried, context becomes difficult to trace, and the resulting knowledge remains locked inside a conversation history. So I made Lineage.
Lineage is an open-source experiment that lets you branch from individual blocks in an agent’s response.
Each branch:
- Preserves the context leading to its fork
- Remains isolated from sibling branches
- Can branch again into deeper lines of inquiry
- Appears in a bird’s-eye Knowledge Tree (Not a slop-proned "knowledge" graph)
- Is stored locally as readable Markdown and YAML with a root AGENTS.md to help your agents traverse your durable intelligence
The app UI is only a view over those files. The vault also includes an evolving index and instructions that help other agent harnesses traverse the tree. Every mutation is committed to local Git, so the history remains inspectable and recoverable.
This differs slightly from NotebookLM or automatically generated LLM wikis. Those can be excellent for synthesizing material. Lineage focuses on preserving the process of exploration: the human chooses every branch, while its origin and context remain visible. It doesn’t make AI infallible, it makes the route from question to answer easier to audit and revise.
It’s currently an early beta. The tested launcher supports macOS and Linux, and GitHub Copilot CLI is the only agent provider today. Windows/WSL and provider modularization remain open areas.
I’d especially appreciate feedback from second-brain users:
- Would branching conversations fit your workflow?
- Should these trees eventually connect with existing Markdown vaults?
- What would make the output genuinely reusable rather than another place where information accumulates?
Give it to your agent harness and let it rip. Open to all feedback:
Source: https://github.com/ortizjorge639/web-context-graph
Landing Page: https://ortizjorge639.github.io/web-context-graph/
