PULSE
AI 认知方法 HOWTO重要度 62

为律师造AI:Legora的工程实践

Latent Space · 2026-11-02 · 原题《Building AI for Lawyers - Jacob Lauritzen, CTO of Legora》 · 原文约 8 分钟 · 阅读原文 ↗
法律AI的关键:不在模型,在工程系统 四大工程支柱 评估环境 保密数据不可读 3工程师+3律师 构建RL模拟任务 按领域/任务热力图 故障分类 10-20种已知模式 功能开关后运行 低成本LLM检查 生产环境可观测 模型策略 最终开放选择器 覆盖约60%法律工作 复杂分析仍需更强 窄任务后训练开源 产品原语 项目·代理·表格·列表 表格:行=文档 列=问题,10行起步 法律工程师免代码配置 合规约束 律所拒绝AWS/GCP 全部运行在Azure 微软365已成获批供应商 计费与交付模式转变 按小时收费 → 提速即减收 常规工作转固定项目费甚至免费 收入转向并购·诉讼·客户沟通
法律AI的关键不在模型本身,而在于围绕保密数据构建可评估的模拟环境、用法律工程师配置产品、以少数原语支撑多产品,并重新设计计费与交付模式。

做法与步骤

  1. 计费模式转变:律师按小时收费时,提速工具会减少收入;但律所面临压力,常规工作转向固定项目费甚至免费,收入向并购、诉讼和客户沟通转移。
  2. 评估不能看客户数据:Legora无法读取用户上传的保密文件,因此由3名工程师和3名律师构建RL环境,模拟如万份文件尽职调查等任务,按业务领域和任务绘制热力图。
  3. 生产环境故障分类:将失败归入10到20种已知故障模式,并在功能开关后运行低成本的LLM检查。
  4. 基础设施受合规约束:因律所不接受AWS或GCP,全部运行在Azure上,微软已通过365成为获批供应商。
  5. 模型策略:曾长期抵制模型选择器,但最终让步;认为模型已能很好处理约60%的法律工作,复杂分析和百万token合同编辑仍需更强智能;开始对开源权重模型进行后训练,用于法律研究等窄任务,不计划训练前沿模型。
  6. 产品构建块:围绕项目、代理、表格审查和列表等少数原语构建产品;表格审查每行一个文档、每列一个问题,支持百万单元格但先以10行起步调试提示词;法律工程师无需写代码即可配置新产品。

对实践的启示

对AI应用开发者而言,保密数据场景下需自建模拟评估环境而非依赖真实trace;产品应围绕少数可组合原语,让领域专家无需代码即可配置;交付上可设法律工程师与前向部署工程师两层,前者配置、后者写代码集成。

作者承认的反方与局限

作者承认曾认为法律科技屡试不成,因为按小时计费下提速会减少律师收入;也承认模型选择器最初被抵制,且复杂分析和百万token合同编辑仍需更强模型。

原文摘引

If lawyers bill by the hour, getting faster means earning less.
A good junior is worth more today than two years ago because they get so much more done, just as in engineering.
It's Legora's job to find the best available tradeoff between quality, cost, latency, governance, and regional availability.
▸ 展开原文全文(50 段,抓取自 Latent Space)

In this episode, we chat with Jacob Lauritzen, CTO of Legora, following the announcement of their $550M Series E at an $8.8B valuation a couple weeks ago. We talk about what it takes to build AI agents for lawyers and what other people building agents can learn from that work.

Legora started in a Stockholm basement with a simple product: ChatGPT, Swedish law, and a search tool. Jacob had already been through YC with his own startup when he helped Max Junestrand with the application for Leya (now Legora). He later joined as head of engineering and is now CTO.

Today the agent drafts and edits Word documents, reviews thousands of contracts at once, and coordinates work between lawyers, their clients, and other agents. The company passed $100 million in ARR in April, less than 18 months after launch, and now has more than 1,800 customers. It raised $550 million in March at a $5.55 billion valuation, then another $550 million in October at an $8.8 billion valuation. Its latest acquisition, Wexler, was its fifth just this year.

We asked Jacob how you evaluate agents when you can't see your customers' data, which tasks still need better models, how legal engineers and forward deployed engineers split the work, and why the billable hour as a business model is being upended.

What changed for the billable hour?

When Jacob first read Leya's YC application, he had one piece of feedback: people had tried building legal tech a million times, and it never worked. If lawyers bill by the hour, getting faster means earning less. Why would they buy a tool that does that?

What changed, he says, is the pressure on firms. In the US, routine work like small reviews is already shifting to flat project fees. Some firms do it for free to hold on to the client. The money moves to M&A, litigation, and time spent with clients.

We asked whether that means firms will stop needing paralegals and junior lawyers. Jacob says that's not what Legora is seeing. A good junior is worth more today than two years ago because they get so much more done, just as in engineering.

Evals without access to customer data

Most teams improve their agents by reading traces. Legora can't read any. Almost everything users upload is confidential, and much of it belongs to the firm's clients, not the firm.

So the evals team has to recreate the kinds of work customers do. Three engineers and three lawyers build RL environments to simulate the work their customers do. One example is a 10,000-file data room where the agent runs due diligence and has to produce a report that catches the right red flags. The team plots the results on a heat map by practice area and task. A new model often gets better at some kinds of legal work and worse at others.

The team draws on a pool of about 100 legal engineers: lawyers who spent three or four years in big law, often with a CS degree. In production, Legora classifies failures into 10 to 20 known failure modes and runs cheap LLM-based checks behind feature flags.

Those restrictions also determine which infrastructure Legora can use. Everything runs on Azure because when Legora started, law firms wouldn't accept AWS or GCP, and Microsoft was already an approved vendor through 365.

Where smarter models still matter

Legora resisted a model picker for a long time before giving in. Jacob's view is that a lawyer shouldn't have to decide whether a contract is a Sonnet-high or an Opus-mid task. It's Legora's job to find the best available tradeoff between quality, cost, latency, governance, and regional availability.

He estimates that models already handle about 60% of legal work really well. For those tasks it's a cost and latency problem now. Complex analysis and editing across million-token contracts still need more intelligence.

Legora has started post-training open-weight models for narrow tasks like legal research, with no plans to train its own frontier model. For drafting, Jacob finds Fable and Opus too verbose. Astra is more concise. To address hallucinations, everything the agent writes gets a citation that highlights a bounding box in the source PDF, multiple layers down.

A few building blocks, many products

Six months into the job, Jacob showed the team a slide of the 300 Spartans and declared that Legora would stay at 20 engineers forever. It now has 100, and he says that still feels too small. His job now is to build a system where the team can ship just a few things and customers feel like they're getting a lot.

The team builds around a few primitives: projects that hold files, the agent, Tabular Review, and lists. Lists are a flexible Notion-style database with triggers and automations. Agents can create and read lists, and changes to a list can start an agent. Intake is a Slack bot that turns a request into a ticket on a list.

Tabular Review is the one the industry copied, down to the name. Each row is a document, each column is a question. Drop in 10,000 employment contracts and ask for the termination period, the IP assignment clause, and the severance terms. It supports up to a million cells, but starts with just 10 rows so you can fix your prompts before running the rest.

Legal engineers configure new products on these primitives without writing code. Even Wexler's fact intelligence product runs on the same building blocks.

Legal engineers first, forward deployed engineers second

Legora hired its first forward deployed engineer about nine months ago in New York: Di Qi, a two-time YC founder who worked on search at Meta. Legal engineers configure the product the way a power user would and don't write code. Forward deployed engineers write code into production, build integrations into a firm's CRM or document management system, and push what they learn back into the core product. They still don't touch client data.

When a big, engaged client signs, Legora assigns legal engineers to work with them and adds an FDE if the project needs one. Within a year, Jacob expects to have a rotating group of FDEs who sit with a client for a couple of months, build what they need, and move on.

Where this goes

In two years, Jacob thinks big enterprises will use Legora through tools like Claude Cowork, while law firms work inside Legora directly. He doesn't expect the labs to cut Legora off the way they've done to coding companies. For a $400 million M&A deal, he thinks people will still want Legora.

Show notes

- Legora — the collaborative AI platform for lawyers, where Jacob is CTO.

- Jacob Lauritzen — Jacob on LinkedIn.

- Legora's Series E announcement — $550 million at an $8.8 billion valuation, with ARR above $200 million.

- "Agents need more than a chat" — Jacob's talk at AI Engineer Europe 2026.

- "Connect AI to Billions of Legal Documents" — Jacob's AI Engineer talk with Simon Eskildsen of turbopuffer.

- How Legora runs 2,000 parallel agent evals on Modal Sandboxes — the infrastructure behind Legora's eval runs.

- Legora acquires Qura — the Stockholm legal research startup Legora bought in April.

- Legora is acquiring Wexler — the London startup that extracts and verifies facts across large litigation document sets.

- Claude for Legal — Anthropic's legal connectors and plugins, the backdrop to whether the labs will come for legal.

- AIE Europe Debrief + Agent Labs Thesis — Swyx on the agent lab playbook he brings up at the start.

Timestamps

• 0:00 Cold open

• 0:40 Meet Jacob Lauritzen, CTO of Legora

• 1:05 Starting out as underdogs in a Stockholm basement

• 1:54 How Legora grew from ChatGPT with Swedish law into a legal agent

• 4:12 The switch from assistant to agent

• 5:23 Which models Legora uses and why it added a model picker

• 7:48 Are today’s models good enough for lawyers?

• 8:20 What agents couldn’t do nine months ago

• 9:18 Testing the agent in simulated worlds and a 10,000-file data room

• 10:07 The evals team and Legora’s 100 legal engineers

• 11:03 When evals didn’t seem worth it and one release took citations