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

DevFeed: [Uber's Legal AI Agent Cuts Contract Review Time by 20% with Rules and RAG](<https://devfeed.tech/articles/uber-s-legal-ai-agent-cuts-contract-review-time-by-20-with-rules-and-rag-135413.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/11/uber-legal-redlining-agent/>)

Author: Leela Kumili

Published: 2026-11-16T14:37:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [human review](<https://devfeed.tech/topics/human-review.md>), [rule-engine](<https://devfeed.tech/topics/rule-engine.md>), [Agent Skills](<https://devfeed.tech/topics/agent-skills.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-ai-architecture](<https://devfeed.tech/tags/agentic-ai-architecture.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-ml-data-engineering](<https://devfeed.tech/tags/ai-ml-data-engineering.md>), [architecture-design](<https://devfeed.tech/tags/architecture-design.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [changes](<https://devfeed.tech/tags/changes.md>), [claude](<https://devfeed.tech/tags/claude.md>), [contract-review](<https://devfeed.tech/tags/contract-review.md>), [development](<https://devfeed.tech/tags/development.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [graphs](<https://devfeed.tech/tags/graphs.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [knowledge-graphs](<https://devfeed.tech/tags/knowledge-graphs.md>), [langgraph](<https://devfeed.tech/tags/langgraph.md>), [legal](<https://devfeed.tech/tags/legal.md>), [legal-ai](<https://devfeed.tech/tags/legal-ai.md>), [legal-matters](<https://devfeed.tech/tags/legal-matters.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [microsoft-office](<https://devfeed.tech/tags/microsoft-office.md>), [microsoft-word](<https://devfeed.tech/tags/microsoft-word.md>), [ml-data-engineering](<https://devfeed.tech/tags/ml-data-engineering.md>), [news](<https://devfeed.tech/tags/news.md>), [opensearch](<https://devfeed.tech/tags/opensearch.md>), [rag](<https://devfeed.tech/tags/rag.md>), [redis](<https://devfeed.tech/tags/redis.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [review](<https://devfeed.tech/tags/review.md>), [rules](<https://devfeed.tech/tags/rules.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [time](<https://devfeed.tech/tags/time.md>), [uber](<https://devfeed.tech/tags/uber.md>), [uber-legal-redlining-agent](<https://devfeed.tech/tags/uber-legal-redlining-agent.md>)

## AI overview

Uber's Legal Redlining Agent reports reducing average contract review time by more than 20%, with 91% accuracy in AI-generated decisions; lawyers still review and approve its recommendations. Integrated into Microsoft Word, it detects counterparties' edits, assesses risk and policy fit, and proposes clause changes with explanatory comments. Its RAG system combines legal playbooks with lawyer decisions, reasoning, and edited text. Similarity search and metadata filters narrow thousands of past interactions to about 20 candidates; a second model filters for relevance, while a configurable 365-day half-life gives more weight to recent examples. LangGraph coordinates parallel tasks, OpenSearch stores rules and feedback, and Redis holds session state. Deterministic rules override model suggestions for non-negotiable requirements, and a final check validates responses against retrieved rules. Early RAG struggled with retrieval accuracy, negotiation tone, and cases missing from examples, prompting the feedback loop. The excerpt also says Uber is exploring agentic harnesses, skills, legal ontologies, and knowledge graphs.

## Source excerpt

Uber's Legal Redlining Agent reviews contract changes in Microsoft Word using RAG, historical lawyer feedback, and deterministic policy rules. Built with LangGraph, OpenSearch, and Redis, the system reports more than 20% lower average contract review time and 91% accuracy in AI-generated decisions. Uber is exploring agentic harnesses, skills, legal ontologies, and knowledge graphs. By Leela Kumili