Legora CTO Jacob Lauritzen explains how the company builds and evaluates legal AI agents
Legora's agents handle large volumes of client-confidential documents that typically belong to law firms' clients rather than the firms themselves, so the team cannot improve the product by reading traces the way most AI teams do. CTO Jacob Lauritzen explained in an interview how the company builds, evaluates and iterates legal agents under that constraint. Its evaluation team of three engineers and three lawyers rebuilds client work scenarios in reinforcement-learning-style environments, and production failures are sorted into 10 to 20 known failure modes.
The agents of legal AI company Legora handle large volumes of client-confidential documents, and this data often belongs to the law firm's clients rather than to the firm itself. As a result, the team cannot improve the product by reading traces the way most AI teams do. CTO Jacob Lauritzen explained in the interview how the company builds, evaluates and iterates legal agents under this constraint.
Legora's evaluation team consists of three engineers and three lawyers. They use reinforcement-learning-style environments to reconstruct client work scenarios, such as a data room containing ten thousand documents, and have the agent conduct due diligence and produce a report that hits the key risk points. They then draw heatmaps by business domain and task type, because new models often get better at some legal tasks and worse at others. In production, the team sorts failures into 10 to 20 known failure modes and monitors them with cheap LLM checks plus feature flags; real traces are only minimally redacted or rewritten. Compliance constraints also determine the infrastructure: at the start, law firms did not accept AWS or GCP, while Microsoft had already passed the vendor review through 365, so everything runs on Azure, and very few vendors are available under data processor agreements, which is also why ElevenLabs is not used. On model strategy, Legora long resisted a model selector and eventually added one, but Jacob believes the product, not the lawyer, should weigh quality, cost, latency, governance and regional availability; he estimates models can already do about 60% of legal work well, while the remainder, such as complex analysis and editing of million-token contracts, still needs stronger intelligence. The company has begun post-training open-weight models for narrow tasks such as legal retrieval and does not plan to build frontier models itself; to curb hallucinations, every sentence the agent writes carries a citation that can be located to a bounding box in the source PDF. The product is built on a few primitives — projects, agents, Tabular Review and a Notion-like list — and lists can trigger agents, so legal engineers can configure new products without writing code; forward-deployed engineers write production code and do system integration but do not touch customer data.
Jacob's core argument is that in regulated domains where the data cannot be viewed, teams must replace trace-driven iteration with simulated environments and failure-mode taxonomies, and treat model selection as a product responsibility rather than a user burden. He also believes the billable-hour model is being reshaped as routine work shifts to fixed fees, but that good junior lawyers become more valuable, not less, because of the efficiency gains.