ENFR
8news

Tech • IA • Crypto

TodayTopicsVideosCryptoArchivesFavorites

What legal agents inherit from coding agents: Lessons from Legora

7/10
AnthropicClaudeMay 21, 2026 at 03:45 PM28:37
Audio player
0:00 / 0:00

TL;DR

A legal AI company is accelerating agent performance by borrowing design patterns from coding agents, combining reusable workflows, adapted tooling, and domain-specific innovations.

KEY POINTS

Rapid growth of Legora

Legora, an AI workspace for lawyers, has surpassed 1,000 customers, including major law firms, and reached a valuation above $5 billion after scaling to $100 million in ARR at record speed. The platform focuses on enabling end-to-end legal workflows through collaborative AI systems embedded in everyday legal tasks.

Coding agents as a blueprint

The company identified that software engineering has advanced faster than other knowledge domains in AI adoption, particularly through increasingly capable coding agents. These systems evolved from autocomplete tools to autonomous agents handling complex workflows, offering a model that can be replicated in other industries.

Shared structure of knowledge work

Legal work and software development share key traits: both rely on text-heavy documents, reuse prior work, follow strict conventions, and include structured review processes. These similarities make it feasible to transfer agent design principles across domains.

Three-layer adoption framework

Legora organizes its approach into three categories:

Reuse

Directly adopting proven features like planning modes, sub-agents, sandboxes, and human-in-the-loop approvals.

Translate

Adapting patterns such as document editing and validation workflows to fit legal contexts.

Invent

Building domain-specific capabilities like citation grounding and large-scale contract analysis.

Planning and human oversight

Borrowed directly from coding agents, planning-first workflows allow users to define detailed execution steps before running tasks. This reduces ambiguity and improves outcomes. Similarly, approval mechanisms for risky actions ensure that sensitive operations, such as modifying legal documents, remain under human control.

Reinventing document editing

Traditional approaches to editing .docx files, which are structurally complex, relied on multiple model handoffs and often failed at consistency. Inspired by coding agents, Legora introduced a read–edit–verify loop using a simplified intermediate text representation. This enables iterative, line-by-line updates with continuous validation, significantly improving accuracy and completeness.

Unexpected performance gains

Early tests showed that even smaller models could handle complex tasks, such as translating a 10-page legal document paragraph by paragraph, with full coverage. The system iteratively corrected itself, demonstrating that tool design and workflow structure can outweigh raw model capability.

“Linting” for legal documents

Borrowing from static code analysis, Legora developed automated checks for legal consistency, such as verifying cross-references within contracts. These feedback loops help agents detect and fix structural issues, mirroring how developers rely on linters and type checkers.

AI-driven due diligence at scale

For tasks like mergers and acquisitions, the platform enables agents to process hundreds of documents simultaneously using a structured “table review” system. The AI extracts key data points, flags risks, and organizes documents, while humans can verify outputs with traceable citations and highlighted evidence.

Domain-specific innovation remains essential

While many patterns transfer from coding, certain challenges—such as handling massive document sets or ensuring legal traceability—require entirely new solutions. These domain-specific layers are critical for achieving production-level reliability.

CONCLUSION

By systematically reusing, adapting, and extending patterns from coding agents, legal AI systems are rapidly closing the capability gap and unlocking scalable automation in complex professional workflows.

Full transcript

More from Anthropic