How an AI agent answers a question.
A live, deterministic walk through the pipeline behind Member Assistant — the agent I built at ID.me. Pick a question, watch it get routed to a tool, see what gets retrieved, and toggle grounding on and off to see the difference it makes. Every stage is client-side and reproducible.
Ask
A user question is the input to the whole pipeline. Pick a preset or type your own — every downstream stage will update.
Plan · route to a tool
The agentic core. Given the question, the agent decides which tool to call. In production this is an LLM classifier; here it's a keyword router so the choice is inspectable.
Retrieve · score every doc
The chosen tool scores every offer in the corpus against the query. Bars are literal — the height is the score. The top 3 (highlighted) are what the agent will actually reason over.
- Whole Foodsgrocery · plus1.00
- Trader Joe'sgrocery · member0.38
- Sproutsgrocery · member0.38
- REIoutdoor · plus0.38
- Patagoniaoutdoor · member0.38
- Delta Air Linestravel · elite0.38
- Marriotttravel · plus0.38
- Appleelectronics · member0.38
- Best Buyelectronics · plus0.38
- Nikeapparel · member0.38
- Lululemonapparel · plus0.38
Ground · vs. ungrounded
The core interaction. When ungrounded, the agent answers from parametric memory alone and can invent numbers with total confidence. When grounded, it composes strictly from what was retrieved.
Answer · with citations
The final response. In the grounded case each claim links back to the retrieved doc it came from — click a citation to jump back to stage 3.
Yes — Whole Foods offers 5% cashback on groceries for Plus-tier members o-02. It stacks with Prime discounts at checkout.