Burns describes asking codebases where personal data is collected and whether it reaches logs or other systems. A pull request may fit in a model’s context window, but a monorepo or connected repositories can contain hundreds of thousands of files, so full-codebase investigations need a different workflow.
AI Investigations Are a Distributed System Problem
Speaker
Christopher Burns of Inth explains how to investigate privacy compliance issues across large codebases at Agent Conf 2026, in a talk on Callstack’s channel.
The process pins each investigation to a commit, branch, or pull request, then uses deterministic matches such as regexes and AST graphs to identify starting points. A plan makes the work traceable: code handles scanning, permissions, limits, validation, and allowed actions, while the model decides what to inspect and how to interpret it.
Burns uses Versa Workflows to split investigations into durable tasks and dispatch them as capacity becomes available. Versa Sandboxes and OpenCode run workers with limited tools; application code enforces permissions and timeouts. Workers receive only the files they are allowed to read next, helping preserve room in the context window for reasoning and structured results.
Large scans need chunk-level debugging and durable records of commits, plans, attempts, and accepted outcomes, stored in Postgres and checked with XState. A second model reviews the evidence after a run completes. Similar findings are grouped so reports do not overwhelm developers with hundreds of duplicates, then sorted into P0 through P3 priorities.
Burns distinguishes whole-codebase scans from pull request reviews, which have different scale and workflow requirements. He expects more cleanup tools to run across existing codebases, where many issues may remain beyond the changes surfaced in individual pull requests.
Takeaways
- Pin each investigation to a specific commit so its evidence can be traced.
- Use deterministic scans to find candidate code, then let models investigate those leads.
- Enforce tool permissions, file access, and timeouts in application code rather than relying on prompts.
- Record workflow state durably so failed callbacks and interrupted tasks can be recovered.
- Group related findings and verify evidence before sending developers a prioritized report.
Mentioned in this talk
Search inside this talk
What was claimed 12
- feature
Inth: Builds privacy compliance investigations across codebases“We're doing privacy compliance”
YouTube Unverified1 source· Talk
- built
Inth built
AI Investigations“we built this whole workflow system around an agent”
YouTube Unverified1 source· Talk
- uses
Inth uses Versa Workflows“We use Versa Workflows for durable orchestration”
YouTube Unverified1 source· Talk
- uses
“OpenCode is what we use inside the sandboxes”
YouTube Unverified1 source· Talk
- uses
Inth uses Versa Sandboxes“Versa Sandboxes is what we use”
YouTube Unverified1 source· Talk
- feature
AI Investigations: Uses a limited, permission-controlled tool set with timeouts“they can only use a very specific, defined tool set”
YouTube Unverified1 source· Talk
- feature
AI Investigations: Manages context by limiting which files workers can read next“you can only read the files we think you should be able to read next”
YouTube Unverified1 source· Talk
- uses
AI Investigations uses XState
“we use XState to read the facts”
YouTube Unverified1 source· Talk









