How to Connect AI to Billions of Legal Documents
Simon Eskildsen, Jacob Lauritzen
- When
- Tuesday, June 302:25 PM – 2:45 PM · 20 min
- Where
- Track 3San Francisco, CA · imported from ai.engineer's public schedule feed
About this session
Legora’s foundational engineering challenge is connecting frontier LLMs to billions of legal documents so the models can efficiently solve end-to-end legal workflows without burning extra tokens. We’ll share the retrieval architecture we built with turbopuffer that achieves: 1. Strict data isolation across millions of legal cases in a very security-conscious domain 2. Predictable search performance (<100ms p90 latency) on large contexts 3. High retrieval quality (95%+ recall@10) with fewer agent loops We’ll retrospect on two architectures that failed to achieve all 3 (and why), and the key design factors that make the current solution work at our scale. Practical takeaways include: - How to evaluate per-tenant vs shared-index retrieval under strict data isolation - How to efficiently index and retrieve context to maximize relevance per input token - How to build a highly intelligent AI application when your inference budget is constrained
Speakers (2)
CEO and co-founder, turbopuffer
Co-founder and CEO at turbopuffer. Formerly Principal Engineer at Shopify, where he helped scale infra from 1K → 1M RPS.
More in Search & Retrieval
- Pinecone 2.0Tuesday, June 30 · 10:45 AM – 11:05 AM · Track 3
- The unreasonable effectiveness of BM25 for agentic searchTuesday, June 30 · 11:10 AM – 11:30 AM · Track 3
- The Search Engine for the Agentic WebTuesday, June 30 · 11:40 AM – 12:00 PM · Track 3
- Rebuilding the web for agentsTuesday, June 30 · 12:05 PM – 12:25 PM · Track 3
- If we want them to do Knowledge Work, we need to design Knowledge AgentsTuesday, June 30 · 1:30 PM – 1:50 PM · Track 3
For developers: this programme is open data — JSON, iCal, schedule XML and an MCP endpoint.Show endpointsHide
- JSONEvery published session and speaker, in one request./aie-worldsfair-2026-import/feed.json
- iCalSubscribe in Google, Apple or Outlook Calendar./aie-worldsfair-2026-import/feed.ics
- Schedule XMLfrab / pentabarf — the format conference apps import./aie-worldsfair-2026-import/feed.xml
- MCP + RESTPoint Claude at the programme. OpenAPI 3.1 included./agents
No key, no signup, CORS open. Everything here is generated from the same data the organisers edit.