State Payload

5.9KB baseline at 36 nodes. Grows with history but <50KB for full sessions. Not a bottleneck.

Polling vs Streaming

Polling chosen for simplicity. 3-5ms latency confirmed. Streaming (LangGraph astream) available as future upgrade.


LAYER 3: THE GRAPH / Pi RUNTIME — LangGraph Backend

IMPORTANT: The LangGraph configurations below are RECOMMENDATIONS based on our prototyping. The implementation team is free to explore and implement any LangGraph config that works best — use what’s here as a starting point, not a constraint. Whatever you choose, document it properly in the Forgejo repo so it’s traceable.

LOCKED (Non-Negotiable)