> Markdown version of [/events/world-congress-2026-europe/sessions/1168-event-driven-ai](https://www.wearedevelopers.com/events/world-congress-2026-europe/sessions/1168-event-driven-ai). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Event-Driven AI Agents: Orchestrating Long-Context Legal Processing at Scale - **Date:** Thursday, Jul 9, 2026 - **Time:** 16:50–17:20 (30 min) - **Room:** Stage 3 - powered by AWS - **Event:** World Congress 2026 Europe ## Recording [Watch recording](https://www.wearedevelopers.com/videos/100168-event-driven-ai-agents-orchestrating-long-context-legal-processing-at-scale) ## Description Building AI agents that process legal documents with 10,000+ pages requires more than throwing context at an LLM. This talk dissects our production event-driven architecture. You'll learn: - Why synchronous LLM calls fail at legal document scale - the cold start and a timeout problem - Event-driven orchestration patterns for multi-step agent workflows (planning, dynamic loading, context assembly) - Long-context chunking strategies that preserve legal reasoning chains - Cost optimization: how we reduced per-request costs 73% through intelligent caching and selective context loading - Production failure modes: what breaks when agents plan incorrectly Concrete architecture, real metrics, battle-tested patterns. No theoretical frameworks - this is what actually runs in production, processing legal contracts for 10M+ users. ## Speaker ### [Luca Bianchi](https://www.wearedevelopers.com/@luca-bianchi) CTIO of MESA ## Related talks at this congress - [LLMs in the wild: Building an AI agent that survives production](https://www.wearedevelopers.com/events/world-congress-2026-europe/sessions/1363-llms-in-the-wild) — Steven Mi, Giampaolo Casolla - [Making Documentation AI-Ready: Preparing Your Docs for the LLM Era](https://www.wearedevelopers.com/events/world-congress-2026-europe/sessions/1232-making-documentation) — Edvin Teskeredzic - [POC Prison: Why agentic systems never escape the lab and how to fix that in 90 days](https://www.wearedevelopers.com/events/world-congress-2026-europe/sessions/1325-poc-prison-why) — Luise Freese - [Cutting LLM Costs Without Cutting Quality: How to Beat Proprietary LLMs with Fine-Tuned Open Source](https://www.wearedevelopers.com/events/world-congress-2026-europe/sessions/1158-cutting-llm-costs) — Viktoria Semaan