Kai Faust
Engineering
Design
AI
3Branches

An AI assistant built to help you understand government

AIRAGEngineeringDesignNext.js

3Branches

Understanding law, government, and representatives requires time, money or trust in biased reporting. 3Branches mimics how human experts research government documents.

How It Works

3Branches Runtime Architecture

At the heart of 3Branches is an agentic search system built around a central AI Researcher that orchestrates multiple specialized components:

  • Fact Checker: Verifies claims and distinguishes fact from opinion before presenting information to users
  • Contextual RAG: Retrieves relevant passages from our database of government documents to ground responses in real source material
  • Citation Lookup: Tracks and surfaces proper citations for every claim, ensuring transparency and verifiability
  • Internet Search: Supplements the knowledge base with current information when needed
  • Document Summarizer: Condenses complex legal documents into digestible insights
  • Fast Document Summary Lookup: Provides instant access to pre-computed summaries for common queries about bills and executive orders

The system uses an agentic approach where the researcher model decides which tools to invoke based on the user's question, creating a dynamic workflow that balances speed with thoroughness. Simple queries about bill summaries get fast responses via cached lookups, while complex research questions trigger multi-step searches across documents, fact-checking, and synthesis.

Addressing Edge Cases

  • Default Claude AI sometimes accepts source material at face value. We engineered a critical lens: 3Branches distinguishes fact from opinion, questions claims, and credits predictions to their source.
  • Old training data needs to be addressed explicitly in prompt. When Trump was inaugurated, Claude's training data still assumed Biden was president. When someone mentions "the big beautiful bill," the AI knows they mean HR 1, not just any bill.

Design Philosophy

  • We wanted precision with personality. 3Branches is concise, properly cited, quote-enhanced, critical, helpful, and source-transparent. It has Claude's warmth but research-grade rigor.
  • We wanted it to be fast when questions are simple like understadning the summary of a bill. So we added a tool for just capturing a bill or executive order summary in a couple seconds.