Home › Insights › Building Your Own AI Review Agent: Where It Breaks

Building Your Own AI Review Agent: Where It Breaks

Laptop running a homemade AI review workflow next to boxes of litigation documents and a sealed evidence box

Key Points

  • According to Augment Code, its reviewer reached 62.8% recall against 53.3% for Copilot, while Graphite found only 12 of 137 bugs, so recall must be measured, not assumed.
  • Redfox Cybersecurity names LLM API endpoints as an attack surface for prompt injection and data exfiltration, which makes every document sent to a hosted model a disclosure decision.
  • Bryan Finster, citing SmartBear's analysis of a Cisco Systems team, says defect detection degrades sharply past 400 lines, so review needs automation plus a narrow human gate.
Three things litigation teams believe about building their own AI review agent. Myth or fact?
Call each one, then see how other readers called it.
1 The model is the hardest part of building your own AI review agent.
2 A very precise review tool can still miss most of what matters.
3 A good review agent should finish every batch without stopping to ask a human.
Laptop running a homemade AI review workflow next to boxes of litigation documents and a sealed evidence box

Wiring the workflow is the easy part. Proving what it missed is not.

Quick Answer

Yes, you can build one in an afternoon. A do-it-yourself AI review agent refers to a trigger, a container job and a model call, and it skips what makes review defensible.

Three pieces are missing: recall measured on your own documents, a fail-closed privilege gate before production, and an append-only audit trail. According to Karl Stoney, who built a reviewer around gemini-cli at Autotrader, a model given a blank slate is "hit and miss (more miss)." Precision alone will not rescue it. Adding agents adds drift. I would build one to learn, and buy the defensible spine for a live matter.

Did this answer your question?

How can I reduce the cost of document review in litigation?

AI-assisted first-pass review cuts cost, and a homemade agent looks cheaper still. Even a seasoned builder defends their own reviewer partly as a way to learn in a fast-moving space.

According to Karl Stoney, off-the-shelf review integrations felt "limiting" for Autotrader's environment, so Stoney built a reviewer on Kubernetes around gemini-cli. It worked. It also hit ordinary walls: GitHub's API returned a 406 error on huge diffs, and file moves produced delete-and-add blocks the model struggled with. Those are plumbing bugs. Plumbing bugs get fixed.

The failures that matter in litigation are not plumbing. Every public build cited in this article follows the four-part demo pattern: trigger, isolated job, model call, posted output. None of the four parts measures recall, gates privilege or keeps a record that cannot be rewritten.

Adding more agents does not close that gap. One practitioner answering a question about an 8-agent pipeline put it plainly: "The biggest challenge isn't getting 8 agents to talk to each other, it's preventing them from producing inconsistent assumptions and endlessly passing context around." The same practitioner's advice was to "start with a workflow/graph rather than a bunch of fully autonomous agents."

Vendors who sell AI review make the same point from the other side. One argues that "The only durable moat in AI code review is review quality," and that quality cannot improve without measurement. That is the real cost question. If you are comparing Relativity with lighter platforms, or asking how firms handle technology-assisted review, the question underneath is identical: can the tool show what it missed?

In my view, cost savings that cannot survive that question are not savings. They are deferred risk.

A single engineer can build a working AI review agent from a webhook, a container job and a command-line model, and even its builder calls the result a love-hate relationship.

According to Karl Stoney, who wrote up his pull-request reviewer for Autotrader's platform in October 2025, "one minute I see the future, the next minute I git revert everything it's done and just write it myself." That is the honest version of every tutorial.

Here is the situation for a small litigation firm. The collection is large, the budget is small, and the tutorials make a homemade review agent look like an afternoon project. The complication is that software teams have already run this experiment. One vendor that benchmarks review tools reports its production reviewer fixed 1.03 bugs per pull request against 0.54 for human reviewers, and the same vendor argues that quality cannot improve without measurement. Teams without evaluations, another engineering group warns, end up guessing and checking.

So the question is not whether you can build one. You can. The question is whether you can defend what it did.

My answer is that a demo pipeline skips three things: a recall measure, a privilege gate and an immutable audit trail. Build-your-own trades a weekend of setup for an un-defendable record. In this article, I will walk through the demo pattern, each of the three gaps, a defensibility checklist and a build-or-buy test.

The next 12-24 months, scored

What changes next for homegrown AI review agents

Forecasts on how review volume, recall testing, audit logs and data control will reshape AI review agents built in-house over the next two years.

14 sources analyzed8 web sources2 newsletters2 community discussions2 other sources
A

How in-house review agents will be judged

Read each forecast with its early indicator and confidence, and test your own review pipeline against the ones marked high first.

75/100
Medium confidence 12-24 months

Buyers and internal reviewers will stop accepting accuracy figures from clean demo sets. Before trusting a review agent, they will require recall measured on their own messy data. Vendors will report recall separately from precision, as Augment Code already does with its 62.8% recall figure.

74/100
Medium confidence 12-24 months

Production review agents will split into generate-then-verify pipelines, with a grading step that discards low-confidence findings before a human sees them. Single-pass agents that post every finding will be tuned down or switched off as reviewers learn to ignore their noise.

Minority view
74/100
Medium confidence 12-24 months

Despite the push for hands-off pipelines, review agents used where errors are costly will be designed to halt, ask or escalate on uncertain items rather than act. The human final pass will survive even as AI absorbs the obvious work.

74/100
Medium confidence 12-24 months

Teams building their own review agents will increasingly send sensitive material only to locally hosted or tightly credentialed model endpoints, treating the LLM API call itself as an exfiltration risk. Because providers are easy to swap, keeping the most sensitive review on local models will become routine.

61/100
Medium confidence 12-24 months

Homegrown review agents will be rebuilt so that every run has its own isolated execution, log and stored record. Trace logging per agent run will move from an optional add-on to a baseline expectation in the orchestration tools teams already use.

Weak signals watched: GitHub platform data shows PRs opened rose fivefold over three years. Intercom reports that AI-approved PRs move five times as fast as human-reviewed ones and have a lower revert rate. One builder's agent scored 95% on clean data but 68% on real emails. Descript moved from manual grading to LLM graders with periodic human calibration. Uber's uReview grades bot comments and removes the low-confidence ones. An engineer at a large company estimates that about 80% of their employer's in-house AI review comments lack context, are incorrect or are nitpicks. n8n ships built-in trace logging for every agent run. One production PR reviewer on Azure gives each review its own execution, logs and failure boundary. Practitioners report saving 30-40% of review time with an AI pre-pass while still reviewing manually. OpenAI describes agents that halt execution and hand control back to the user on failure. Security guidance for review agents names LLM API endpoints as a prompt-injection and data-exfiltration surface. DIY review runners already support switching to local Ollama models through environment variables, and some production agent stacks keep an Ollama fallback.

B

Field reports behind each forecast

Public engineering write-ups, benchmarks and practitioner threads, with the specific line from each that a forecast rests on.

Source What it states Forecasts it backs
AI Broke Your Code Review. Here's How to Fix It - Bryan Finster [Substack / Newsletter] SmartBear's analysis of a Cisco Systems team puts the human review ceiling at 400 lines, past which defect detection "degrades sharply.". “The process that worked reasonably well for human-authored code simply did not hold up when the rate of code production jumped by a factor of three or more.” Review volume forces risk-tiered triage
How I AI: Build an AI code review bot in 30 minutes + Claude Code [Web source] Intercom: PRs approved by its AI system move five times as fast as human-reviewed ones and have a lower revert rate. “Intercom has already shown this can work at scale: PRs approved by its AI system move five times as fast as human-reviewed ones and have a lower revert rate.” Review volume forces risk-tiered triage
What is happening with code reviews? - by Gergely Orosz [Substack / Newsletter] GitHub platform data (three-year window): "the number of PRs opened has increased fivefold." Growth accelerated from the end of 2025, when "PRs and commits nearly doubled just in that period alone." Orosz also reports that PR size is… “Over that time, the number of PRs opened has increased fivefold, which is a lot!”
comments are graded and low-confidence ones are removed;.
Review volume forces risk-tiered triage
Verification stages get built into review agents
The 4-Step Framework I Use to Build AI Agents That Actually Work [Blog] Accuracy gap: the agent tested at 95% on clean data and 68% on real emails. Failures broke down as:. “The problem wasn’t the AI. It wasn’t n8n. It wasn’t even the prompts. The problem was the approach.” Recall on real data becomes the acceptance test
How we built a high-quality AI code review agent [Web source] Recall: Augment 62.8% (#1) vs. Copilot 53.3%. “If a tool produces noisy comments or misses real bugs, engineers quickly learn to ignore it.” Recall on real data becomes the acceptance test
Demystifying evals for AI agents - Anthropic [Web source] Descript moved from manual grading to LLM graders using product-team criteria with periodic human calibration. “The capabilities that make agents useful also make them difficult to evaluate.” Recall on real data becomes the acceptance test
What's your honest take on AI code review tools? [Community / Forum] That engineer estimates about 80% of the AI comments are "lacking context, blatantly incorrect, or insignificant nitpicks," and about 20% are worthwhile. “the worst of all is the squadron of coworkers who are boosting it 24/7 with no tangible value add, and overselling the capabilities to leadership hoping to…”
OP now runs PRs through AI review tools before doing a manual review, and reports this saves them 30-40% of their review time.
Verification stages get built into review agents
Full autonomy stalls in high-stakes review
Build and Evaluate an AI Code Reviewer Agent - Maven [Web source] The high-level architecture has four stages: Ingestion, Reviewing, Verifying, and Summarizing (00:11:39). “Most AI tools just wrap an LLM around a diff and call it done.” Verification stages get built into review agents
A practical guide to building agents | OpenAI [Web source] On failure, it can halt execution and hand control back to the user. “Agents are systems that independently accomplish tasks on your behalf.” Full autonomy stalls in high-stakes review
How to Build an AI Agent with Claude Code (Claude AI Agent Tutorial) [Video] According to the presenter, three things separate a real agent from a sophisticated prompt: it follows a process, it makes decisions under uncertainty, and it clarifies before it executes. [2:41]. “The vast majority of bad AI output happens because the model misunderstood what you actually wanted.” Full autonomy stalls in high-stakes review
Building a Secure AI-Powered Code Review Agent: Guide [Web source] LLM API endpoints ("prompt injection, data exfiltration"). “But here is the problem that most tutorials skip entirely: these agents are also a significant attack surface if implemented without security controls.” Review data moves toward controlled model endpoints
Building Production LLM Agents with n8n: Our Evaluation-First [Community / Forum] GPT-4 runs at low temperature, with an Ollama fallback. “Unlike other orchestration tools, n8n's visual workflow editor made it easy to debug complex multi-step processes while keeping everything containerized and…”
n8n is self-hosted in Docker for workflow orchestration. It provides a GUI flow builder with built-in trace logging for every agent run.
Review data moves toward controlled model endpoints
Per-run logs become a baseline requirement
Build your own AI code review agent in CI - DEV Community [Web source] Supported model providers: OpenAI, Anthropic, OpenRouter, or local Ollama. Changing provider means swapping the environment variables (the example uses `OPENAI_API_KEY`). “The most important part is not the model. It’s the review rubric (the prompt/workflow) that forces useful structure” Review data moves toward controlled model endpoints
Building your own PR reviewer with coding agents | Huuhka.net [Web source] Production stack: Azure Functions as the management layer receives the Azure DevOps webhook and starts one Azure Container Apps job per review. Each review gets "its own execution, logs, and failure boundary.". “A PR bot is normal event-driven software with an LLM in one stage.” Per-run logs become a baseline requirement
Where the forecasts come from: every public source, the line it contributes, and the calls it supports.
C

What would shift these review agent calls

Conditions in tooling, review volume or court and client expectations that would weaken or reverse the forecasts above.

On confidence and limits

No forecast here is a sure thing. The strongest signal scores 75/100; the minority read (74/100) exists because sources weigh the trend differently.

  • Review volume forces risk-tiered triage. That is the first forecast to break if the regulatory or buying picture flips.
  • Full autonomy stalls in high-stakes review. Mounting evidence on the other side would move that one to the front.
Methodology Each forecast is scored 0-100 from the public sources shown for it: how many there are and how authoritative they are.

Your agent can read. Can it show what it missed?

Karl Stoney describes his homemade reviewer as a love-hate relationship. Fair enough. The Relevant e-Discovery Document Review Platform keeps the speed and adds what the demo skips: recall measured on your own documents, a privilege gate that refuses by default, and a record nobody can rewrite.

Start with one live matter.

What does a do-it-yourself AI review pipeline actually include?

Across our clients' day-to-day work, AI-assisted review runs cents per document versus dollars per document, and roughly $19K/GB for manual review. That gap pulls small firms toward building.

An analysis of 3 sources shows the same skeleton in every public build. Karl Stoney's pull-request reviewer at Autotrader, Pasi Huuhka's reviewer on Azure, and a widely shared CI tutorial all connect an event to a model and post whatever comes back. Swap the pull request for a custodian upload and the comment for a coding decision, and you have a document review agent.

I call the shared design the four-part demo pattern. Each part is ordinary software:

  1. Trigger. An event starts the run. According to Stoney, a GitHub Enterprise webhook on a pull-request event hits a code-review API, which checks a per-repository config file before doing anything else.
  2. Isolated job. Each review runs in its own container. Stoney schedules a Kubernetes Job; Huuhka starts one Azure Container Apps job per review.
  3. Model call. The job hands the material and a rubric to a model. The tutorial build lets you pick OpenAI, Anthropic, OpenRouter or a local Ollama model by swapping environment variables.
  4. Posted output. The result lands where people will see it, usually as a comment on the pull request.

Translated to a litigation matter, the same pattern looks like this: a new production volume lands in a shared folder, a job picks up each document, a model tags it responsive or not with a short reason, and the tag appears in a spreadsheet. Nothing about that design is exotic, which is exactly why it spreads.

The reality is that the model is the smallest part of the system. Huuhka writes that "the AI part is surprisingly small," and he describes a review bot as "normal event-driven software with an LLM in one stage." Stoney locates the difficulty elsewhere: "The meat of the complexity is in the prompt." His prompt even carries an explicit list of things not to flag, built from false positives in earlier reviews.

The economics make the pattern hard to resist. The tutorial author argues that a homemade reviewer beats a subscription because it runs only when work arrives, bills by use, and can route to a local model where the marginal cost is near zero. For a solo litigator asking how to cut the cost of document review, that argument sounds like the whole answer.

In practice, the plumbing is not where these projects struggle. The difficulty sits in the instructions and in everything wrapped around them.

Look closely at what the four parts are built to do, though. Every one of them moves material forward: fire, run, read, post. None of them looks backward to ask what the model skipped. None of them stops a sensitive item from leaving, and none keeps a record that cannot be changed later. The takeaway is that these builds were designed to produce output, not to prove it.

In summary, a do-it-yourself review agent is four pieces of routine software wrapped around one model call, and the per-document economics make it tempting. The pattern answers whether a model can review your documents. It does not answer whether you can show how the review was done.

How do you know an AI reviewer isn't missing responsive documents?

You know only by measuring recall against a verified sample of your own documents. Most do-it-yourself builds never create that sample, so nobody can say what was missed.

Three terms carry this section. Recall is the share of truly relevant documents the review actually found. Precision is the share of flagged documents that turn out to be relevant. Elusion is the rate of relevant documents still sitting in the pile the review set aside. A demo reports none of them.

Why do test scores overstate real performance?

Clean test data flatters every agent. One practitioner's email-triage agent tested at 95% on clean data and 68% on real emails. The failure breakdown: 12% typos breaking keyword matching, 8% mixed-language emails, 7% sarcasm or tone detection, and 5% complex multi-part questions. A later shadow run found that forwarded email chains broke the agent and HTML formatting broke its responses.

Read that list as a litigator. Forwarded chains, stray HTML and half-finished thoughts are the normal texture of a custodian's mailbox. In practice, a demo score tells you how the agent handles the demo.

How much does recall vary between tools?

Widely. According to Augment Code, which published benchmark results for AI code review tools, its own reviewer reached 62.8% recall against 53.3% for Copilot. It is a vendor grading its own category, so read the ranking with care. The spread is the point. Graphite posted the highest precision in the comparison, 75.0%, yet "found only 12 of 137 bugs (8.8% recall)." That is a tool that is rarely wrong and usually absent.

The more useful part of Augment's write-up is the method. It built a ground truth of "golden comments" from two sources: bugs human reviewers had found, and valid issues that agents found but humans missed, each checked by hand. Every tool's output was then scored against that set. The document-review equivalent is an attorney-coded sample that the agent's calls are measured against. That sample is exactly the recall and elusion validation a demo pipeline omits.

What does grading the outcome mean?

According to Anthropic's engineering team, an agent's transcript and its outcome are different things. A flight-booking agent "might say "Your flight has been booked"", but the outcome is whether a reservation exists. A review agent that reports no responsive documents in a batch is making the same kind of claim. Anthropic also describes how Descript moved from manual grading to LLM graders with periodic human calibration, a workable model for a firm that cannot hand-check everything.

Noise is the other half of the problem. An engineer at a large tech company estimated that about 80% of their employer's in-house AI review comments were "lacking context, blatantly incorrect, or insignificant nitpicks." High noise trains reviewers to skim. Skimming is how misses go unnoticed.

Before and after. Here is the same validation claim, written twice:

  • Before (demo): The agent reviewed the collection and flagged the responsive documents.
  • After (defensible): An attorney coded a random sample drawn from the documents the agent set aside; the relevant documents found in that sample estimate what the agent missed, and the sample, reviewer and result are on file.

The takeaway is that recall must be measured on your collection. Firms that already run technology-assisted review will recognize this question. A homemade agent inherits the question without inheriting any answer.

In summary, I would not rely on any AI review, built or bought, that cannot show a recall figure from a sample of the matter's own documents.

What will matter most for AI review agents in the next 12-24 months?

Proof will matter more than speed. Review agents will be judged on whether they can show what they missed, keep a record of each run, and stop before acting.

I see three signals behind that forecast. None comes from a courtroom yet. All come from software teams that hit the same wall first, and each maps cleanly onto a document review queue.

PredictionWeak signalWhy it matters for document reviewSource
Risk-tiered triage becomes the default. Agents clear low-risk items and escalate the rest.GitHub platform data shows pull requests opened rose fivefold over three years. Anthropic and OpenAI both route review by blast radius and keep humans on high-risk changes. WeTravel, by contrast, still rejected AI review over noise.Volume is outrunning reviewers in every queue. Buyers should ask how the escalation threshold is set and how it was tested.Gergely Orosz, The Pragmatic Engineer
Recall on your own data becomes the acceptance test.Descript moved from manual grading to LLM graders with periodic human calibration, and runs separate suites for quality and for regressions.A pipeline with no recall measure cannot say what it missed. That is the first question opposing counsel will ask.Anthropic Engineering
Every agent decision gets logged and checked. Humans keep the final action.Intercom logs every pull-request review its agent produces, and an engineer assesses whether the score and recommendation were right. Its AI-approved pull requests move five times as fast as human-reviewed ones, with a lower revert rate.Speed and accountability can coexist when every call is recorded and a named person owns the release.Lenny's Newsletter, How I AI

The uncertainty is real, and I would rather name it than hide it. A widely accepted recall benchmark built into commercial review tools would make homemade validation layers less necessary. A slowdown in review volume would ease the pressure to triage. Either would weaken this forecast.

What most buyers miss: the loudest bet is on full autonomy, and for high-stakes review the evidence points the other way. According to Bryan Finster, only two categories still justify a blocking human gate: tribal knowledge, and regulated paths where separation of duties is a compliance requirement. Privilege review sits in both. Finster also cites SmartBear's analysis of a Cisco Systems team, which found defect detection "degrades sharply" past 400 lines, and he puts the lesson bluntly: "You cannot hire your way out of a sampling rate problem." His answer is automation plus a narrow, deliberate human gate. That is a design. A demo is not.

What keeps privileged documents protected and the review provable if challenged?

Two controls do that work: a fail-closed privilege gate on production, and append-only audit trails over immutable, hashed originals. In our experience, that combination holds up under challenge.

Two definitions first. A fail-closed gate blocks an item whenever it is unsure or broken, instead of letting the item through. An append-only audit trail accepts new entries but never allows an old entry to be edited or deleted. A demo pipeline has neither.

Where does privileged material leak in a do-it-yourself build?

It leaks at the model call. According to Karan Patel of Redfox Cybersecurity, whose firm sells secure code review services, LLM API endpoints are an attack surface for "prompt injection, data exfiltration." His example is blunt: "If a developer accidentally commits an AWS access key and your agent sends that file verbatim to an OpenAI endpoint, you have just exfiltrated credentials to a third-party API."

Replace the access key with a privileged memo and the sentence still works. A homemade review agent sends each document, in full, to whatever endpoint sits in its environment variables. Patel adds that most implementations "expose review output in unprotected logs." The recommended defense against instructions hidden inside the reviewed material is a blocklist of 8 regex patterns, such as "ignore previous instructions." That is a thin wall to put in front of a privilege log.

What this means is simple. Every document sent to a hosted model is a disclosure decision.

What does a working privilege gate need to do?

I would hold any gate to three requirements:

  1. Sit between review and production. Nothing reaches a production set without passing it.
  2. Fail closed. Ambiguous, low-confidence or errored items are held, not released.
  3. Record the release. A named attorney clears each held item, and the clearance is logged.

Where the model runs matters as much as the gate. In our deployments, processing runs single-tenant or inside the client's own AWS account under the client's own keys, with no vendor retention and no model training, so nothing fed into it trains anyone's model or waives privilege. That posture, the firm's own cloud and the firm's own keys, is one no consumer AI tool and almost no small-firm tool can match.

What makes the review provable later?

Three records turn a review into evidence:

  • Immutable originals with content hashing. A hash is a digital fingerprint of a file; change one byte and the fingerprint changes, so any alteration shows.
  • An append-only audit trail. Every coding call, gate hold and release is written once and never rewritten.
  • Documented chain of custody. Each original's handling history is recorded from collection to production.

Compare that with the demo: tags in a spreadsheet anyone can edit, and logs nobody protected. The takeaway is that a log you can edit is a diary, not evidence.

In summary, a defensible review needs a gate that refuses by default and a record that cannot be rewritten. A demo pipeline supplies neither, so a firm that builds one has to add both before the first production leaves the office.

Attorney hand-checking a random sample of set-aside documents to measure what an AI reviewer missed
Recall is measured in the pile the agent set aside, one sampled document at a time.

Where does that leave a firm tempted to build its own?

Build to learn, not to produce. A homemade agent is a fine teacher, but a live matter needs recall evidence, a gate and a permanent record before anything leaves.

The evidence points one way. An agent that looked nearly perfect on clean test data lost 27 points on real email, and a demo never finds that out. Benchmarks from the code world show recall swinging widely between tools, and the teams that ship dependable agents grade outcomes, not transcripts. I expect review agents to be judged less on speed and more on whether they can show what they missed, keep a record of every run, and stop before acting on an uncertain call. One major model provider's agent-building guide already describes an agent that halts and hands control back to the user. That is the posture document review needs.

Karl Stoney put the right relationship well. With AI review in place, he says, "I truly own the code I put into production, but I have an assistant looking for my inevitable mistakes." Swap code for a production set and that is the standard. The attorney owns the call. The assistant catches mistakes; it does not make the final one.

In my view, the practical next step is modest. Before you wire anything, write down what your rubric requires the agent to report: what it reviewed, what it assumed, and what it did not check. Then ask who holds the sample that proves the rest.

Written by

Michael

Kansky

Michael Kansky is a serial software entrepreneur who has spent more than two decades building and bootstrapping profitable SaaS and services companies.

Connect on LinkedIn

Summarize This Article With AI

Open this article in your preferred AI engine for an instant summary.

Frequently Asked Questions

What do litigators ask about building their own AI review agent?

Most questions come down to three issues: what the agent missed, where the documents went, and what record survives. Here are direct answers to the common ones.

Can I build my own AI document review workflow without an engineering team?

You can wire the basic pipeline with no-code tools. One builder who has shipped several versions describes a review bot as "mostly control flow, not AI," which is why the wiring looks easy. The hard parts are the controls around it: validation, a privilege gate and a permanent record. In my view, those need both engineering and legal judgment.

What is recall in AI document review?

Recall is the share of truly relevant documents that the review actually found. It is measured by having an attorney code a sample and comparing the agent's calls against it. Without that sample, nobody can say what the agent missed.

Is it safe to send case documents to a hosted LLM API?

Not by default. According to Redfox Cybersecurity, LLM API endpoints are an attack surface for "prompt injection, data exfiltration," and its hardened pipeline scans code for secrets before anything goes to an external model. For privileged material, I would use only a model endpoint the firm controls.

What should a homemade review agent record for every run?

At minimum, each run needs its own isolated execution, its own logs, and stored run state such as correlation IDs, status and what was posted. One production builder gives each review "its own execution, logs, and failure boundary." Those logs still have to be append-only, meaning entries can be added but never edited, before they count as evidence.

How should I test an AI review agent before a live matter?

Build a fixed set of test documents with known answers and run the agent against it more than once, because model outputs vary between runs. Grade the outcome, not the agent's own report. Version the rubric so every change is re-tested against the same set.

Should a review agent be allowed to act on documents?

Keep it read-only. One tutorial author calls this the single most important safety rule: "Don't let your CI agent mutate the repo." The legal equivalent is an agent that proposes coding calls but cannot produce, delete or re-tag documents without a human release.

Read next

Law firm server room showing AI document indexing pipeline running before privilege review screen is completeEdiscovery

Does Privileged ESI Get Embedded Before the Screen?

Yes. In most RAG e-discovery platforms, privileged ESI refers to attorney-client communications and work product that gets embedded into the vector index automatically at collection, before any privilege review queue runs.September 25, 202625 min read
A legal professional reviewing threaded Slack conversation data on a monitor, with JSON code visible alongside a structured conversation view, showing the transformation from raw data to readable threads in an eDiscovery contextEdiscovery

How to Produce Slack Messages Without Breaking Threads

To produce Slack messages defensibly in discovery: (1) Export the full workspace using the standard tool for public channels, or Slack's Discovery API (Enterprise Grid only) for private channels and DMs.September 14, 202630 min read
Legal professionalEdiscovery

A 'Small' Case With Chat Data Isn't a Small Review Job

A chat-data eDiscovery review refers to any review where the primary evidence lives in Slack, Microsoft Teams, or iMessage rather than in email. Case size does not predict difficulty. Data type does. Thread reconstruction and privilege gates are required at any scale.September 13, 202629 min read

See it on your matter

Bring us a messy collection - mailboxes, scans, phones, recordings - and watch it become one searchable, defensible record.