cd /news/ai-agents/ubers-legal-ai-agent-cuts-contract-r… · home › topics › ai-agents › article
[ARTICLE · art-170623] src=infoq.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Uber’s Legal AI Agent Cuts Contract Review Time by 20% with Rules and RAG

Uber's Legal Redlining Agent has cut average contract review time by more than 20% while reaching 91% accuracy in AI-generated decisions, according to the company. The Microsoft Word-integrated agent combines retrieval-augmented generation, historical lawyer feedback and a deterministic rules engine that overrides model recommendations when a non-negotiable legal rule applies, with lawyers retaining approval authority. Uber began building the first generation in early 2024 and piloted it with its Legal team in 2025, adding a feedback loop that narrows thousands of historical interactions to roughly 20 candidates via similarity search and metadata filtering, weighted with exponential decay and a half-life currently set to 365 days.

by read2 min views3 publishedNov 16, 2026
Uber’s Legal AI Agent Cuts Contract Review Time by 20% with Rules and RAG
Image: source

Uber’s Legal Redlining Agent has reduced average contract review time by more than 20%, with 91% accuracy in AI-generated decisions, according to the company. Integrated into Microsoft Word, the agent analyzes proposed contract changes, assesses legal risks, and recommends policy-aligned responses using retrieval-augmented generation (RAG), historical lawyer feedback, and deterministic rules. Lawyers retain responsibility for reviewing and approving its recommendations.

The agent identifies edits proposed by external parties, interprets their intent, compares changes with legal policies, and suggests whether to accept, reject, or modify clauses. It also generates comments explaining recommendations and flags changes requiring closer scrutiny. Uber began developing the first generation in early 2024 and piloted it with its Legal team in 2025.

High-level workflow of the Legal Redlining Add-in / Agent (Source: Uber Blog Post) An initial RAG implementation retrieved relevant sections from legal playbooks to guide language model responses. However, the system struggled with semantic retrieval accuracy, negotiation tone, and scenarios not covered by existing examples. Uber subsequently added a feedback loop that captures lawyers’ decisions, reasoning, and final edited text.

This change allowed the agent to retrieve examples of how similar clauses had been handled rather than relying only on whether a previous recommendation was accepted or rejected. At runtime, similarity search and metadata filtering narrow thousands of historical interactions to approximately 20 candidates. A second language model-based filtering stage evaluates their relevance. Exponential decay weighting, with a configurable half-life currently set to 365 days, prioritizes recent decisions while retaining older examples. The implementation also gives domain experts control over language and negotiation style.

Uber Engineering framed the challenge in its LinkedIn post: How can AI help streamline repetitive contract review while keeping lawyers in control?

The legal team defines the desired tone and style, while engineers maintain the prompt structure and application workflow. The architecture combines a React and TypeScript Word add-in with a Python backend orchestrated through LangGraph. Parallel workflow nodes handle intent detection, risk assessment, and policy lookup. OpenSearch stores vectorized legal rules and historical feedback, while Redis maintains session state for follow-up questions.

Legal Redlining Agent system architecture (Source: Uber Blog Post) A deterministic rules engine enforces non-negotiable legal requirements and overrides model recommendations when a matching rule applies. Language models handle tasks requiring contextual interpretation, including clause recommendations and negotiation tone. A final verification step checks generated responses against retrieved rules.

Uber is also exploring agentic harnesses, including Claude Code and OpenCode, alongside skills to structure and automate workflows across its agentic AI efforts. The team plans to investigate legal ontologies and knowledge graphs to represent legal concepts and relationships, providing a semantic foundation for more consistent interpretation and reasoning.

── more in #ai-agents 4 stories · sorted by recency
── more on @uber 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ubers-legal-ai-agent…] indexed:0 read:2min 2026-11-16 · —