Skip to content

Pi-treeAI that reads with you

Load books, research papers, news feeds, and YouTube videos — then explore them in branching, tree-structured AI conversations. Local-first, open source, bring your own key.

News session — AI summary, branching into topics, tree navigation, streaming response

Why Pi-tree?

AI makes you productive where you already understand. It confuses you where you don't. Most AI tools help you skip past material — paste, summarize, move on. That works when you already understand the domain; when you don't, skipping is exactly the problem. Pi-tree treats reading as a process worth having — one that expands what you're capable of understanding.

Pi-treeChatGPT / ClaudeNotebookLMObsidian + AI
FocusComprehension & explorationGeneral-purpose Q&ADocument Q&ANote-taking
Conversations🌳 Tree — branch, explore, returnLinear chatLinear chatLinear chat
AI approachAgentic — tools & skills over local dataPrompt + context windowRAG over uploadsPlugins over local vault
SourcesBooks, papers, news feeds, YouTubeFile uploads, webMulti-doc notebooksMarkdown vault
ExtensibilitySkills, plugins, MCP bridgeGPTs (cloud-hosted)NoneCommunity plugins
Model choiceBYOK — any provider or localVendor-lockedGoogle onlyPlugin-dependent
DataLocal-first, self-hostedCloudCloudLocal

What a reading session looks like

📖 Reading: Thinking, Fast and Slow (Kahneman)

Root
├── What is System 1 vs System 2?
│   ├── How does this relate to cognitive biases?
│   │   └── Anchoring bias deep-dive
│   └── Real-world examples in decision making
├── Chapter 3: The Lazy Controller
│   └── Why do we avoid effortful thinking?
└── Comparison with Nassim Taleb's ideas
    ├── Black Swan connection
    └── Antifragility and heuristics

Each node is a conversation branch with full context. Go deep on any concept, then navigate back to explore something else — no context lost.

Why trees work better for LLMs

The tree structure isn't just a UX choice — it makes the AI more accurate and cheaper to run.

In a linear chat, every message is packed into the context window. After 30 turns spanning three topics, the model hallucinates, loses the thread, or ignores your latest question. Trees fix this at the architecture level:

  • Focused context — Each branch carries only its path from root to current node. Less noise → more accurate responses.
  • Token savings — A 50-message linear chat sends all 50 every turn. A tree with 5 branches of 10 sends only ~10. Lower cost, faster responses.
  • Less hallucination — Context pollution is a primary cause of hallucination in long conversations. Isolated branches keep the model grounded.
  • Longer effective conversations — Linear chats degrade well before the context limit. Trees keep each branch short, so quality stays high across hundreds of messages.

Who Is This For?

  • 📚 Nonfiction readers — you're reading a dense chapter and AI summaries skip the part you actually don't understand. Pi-tree stays in that gap with you until you do.
  • 🎓 Researchers & students — you're outside your subfield and every paper assumes background you lack. Branch into what you don't know, then return to the argument.
  • 📰 News followers — you read the headline but can't evaluate the claim. Turn feeds into conversations where you build context over time, not scroll past it.
  • 🔧 Developers — you're in an unfamiliar codebase or domain. Build custom plugins to explore anything conversationally.

Security & Privacy

Local-first — no cloud, no telemetry, no phone-home. But "local" isn't the interesting part.

Most AI agents get broad access — shell, filesystem, network — and rely on you to supervise. Pi-tree flips this: each session type declares exactly which tools the agent can use, and everything else is blocked.

  • 🛡️ Session-scoped permissions — Each session type declares in YAML exactly which tools the agent can use. A book reading session gets 5-8 purpose-built tools. No shell. No file editing. No database writes. Audit the profiles, override them, create your own.
  • 📡 Fully offline — pair with Ollama for air-gapped operation. No internet required.
  • 📖 Open source — AGPL-3.0. Audit the code, fork it, self-host it.

Pi-tree's agent is a reading companion, not a general-purpose agent. The permission model reflects that.

Learn more about the vision →

Released under the AGPL-3.0 License.