Feature: LangGraph integration cookbook
A common question will be: "how do I use Dendrite with LangGraph / LlamaIndex / AutoGen?"
This issue tracks creating a working example that wires Dendrite's fork-based KV cache into an agent framework's tree search loop.
Scope
- Example: LangGraph + Dendrite for Tree-of-Thought reasoning
- LangGraph handles the graph structure / decision logic
- Dendrite handles the KV cache (O(1) fork per branch)
- Show: N-branch exploration with shared prefix memory
Proposed Example Structure
examples/
langraph_tot/
README.md # What it does, how to run
agent.py # LangGraph StateGraph definition
dendrite_bridge.py # Dendrite session manager, fork on branch
run.py # Entry point with a sample reasoning task
Why This Matters
Makes the value proposition concrete for Python users. Most HN/Reddit readers will want to know "can I drop this into my existing agent stack?" — this example answers that question.
Complexity
Medium — requires Python bindings (#2) first, OR can use subprocess/HTTP bridge as interim. Good first project for someone comfortable with both LangGraph and Rust FFI.
Feature: LangGraph integration cookbook
A common question will be: "how do I use Dendrite with LangGraph / LlamaIndex / AutoGen?"
This issue tracks creating a working example that wires Dendrite's fork-based KV cache into an agent framework's tree search loop.
Scope
Proposed Example Structure
Why This Matters
Makes the value proposition concrete for Python users. Most HN/Reddit readers will want to know "can I drop this into my existing agent stack?" — this example answers that question.
Complexity
Medium — requires Python bindings (#2) first, OR can use subprocess/HTTP bridge as interim. Good first project for someone comfortable with both LangGraph and Rust FFI.