Legal and compliance
Eight engineering briefs on AI companies in legal and compliance: how each agent works, and an open-source blueprint for its most instructive part.
Legal and compliance work often starts with a broad question and ends with a decision that needs a source and an accountable reviewer. Follow the cases by asking which facts the system retrieved, which output it drafted and which decision remains with a person.
Legal AI platform: firm-knowledge vault and model routing
How a legal AI company builds its agent — and an open-source blueprint for a permissioned firm-knowledge layer with multi-model orchestration
A legal AI company has been adopted at scale by elite law firms, and its most instructive engineering choice is treating the firm's own documents — not any single model — as the durable asset. The pattern worth stealing is a two-layer architecture: a permissioned firm-knowledge layer (vault-style ingestion plus access-controlled retrieval) that sits underneath a multi-model routing fabric, with a domain-specific in-house legal benchmark deciding which model earns which task. For builders of legal and compliance agents, that combination is the difference between a demo and infrastructure a general counsel can sign off on.
Company snapshot
| Founded & HQ | Early 2020s; founded by a small team with legal and AI research backgrounds |
| Funding & valuation | Venture-backed and among the fastest-growing companies in legal technology |
| Scale signals | Deployed across large global law firms and in-house legal teams; the company publishes operationalization playbooks and use-case catalogs; seat counts and revenue not publicly disclosed |
| Core product | Legal AI assistant plus multi-step workflow products, firm-knowledge ingestion, and a multi-model fleet that adds new frontier models from several providers within weeks of release |
| Why builders should study it | The clearest public example of permissioned retrieval + multi-model routing + task-grounded evals operating as one system in a zero-error-tolerance vertical |
Part 1 — The inner workings of the legal AI company's agentic system
1.1 What the product actually does (concrete user workflows, not marketing)
The day-to-day surface is a lawyer-facing assistant embedded in legal work: ask a research question, draft a document, review a counterparty position, or summarize a matter file. The company's public use-case catalogs frame this as research, drafting, document review, and analysis for both law firms and in-house teams. The workflows that matter economically are the repetitive ones: classifying thousands of diligence documents in an M&A data room, pulling every precedent brief on a specific motion from the firm's own archive, or producing first drafts of routine correspondence and memos.
The second surface is vault-style firm knowledge. The company has published engineering write-ups describing a new file ingestion system built to scale firm knowledge — meaning firms push their own precedents, memos, and work product in so the assistant answers from the firm's corpus rather than generic model memory. An associate asks for "our preferred fallback positions on reps-and-warranties caps" and gets answers retrieved from the firm's own deal documents, not from a foundation model's pretraining. That is the core workflow that makes the product sticky: the answers improve as the firm deposits more of its history.
The third surface is workflows: multi-step, tool-using pipelines that chain retrieval, drafting, and verification rather than answering in one completion. The company's customer-event content is explicitly about moving firms from piloting AI to operationalizing it, which in practice means firms standardizing a handful of these pipelines into daily use across practice groups rather than ad hoc prompting.
1.2 Architecture: the harness (orchestration, tools, retrieval, memory, integrations)
The harness has four visible layers. First, an ingestion pipeline: the public write-ups describe parsing, normalizing, and indexing firm files at scale, which implies document-format handling (Word, PDF, email exports), deduplication, and chunking tuned for legal text. Second, a retrieval layer with permission enforcement: firm content must respect each lawyer's actual access rights, mirroring the firm's document management system so an associate cannot retrieve a partner-only memo. Third, an orchestration layer that executes workflows as sequences of model calls and tool invocations with intermediate state, rather than one prompt. Fourth, integrations: the firm's document management system and productivity tools are the sources and destinations of most work.
Memory is scoped to matters and workspaces: project-level context (folders, prior outputs, document sets) persists across sessions so a diligence workspace accumulates state. Tools beyond retrieval — web search, legal secondary sources, document generation — are invoked by the orchestration layer; content partnerships with legal publishers give the company licensed authority data to mix with firm-internal content.
The key structural decision is that retrieval results and generated outputs remain linked to their sources. In a legal setting, an answer without a pointer back to a document is unusable, so the harness is built around citation-bearing outputs rather than free-form generation.
1.3 Models & routing (which models, how tasks are subdivided/routed, cost-latency posture)
The company operates a multi-model fleet. It has publicly announced new frontier models from at least two providers going live in the product within weeks of their release, on top of earlier single-provider foundations. This is a deliberate hedge: no legal buyer wants to be hostage to one lab's roadmap, and no single model leads every legal task in every year.
Routing logic is not fully public, but the shape is inferable from the company's own eval program: tasks are subdivided into families (retrieval, extraction, drafting, reasoning-heavy analysis), and the fleet is benchmarked per family on its in-house legal benchmark, so model placement is evidence-driven rather than contractual. A reasonable reconstruction: cheap fast models handle classification and extraction at scale; frontier reasoning models handle synthesis, drafting, and multi-step analysis. Cost-latency posture is not publicly disclosed, though the product's responsiveness targets interactive use, which implies aggressive caching of retrieval and streaming of generations.
The deeper point: routing is a product surface, not an infrastructure detail. The company publicly markets which models are live in the product, because firms care. Any builder in this vertical should assume customers will ask "which models touch my client data" and want a defensible answer.
1.4 Data, evals & quality (how they measure agent quality; failure handling; human review)
The in-house legal benchmark is the load-bearing eval. It was introduced to evaluate LLMs on real legal tasks, and the series has kept growing: a retrieval deep dive, a comparative arena format, a global edition, and a research edition. The design principle is that benchmark tasks come from actual firm work and are graded by experienced lawyers — not from multiple-choice legal trivia. That gives the company a private, defensible quality signal for every routing decision and every model swap.
Retrieval quality gets its own eval track, which matters because in a vault architecture most "agent intelligence" is really retrieval intelligence: right document, right passage, right permission. Failure handling details are not publicly disclosed, but the product's posture is cite-or-flag: outputs are expected to ground in retrieved documents, and lawyers remain the review layer before anything leaves the firm (the human-review loop is inherent to how firms operate, and the company's operationalization content is built around that reality).
1.5 Governance & security (regulatory posture, auditability, privacy, deployment model)
Law firms are the most security-sensitive buyers in professional services, so the governance stack is the product. The publicly knowable elements: SOC 2 certification, zero data retention arrangements with model providers, and firm-level tenancy so client confidences stay segregated. Vault-style ingestion is designed so firm content is not exposed to other tenants and is not used to train foundation models.
Auditability works through source linkage: every answer traces to retrieved documents, and workflow outputs are inspectable artifacts (drafts, summaries, tables) a lawyer can check. Deployment is cloud SaaS with firm-specific configuration; there is no public evidence of on-prem model hosting. The governance story a builder should copy: permissions inherited from the firm's systems, no vendor training on customer data, citation-mandatory outputs, and an eval regime that can be shown to a security committee. Regulatory change (EU AI Act obligations on legal-tech AI, bar-association guidance) is pushing all vendors toward documented human oversight; the "operationalize, don't just pilot" messaging aligns with that posture.
Part 2 — Open-source blueprint for the firm-knowledge vault: permissioned firm knowledge + multi-model orchestration
2.1 What the component is and why it's the pattern to steal
The vault pattern is a firm-knowledge layer: an ingestion pipeline that turns a firm's document corpus into a searchable index, a retrieval system that enforces each user's permissions on every query, and a contract that every generated answer must cite the corpus. It is the pattern to steal because in knowledge professions the corpus is the compounding asset. Models improve every year and are available to everyone; the firm's thirty years of deal documents, cleaned, indexed, and permission-mapped, are proprietary. Whoever owns the knowledge layer owns the customer relationship regardless of which lab ships the next model.
The second half of the pattern is multi-model orchestration. A thin routing layer exposes a stable internal interface (complete-this-task) and maps task families to models chosen by eval results, with fallbacks when a provider degrades. This turns vendor churn from a crisis into a config change, and it lets you put cheap models on extraction and frontier models on judgment. The two halves interlock: the eval harness (running against your corpus and task families) is what decides the routing table.
For compliance-tilted builders, the same three components — permissioned corpus, routed model fleet, task-grounded evals — are exactly what a regulator-facing agent needs. The difference is that in compliance the corpus is statutes, regulations, and your client's policy library, and the "permissions" are often data-handling agreements rather than firm politics.
2.2 The open-source stack
| Layer | What the company does (as far as known) | Open-source pick | License | Builder's notes |
|---|---|---|---|---|
| Ingestion & permissioned RAG | Vault-style file ingestion at scale; internal and closed | Onyx (formerly Danswer) | MIT | Self-hosted enterprise RAG with 40+ connectors and document-level permission syncing; run it in your own VPC so client data never leaves your perimeter |
| Vector index | Not publicly disclosed | Qdrant | Apache-2.0 | Store matter ID and group ACLs as payload fields; use hybrid dense+sparse filtering so permission filters compose with relevance |
| Multi-model routing | Multi-provider fleet of frontier models; routing logic internal | LiteLLM | MIT | Router with per-model fallbacks, retries, budgets, and a stable task-to-model mapping you regenerate whenever evals change |
| Embeddings | Not publicly disclosed | BGE-M3 (self-hosted) | MIT | Embed inside your VPC; for legal text, hybrid retrieval with keyword scoring usually beats pure dense |
| Eval harness | In-house legal benchmark (private, lawyer-graded) | promptfoo | MIT | Version prompt/model changes like code; gate deploys on task-family suites graded by a practitioner panel |
| Firm DMS connectors | Integrates with mainstream legal DMS | Connector SDKs for iManage/NetDocuments are proprietary | n/a | Budget for vendor agreements; the fully open path is file/email drops plus Onyx's open connectors |
All core picks are MIT or Apache-2.0, so commercial SaaS use is clean. Two cautions: legal DMS APIs (iManage, NetDocuments) are proprietary and contract-gated, so design your ingestion layer so proprietary connectors are swappable adapters, not load-bearing code. And if you are ever tempted by an AGPL component in the serving path (some document-processing and BI tools), either isolate it behind a process boundary or license it commercially — firms' procurement teams will find it.
2.3 Skeleton code
Skeleton — a permissioned question-answering request flow with eval-driven model routing (helpers elided):
# SKELETON: permissioned vault query -> ACL-filtered retrieval -> routed model -> cited answer
from dataclasses import dataclass
from litellm import Router # MIT: multi-model gateway
from qdrant_client import QdrantClient # Apache-2.0: ACL-aware vector search
router = Router(model_list=[
{"model_name": "extract", "litellm_params": {"model": "openai/gpt-4o-mini"}},
{"model_name": "reason", "litellm_params": {"model": "anthropic/claude-sonnet"}},
])
qd = QdrantClient(url="http://qdrant:6333") # payload carries firm_id, matter, groups
@dataclass
class Question:
firm_id: str
groups: list[str]
text: str
def retrieve(q: Question, k: int = 8) -> list[dict]:
acl = {"must": [ # permission parity with the firm DMS
{"key": "firm_id", "match": {"value": q.firm_id}},
{"key": "groups", "match": {"any": q.groups}}]}
hits = qd.search(collection_name="firm_vault", query_vector=embed(q.text),
query_filter=acl, limit=k, with_payload=True)
return [dict(h.payload, score=h.score) for h in hits]
def answer(q: Question) -> str:
task = "reason" if needs_judgment(q.text) else "extract" # route by task family
docs = retrieve(q)
if not docs:
return "No responsive documents found in your permitted corpus." # abstain
out = router.completion(model=task, messages=[{"role": "user", "content":
CITE_OR_ABSTAIN.format(context=render(docs), question=q.text)}])
return attach_citations(out.choices[0].message.content, docs) # answer + source mapPart 3 — Design principles to steal
- Build evals from customer reality before building features. The company built its in-house legal benchmark early and has extended it repeatedly; the benchmark, not intuition, arbitrates every model and routing change.
- The knowledge layer compounds; the models rotate. Within months the company added several new frontier models — the vault-style corpus underneath stayed the customer's asset, which is why firms stay.
- Route by task family, not by flagship. Extraction and classification go to cheap fast models; judgment goes to reasoning models; the eval harness writes the routing table.
- Permission parity is the trust primitive. Retrieval that can leak a partner-only memo to a summer associate ends the deployment; ACL filters must sit inside the vector query, not in application code after it.
- Cite or abstain. In legal work an ungrounded answer is a liability, so the harness returns source-linked outputs and says "no responsive documents" when retrieval comes back empty.
- Operationalize, don't just pilot. The company's own customer-event content targets the pilot-to-production gap; sell the workflow standardization, not the chat window.
- Partner for secondary data instead of scraping it. Licensed legal databases and publisher content beat a fragile crawler and a worse legal position.
Part 4 — Build notes for this vertical
Who buys. In large law firms: knowledge management, innovation, and practice-group leads, with security committees as the real gate. In-house legal teams buy a lighter version of the same thing. The buyer persona cares about defensibility more than cleverness.
The wedge. One high-volume, verifiable workflow — diligence classification, precedent recall, or contract review — deployed against the firm's own corpus. Vault-style ingestion is the expansion path: once the corpus is in, every new workflow is a config change, and switching costs compound with every ingested document.
Pricing model. This vertical prices by per-seat subscriptions with enterprise minimums and implementation fees. Seats work because the buyer is an institution standardizing a tool for a headcount, and unlike per-case pricing the firm absorbs utilization risk, which it prefers.
The 3 biggest risks. One: foundation-model labs going direct — the "will a frontier lab come for legal" question is now a standing board topic in legal tech (industry press, late 2025), and the defense is exactly the proprietary knowledge layer. Two: hallucination liability in client-facing work product, mitigated by cite-or-abstain and human review, but never eliminated. Three: DMS and e-discovery incumbents bundling AI into systems firms already run, squeezing standalone tools on distribution.
What transfers to compliance and legal builders. Take the three-layer pattern wholesale: a permissioned corpus (regulations, policies, prior filings), a routed multi-model fleet with fallbacks and budgets, and an eval suite built from your customers' real questions with expert grading. Add the governance trappings regulators actually inspect — source citations on every output, no-training guarantees, tenant isolation — and you have an architecture you can defend in a procurement room. The insight that generalizes best: in low-error-tolerance domains, the eval and the permission system are the product; the model is a supplier.
Sources
- Public engineering write-ups from the company on firm-knowledge ingestion, retrieval and legal benchmarking (2024–2026).
- Public interviews and company materials on model rollout and customer operationalization (2026).
- Industry press: legal-tech coverage of whether frontier labs will move into the legal vertical (Oct 2025).
Personal-injury AI platform: records-to-demand-package pipeline
How a personal-injury legal AI company builds its claim agent — and an open-source blueprint for a records-to-demand-package pipeline
A legal AI company builds software for plaintiff-side personal injury firms: it ingests messy medical records and case files and produces the chronologies and long-form demand packages those firms used to burn paralegal hours on. The architecture pattern worth stealing is structure-before-prose: extract case facts into validated schemas, build a deduplicated chronology, then assemble the long document section-by-section with every number reconciled against an exhibit — generation as a pipeline, not a prompt. For anyone building compliance or legal agents that turn a pile of source documents into a defensible filing, this is the reference pipeline.
Company snapshot
| Founded & HQ | Founded in the late 2010s by a small team of founders with legal and technology backgrounds |
| Funding & valuation | Venture-backed; one of the best-funded companies in legal technology |
| Scale signals | A regional personal-injury firm has publicly reported markedly faster medical record review and higher initial offers using the platform; customer and case-volume counts not publicly disclosed in what I reviewed |
| Core product | Medical chronologies, demand packages, and case-preparation AI for personal injury firms, sold as a platform |
| Why builders should study it | The cleanest public example of an agent pipeline that converts thousands of pages of unstructured records into a citation-bearing legal document — the exact shape of most compliance work product |
Part 1 — The inner workings of the personal-injury AI company's agentic system
1.1 What the product actually does (concrete user workflows, not marketing)
A personal injury firm's economics are driven by case throughput: recoveries scale with how many claims they can move, and the bottleneck is preparation work. The workflow the company targets starts when records arrive — medical bills, treatment notes, imaging reports, wage documents, often as scanned faxes and PDF dumps from dozens of providers. Staff upload them; the system parses and normalizes them; and out comes a medical chronology: a dated, provider-by-provider timeline of visits, diagnoses, treatments, and billing, with each entry linked back to its source page. Attorneys use that chronology to understand the case without reading thousands of pages.
The second workflow is the demand package: the long-form document sent to an insurance adjuster that argues liability, walks through the injury timeline, totals economic damages (medical specials, wage loss), argues non-economic damages, projects future care costs, and makes the dollar demand. The chronology feeds it: the demand's treatment narrative is generated from the same structured events, which is why the two artifacts stay consistent. The publicly reported customer claim — much faster medical record review and higher initial offers — matches this division of labor: machines compress the reading, humans keep the judgment.
The third workflow is case valuation: comparing a case's profile against comparable outcomes to calibrate the demand range. The company later added a generative assistant surface on top of these pipelines.
1.2 Architecture: the harness (orchestration, tools, retrieval, memory, integrations)
The company's internals are not publicly disclosed, so what follows is a mechanism-level reconstruction from the observable product behavior. The harness is a multi-stage document pipeline. Stage one is ingestion and parsing: OCR and layout analysis over scans, faxes, and PDFs, plus provider-level segmentation — a single 800-page PDF is really forty records from twelve providers, and knowing which pages belong to which provider is half the problem. Stage two is extraction: every parsed record yields structured events — visit, diagnosis, procedure, medication, billing line — in typed schemas with codes (ICD/CPT), dates, and amounts. Stage three is chronology assembly: events are normalized (date formats, provider name variants, duplicate bills) and merged into a per-case timeline keyed to source pages. Stage four is document assembly: the demand package is rendered section-by-section from the structured events, with billing totals computed arithmetically rather than hallucinated, and every factual assertion carrying an exhibit reference. Stage five is verification and human review: consistency checks between chronology and demand, then attorney review before the package leaves the firm.
The orchestration needs are those of any long-running, failure-prone pipeline: steps that take minutes to hours, retries on partial failures, and human checkpoints that can pause work for days. Memory is the case itself — the structured event store is the durable state that all downstream artifacts regenerate from. Integration surfaces are the firm's intake channels (email, portals, uploads) and delivery back into firm tooling.
1.3 Models & routing (which models, how tasks are subdivided/routed, cost-latency posture)
The model stack is not publicly disclosed. The economically sensible decomposition: high-volume OCR and layout parsing on dedicated document models; classification models that segment record types and route pages; schema-constrained LLM extraction for events and codes; and frontier LLMs reserved for the argumentative prose of the demand — liability framing, injury impact narrative, damages argument. Latency is not a competitive dimension here the way it is in editors: a demand package that takes hours instead of days is still transformative, so the posture favors throughput and cost over interactivity.
The routing principle generalizes: route by failure cost. An extraction error corrupts everything downstream, so extraction gets stronger validation (schemas, cross-checks against billing totals) even if it uses mid-tier models; prose generation errors are visible and cheap to edit, so they can use the most expensive models without the same validation overhead. Task subdivision follows document structure — sections of the demand are generated independently against the shared event store, which bounds context length and makes parallelism natural.
1.4 Data, evals & quality (how they measure agent quality; failure handling; human review)
The quality bar is brutal in a specific way: numbers must reconcile. A demand that misstates a billing total or misattributes a diagnosis is worse than a slow one, because adjusters use errors to discount the whole claim. The eval surface is therefore fact consistency — every quantity and event in the generated document checked against the structured store, and the store checked against source pages — plus coverage (no provider visit dropped from the chronology) (specific internal evals not publicly disclosed; mechanism inferred).
The company's stated data moat is experience: claims of training and calibrating on very large volumes of past cases and outcomes. A practical failure mode the whole category shares: AI-drafted demands can read as generic, and sophisticated adjusters discount them; the mitigations are firm-specific customization, attorney editing, and evidence density. Human review is structural, not optional — the attorney is the release gate, and products in this category are marketed as preparation acceleration, not autonomous settlement. The customer-reported framing ("higher initial offers," much faster review) shows the metrics that matter are economic outcomes at the claim level, which is the eval that ultimately counts.
1.5 Governance & security (regulatory posture, auditability, privacy, deployment model)
This vertical processes protected health information at scale, so the governance posture is HIPAA-first: business associate agreements with firms, encrypted storage, access controls, and deletion practices. SOC 2 certification is table stakes for firm procurement. The compliance-tilted lesson is the audit trail architecture: every fact in the output document links to a source page, which means the artifact itself can be audited line-by-line — by the attorney, by opposing counsel, or in a dispute about what was represented to an adjuster.
Deployment is cloud SaaS; self-hosting is not the norm for plaintiff firms, which makes the vendor's security posture the firm's security posture. Regulatory exposure includes medical privacy, unauthorized-practice-of-law boundaries (the product supports licensed attorneys rather than advising claimants directly), and marketing-claim scrutiny. For builders: in regulated document generation, the defensible design is one where the evidence trail is a first-class data structure, not a formatting flourish — that is what makes the output survivable if it is ever challenged.
Part 2 — Open-source blueprint for the records-to-demand-package pipeline
2.1 What the component is and why it's the pattern to steal
The pattern is extraction-then-assembly document generation: parse the source corpus into typed structured events, resolve entities and time, then render the long-form deliverable deterministically from the structured store, with an arithmetic-and-citation verification pass before release. It is the pattern to steal because it solves the two failure modes that kill naive long-document generation: hallucinated facts (solved because the generator only sees validated events) and inconsistent details (solved because there is exactly one source of truth for every number, date, and name). The 60-page demand package is assembled the way software is built — from a typed database, not improvised in one context window.
It also decomposes cleanly. Chronology building is a time-joined deduplication problem (normalize providers and dates, merge duplicate events), which is deterministic engineering with LLM assistance, not pure generation. Long-form assembly is a template-plus-facts problem — section skeletons with argumentative slots filled by generation, numeric slots filled by computation. That split is what lets you put verification gates between the stages, and it is exactly the shape of compliance deliverables: a policy assessment report, a filing with exhibits, an audit response.
The third reason to steal it: the pipeline gives you the chronology as a standalone product. The company sells the intermediate artifact, not just the final document — a lesson for compliance builders whose intermediate artifacts (obligation registers, control mappings, deadline calendars) are themselves salable.
2.2 The open-source stack
| Layer | What the company does (as far as known) | Open-source pick | License | Builder's notes |
|---|---|---|---|---|
| Records parsing | Parses scans, faxes, PDFs into per-provider records (inferred from product behavior) | Docling | MIT | IBM-originated parser for PDF/DOCX/scans with layout, tables, and reading order; run OCR upstream (Tesseract or a hosted engine) for image-only pages |
| Typed event schemas | Structured medical events with codes and dates (inferred) | pydantic | MIT | Define Visit, Diagnosis, BillingLine models; pydantic v2 structured outputs make schema-constrained extraction enforceable, and rejection of malformed events is your first QA gate |
| Chronology store | Per-case durable event store keyed to source pages (inferred) | PostgreSQL | PostgreSQL License | One row per event with (case_id, provider, date_norm, code, amount, source_page); add pg_trgm for provider-name fuzzing |
| Document assembly | Section-wise rendering of chronology + narrative (inferred) | python-docx, docxtpl | MIT, LGPL-2.1 | Templates for section skeletons; numeric fields computed, not generated. docxtpl's LGPL-2.1 is fine for most commercial use but read the terms; python-docx alone is the unambiguous MIT path |
| Pipeline orchestration | Long-running multi-stage jobs with human checkpoints | Temporal | MIT | Durable workflows: retries, signals for attorney approval gates, and visibility into where each case sits — the operational backbone for per-case pricing |
Two cautions for a commercial build. First, everything here is MIT/Apache-class except docxtpl (LGPL-2.1), which is usable in proprietary products if you comply (dynamic use is the normal, accepted pattern), but if procurement will not tolerate LGPL at all, python-docx with explicit XML templating covers the same ground. Second, on PHI: every component must run in infrastructure covered by your BAA — self-host Docling, Postgres, and Temporal inside a HIPAA-eligible cloud account, and keep any model API on a zero-data-retention, BAA-backed endpoint. If you cannot get that for a given frontier model, that model does not touch records, full stop.
2.3 Skeleton code
Skeleton — a Temporal workflow for the records-to-demand pipeline (activities elided):
# SKELETON: records -> chronology -> demand package as a durable Temporal workflow
from datetime import timedelta
from temporalio import workflow
from temporalio.common import RetryPolicy
from activities import parse_records, extract_events, merge_chronology, \
render_demand, verify_numbers, attorney_gate
R = RetryPolicy(maximum_attempts=5) # retries across OCR and LLM flakiness
@workflow.defn
class DemandPackage:
@workflow.run
async def run(self, case_id: str) -> dict:
docs = await workflow.execute_activity( # Docling parse + segment
parse_records, case_id,
start_to_close_timeout=timedelta(hours=1), retry_policy=R)
events = await workflow.execute_activity( # schema-constrained extraction
extract_events, docs,
start_to_close_timeout=timedelta(hours=2), retry_policy=R)
chronology = await workflow.execute_activity( # dedup + date/provider normalize
merge_chronology, events,
start_to_close_timeout=timedelta(hours=1), retry_policy=R)
draft = await workflow.execute_activity( # section-wise docx assembly
render_demand, {"case": case_id, "chronology": chronology},
start_to_close_timeout=timedelta(hours=2), retry_policy=R)
audit = await workflow.execute_activity( # numbers vs exhibits; fail closed
verify_numbers, draft,
start_to_close_timeout=timedelta(hours=1), retry_policy=R)
await workflow.execute_activity(attorney_gate, case_id, # human approval signal
start_to_close_timeout=timedelta(days=7), retry_policy=R)
return {"case": case_id, "audit": audit, "sections": draft["sections"]}Part 3 — Design principles to steal
- Structure before prose. Extract to validated schemas first; generate documents only from the validated store. The chronology is the product; the letter is a rendering of it.
- Every sentence carries a page. Fact-to-exhibit traceability is the audit trail, and in regulated documents it is not negotiable.
- Long documents are assembled, not generated. Section-level generation against a shared event store bounds context, enables parallelism, and makes numeric consistency a computation instead of a prayer.
- Chronology building is a deduplication problem. Provider normalization, date normalization, and event merging are deterministic engineering steps with LLM assistance — treat them that way and quality stabilizes.
- Durable workflows for document pipelines. Multi-hour stages, retries, and human gates that pause for days are exactly what a workflow engine like Temporal exists for; do not hand-roll this state machine.
- Route by failure cost. Put validation where errors propagate (extraction) and expensive models where errors are visible and editable (prose).
- The intermediate artifact is a product. Selling chronologies, not just demands, monetizes the pipeline's middle stages — the same move works for obligation registers and control maps in compliance.
Part 4 — Build notes for this vertical
Who buys. Plaintiff-side personal injury firms, from solo practices to large contingencies; adjacent buyers in mass tort and disability representation. The buyer is a managing partner whose margin is recovered hours and whose upside is settlement value — both of which customer-reported results quantify directly.
The wedge. Medical chronologies: painful, repetitive, and required in nearly every serious PI case. Once the firm trusts the chronology, the demand package is the natural upsell because it consumes the chronology. This wedge-then-expand sequence against a per-case artifact is the template for compliance too: start with the register, graduate to the filing.
Pricing model. This vertical prices per case / per artifact (credits or tiered subscriptions keyed to case volume) rather than per seat. Per-case aligns with contingency-fee economics — the firm pays when it works a claim — and usage grows automatically with case load. Seats are the wrong unit here because paralegals, not lawyers, touch the product most.
The 3 biggest risks. One: factual errors in medical narratives — a single wrong diagnosis in a demand can damage a claim and the vendor's reputation with it; the mitigation is the verification gate plus attorney review, but the liability conversation is real. Two: the counterparty arms race — insurers are deploying the same AI on the defense side, compressing the advantage of faster demands and pushing value toward data and calibration quality. Three: records-quality variance — garbage faxes in, garbage chronology out; vendors that solve ingestion hardest win the account.
What transfers to compliance and legal builders. The whole pipeline transfers: a corpus of messy source documents, schema-first extraction, a merged register of normalized events, long-form assembly with computed numbers, and a fail-closed verification pass before anything ships. In compliance, the records are policies, controls, and regulations; the chronology is the obligation register or control mapping; the demand package is the filing, audit response, or risk assessment. The company's deepest lesson is economic, though: it picked the workflow with a direct line to case outcomes (faster review, higher offers) and let the artifact-level evidence trail be the trust story. Build the evidence trail first, and the sales conversation with any regulated buyer becomes trivially easy.
Sources
- Public engineering write-ups and company materials on the records-to-demand-package workflow (2023–2026).
- Industry press on legal-technology funding and the personal-injury AI category (2024–2025).
- Customer-reported results for a regional personal-injury firm (2026).
- Trade press on AI tools for medical chronologies in personal-injury practice (2026) — category context for chronology tooling.
Contract AI: in-editor review with tracked changes
How a contract AI company builds its agent inside the word processor — and an open-source blueprint for in-editor document review (the Word add-in pattern)
A contract AI company is the incumbent legal AI that lives inside Microsoft Word, where transactional lawyers already work, and its defining product decision is that the agent's suggestions arrive as native tracked changes the lawyer accepts or rejects — the document itself becomes the audit trail. The pattern worth stealing is the in-editor add-in architecture: read the open document format (OOXML), reason over it server-side, and write suggestions back as redlines the host editor already knows how to manage. This brief is deliberately candid about what is open-source-able here and what is not: the OOXML document model and redlining are open standards, while the Office JavaScript API that makes Word hum is proprietary — with OnlyOffice and LibreOffice as the open escape hatches.
Company snapshot
| Founded & HQ | Founded in the late 2010s under an earlier name; later rebranded |
| Funding & valuation | Venture-backed, with institutional and strategic investors; a fast-growing company |
| Scale signals | Publicly claims thousands of legal teams as customers; company-reported metrics include large time savings on contract work and roughly doubled throughput |
| Core product | Word-native contract AI: review (precise redlines), drafting, question answering, comparison, playbooks, multi-document workflows, and a newly introduced autonomous contract-management product (early access) |
| Why builders should study it | Proof that distribution through an existing editor beats building another web app — and the clearest example of suggestions-as-tracked-changes as both UX and audit trail |
Part 1 — The inner workings of the contract AI company's agentic system
1.1 What the product actually does (concrete user workflows, not marketing)
The core workflow is review: a lawyer opens a contract in Word, and the product scans it against the firm's standards, marking risky or non-standard terms inline and letting the lawyer negotiate from their side with every suggestion tracked (company materials). The suggestions appear as Word tracked changes and comments, so the lawyer can accept, reject, or edit each one inside the document they already have open. Nothing leaves the document for a separate review UI, which is why adoption survives contact with real lawyers: there is no new tool to learn, only a document that now argues back.
The second workflow is drafting: generating new clauses, full agreements, or revisions from prompts or from the firm's own precedent libraries. Supporting workflows round out the suite: question answering over the open document, comparison against industry-standard positions, and playbooks, which encode a team's standards into checklists enforced on every review — the playbook is the firm's IP expressed as executable review criteria. A multi-document workflow product extends this to portfolios (a set of vendor agreements, for instance), and the recent launch of an autonomous contract-management product pushes past the editor: contracts are pulled in automatically from email and Slack, given a first-pass review against the firm's standards, and signed contracts land in a repository that monitors renewals and new risks (company materials and trade press, 2026).
1.2 Architecture: the harness (orchestration, tools, retrieval, memory, integrations)
The company's internals are not publicly disclosed; the following is the mechanism a Word add-in of this kind necessarily implements. The client is an Office.js add-in: a web app hosted in a task pane inside Word, running on desktop Word, Word for the web, and Mac. It reads the open document through Word's JavaScript API — body text, tables, comments, tracked-change state — and ships it to cloud services. The server side does the actual work: contract understanding (clause segmentation, defined-term extraction), retrieval against the firm's playbooks and precedent libraries, LLM reasoning over the current clause in negotiation context, and generation of proposed language.
The critical return path is suggestions as OOXML edits: insertions and deletions expressed as Word-native tracked changes (the w:ins and w:del elements of the office open XML format) plus threaded comments, so that the lawyer sees redlines exactly as if a colleague had marked the document. This is the harness's master stroke — the review gate, the audit trail, and the collaboration fabric are all inherited from Word itself. Memory and firm context live in the cloud layer: playbooks, precedent libraries, and the contract repository provide the durable, searchable state; the document open in Word provides the ephemeral working state. Integrations (email, Slack, storage) feed the automated intake and repository loops.
1.3 Models & routing (which models, how tasks are subdivided/routed, cost-latency posture)
The model stack is not publicly disclosed. What is public: the company states zero data retention — its LLM providers never learn from, train on, or store customer data — which implies frontier model APIs under contractual no-training terms, plausibly across multiple providers. The task subdivision in a product like this splits by interaction pattern (analytical): clause classification and risk detection want fast, cheap models run across the whole document; redline drafting and question answering want stronger models constrained to the clause's context; playbook comparison is largely structured matching with LLM assistance. Latency posture matters more than in batch pipelines because suggestions render while the lawyer watches, which pushes toward streaming and aggressive precomputation — a document scan that completes before the lawyer finishes reading the first page (product-experience inference).
Cost posture follows seat economics: a per-seat subscription with heavy per-document usage only works if the cheap-model share of work is high. That is a design constraint worth copying — build the classifier tier so that frontier calls are the exception a lawyer notices, not the default every keystroke triggers.
1.4 Data, evals & quality (how they measure agent quality; failure handling; human review)
Company-published performance claims — large time savings, roughly doubled throughput, a customer pilot reporting over half the time saved with high satisfaction — are marketing-grade metrics; the underlying benchmarks and methodology are not publicly disclosed, and this brief treats them as company claims rather than verified results. The eval that actually governs a product like this is suggestion acceptance rate: of the redlines the agent proposes, what fraction do lawyers accept or lightly edit? That telemetry is private, but it is the right north star, because it measures trust per suggestion rather than abstract correctness (analytical; acceptance-rate instrumentation standard in this category).
Failure handling is shaped by the medium: suggestions are proposals, never silent mutations. A bad redline is rejected like a bad edit from a junior colleague; the cost of error is bounded by the accept/reject gate. The riskier failure is a missed issue — the risk the agent did not flag — which is why playbooks matter: explicit firm standards give the scanner a checklist to fail loudly against, and gap reports ("not addressed") are safer than silence. Human review is structural: the lawyer is the release mechanism, and the "first-pass review" language in company materials confirms the framing — automation handles the pass, humans handle the judgment.
1.5 Governance & security (regulatory posture, auditability, privacy, deployment model)
The company's public security posture is unusually specific: SOC 2 Type II, HIPAA, GDPR, EU AI Act readiness, SSO, MFA, encryption, audit controls, and zero data retention with LLM providers (company materials, Nov 2026). The EU AI Act reference is a compliance-tilt signal worth noting: legal AI vendors are already selling against the Act's documentation and oversight requirements.
The auditability story is the most transferable idea in this brief: the artifact is the evidence trail. Because every suggestion lands as a tracked change with an author attribute, the negotiation history — what the agent proposed, what the lawyer accepted, what the counterparty conceded — is preserved in the document itself, recoverable by anyone with Word and no access to the vendor's logs. Deployment is cloud SaaS; the add-in model means customer data transits the vendor's cloud for inference, which makes the no-training and retention commitments the load-bearing privacy claims. For builders: the add-in pattern's governance advantage is that the human always holds the final write to the artifact — an easy story for security review and an easy story for regulators.
Part 2 — Open-source blueprint for in-editor document AI
2.1 What the component is and why it's the pattern to steal
The component is the read-reason-redline loop against an open document format: parse the user's working document (OOXML), segment it into reviewable units, run standards-based checks and generation against those units, and write results back as native tracked changes and comments. Steal it because it solves distribution and trust in one move. Distribution: the lawyer never leaves the editor where all their muscle memory and keyboard shortcuts live. Trust: suggestions are reversible, attributed, and inspectable in the file format itself — a compliance story you can hand to a security committee without a slide deck.
Be equally clear-eyed about the boundary. The document format is open: OOXML (ECMA-376) is fully documented, and python-docx, lxml, and any XML toolchain can read and write redlines without Microsoft's permission. The editor runtime is not open: Microsoft Word and the Office.js API are proprietary, and a production Word add-in lives inside Microsoft's AppSource ecosystem, terms, and review process. The open escape hatches are real but trade polish for freedom: OnlyOffice Document Server (Apache-2.0 source) embeds a full document editor with a plugin API in your own web app, and LibreOffice (MPL-2.0) exposes the UNO API for scriptable document processing and can host extensions. A pragmatic architecture ships the Word add-in where the buyers are, and keeps the OOXML manipulation layer editor-agnostic so an OnlyOffice or LibreOffice front end can reuse it unchanged — which is also your anti-lock-in insurance if the word processor's built-in assistant absorbs the wedge.
For compliance builders, the same loop applies to any heavily-edited artifact: policy documents, regulatory submissions, audit responses. The editor may differ; the redline-as-audit-trail pattern ports directly.
2.2 The open-source stack
| Layer | What the company does (as far as known) | Open-source pick | License | Builder's notes |
|---|---|---|---|---|
| Editor runtime | Word add-in via Office.js | Microsoft Word is proprietary; open paths: OnlyOffice Document Server, LibreOffice | Apache-2.0, MPL-2.0 | OnlyOffice source is Apache-2.0, but productizing it inside your own commercial app can trigger their commercial (Developer Edition) terms — read them before you ship; LibreOffice UNO is fully open and scriptable, with a clunkier UX ceiling |
| Document read/write | Reads the open contract; writes tracked suggestions | python-docx + lxml over OOXML | MIT, BSD | OOXML redlining (w:ins/w:del with author and date attributes) is an open standard (ECMA-376); keep this layer editor-agnostic |
| Contract understanding | Clause segmentation, risk flags, playbook comparison | Segment in-house; embeddings via BGE or a hosted API; rules + LLM hybrid | MIT (BGE) | Deterministic clause parsing plus LLM judgment beats pure LLM; parse once, review many |
| Playbook RAG | Firm standards as enforced checklists on every review | Qdrant (or pgvector) | Apache-2.0 (PostgreSQL License for pgvector) | Version playbooks like code; every suggestion should cite the playbook clause it enforces |
| Orchestration | Multi-document workflows, automated intake loops | Temporal | MIT | Email/Slack intake, batch review, and renewal monitoring are durable workflows, not request-response |
| Evals | Company claims (large time savings); methodology not public | promptfoo + acceptance-rate telemetry | MIT | Track suggestion acceptance, edit distance, and missed-issue rates on a labeled contract suite |
Licensing cautions, stated plainly: python-docx (MIT), lxml (BSD), Temporal (MIT), Qdrant (Apache-2.0), and promptfoo (MIT) are clean for commercial products. OnlyOffice Document Server's source is Apache-2.0, but OnlyOffice's commercial policy generally requires paid Developer Edition licensing when you integrate their editor into your own product for external users — a rare case where an Apache-2.0 codebase still carries a commercial obligation via terms of use. LibreOffice under MPL-2.0 is weak copyleft at file level: proprietary extensions are fine if you keep modifications to MPL-covered files open. And if your serving path ever wants an AGPL component (some document-conversion services), isolate it or buy the commercial license before a law firm's procurement team finds it for you.
2.3 Skeleton code
Skeleton — writing a Word-native tracked change into a .docx with python-docx and lxml (error handling elided):
# SKELETON: propose a redline by emitting OOXML w:del + w:ins into a .docx
from docx import Document # python-docx, MIT
from docx.oxml.ns import qn
from lxml import etree # BSD
W = "{http://schemas.openxmlformats.org/wordprocessingml/2006/main}"
def redline(path: str, needle: str, replacement: str, agent: str = "RedlineKit") -> None:
doc = Document(path)
for para in doc.paragraphs: # editor-agnostic doc model
if needle not in para.text:
continue
anchor = para.runs[0]._r # schematic: real code splits runs
dele = etree.SubElement(anchor.getparent(), qn("w:del"))
dele.set(qn("w:id"), "9001"); dele.set(qn("w:author"), agent)
dele.set(qn("w:date"), "2026-11-01T00:00:00Z")
dt = etree.SubElement(dele, qn("w:delText")); dt.text = needle
ins = etree.SubElement(anchor.getparent(), qn("w:ins"))
ins.set(qn("w:id"), "9002"); ins.set(qn("w:author"), agent)
ins.set(qn("w:date"), "2026-11-01T00:00:00Z")
nr = etree.SubElement(ins, qn("w:r"))
nt = etree.SubElement(nr, qn("w:t")); nt.text = replacement
anchor.getparent().remove(anchor) # base text replaced by the pair
doc.save(path) # lawyer opens in Word: redlines are accept/reject, nothing silentPart 3 — Design principles to steal
- Ship suggestions, not edits. Native tracked changes make the human the release gate and make every agent action attributable, reversible, and logged by the file format itself.
- The document is the database. Read the user's working artifact (OOXML) instead of asking for uploads; state that lives in the file needs no sync layer and no migration.
- Distribution through an incumbent editor beats a new app. Thousands of teams were won inside Word's install base; the add-in is a channel, not just a UI.
- Acceptance rate is the eval. Measure trust per suggestion (accepted, edited, rejected) on a labeled contract suite; marketing metrics like time-saved are downstream consequences, not targets.
- Playbooks are versioned firm IP. Encoding standards as executable checklists turns review from taste into enforcement — and makes the vendor's value live in the firm's own codified judgment.
- Be honest about the proprietary boundary. The Word JS API is not open-source-able; architect the document layer to be editor-agnostic so OnlyOffice and LibreOffice remain real options, both as fallback and as negotiating leverage.
- Batch is the expansion path. Automated intake, first-pass review, and repository monitoring wrap the in-editor core in durable workflows — the same core, priced by volume.
Part 4 — Build notes for this vertical
Who buys. Small and mid-size transactional law firms first, then in-house legal teams — the company's positioning toward in-house teams (including customer stories from large software companies' legal departments) shows the in-house motion is now the growth engine. Buyer persona: a general counsel drowning in vendor paper with no headcount to fight it.
The wedge. Redline review against a playbook inside Word. It is the highest-frequency, lowest-ceremony contract task, it produces an artifact the lawyer was going to produce anyway, and it seeds the precedent data that makes drafting and comparison better. Expansion follows the contract lifecycle: drafting, then portfolio review, then post-signature repository and renewal monitoring.
Pricing model. Per-seat subscription with tiered feature gates (review vs. full suite vs. enterprise contract management), the standard for editor-embedded tools. Seats work because the product rides existing headcount; usage-based components appear when automation scales past humans (automated intake volumes), at which point a hybrid seat-plus-volume structure is the honest price of compute.
The 3 biggest risks. One: the office suite's built-in assistant absorbing review-and-redline — the standing threat for any add-in business, mitigated (imperfectly) by depth on legal playbooks and benchmarks that assistant does not ship. Two: the missed-issue trust cliff — one catastrophic unflagged term can end an enterprise deal; playbook-driven gap reporting is the honest mitigation. Three: model commoditization squeezing margins — if clause-level redlining becomes a commodity API call, value migrates to playbooks, repository data, and workflow depth, which is exactly where post-signature contract management points.
What transfers to compliance and legal builders. Take the loop — open-standard artifact, suggestions as tracked changes, acceptance-rate as the eval — and aim it at any reviewed document in a regulated workflow: policy manuals, SAR filings, audit responses, regulatory comment drafts. The Word add-in pattern teaches two things at once: go where the professionals already work, and make the artifact itself carry the audit trail. If you are building for compliance officers, remember the corollary: the evidence reviewers and regulators will ask for is "who changed what, when, and under whose approval" — a format Word invented in 1983 and still perfect. Build your agent as a respectful collaborator inside that format, and the governance conversation is already won.
Sources
- Company materials (fetched Nov 2026): product suite, security posture (SOC 2 Type II, HIPAA, GDPR, EU AI Act, zero data retention) and company-reported metrics.
- Public interviews and trade press on the company's autonomous contract-management launch (2026).
- Industry press: legal-tech coverage of whether frontier labs will move into the legal vertical (Oct 2025).
- Specifications: ECMA-376 (Office Open XML); OnlyOffice and LibreOffice project documentation.
Regulatory-compliance AI: regulation-to-obligations knowledge graph
How a regulatory-compliance AI company builds its agents — and an open-source blueprint for a regulation-to-obligations knowledge graph (rules-as-code)
A regulatory-compliance AI company started by converting regulations into machine-readable obligations: structured, queryable, citation-anchored representations that agents can reason over and compliance teams can audit. By 2026 it had become the most interesting experiment in the vertical's business model, launching an AI-native law firm alongside its compliance product and raising a large venture round to build what it calls the full-stack model for legal AI. The pattern worth stealing is the original one: treat a regulation corpus as data — parse it into an obligations knowledge graph, version it against the amendment stream, and encode each obligation as testable rules-as-code — because that structure is what makes compliance agents auditable rather than merely fluent.
Company snapshot
| Founded & HQ | Founded in the early 2020s by a researcher working on AI and regulation |
| Funding & valuation | Venture-backed; recent large growth round from top-tier investors, framed around the full-stack model for legal AI |
| Scale signals | Claims institutions managing very large combined assets as customers (company materials, Nov 2026); two operating business lines — an AI-native law firm and a compliance product — powered by one platform |
| Core product | A platform that builds AI-native professional services firms: a compliance product (agents that apply institutional policies and review standards) and an attorney-led legal services firm, on shared agent technology |
| Why builders should study it | The vertical's clearest demonstration that regulation-to-structure is the core technology — and that in compliance, the auditable data model, not the chat surface, is the defensible layer |
Part 1 — The inner workings of the compliance AI company's agentic system
1.1 What the product actually does (concrete user workflows, not marketing)
The founding product workflow: a compliance team at a financial institution or insurer faces a stream of new and amended regulations. The company's technology parses those rules into machine-readable form — actors, obligations, thresholds, deadlines, cross-references — and deploys agents that help the team answer the operational questions: does this rule apply to us, which of our policies and controls map to it, what must change by when. The compliance product is described by the company as helping institutional teams apply their policies and review standards using AI — that is, the machine-readable regulation meets the institution's own machine-readable policies, and agents work the gap between them.
The second workflow is regulatory change management: new Federal Register documents and rule releases trigger re-analysis, with agents producing compliance analyses that trace every claim back to the rule text. The third is review standards at scale: institutional review workflows (marketing reviews, communications checks, policy attestations) run through agents that apply the encoded standards consistently and log their reasoning. The fourth, and newest: the AI-native law firm delivers the same technology as a service, with experienced attorneys advising institutional clients on complex corporate matters — the firm's professionals direct agents and validate outputs rather than billing hours for the work agents absorb.
The through-line in the company's own framing: it builds AI-native professional services firms and the technology that powers them, where improvements discovered by practicing professionals accumulate into a shared platform. That is an unusually honest description of how the data flywheel works: every engagement produces better-validated structures for the next one.
1.2 Architecture: the harness (orchestration, tools, retrieval, memory, integrations)
The internals of the platform are not publicly disclosed; the following is the mechanism its public descriptions imply. The harness has three tiers. The bottom tier is corpus ingestion and structuring: regulatory text (from official sources such as eCFR and Federal Register feeds, plus customer-uploaded regimes) is parsed into structured units — sections, definitions, cross-references — and then into an obligations knowledge graph: nodes for requirements, actors, conditions, and deadlines, edges for "applies to," "defined in," "amends," and "delegates." The middle tier is institutional mapping: the customer's policies, controls, and review standards are themselves structured, and agents link obligations to controls, exposing coverage and gaps. The top tier is the agent runtime: applicability checks, impact analyses, review decisions, and draft deliverables — each grounded in the graph and the source citations it encodes.
The amendment stream is a first-class input, not an afterthought: rules are versioned by the official documents that create and change them, so the graph has history and the answer to "what applied on March 1 versus today" is a query, not an archaeology project. Memory is institutional: the obligation-to-control mappings a customer builds are durable state that compounds. Human-in-the-loop design is explicit in the company's model — people and agents collaborate, with experts directing work — which in a compliance context is not just UX but the control framework itself.
1.3 Models & routing (which models, how tasks are subdivided/routed, cost-latency posture)
Model choices are not publicly disclosed. The task decomposition the architecture implies: parsing and normalization of regulatory text with high-volume, cheap models; requirement extraction with frontier reasoning models constrained to schema-valid, citation-carrying outputs; graph construction and deduplication as deterministic code with model assistance; and agentic workflows (applicability determinations, impact analyses) as multi-step reasoning chains that must end in verifiable citations. The cost-latency posture differs from consumer AI: correctness and traceability dominate, and batch processing of rule releases tolerates hours of compute in exchange for validated structure.
The routing principle this vertical teaches: constrain generation at the schema boundary. Extraction is only useful if malformed obligations are rejected — no citation, no graph node — so the model's output contract is enforced by validation code, and the model is re-prompted or escalated on failure. That fail-closed posture is cheaper than it sounds because regulatory text is small relative to, say, document review: the expensive computation is reasoning over the graph, which runs on structures that were validated once.
1.4 Data, evals & quality (how they measure agent quality; failure handling; human review)
Quality measurement here must answer to the most skeptical audience in enterprise software: compliance officers whose careers absorb the consequences of a wrong answer. The eval surfaces the public material implies (inference from product design; specifics not disclosed): expert validation of parsed obligations by regulatory specialists; traceability checks that every machine-readable requirement resolves to authoritative text; and institutional accuracy checks where agent outputs about a customer's own policies are reviewed against what the compliance team knows to be true. The full-stack model gives the company an eval loop most software vendors lack: the law firm's practicing attorneys validate the technology on real engagements, and failures become platform improvements — the company states this explicitly (expert professionals directly shape the technology through their work).
Failure handling is architectural: an agent that cannot resolve an applicability question to cited rule text escalates to a human professional rather than guessing — the design a regulated deployment demands. Human review is the product's backbone: in the compliance product, institutional teams own the standards; in the law firm, attorneys own the advice. The general lesson: in compliance, "the agent reviewed it" is not a control; "the agent produced a cited, logged determination that a licensed professional approved" is.
1.5 Governance & security (regulatory posture, auditability, privacy, deployment model)
The governance story is the audit trail. Every obligation in the graph carries its source citation and version; every agent determination carries the graph nodes it relied on; every human approval is logged. That chain — regulation version, parsed obligation, institutional control, agent output, human sign-off — is precisely the evidence a regulator or auditor asks for, and building it as a data structure rather than a report generator is the company's core technical bet. Enterprise deployment is cloud-based with institutional tenancy, and the customer base implied by very large combined assets under management means financial-services-grade security expectations: SOC 2, access controls, data segregation.
The strategic governance event of this vertical is the firm launch itself: practicing law through an AI-native firm (announced in late 2025, with a major alternative-asset manager as investor) puts the technology inside the professional-liability and ethics regime of actual legal practice — licensed attorneys, privilege, conflicts, supervision rules. That is governance as a moat: the regulatory burden competitors avoid becomes the trust signal that lets agents touch regulated work.
Part 2 — Open-source blueprint for the regulation-to-obligations knowledge graph
2.1 What the component is and why it's the pattern to steal
The component is rules-as-code over a versioned obligations graph: regulations parsed into structured requirements, linked into a graph of definitions, cross-references, and amendments, with each obligation encodable as an executable rule with test cases. It is the pattern to steal because it converts compliance from an interpretation exercise into an engineering discipline. Once an obligation is a node with a citation, a version, and an encoded rule, you can diff it across amendments, query which business activities it touches, generate audit evidence mechanically, and write tests that fail loudly when a rule change invalidates a control mapping. A chatbot answers questions; a graph plus rules-as-code produces evidence.
The economics matter as much as the engineering. US federal law is a public-domain corpus: the eCFR publishes the Code of Federal Regulations as structured data via a public API, and the Federal Register publishes every rule document via its API (both verified live; as US government works they are free of copyright). That is a legally clean, high-value foundation no vendor can monopolize — your moat is the parsing fidelity, the institutional mappings, and the validation, not hoarding the text. OpenFisca proved the rules-as-code model at national scale for tax-and-benefit systems (France, then New Zealand and others): legislate as versioned code with test cases, and the same codebase serves calculators, eligibility checks, and policy impact analysis. The identical pattern applies to regulatory obligations: encode "file within N days of X" as a rule with passing and failing test cases, and applicability checking stops being an LLM vibe.
For a compliance-tilted builder, this is also the honest architecture for AI oversight: agents traverse the graph and draft determinations, but the encoded rules and the citation chain are what your auditor — and increasingly, regulators scrutinizing AI in compliance — will ask to see.
2.2 The open-source stack
| Layer | What the company does (as far as known) | Open-source pick | License | Builder's notes |
|---|---|---|---|---|
| Regulatory corpus | Ingests official rule text and amendment stream (mechanism inferred) | eCFR API + Federal Register API | Public domain (US gov works) | eCFR versioner API serves full CFR text/structure by date; Federal Register API serves every document with metadata — both verified reachable; pin everything to document/date for versioning |
| Obligation extraction | Regulation parsed into machine-readable obligations | pydantic + your LLM of choice, schema-constrained | MIT | Obligation model requires citation + version; reject any parse that cannot cite — fail closed |
| Knowledge graph | Links obligations, definitions, amendments | NetworkX for analysis; PostgreSQL for storage | BSD-3, PostgreSQL License | Keep the graph boring: relational tables with (obligation, relation, target, version) beats a heavyweight graph DB at this scale; caution: Neo4j Community is GPLv3 — fine internally, contagious for a distributed product |
| Rules-as-code engine | Standards applied by agents on encoded rules (inference from product behavior) | OpenFisca | Apache-2.0 | Legislation-as-code with built-in test harness; country packages vary — verify the license of any package you reuse; excellent reference even if you only imitate the test-triple pattern |
| Policy evaluation | Institutional controls checked against obligations | OPA / Rego | Apache-2.0 | CNCF-graduated policy engine; encode control checks as Rego policies evaluated against structured facts; decouples rules from application code |
| Regulation RAG | Agents ground answers in rule text | Qdrant | Apache-2.0 | Chunk by section with (title, part, section, version) payloads; hybrid search handles the defined-term sprawl of legal drafting |
Licensing cautions, stated plainly: the entire core stack is Apache-2.0/BSD/MIT plus public-domain government data — about as clean as commercial foundations get. The traps are at the edges: Neo4j Community Edition is GPLv3 (fine as an internal tool; a problem if you distribute it inside a product), some OpenFisca country packages carry different terms than the core engine, and any AGPL document or search service you bolt on needs isolation or a commercial license. Also mind the data boundary: state regulations and non-US regimes are often copyrighted by publishers — the public-domain privilege is a US-federal feature, and your roadmap should not assume it extends.
2.3 Skeleton code
Skeleton — regulation text to validated obligation to testable rule (LLM calls and error handling elided):
# SKELETON: eCFR section -> cited Obligation -> rules-as-code test triple
import json, requests
from pydantic import BaseModel, HttpUrl
class Obligation(BaseModel): # the fail-closed output contract
id: str; actor: str; action: str
deadline: str | None; threshold: str | None
citation: str # e.g. "17 CFR 275.206(4)-7(a)(1)"
source_url: HttpUrl; version: str # Federal Register doc / CFR date
def fetch_section(title: int, part: str, section: str) -> dict:
r = requests.get( # eCFR versioner API, public domain
f"https://www.ecfr.gov/api/versioner/v1/full/2026-01-01/title-{title}.json",
params={"part": part, "section": section}, timeout=30)
r.raise_for_status()
return r.json()
def parse_obligation(text: dict, llm) -> Obligation:
out = llm.structured(PARSE_PROMPT, schema=Obligation, text=json.dumps(text)[:12000])
if not out.citation.startswith(f"{title_str(text)} CFR"):
raise ValueError("uncited obligation rejected") # no citation, no node
return out
def rule(facts: dict) -> bool: # encoded obligation, OpenFisca-style
return facts["days_since_trigger"] <= facts["deadline_days"]
TESTS = [({"days_since_trigger": 10, "deadline_days": 30}, True),
({"days_since_trigger": 45, "deadline_days": 30}, False)]
assert all(rule(f) is want for f, want in TESTS) # amendment -> rerun suitePart 3 — Design principles to steal
- Cite-or-fail. A machine-readable obligation that cannot resolve to authoritative text is invalid by construction; enforce it at the schema boundary, not in review.
- Version against the amendment stream. Key every node to the official documents that created and changed it (Federal Register documents, CFR dates); "what applied when" becomes a query, which is the core of change management.
- Rules-as-code forces test cases. Encoding "within 30 days of X" as executable code with passing and failing scenarios turns compliance drift into a failing test — OpenFisca's deepest idea, portable to any regime.
- Applicability is graph traversal, not chat. "Does this apply to us" resolves by walking applies-to, defined-in, and amends edges over cited structures; the LLM drafts, the graph decides.
- Experts validate the mapping; agents run the monitoring. The expensive human judgment (is this obligation really covered by this control?) happens once and is stored; agents enforce it continuously and log every determination.
- Public-domain government text is a lawful, free corpus. US federal regulatory data has no copyright owner; build your moat on parsing fidelity and institutional mappings instead of text access.
- Governance can be the moat. The company put its technology inside a licensed law firm, converting the heaviest compliance burden in the vertical into its strongest trust signal — sometimes the right response to regulatory scrutiny is to become regulated.
Part 4 — Build notes for this vertical
Who buys. Chief compliance officers and their teams in financial services, insurance, healthcare, and any nationally regulated industry — buyers whose annual budgets already go to outside counsel for exactly the analyses these agents draft. Post-2026, there is a second buyer in the market: firms that want the finished service (the AI-native law firm) rather than the platform.
The wedge. One regime with high change velocity and painful monitoring — a single rulebook the customer tracks obsessively. Parse it, map it, encode it, and expand along the graph into adjacent regimes; the mappings compound the way a personal-injury chronology store compounds.
Pricing model. This vertical prices as enterprise platform contracts — annual licenses sized by coverage (regimes, entities, seats), not usage metering. The 2025–2026 full-stack turn adds a second, telling model: services revenue priced like professional services, delivered by an AI-native firm. Watch this space — the recent raise was explicitly framed around the full-stack model, which is an industry-level signal that software-only pricing may not capture the value agents create in compliance.
The 3 biggest risks. One: interpretation liability — an agent's wrong applicability call can cause a reporting failure, and "the AI said so" is not a defense; the mitigations are citation-mandatory outputs, encoded rules, and licensed professionals owning sign-off. Two: incumbents with the data — the large legal-information publishers and the Big Four own decades of regulatory analysis and can bundle agents with it; the defense is the open corpus plus superior structuring, which is exactly this company's bet. Three: format and scope drift — agencies change publication practices, state and non-US regimes are copyrighted, and a roadmap assuming universal public-domain structure will hit walls.
What transfers to compliance and legal builders. Everything here transfers because compliance is regulation-shaped everywhere: take the public corpus, parse it fail-closed into cited obligations, version it against the official amendment stream, encode the testable parts as rules, traverse the graph for applicability, and log every determination for the audit. The 2026 lesson is strategic, not just architectural: the company raised a large round not because its agents chat well but because the regulation-to-structure layer is the asset every other compliance capability needs — and because it was willing to sell the capability as a licensed service when buyers hesitated to build the muscle themselves. If you are building in this vertical, the sequence that worked is: own the structured representation first, let agents ride on it, and keep the evidence trail so complete that the audit is a query, not a panic.
Sources
- Company materials (fetched Nov 2026): positioning as an AI-native professional services builder, customer-base description, and product-line descriptions.
- Trade and financial press on the company's growth round and its AI-native law firm launch (2025–2026).
- Legal-industry press commentary on AI-native law firms and the billable hour (2026).
- Federal Register API (verified reachable, Nov 2026): https://www.federalregister.gov/api/v1/documents.json?per_page=1 — the public amendment stream used for versioning regulatory obligations.
- eCFR versioner API and OpenFisca documentation — public sources for the corpus and the rules-as-code engine.
Financial-crime compliance AI: audit-ready alert triage
How a financial-crime compliance AI company builds its analyst agents — and an open-source blueprint for an audit-ready alert-triage loop
A venture-backed startup builds AI "analysts" for financial-crime compliance teams: agents that triage transaction-monitoring alerts, run KYC and KYB periodic refreshes, and draft suspicious-activity narratives under human sign-off. The architecture pattern worth stealing is not the model choice but the evidence bundle: every automated disposition is packaged with its inputs, tool outputs, policy version, and a human approval record, so an examiner can replay the decision years later. That pattern — an agent loop whose primary deliverable is an audit artifact, not an answer — is the core blueprint below.
Company snapshot
| Field | Detail |
|---|---|
| Founded & HQ | Founded in the early 2020s by a small founding team |
| Funding & valuation | Early-stage, venture-backed; later rounds not verified in sources seen as of November 2026 |
| Scale signals | Customer names, revenue, and alert volumes not publicly disclosed in sources seen; the company has described deployments with fintech and banking compliance teams |
| Core product | AI agents for AML operations: transaction-monitoring alert triage, KYC/KYB periodic review, adverse-media screening support, and SAR narrative drafting with human review |
| Why builders should study it | Financial crime is the compliance vertical where a wrong automated decision creates direct regulatory liability for the buyer, so this company's design constraints — evidence, traceability, human disposition — preview where all compliance agents are heading |
Part 1 — The inner workings of the financial-crime AI company's agentic system
1.1 What the product actually does
The concrete workflow is the alert-triage loop. A bank's transaction-monitoring system (a commercial monitoring platform or in-house rules) produces a daily queue of alerts — potentially suspicious transactions that rules flagged for review. An AI agent takes each alert, gathers the surrounding evidence, drafts a disposition (close as false positive, escalate for investigation, or file-support for a SAR), and hands the package to a human analyst who approves or overrides. The human, not the agent, disposes of the alert, because the bank's BSA/AML officer is the accountable party before regulators.
The second workflow is KYC refresh. Periodic reviews require re-collecting identification documents, re-screening customers against sanctions and politically-exposed-person (PEP) lists, updating risk ratings, and documenting the outcome. Agents assemble the refresh package and flag discrepancies; reviewers sign off. A third workflow drafts SAR narratives from an investigator's findings — the most sensitive writing in the pipeline, since SARs support potential law-enforcement action and follow a regulated format.
These workflows are described here at the level of the company's product positioning. The important detail for builders is the shape, not the marketing: in all three cases the agent's output is a case file with an audit trail, consumed by a licensed human, not a chat answer.
1.2 Architecture: the harness
The company has not published a technical architecture write-up, so this subsection reconstructs the harness from product behavior and category norms; specifics are inference, clearly the most defensible reading of what the product does. The system is an orchestration layer wrapped around the institution's systems of record: the transaction-monitoring platform holds alerts and cases, the customer file holds KYC documents, screening vendors hold sanctions hits. The agent does not replace these systems; it works inside them through read/write tools, which matters because examiners ask where the system of record is.
Each agent run assembles a tool-governed evidence set: transaction history from the monitoring system, the customer's profile and prior reviews, screening results against list snapshots (list version must be recorded, because OFAC and other lists change), adverse-media search results, and internal policy documents retrieved by search. Every external fact enters through a logged tool call — no free-browsing — which is what makes the resulting rationale checkable.
The case-scoped memory problem is solved by making the evidence bundle a durable artifact rather than model context: the bundle persists independently of any model conversation, so a different model, or a human reviewer, can re-read the same evidence later. Finally, the loop ends at a human disposition gate: the agent proposes, the analyst disposes, and both the proposal and the override are written to the audit trail. That gate is a product feature, not a safety afterthought — it is what makes the output usable under BSA/AML examination.
1.3 Models & routing
Model choices are not publicly disclosed. The category's cost-latency logic, which any builder should copy, is: a small cheap classifier scores the queue and prioritizes which alerts an agent handles first; the main reasoning model (a strong frontier or near-frontier model) does evidence synthesis and disposition drafting; deterministic code does everything an examiner might re-compute, such as threshold checks, list-match resolution, and risk-score arithmetic. The LLM writes the rationale, but the rationale must cite evidence IDs from the bundle — hallucinated citations are a correctness failure, not a style problem.
The routing insight worth stealing: route by examinability, not just cost. Anything that must be reproduced at examination time (policy evaluation, scoring) runs on deterministic code pinned to a versioned policy; anything that is drafting (narratives, summaries) runs on an LLM whose input is a frozen evidence bundle. That split keeps the expensive, fallible component exactly where human review already exists.
1.4 Data, evals & quality
No public eval methodology exists for this company specifically, so this describes the quality bar the product is visibly built to. The core metric set is agreement with expert analyst decisions: on a golden set of historical alerts with senior-analyst outcomes, the agent's proposed dispositions are scored for precision (how often "close" was safe to close) and recall (how often true positives were escalated). Because the two error types are asymmetric — wrongly closing an alert related to money laundering is far costlier than wasted human time — the operating point is set conservatively, with low-confidence cases routed to humans automatically.
Ongoing quality control uses sampling: a percentage of agent-proposed closures get secondary human review, and disagreement feeds back into policy tuning and prompts. Failure handling follows the same shape as the disposition gate: when evidence is missing, documents are unreadable, or screening hits are ambiguous, the agent is designed to escalate rather than guess. For builders, the transferable rule is that escalation is a first-class output, not an error path; a system that never escalates is hiding its uncertainty somewhere an examiner will find it.
1.5 Governance & security
Financial-crime tooling is governed by the buyer's regulators, not the vendor's marketing. The relevant frame is BSA/AML examination: FFIEC examination expectations, model-risk-management guidance (in the US, the SR 11-7 lineage applies to models in compliance functions), and NYDFS Part 504-style certification regimes that make transaction-monitoring and sanctions-filtering decisions individually attestable. An agent that disposes of alerts must therefore produce decisions that are reproducible, attributable, and explainable — which is exactly what the evidence-bundle pattern provides. Deployment specifics (VPC-hosted versus SaaS, data-retention terms, model-training prohibitions) are not publicly disclosed; such terms are standard negotiation points for bank vendors.
A 2026 incident elsewhere in the AI stack sharpens the governance lesson for this category. Press reports in 2026 said that an AI company disclosed a cyberattack tied to a compromise of the open-source LiteLLM project, and that the LiteLLM project publicly distanced itself from a compliance startup amid that startup's separate "fake compliance" controversy. The takeaway for compliance-agent builders: your OSS supply chain and your customers' regulatory exposure are now on the same risk register.
Part 2 — Open-source blueprint for the audit-ready alert-triage loop
2.1 What the component is and why it's the pattern to steal
The audit-ready alert-triage loop is an agent loop whose every step emits structured, immutable records: which tools ran, what evidence was retrieved (hashed, timestamped, list-versioned), which policy version evaluated it, what the agent proposed, what the human decided. The unit of output is the evidence bundle — a self-contained package from which a reviewer or examiner can reconstruct the decision without access to the original model session. This is the component to steal because it is the only part of an AML agent a bank can actually defend: models will change, prompts will drift, but the bundle is the artifact that survives to examination.
The loop has five stages: triage (prioritize the queue), evidence gathering (tool-governed, versioned inputs), policy evaluation (deterministic, pinned), rationale drafting (LLM, citation-bound), and disposition (human-gated, logged). The critical design decision is that stages three and four are separate: the machine-checkable verdict comes from versioned policy-as-code, and the LLM only narrates and explains. If the LLM and the policy disagree, the disagreement itself is logged — a useful signal that the policy or the prompt drifted.
This pattern transfers directly to sanctions screening adjudication, fraud-case triage, KYC refresh, and any workflow where a regulator can ask "show me why." It is also the natural antidote to a failure mode seen elsewhere in the compliance-automation market: fabricated or synthesized evidence. In this loop, evidence can only enter through tool calls against systems of record, and every artifact is hashed at creation.
2.2 The open-source stack
| Layer | What the company does (as far as known) | Open-source pick | License | Builder's notes |
|---|---|---|---|---|
| Case workflow engine | Durable agent runs around human approval gates; internals not publicly disclosed | Temporal | MIT | Workflows checkpoint every activity; a reviewer "approve" signal resumes the run months later. Skips are auditable by design |
| Decision policy | Not publicly disclosed; product behavior implies versioned, deterministic rules | OPA (Rego) | Apache-2.0 | Pin policy bundles per decision; store the bundle ID in the evidence record so any verdict is replayable |
| LLM gateway | Not publicly disclosed | LiteLLM | MIT | Self-host the proxy; pin versions and mirror packages — press reported a 2026 compromise of this project used in an attack on a downstream company, so treat the gateway as critical infrastructure |
| Watchlist data | Screening via vendor integrations | OpenSanctions | MIT (code); data under its own terms — verify before redistribution | Snapshot the list version with every match decision; MISP (AGPL-3.0) fits fraud-ring intel sharing but is AGPL — keep it internal, never embed it in distributed product code |
| Audit ledger | Not publicly disclosed | PostgreSQL append-only tables plus hash chain | PostgreSQL License | Revoke UPDATE/DELETE grants with triggers; chain row hashes; anchor the daily head to WORM storage |
| Document parsing | KYC docs and statements | Docling | MIT | Layout-aware extraction of bank statements and IDs; store extracted text beside the source hash so reviewers can diff extraction against original |
2.3 Skeleton code
The skeleton below shows the loop's load-bearing structure: a Temporal workflow that builds the evidence bundle, evaluates pinned policy, drafts a citation-bound rationale, and appends to a hash-chained audit ledger before any human sees it. Mark it as a skeleton: schematic but realistic.
# SKELETON — audit-ready alert-triage loop (schematic, not runnable as-is)
from temporalio import workflow
from datetime import datetime, timezone
import hashlib, json
@workflow.defn
class AlertTriage:
@workflow.run
async def run(self, alert: dict) -> dict:
bundle = {"alert_id": alert["id"], "policy_version": POLICY_BUNDLE_VERSION,
"list_snapshot": alert["sanctions_snapshot_id"], "evidence": []}
for step in TRIAGE_PLAN[alert["typology"]]: # plan is versioned, not improvised
artifact = await workflow.execute_activity( # each call checkpointed by Temporal
step.tool, alert, start_to_close_seconds=120)
bundle["evidence"].append({
"tool": step.tool, "sha256": hashlib.sha256(
json.dumps(artifact, sort_keys=True).encode()).hexdigest(),
"retrieved_at": datetime.now(timezone.utc).isoformat()})
verdict = evaluate_policy(bundle) # OPA/Rego; deterministic, pinned
rationale = await workflow.execute_activity( # LLM may only cite evidence IDs
"draft_rationale", {"verdict": verdict, "bundle": bundle})
record = await workflow.execute_activity( # append-only, hash-chained table
"audit_append", {"bundle": bundle, "verdict": verdict,
"rationale_id": rationale["id"]})
if verdict["confidence"] < THRESHOLD or verdict["action"] == "escalate":
await workflow.execute_activity("queue_for_human", record["id"]) # human disposes
return recordLicensing cautions: Temporal, OPA, LiteLLM, and Docling are permissive (MIT or Apache-2.0) and safe to embed commercially. OpenSanctions data carries its own terms — buy the managed feed or verify redistribution rights before shipping list data inside a paid product. MISP's AGPL-3.0 is workable for internal fraud-intel exchange but infective if you distribute it as part of a hosted product; talk to counsel before that. The LiteLLM supply-chain incident reported in the press in 2026 is the concrete argument for a private, version-pinned model gateway rather than a floating latest tag.
Part 3 — Design principles to steal
- The evidence bundle is the product. The answer an agent produces matters less than the package of tool outputs, hashes, and versions that lets a stranger replay it — in AML, the package is what the examiner reads.
- Policy is code, pinned at decision time. Verdicts come from versioned Rego-style policies whose bundle ID is stored with the record, so a decision made in 2026 can be re-evaluated under the exact policy that governed it.
- Route by examinability, not only by cost. Deterministic code handles anything an examiner might recompute; LLMs handle drafting whose inputs are frozen evidence — the fallible component stays inside the human-review perimeter.
- Tools are the perimeter. Every external fact enters through a logged tool call against a system of record; if evidence can be synthesized anywhere in the loop, the whole trail is worthless.
- Escalation is a first-class output. Low confidence, missing documents, and ambiguous screening hits route to humans by design, and the escalation itself is written to the audit trail as a positive signal, not a failure.
- Humans propose-and-dispose, separately logged. The agent's recommendation and the analyst's final disposition are both recorded, so accountability maps cleanly onto the BSA/AML officer's legal responsibility.
- The OSS supply chain is part of your control surface. A 2026 compromise of a widely used model gateway (per press reports) reached a downstream company's customers; pin, mirror, and audit every dependency the loop executes.
Part 4 — Build notes for this vertical
Who buys. The economic buyer in a bank or fintech is the BSA/AML Officer — the person who signs SARs, certifies under regimes like NYDFS Part 504, and answers examiners. Their purchasing motive is not cost arbitrage alone; it is backlog survival plus defensibility ("every disposition has a rationale I can hand an examiner"). A second persona is the head of transaction-monitoring operations, who owns queue SLAs and analyst attrition; a third is the COO of compliance at fast-growing fintechs, where alert volume outgrew headcount last quarter. In credit unions and community banks, the same functions collapse into one overloaded person, which changes the sales motion toward turnkey.
The wedge. Enter through one painful, measurable queue — typically L1 alert triage or KYC periodic reviews — with an SLA the buyer already reports on. Expand from triage to investigation support, then to SAR narrative drafting and refresh automation, because each adjacent step reuses the same evidence bundle and the same audit ledger.
Pricing model. This vertical prices on work performed, not seats: per-alert or per-case pricing (per dispositioned alert, per completed refresh) layered on a platform fee that covers the integrations, the audit ledger, and compliance overhead. Pure per-seat pricing is actively perverse here — it taxes the customer for sending the agent more work — and pure usage pricing spooks procurement, so the hybrid dominates. Anchor value to the fully loaded annual cost of an analyst and to examiner findings avoided, and expect security review and vendor-risk questionnaires as a standard part of the deal.
The 3 biggest risks. First, examiner skepticism: regulators apply model-risk-management expectations to automated dispositions, and a single instance of an agent wrongly closing a true-positive alert can trigger broader scrutiny of every automated decision the bank has made. Second, accountability leakage: the buyer stays liable regardless of what the vendor promised, so vague "AI handles compliance" claims are a sales liability — the honest pitch is a human-gated loop with reproducible evidence, and vendors who overclaim poison the category for everyone. Third, platform and channel conflict: monitoring and case-management incumbents will ship native agentic features, and consultancies that both advise on AML programs and sell tooling face the same conflict-of-interest dynamics that audit firms face — expect the wedge to narrow and plan to own the evidence layer, which no incumbent wants to make portable.
Closing — what transfers. For anyone building compliance or legal agents, this vertical is the reference implementation of a general law: the more regulated the decision, the more the product is the artifact, not the answer. Evidence bundles, pinned policies, citation-bound rationales, human disposition gates, and hash-chained audit ledgers compose into the same skeleton whether the decisions are AML dispositions, sanctions adjudications, HIPAA access reviews, or litigation holds. Build the loop once with auditability as the load-bearing wall, and the model layer becomes a replaceable part.
Sources
- Press coverage, 2026: report on a cyberattack tied to the compromise of the open-source LiteLLM project.
- Press coverage, 2026: report on the LiteLLM project ending its relationship with a controversial compliance startup.
- Public regulatory frameworks referenced from the author's domain knowledge: FFIEC examination expectations, SR 11-7 model-risk guidance, NYDFS Part 504.
Compliance automation: continuous evidence collection and integrity
How a compliance-automation company builds its agents — and an open-source blueprint for continuous evidence collection with tamper-evident records
The company in this brief is a venture-backed compliance startup whose AI agents automate SOC 2, HIPAA, ISO 27001, and GDPR work: collecting evidence from customer systems, monitoring controls continuously, answering security questionnaires, and hosting public trust pages. It is worth studying for two reasons at once. First, the legitimate architecture pattern — tool-driven evidence collection mapped to a control catalog with continuous drift monitoring — is the right skeleton for every compliance agent you will ever build. Second, in 2026 the company became the most public case study of how that pattern fails when evidence integrity is questioned: an anonymous whistleblower alleged fabricated evidence and conflicted audit relationships, and the company's accelerator, investor, and open-source relationships ruptured within weeks, all of which the company disputes and attributes to an attack. Both halves are instructive, and this brief covers both.
Company snapshot
| Field | Detail |
|---|---|
| Founded & HQ | An early-stage company founded in the early 2020s |
| Funding & valuation | Venture-backed, with a mid-sized growth round announced in 2025 (verified via press reporting); backed by a well-known startup accelerator, which publicly parted ways with the company in 2026 (verified) |
| Scale signals | The anonymous exposé described "hundreds of customers" (verified as a claim in press reporting, not company-confirmed); revenue and retention not publicly disclosed |
| Core product | AI compliance automation: agent-driven evidence collection, continuous control monitoring, policy generation, security-questionnaire automation, trust pages, and a network of audit firms |
| Why builders should study it | The fastest path to understanding what buyers and partners actually require of a compliance agent is the company whose claims were put under adversarial public scrutiny in 2026 |
Part 1 — The inner workings of the company's agentic system
1.1 What the product actually does
The surface product is familiar to anyone who has run a SOC 2. A customer connects its cloud accounts, identity providers, code repositories, and device management systems; the company maps the environment to a control catalog spanning frameworks such as SOC 2, ISO 27001, HIPAA, and GDPR; and then the system works to satisfy auditors: collecting configuration evidence automatically, generating policy documents, assigning human tasks for evidence that cannot be pulled from an API, and tracking everything to readiness. The marketing promise that made the company notable was speed — weeks rather than months to audit-readiness, with AI agents doing the collection and paperwork.
Three agent-facing workflows carry the product. Evidence collection queries customer systems and files artifacts against controls. Questionnaire automation drafts answers to customer security questionnaires — in its 2026 rebuttal, the company itself cited its AI automating 70% of one questionnaire, as characterized in press reporting. Trust pages publish a public-facing summary of a customer's controls, which is precisely where the 2026 controversy landed: the anonymous post alleged customers' trust pages described security measures that were never implemented, a claim the company disputes.
1.2 Architecture: the harness
The internals are not publicly disclosed in engineering depth, so the honest description is the shape any such system must have, with company-specific claims marked accordingly. There is a connector plane (API integrations into customer environments), an evidence store (artifacts with timestamps and source references), a control-mapping layer (which evidence satisfies which control in which framework), an agent orchestration layer (deciding what to collect, what to ask humans for, what to draft), and an auditor interface (read-only views for the audit firms that issue opinions).
The disputed part is what the orchestration layer is allowed to do. The anonymous post alleged the system produced "fabricated evidence of board meetings, tests, and processes that never happened," and that customers were effectively forced to choose between adopting that material or doing manual work. The company's response, per press reporting, is that it is an "automation platform" that does not issue compliance reports, that final opinions come solely from independent licensed auditors, and that what the post calls fake evidence are "templates to help teams document their processes." For a builder, the exchange is the spec: the difference between a template awaiting an observed artifact and a synthesized artifact standing in for one is the entire integrity boundary of this product category, and it must be enforced in the harness, not in the terms of service.
1.3 Models & routing
Model choices and routing are not publicly disclosed. The category's correct routing is discernible from the product surface and the company's own claims: deterministic checks (API queries, configuration comparisons) execute the control tests; retrieval-conditioned LLM calls draft questionnaire answers and policy text; and human tasks cover whatever neither can. The 70% questionnaire-automation figure is the only public quantitative claim about the company's AI, and even in the company's telling the remaining 30% — the parts requiring judgment or verification — stayed with humans (the figure is the company's self-report as characterized in press reporting).
The routing lesson generalizes. In compliance, the LLM should never be the system of record for anything; it should be a drafting layer whose outputs cite the evidence that justifies them. When a vendor's architecture lets the model generate the substance rather than the prose, the product's failure mode stops being "bad answer" and becomes "false attestation," which is a categorically worse defect — the difference the 2026 allegations were ultimately about.
1.4 Data, evals & quality
No public eval methodology exists. That absence is itself the finding: in a category where the product's output is used to claim regulatory compliance, the evals that matter are adversarial — does every stored artifact trace to a source system, do trust-page claims match stored evidence, can an auditor re-derive each conclusion. The anonymous post's central charge was that the company's speed came from "skipping major framework requirements while telling clients they have achieved 100% compliance" — an eval-and-integrity allegation, disputed by the company, which says the claims are fabricated and that it hired a cybersecurity firm because "the evidence points to a malicious attack rather than a genuine whistleblower."
Quality, in this category, is inseparable from incident handling. Press reporting includes the anonymous account of a late-2025 email in which the company notified customers of a leaked spreadsheet containing confidential client reports, with its chief executive assuring customers no external party accessed sensitive data; a subsequent security researcher's claim of access to sensitive company data; and a 2026 report of another customer of the company suffering a significant security incident. The company characterizes the exfiltration as an attacker's act. Whatever the eventual findings, the operational lesson stands: a compliance vendor's own incident handling is a load-bearing component of its product.
1.5 Governance & security
The governance principle at stake is separation of duties: the party that produces or automates evidence must be structurally separate from the party that examines and attests to it. The anonymous post alleged the company "inverts" this by "generating auditor conclusions, test procedures, and final reports before any independent review occurs," and alleged that virtually all clients went through two audit firms the post called rubber-stamping "certification mills." The company responds that opinions are issued solely by independent, licensed auditors; that customers can bring their own auditor or use one from its network; and that the networked firms are established firms used broadly across the industry. These allegations and counterclaims are exactly that; no regulator findings are cited in the reporting seen for this brief.
The aftermath, however, is verified reporting and it is the part builders should internalize. A lead investor scrubbed then partially restored posts about its investment; the accelerator removed the company from its directory, with a co-founder confirming the parting; a prominent open-source project publicly distanced itself from the company as a customer. None of these actors waited for adjudication — they acted on integrity signals. In compliance tooling, your distribution partners' assessment of your honesty is a faster-moving control than any regulator's.
Part 2 — Open-source blueprint for continuous evidence collection
2.1 What the component is and why it's the pattern to steal
Continuous evidence collection is the component that turns compliance from an annual document hunt into a monitored property of the infrastructure: scheduled checks pull configuration, access, and vulnerability evidence from systems of record; each artifact is recorded against the control it satisfies, with source, timestamp, and a tamper-evident hash chain; and deltas — a control that passed last week failing this week — open alerts rather than silently updating a dashboard. Steal this component because evidence freshness is the actual product: a SOC 2 report describes a point in time, but the enterprise customer asking for your trust page is relying on what is true today.
The company's 2026 ordeal is the best available spec for how to build it, because every allegation maps to a design rule. Alleged fabricated evidence implies: evidence may only enter through tool calls against source systems, never through generation. Alleged template misuse implies: templates are scaffolding that must reference an observed artifact before a control can show satisfied. Alleged rubber-stamp audit firms imply: the attestation plane must be structurally separate from the collection plane, with no financial entanglement the vendor would be embarrassed to disclose. Alleged trust-page drift implies: public trust pages must render from the evidence store, or not at all. Whatever the truth of the specific claims, each rule is independently correct.
The second reason to steal it is economic. Collection is where the leverage lives: the marginal cost of monitoring a control continuously is near zero once the check exists, while manual collection costs hours per control per audit. Builders who make evidence portable — exportable, verifiable, re-usable across auditors and frameworks — own the layer every other compliance product depends on.
2.2 The open-source stack
| Layer | What the company does (as far as known) | Open-source pick | License | Builder's notes |
|---|---|---|---|---|
| Cloud posture checks | Agent-collected configuration evidence; internals not publicly disclosed | Prowler | Apache-2.0 | Hundreds of CIS-mapped checks across AWS/GCP/Azure; JSON output slots directly into an evidence store |
| Governance and remediation | Not publicly disclosed | Cloud Custodian | Apache-2.0 | YAML policy DSL; enforcement actions emit their own audit events, so remediation is itself evidence |
| Vulnerability and IaC scanning | Not publicly disclosed | Trivy | Apache-2.0 | Images, filesystems, and misconfigurations; wire into CI so scan results timestamp-control drift |
| Kubernetes admission control | Not publicly disclosed | OPA Gatekeeper | Apache-2.0 | Constraint templates prevent non-compliant state rather than just detecting it — prevention is cheaper evidence |
| Tamper-evident ledger | Not publicly disclosed (the property needed is verifiability, best built from primitives) | PostgreSQL append-only tables, hash chains, RFC 3161 timestamping | PostgreSQL License | INSERT-only grants, row hash chaining, daily head anchored to a timestamp authority; boring and checkable beats exotic and trusted |
| Control catalog format | Proprietary catalogs are the norm | OSCAL (NIST) | Public domain (NIST publication) | Machine-readable controls and framework crosswalks; makes multi-framework mapping a data problem instead of code |
2.3 Skeleton code
The skeleton below shows the nightly monitor loop with the two properties the whole category turns on: source-of-truth provenance assertions and a hash-chained, insert-only evidence ledger. Mark it as a skeleton: schematic but realistic.
# SKELETON — continuous evidence collection with tamper-evident ledger (schematic)
import hashlib, json
def sha256(x): return hashlib.sha256(json.dumps(x, sort_keys=True).encode()).hexdigest()
CHECKS = [ # each check: source-of-truth query -> control -> framework refs
{"id": "MFA-COVERAGE", "tool": "prowler.check.iam_mfa_all_users", "control": "CC6.1",
"frameworks": ["SOC2", "ISO27001:A.9"], "evidence_type": "iam_mfa_report"},
{"id": "TLS-CURRENT", "tool": "prowler.check.tls_min_version", "control": "CC6.7",
"frameworks": ["SOC2", "HIPAA:164.312(e)"], "evidence_type": "tls_config"},
]
def run_and_record(check, prev_hash):
result = invoke_tool(check["tool"]) # pulled from the system of record
assert result.get("source_snapshot"), "refuse to record evidence without provenance"
row = {"check": check["id"], "control": check["control"], "observed": result["observed"],
"passed": result["passed"], "retrieved_at": now_iso(), "prev_hash": prev_hash,
"hash": None}
row["hash"] = sha256({k: v for k, v in row.items() if k != "hash"})
ledger_append(row) # INSERT-only; no UPDATE/DELETE grants
if not result["passed"]:
open_delta_alert(check, row) # drift -> ticket, never a silent autofix
return row["hash"]
head = load_ledger_head()
for c in CHECKS:
head = run_and_record(c, head)
anchor_head(head) # daily head -> WORM storage / RFC 3161 TSALicensing cautions: every pick here is Apache-2.0, PostgreSQL-licensed, or public domain, which is a deliberate posture after 2026 — permissive licenses plus retained NOTICE files keep you clear of both legal and reputational attribution disputes (one count in the affair was allegedly passing off an open-source tool as the company's own; the company says it used an Apache-2.0 repository and significantly rebuilt it). Avoid AGPL components (MISP, Metabase, MinIO) inside a hosted compliance product unless counsel has blessed the separation, and never accept a dependency whose license you cannot state in a customer security review.
Part 3 — Design principles to steal
- Evidence is pulled, never generated. Every artifact must trace to a tool call against a system of record; if the pipeline can synthesize an artifact, it eventually will, and the category's 2026 scandal is what that looks like.
- Separate the collection plane from the attestation plane. The vendor collects and organizes evidence; a licensed, independent auditor concludes — and any financial ties between the two must be disclosable without embarrassment.
- Templates are scaffolding, not evidence. A drafted policy or checklist may structure a control, but a control shows satisfied only when an observed artifact sits behind it, referenced by ID and hash.
- Continuous means drift alerts, not dashboards. The output of monitoring is a ticket and a re-check on delta; a green dashboard that quietly absorbs state changes is worse than no dashboard.
- Tamper-evidence is cheap, so buy it everywhere. Hash chains over insert-only tables, anchored daily to an external timestamp authority, cost an afternoon and answer the question "could the vendor rewrite history?" before it is asked.
- Trust pages render from the evidence store or not at all. Public claims about controls must be a projection of stored, fresh evidence — a hand-edited trust page is an unmanaged liability that compounds silently.
- Partners enforce integrity before regulators do. Accelerators, investors, and OSS communities revoked association within weeks of the allegations; design your honesty so it survives a hostile anonymous post, because that is the actual stress test.
Part 4 — Build notes for this vertical
Who buys. At startup scale the buyer is the CTO or head of engineering wearing the security hat — SOC 2 is usually a sales-pipeline requirement, and the buyer's real jobs are unblocking enterprise deals and not being personally blamed if compliance is fake. At growth stage the buyer becomes a security or GRC lead (a proto-CISO), and for HIPAA a privacy or security officer with statutory duties; these personas evaluate evidence provenance far more skeptically than a CTO does. The controller analogy is direct: just as a controller owns the integrity of the ledger, the security lead owns the integrity of the evidence store, and both buy systems that make their sign-off defensible.
The wedge. Fast, agent-driven SOC 2 with visible evidence lineage; expand to multi-framework coverage (ISO, HIPAA, GDPR), questionnaire automation, and trust centers. The wedge works because the pain is calendar-driven — a customer deal blocked on a report — which creates urgency no other compliance purchase has.
Pricing model. The vertical norm is a platform fee tiered by company size (headcount bands) plus per-framework add-ons, with auditor-marketplace revenue on top. Per-control pricing appears in enterprise GRC but is rare at SMB scale; per-entity (per monitored company) is effectively what the tiered fee is. If you operate an audit-firm network, disclose the economics — a referral arrangement is legitimate when visible and corrosive when hidden, and the 2026 allegations ("certification mills") show how the hidden version reads from the outside.
The 3 biggest risks. First, evidence integrity: the defining failure of this category in 2026 was not a bad model but allegedly synthesized evidence, and the consequences — "criminal liability under HIPAA and hefty fines under GDPR" alleged for customers, plus accelerator, investor, and OSS-community exits — arrived in weeks. Make fabrication architecturally impossible and market that property explicitly. Second, attestation-channel conflicts: audit firms sell consulting, platforms sell audit referrals, and the buyer's auditor must be independent of both; expect procurement to ask, and expect the answer to become a diligence item in your own future fundraising or acquisition. Third, commoditization and asymmetric liability: evidence collection is being commoditized by several well-funded competitors at once, while the buyer's regulatory liability — not yours — is the failure surface; differentiation has to live in verifiability, portability of evidence, and depth on specific frameworks, not in speed claims, which every competitor can also make and none can safely stand behind.
Closing — what transfers. For builders of compliance and legal agents, this company is both the pattern and the anti-pattern in one. The pattern — continuous tool-driven collection mapped to machine-readable controls, with drift alerts and tamper-evident logs — is the architecture every regulated workflow wants. The anti-pattern is any shortcut that lets the system assert more than it observed. The general law: in compliance, the buyer is purchasing the ability to make a defensible claim to a third party, so the product is the claim's auditability. Build so that a hostile journalist, a rival's whistleblower, or an examiner with subpoena power can re-verify every artifact, and you have built the thing the category actually sells.
Sources
- Public press reporting (2026) on the anonymous allegations of misleading customers with "fake compliance" and the company's response, including the company's characterization of the matter as a malicious attack.
- Public press reporting (2026) on a lead investor removing and partially restoring its investment post.
- Public press reporting (2026) on follow-up allegations from the same anonymous source.
- Public press reporting (2026) on an open-source AI gateway project ending its association with the company.
- Public press reporting (2026) on the accelerator parting ways with the company and the company's statement.
- Public press reporting (2026) on another customer of the company suffering a significant security incident.
- Public press reporting (2026) on a downstream supply-chain compromise of an open-source AI gateway project (adjacent context).
Trust management: integration-graph evidence fabric
How a trust-management company builds its agents — and an open-source blueprint for an integration-graph evidence fabric
The company in this brief is the category-defining trust-management platform: companies connect their cloud, identity, device, and code systems, and the platform continuously collects evidence, tests controls against frameworks like SOC 2 and ISO 27001, publishes a trust center, and prepares audit-ready exports — with AI increasingly drafting questionnaire answers and chasing remediation. The architecture pattern worth stealing is the integration graph: a growing fleet of connectors that each declare the evidence types they can supply, so controls and tests bind to normalized evidence rather than to any specific vendor, and every new connector multiplies framework coverage across hundreds of systems. That graph — not the models — is the moat, and it is buildable with open-source parts.
Company snapshot
| Field | Detail |
|---|---|
| Founded & HQ | A late-2010s company, venture-backed and now a large scale-up |
| Funding & valuation | Venture-backed through several large rounds (verified via press reporting); amounts omitted |
| Scale signals | The company has publicly cited a multi-thousand-customer base and hundreds of integrations |
| Core product | Trust management: continuous control monitoring via a large integration graph, automated evidence collection, access reviews, vendor risk, AI questionnaire automation, trust centers, penetration testing, and an auditor partner network |
| Why builders should study it | The company operationalizes the hardest problem in compliance automation — normalized evidence from hundreds of heterogeneous systems — and its scale makes the integration-graph pattern the reference design for any evidence-hungry agent product |
Part 1 — The inner workings of the company's agentic system
1.1 What the product actually does
The primary user journey starts with connecting systems: cloud providers, identity providers (SSO directories), device-management tools, code repositories, HR systems, and cloud-adjacent services. Each connection is configured once and then feeds evidence continuously. The customer selects frameworks — SOC 2 is the entry point for most startups, with ISO 27001, HIPAA, GDPR, PCI, and government-oriented frameworks in the catalog — and the platform decomposes the framework into controls, then into concrete tests over connected systems.
The daily reality for the customer is a monitoring surface: a list of controls and tests, each passing or failing against fresh evidence, with remediation guidance when something drifts — an MFA gap, a public bucket, an offboarded employee still in the directory. Around that core sit the expansion products: a public trust center that shares security posture with prospects under NDA or openly, access reviews that generate auditable attestation campaigns, vendor risk management, and AI questionnaire automation that drafts answers to customer security questionnaires from an approved answer library and the customer's own evidence. Auditors from the company's partner network read evidence through the platform, which keeps the annual audit ceremony but changes where the work happens.
1.2 Architecture: the harness
The company has not published a full architecture write-up, so this is the structure the product surface implies, marked where inferred. At the bottom is the connector fleet: per-vendor integrations, each pulling raw artifacts on a schedule — user lists, MFA states, bucket policies, device postures, commit and review records. Each connector normalizes its vendor's idiosyncratic API output into shared evidence shapes, which is the graph's load-bearing abstraction: "iam user with mfa status" and "s3 bucket publicness" mean the same thing regardless of which of a hundred systems supplied them.
Above the evidence layer sits the test engine: deterministic checks bound to evidence types, executed on schedules, producing pass/fail findings with timestamps and the exact artifacts that justified them. The evidence store retains historical snapshots, which is what turns "we are compliant" into "here is the April 3 evidence showing MFA coverage at 100%, collected from Okta and AWS." The AI layer for questionnaires and drafting sits on top of an approved-answer library plus the evidence store, so generated answers cite curated sources rather than free-generating. Integration and memory are therefore not chat features: the graph itself is the memory, and every test result is an artifact with lineage.
1.3 Models & routing
Model choices are not publicly disclosed. The routing logic the product implies, and that any builder should copy, is: deterministic code executes every control test, because tests must be reproducible and auditable; retrieval over the approved answer library handles questionnaire answering, with the LLM adapting phrasing rather than inventing facts; LLM drafting appears where the output is prose for a human — remediation guidance, follow-up emails, questionnaire framing — not where the output is an attestation. Cost posture follows from this: the continuous test workload is nearly free per run, and model spend concentrates in the drafting surfaces where volume is human-bound rather than machine-bound.
The deeper principle is that agents sit at the edges of the graph, not in its spine. Evidence collection and control testing do not need an LLM in the loop; they need schedules, retries, and normalization. The LLM earns its place where unstructured human language enters the system (a customer's questionnaire) or must leave it (a remediation email). This is the opposite of the "agent does everything" design, and it is why trust-management platforms can operate continuously without constant human supervision of the automations.
1.4 Data, evals & quality
No public eval methodology exists, so the quality axes here are the ones the product's economics force. Test reliability comes first: a monitoring product that cries wolf trains customers to ignore it, so false-positive control failures are treated as defects. Connector freshness comes second: each evidence type has an implicit staleness threshold, and a connector that silently stops syncing is a compliance failure masquerading as an outage. Coverage comes third: the fraction of a framework's controls that automated evidence satisfies versus what falls to manual upload — that ratio is the product's efficiency claim in miniature.
The multi-tenant trust dimension of quality was made vivid in June 2025, when press reporting described a bug in the platform that exposed some customers' data to other customers. For a company whose product is the promise of security posture, an isolation bug is the worst-case defect class, and the event is a reminder that the evidence store itself — its access boundaries, its per-tenant isolation — is the most security-sensitive surface in the whole architecture. Failure handling for agents in this category follows the same conservatism as the test engine: drafts are suggestions with citations, monitoring findings are raised to humans, and nothing attests itself.
1.5 Governance & security
The structural governance fact is separation of attestation: the platform collects, monitors, and organizes evidence, but audit opinions are issued by independent licensed auditors — the same separation whose alleged absence is at the center of the compliance-automation report in this series. Deployment is multi-tenant SaaS; buyers subject to their own compliance regimes evaluate the platform with the same SOC 2 lens the platform automates, and vendor-security review is a standard part of the sales cycle.
Operationally, the June 2025 multi-customer exposure bug (verified via press reporting) is the governance case study: in a trust product, disclosure speed, blast-radius honesty, and the fixes that follow are themselves marketing. The general lesson for builders: a compliance platform's own incident response runs through its customers' compliance narratives — a customer mid-audit whose evidence store leaks has been harmed twice — so treat tenant isolation, least-privilege connector scopes, and evidence-store immutability as product requirements, not infrastructure details.
Part 2 — Open-source blueprint for the integration-graph evidence fabric
2.1 What the component is and why it's the pattern to steal
The integration graph is a three-node abstraction: evidence types (a controlled taxonomy of normalized artifacts, each with a freshness SLA), connectors (which declare the evidence types they can supply, and nothing else), and tests (which bind to evidence types, never to vendors). Frameworks then map controls to evidence types, which means adding connector number two hundred and one adds coverage to every framework that references its evidence types, with zero new test code. That indirection is the scaling law of the whole category: coverage grows multiplicatively with the graph, while test logic grows only with the taxonomy.
This matters because the naive design — each test hardcoded to a vendor API — dies at about a dozen integrations. The graph design survives hundreds because normalization is done once per connector, and everything downstream is vendor-agnostic. It also produces the property that makes continuous compliance auditable: every test result can cite the exact evidence artifacts (source system, collection timestamp, content hash) that produced it, so an auditor can re-derive any finding years later.
A practical refinement most builders miss: keep the graph's write path and read path separate. Connectors and the test engine write; auditors, trust pages, and questionnaire agents read, and never write back. That one-way flow is what lets you prove integrity — if the read side could mutate evidence, the hash chain would be certifying writes you cannot vouch for. It also matches the commercial reality that different personas touch different sides: customers own connections and remediation, auditors consume exports, and prospects see only the trust-center projection. The same discipline answers the hardest enterprise-sales question — "can our auditor rely on this?" — because reliance is exactly what a read-only, hash-anchored export is.
Steal the pattern for anything evidence-hungry beyond security compliance: KYC refresh (evidence types like "proof of address document," connectors like ID-verification vendors and document portals), legal-hold and discovery collection, financial close controls, healthcare access auditing. The taxonomy-plus-bindings discipline is the same everywhere; only the connectors and frameworks change.
2.2 The open-source stack
| Layer | What the company does (as far as known) | Open-source pick | License | Builder's notes |
|---|---|---|---|---|
| Connector framework | Proprietary fleet of hundreds of connectors | Airbyte | Elastic License v2 core; connector catalog mixes licenses including AGPL components — flag | ELv2 permits hosting but forbids offering it as a managed service; review per-connector licenses before embedding; the CDK makes custom connectors cheap |
| Cloud posture evidence | Deep cloud-provider coverage | Prowler | Apache-2.0 | Hundreds of checks with JSON output; effectively a pre-built connector for the cloud evidence types that SOC 2 cares most about |
| Policy and remediation evidence | Not publicly disclosed | Cloud Custodian | Apache-2.0 | Enforcement actions emit events, so remediation becomes evidence automatically |
| Audit-log streaming | Not publicly disclosed | OpenTelemetry Collector | Apache-2.0 | Vendor-neutral pipeline for audit trails; one normalization layer for many log sources |
| Sync orchestration | Not publicly disclosed | Apache Airflow | Apache-2.0 | Scheduled connector runs with retries and backfills; DAG per connector keeps freshness SLAs observable |
| Evidence lake | Not publicly disclosed | Apache Iceberg on object storage, with Postgres for the hot set | Apache-2.0 | Time-travel queries give point-in-time evidence replay for free; partition by collection date |
2.3 Skeleton code
The skeleton below shows the graph's core: an evidence-type registry with freshness SLAs, connector normalization into shared shapes, and tests that bind to types rather than vendors. Mark it as a skeleton: schematic but realistic.
# SKELETON — integration-graph evidence fabric (schematic)
EVIDENCE_TYPES = {
"iam_user_mfa_status": {"freshness_sla": "24h", "fields": ["user", "mfa_enabled"]},
"s3_bucket_publicness": {"freshness_sla": "1h", "fields": ["bucket", "is_public"]},
}
CONNECTORS = { # each connector declares the evidence types it can supply
"aws": ["iam_user_mfa_status", "s3_bucket_publicness"],
"okta": ["iam_user_mfa_status"],
}
def normalize(connector, raw): # vendor APIs -> one shared shape
if connector == "aws": return {"user": raw["UserName"], "mfa_enabled": len(raw["MFADevices"]) > 0}
if connector == "okta": return {"user": raw["profile"]["login"], "mfa_enabled": raw["factor_count"] > 0}
def ingest(connector, raw):
ev = normalize(connector, raw)
assert set(ev) == set(EVIDENCE_TYPES["iam_user_mfa_status"]["fields"]), "shape drift"
ledger.append({**ev, "source": connector, "loaded_at": now_iso(),
"sha256": sha256(ev)}) # append-only, hashed evidence row
def run_test(test): # tests bind to TYPES, never to a vendor
rows = ledger.latest_by_type(test.evidence_type, max_age=test.freshness_sla)
if not rows:
return {"control": test.control, "status": "STALE"} # missing evidence = failing control
return {"control": test.control,
"status": "PASS" if all(test.pred(r) for r in rows) else "FAIL",
"evidence_count": len(rows), "sources": sorted({r["source"] for r in rows})}Licensing cautions: Airbyte is the one pick needing care — its core is Elastic License v2 (fine to self-host, not fine to resell as a managed connector service) and individual connectors carry mixed licenses including AGPL, so gate connector adoption on a license review. Prowler, Cloud Custodian, OpenTelemetry, Airflow, and Iceberg are Apache-2.0 and safe for commercial embedding. If Airbyte's terms are a blocker, build custom connectors on its CDK concepts with your own runtime, or orchestrate pure-Python pulls from Airflow and keep the graph — the pattern, not the tool, is the asset.
Part 3 — Design principles to steal
- Bind tests to evidence types, not vendors. The indirection layer is what lets connector count scale into the hundreds while test code scales only with the taxonomy.
- Normalization is the product. Customers never see the vendor APIs' mess; the one-time cost per connector buys permanent, multi-framework coverage downstream.
- Freshness is a first-class property. Every evidence type carries a staleness SLA, and missing or stale evidence is itself a failing control, not a silent gap.
- Agents at the edges, determinism in the spine. Scheduled tests and normalization run on code; LLMs handle the human-language boundaries — questionnaires, remediation prose — with citations back into the evidence store.
- Evidence replay beats evidence assertion. Retained, hashed snapshots turn any audit question into a query, which is what makes "continuous" compliance meaningfully different from annual collection.
- Answer libraries keep AI auditable. Questionnaire automation drafts from approved, curated answers rather than free-generating, so a wrong answer is a library bug you can fix, not an unpredictable model output.
- Your own incidents are product events. A 2025 isolation bug (per press reporting) shows that in a trust product, tenant isolation defects and their disclosure land directly on customers' compliance narratives — engineer isolation accordingly.
Part 4 — Build notes for this vertical
Who buys. The core buyer is the CISO or security lead at a startup through mid-market company — the person accountable for the security program the auditors will examine. The expansion personas matter as much: the controller and finance-operations leads who own access reviews and segregation-of-duties evidence, IT managers who own device posture, and the GRC manager at larger companies consolidating frameworks. A second, often-ignored buyer is the audit firm itself, which buys collaborator access and wants evidence delivered pre-organized; firms are a distribution channel and a buyer at once, which is both the growth engine and the conflict risk of this vertical.
The wedge. SOC 2 automation for venture-backed startups plus a public trust center that turns compliance into a sales asset. Expansion runs through multi-framework coverage, questionnaire automation, access reviews, and vendor risk — each reusing the same evidence graph, which is why the wedge compounds instead of fragmenting.
Pricing model. The vertical standard is a platform fee tiered by company size (employee bands), with per-framework add-ons, paid modules such as penetration testing, and free or paid seats for auditor collaborators. Pricing is effectively per-entity (per monitored company), not per-control or per-seat, because the value scales with the scope of the estate being monitored rather than with user count — a structure builders should copy, since per-seat pricing would tax exactly the adoption (more connected systems) that makes the product stickier.
The 3 biggest risks. First, the connector treadmill: every integration is a permanent maintenance liability — API deprecations, auth migrations, schema drift — and the ops cost scales linearly with graph size, so unglamorous connector reliability engineering is the real moat defense. Second, trust-event fragility: a multi-tenant isolation bug (June 2025, per press reporting) or an AI-drafted questionnaire answer that overstates a customer's controls creates liability that flows through to customers mid-audit; the product must degrade toward "cannot attest" rather than toward confident nonsense. Third, channel and platform conflict: the audit firms, consultancies, and managed service providers in your distribution chain increasingly sell their own tooling, hyperscalers and identity vendors are exposing native compliance artifacts that disintermediate generic connectors, and GRC incumbents (large enterprise risk-management platforms) are moving down-market — assume the wedge narrows within a few years and own the evidence layer, which remains portable even when frameworks commoditize.
Closing — what transfers. For builders of compliance and legal agents, the company's transferable asset is the graph discipline: a controlled evidence taxonomy, connectors that declare capabilities, tests and frameworks that bind to types, freshness SLAs, and hashed, replayable evidence. That skeleton carries KYC refresh in financial crime, privilege and discovery collection in legal, access auditing in healthcare, and close-process evidence in finance. The models will be the cheapest, most replaceable part of such a system; the graph — connectors, taxonomy, and the audit trail stitched through them — is what competitors cannot copy in a quarter, and what acquirers with conflicting tooling interests cannot easily unwind.
Sources
- Public press reporting (2024) on the company's large growth round and valuation.
- Public press reporting (2022) on an earlier funding round for the company.
- Public press reporting (2025) on a bug that exposed some customers' data to other customers.
- Public conference coverage (2024) of the company's founder on stage.
- Public press reporting (2026) on the compliance-automation case in this series (contrast case for attestation separation).
- Public press reporting (2024) on funding in the wider security-compliance automation category (vertical context).
- Public press reporting (2025) on funding for AI-based virtual-CISO tooling (adjacent buyer-persona context).
Audit engagement platform: agentic request-list workflow
How an audit-engagement platform company builds its agents — and an open-source blueprint for an agentic request-list workflow with evidence lineage
The company in this brief builds an AI-powered engagement platform for audit and advisory firms — the CPA firms that run SOC examinations, IT audits, and advisory work — replacing the spreadsheet-plus-email machinery of engagements with a structured client portal, request lists, and evidence workflows, with AI handling document processing and follow-up. The architecture pattern worth stealing is the agentic request-list workflow: a shared, typed task graph between firm and client in which agents chase evidence, validate submissions against request schemas, draft the tie-out between evidence and requests, and prepare workpapers for a human reviewer's sign-off. Audit is the strictest evidence discipline in professional services — every conclusion must trace to workpapers a reviewer and regulator can re-examine — which makes it the ideal laboratory for compliance-native agent design.
Company snapshot
| Field | Detail |
|---|---|
| Founded & HQ | An early-stage company founded in the late 2010s; accelerator-backed |
| Funding & valuation | The company has announced venture rounds |
| Scale signals | Customer counts and revenue not publicly disclosed in sources seen; company materials have cited a growing base of audit and advisory firms |
| Core product | Engagement platform for audit and advisory firms: request lists (PBC), client portal and evidence collection, engagement workflow management, AI document processing, and engagement analytics |
| Why builders should study it | The request list is the universal evidence-collection instrument of professional services; making it agentic — with lineage, validation, and human sign-off — is the most directly transferable pattern from audit to every other evidence-driven workflow |
Part 1 — The inner workings of the company's agentic system
1.1 What the product actually does
The unit of work is the engagement: a defined body of assurance work — a SOC 2 examination, an IT audit, a readiness assessment — that one firm performs for one client over a defined period. Today, at firms not using a platform, the engagement runs on a request list (often called a PBC list, for "prepared by client"): a spreadsheet of documents and answers the client must supply — access-control matrices, network diagrams, policy documents, screenshots — tracked by email, with attachments aging into version chaos. The company's core move is to make the request list a live, shared object: each request is a tracked item with an owner, a due date, a status, and an evidence slot; the client uploads through a portal; and both sides see the same state.
Around that core, the platform's workflows are the ones engagement teams actually live in. Evidence arrives, gets matched to requests, and is versioned; reviewers mark items complete or request more; prior-year engagements roll forward, so last year's request list and evidence graph seed this year's; and status analytics show which engagements are stalled and who owes what. The AI surfaces where the category is heading: classifying uploaded documents against request types, extracting fields, and drafting follow-up requests for incomplete evidence. The user-visible promise is leverage: the same engagement team handles more concurrent engagements, and partners see pipeline-wide status instead of chasing email threads.
1.2 Architecture: the harness
The company's internals are not publicly disclosed, so this subsection describes the harness this product requires, marked throughout. The spine is an engagement state machine: engagement, then requests, then evidence, then review, then workpaper assembly, with a many-to-many mapping between requests and evidence objects — one upload can satisfy several requests, and one request may take several artifacts. The evidence object is the central data structure: a versioned artifact with provenance metadata (uploader identity, upload timestamp, content hash, source system if collected programmatically) that persists independently of any AI interaction.
The agent layer operates on this graph rather than inside a chat window. Its jobs: intake validation (does the uploaded file match the request's schema — correct period, correct document type, parseable content), matching (which request does this evidence satisfy), chasing (deadline-aware reminders and escalations to the client when requests age), and drafting (tie-out summaries and follow-up requests for a reviewer to edit). Every agent action must write to the engagement's audit trail, because in audit the trail is not overhead — it is the deliverable. The human-review gate is structural, not cosmetic: professional standards require qualified review of the work supporting an attestation, so the agent proposes and a licensed human disposes, and the record shows both.
1.3 Models & routing
Model choices are not publicly disclosed. The routing pattern this category demands, described, is the same three-way split seen across this series: deterministic code for anything checkable — schema validation, period matching, completeness counts, hash computation; document-AI models for classification and extraction of uploaded PDFs, spreadsheets, and exports, where accuracy is measurable and retraining on firm-specific document types is the moat; and LLM drafting for the human-language surfaces — follow-up requests phrased politely, tie-out narratives, status summaries — always conditioned on retrieved evidence objects with citations.
The cost-latency posture follows the workflow's rhythm: engagement workloads are bursty (kickoff and fieldwork spikes), document parsing runs at intake and should be asynchronous, and drafting calls are human-bound and cheap relative to the labor they replace. The routing rule worth stealing from audit specifically: confidence thresholds gate everything. A document classified below threshold goes to a human queue with a reason, because a silently mis-mapped piece of evidence is worse than an unmapped one — it poisons the tie-out that the reviewer believes is already done.
1.4 Data, evals & quality
No public eval methodology exists, so the quality bar here is the one professional standards impose. The eval set that matters is reviewer acceptance: on historical engagements, how often is the agent's proposed request-to-evidence mapping accepted unchanged by the engagement manager, and what rework does each automated step save or create? A second axis is chase effectiveness — do agent-drafted follow-ups shorten the days-to-evidence curve without annoying clients into escalation? A third is intake precision: the fraction of uploads that pass schema validation on first submission, which is the leading indicator of downstream rework.
Failure handling is shaped by liability rather than preference. An agent that marks a request satisfied on bad evidence creates a defect that surfaces at review or, worst case, in the issued opinion — so the design mandate is escalation-with-reasons, never silent judgment calls. Human review is not one step among many; it is the structural backstop that makes the agent's work admissible as audit support at all. For builders, this is the deepest transfer in the report: in regulated evidence work, the eval that matters is not benchmark accuracy but reviewer trust per intervention, and every design choice should be scored against it.
1.5 Governance & security
Three governance constraints define this category. First, independence and responsibility: the firm — not the tool — signs the opinion, so the platform must position itself strictly as evidence management and workflow, never as attestation; any blurring of that line invites both regulatory and liability problems, which is exactly the line the compliance-automation report in this series shows being allegedly crossed in the compliance-platform world. Second, confidentiality: workpapers contain client financial and security data under professional confidentiality duties, so tenancy isolation, retention policies, and encryption are table stakes, and firm-level data segregation (one client's evidence never influencing another's model behavior) is a diligence question. Third, record integrity: workpapers are the firm's defense in peer review, regulator inspection, and litigation, so evidence stores need versioning, immutability, and complete audit trails by default. Deployment specifics (cloud regions, sub-processors, SOC 2 status of the vendor itself) are not publicly disclosed; they are standard vendor-review items for CPA firms.
Part 2 — Open-source blueprint for the agentic request-list workflow
2.1 What the component is and why it's the pattern to steal
The request list made agentic has four moving parts. The request graph: typed requests with schemas (expected document types, periods, fields), dependencies (the MFA policy review depends on the user-access list), and owners on both sides. The evidence store: versioned, hashed artifacts with provenance, many-to-many mapped to requests. The agent loop: intake validation at upload time, gap detection ("REQ-014 covers FY26 but the export stops in March"), chase scheduling with deterministic escalation, and tie-out drafting for review. The sign-off gate: a human reviewer approves, with the approval itself recorded against specific evidence versions — lineage preserved forever.
Steal this component because the request list is not an audit quirk; it is the generic shape of evidence collection under verification. KYC refresh at a bank is a request list (documents, screening results, risk-rating updates). Litigation discovery is a request list. SOC 2 evidence collection is a request list. Vendor due diligence is a request list. In each, the pain is identical — unstructured asks, email attachment chaos, silent staleness, chasing humans — and the agent's leverage is identical: parse at intake, validate against typed schemas, chase deterministically, and prepare a reviewable draft with full lineage. The audit version is simply the one where the review gate is backed by professional licensure, which is why it is the right reference implementation.
The second reason is economic: the request-list workflow is where engagements actually stall, and stall time is the firm's inventory. A platform that compresses days-to-evidence raises the firm's throughput without headcount, which is the ROI story partners buy. The agent earns its place not by doing the audit — it cannot, and must not — but by removing the coordination tax from every hour a licensed professional spends on judgment.
2.2 The open-source stack
| Layer | What the company does (as far as known) | Open-source pick | License | Builder's notes |
|---|---|---|---|---|
| Request tables and portal | Proprietary request lists and client portal | NocoDB (alternative: Baserow, MIT core — verify premium split) | AGPL-3.0 | AGPL is workable for internal firm tooling; embedding NocoDB inside a distributed SaaS requires compliance review — Baserow's MIT core avoids the issue |
| Workflow orchestration | Not publicly disclosed | Temporal | MIT | Reminders, escalations, and retries as durable workflows; an approval signal resumes the engagement months later with full state |
| Evidence parsing | AI document processing | Docling, with Apache Tika for bulk formats | MIT / Apache-2.0 | Parse at intake, not at review; store extracted text beside the source hash so reviewers can diff extraction against the original |
| Intake bots | Client channels | Slack Bolt (MIT) plus signed-URL uploads over a self-hosted mail stack | MIT | Structured intake with schema hints beats attachment free-for-all; signed URLs give the audit trail a clean hash boundary |
| Tie-out math | Not publicly disclosed | pandas | BSD-3 | Deterministic, reviewable cross-checks (periods, counts, totals); never delegate checkable math to an LLM |
| Workpaper store | Not publicly disclosed | Postgres plus S3-compatible object storage (MinIO is AGPL-3.0 — flag; SeaweedFS is Apache-2.0) | PostgreSQL License / Apache-2.0 | Versioned, append-only evidence objects; hash every version; make deletion a privileged, logged action |
2.3 Skeleton code
The skeleton below shows the request-list loop's load-bearing structure: schema validation at intake, provenance recording, agent-chased gaps with deterministic escalation, and a human sign-off that is itself an audit record. Mark it as a skeleton: schematic but realistic.
# SKELETON — agentic request-list workflow with evidence lineage (schematic)
REQUESTS = {
"REQ-014": {"type": "user_access_list", "period": "FY26",
"schema": {"columns": ["user", "role", "granted_at"]}, "deps": []},
"REQ-021": {"type": "mfa_policy_doc", "period": "FY26",
"schema": {"mime": ["application/pdf"]}, "deps": ["REQ-014"]},
}
def validate(req, artifact):
return {"schema_ok": schema_matches(artifact, req["schema"]),
"period_ok": artifact["period"] == req["period"],
"parse_ok": extract_text(artifact["blob"]) != ""} # Docling/Tika at intake
def on_upload(req_id, artifact, uploaded_by):
lineage = {"request": req_id, "sha256": sha256(artifact["blob"]),
"uploaded_by": uploaded_by, "uploaded_at": now_iso(),
"version": next_version(req_id)}
v = validate(REQUESTS[req_id], artifact)
evidence_store.put({**lineage, **v}, artifact["blob"]) # versioned, append-only
if not all(v.values()):
gaps = explain_gaps(v, REQUESTS[req_id]) # LLM drafts the specific re-ask
chase_engine.enqueue(req_id, gaps, escalation="48h->engagement_manager")
elif deps_ready(req_id):
propose_tieout(req_id) # draft mapping for reviewer
def reviewer_signoff(req_id, reviewer): # attestation stays human
audit_append({"request": req_id, "action": "signoff", "reviewer": reviewer,
"evidence_versions": current_versions(req_id), "at": now_iso()})Licensing cautions: NocoDB's AGPL-3.0 is the trap in this stack — fine for a firm's internal tool, infective if you distribute the product as a service without legal review; Baserow's MIT core is the safer fork point, verify its premium-module boundary before committing. MinIO moved to AGPL-3.0, so pick SeaweedFS or a cloud object store for the workpaper layer. Temporal, Docling, Slack Bolt, and pandas are permissive and safe to embed commercially.
Part 3 — Design principles to steal
- The request is a typed contract, not a spreadsheet row. Schemas, periods, dependencies, and owners turn evidence collection from correspondence into a queryable graph the agent can reason over.
- Evidence lineage is the deliverable. Uploader, timestamp, content hash, version, and the requests each artifact satisfies — if the lineage is complete, the tie-out is checkable; if it is not, nothing else matters.
- Parse at intake, never at review time. Validating and extracting on upload catches bad evidence while the client can still fix it, which is the difference between a nudge and a fire drill.
- Agents chase, humans attest. Reminders, gap explanations, and tie-out drafts are agent work; the sign-off that supports a licensed opinion is human by rule, and the record must show both.
- Roll-forward is the compounding feature. Last year's request graph and evidence versions seed this year's engagement, so every completed engagement makes the next one cheaper — a data moat that grows with use.
- Confidence thresholds gate automation. Below-threshold classifications and extractions queue for humans with reasons, because a silently mis-mapped artifact poisons a tie-out the reviewer already trusts.
- Tooling must be independence-safe. The platform manages evidence and workflow; it never issues conclusions — the boundary the compliance-automation report in this series shows being allegedly crossed, and the one that decides whether firms can buy your product at all.
Part 4 — Build notes for this vertical
Who buys. The buyer is the managing partner or audit practice leader at a CPA firm — the person who owns P&L per engagement and signs opinions. The economic argument is leverage, not headcount reduction: partners buy the ability to run more concurrent engagements with the same licensed staff, because licensed audit hours are the scarce input and hiring is the binding constraint. The daily champion is the engagement manager drowning in follow-up emails and version chaos; a secondary persona is the director of audit technology at larger firms, who evaluates whether this consolidates or multiplies their tooling stack. Note the buyer is sophisticated about liability in a way most SaaS buyers are not — the purchase decision runs through quality-control and peer-review consequences, not just ROI.
The wedge. Request lists plus client portal for attestation practices (SOC examinations and IT audit are the beachhead; financial-statement audit support raises regulatory stakes and platform expectations). Expand from evidence collection into engagement management, roll-forward automation, portfolio analytics, and eventually the AI document processing that turns prior-year evidence into this year's drafts. The wedge works because the pain is universal at firms of every size and currently lives in spreadsheets and email — the lowest-tech surface in professional services.
Pricing model. The vertical norm is a per-practitioner seat fee plus a per-engagement or platform fee, sometimes with per-client (per-entity) tiers for the client-portal side. Firms evaluate against billable-hour economics: if the platform saves even a few hours per engagement per staff member, the fee is roundable — so price to observable hours saved, offer engagement-volume tiers, and expect the client-portal seats to be included, because charging the client-side users would strangle the network effect that makes the firm-side product valuable.
The 3 biggest risks. First, professional liability: the firm signs the opinion, so agent errors in evidence handling become the firm's legal exposure, and one botched engagement costs more than a decade of subscription revenue — build the reviewer gate and lineage as non-optional architecture. Second, incumbent and channel conflict: large professional-software incumbents bundle engagement tooling with the audit software firms already run, the largest audit networks build in-house tools, and the consultancies and audit firms in your distribution chain also sell their own tooling and advice — expect partnership conflicts to look exactly like the audit-tooling conflicts flagged for compliance startups elsewhere in this series, and own the evidence layer to stay portable. Third, parsing accuracy at the tail: client evidence arrives as the messiest documents in existence, and silent mis-mapping is worse than none; the mitigation is confidence-gated automation and reviewer UX that makes verification cheap.
Closing — what transfers. For builders of compliance and legal agents, audit's request-list workflow is the most rigorous template available: typed requests, provenance-tracked evidence, intake-time validation, deterministic chasing, confidence-gated AI, and a human gate backed by licensure. The same skeleton runs KYC refresh at a bank, discovery obligations in litigation, due-diligence data rooms in M&A, and HIPAA access auditing — anywhere evidence moves from one accountable party to another for verification. The durable insight is that in regulated knowledge work the product is not the answer and not even the artifact; it is the chain of custody between question, evidence, and human judgment — and the agent's job is to make that chain fast, complete, and honest.
Sources
- Public press coverage of an accelerator demo day (2020) that included the company (source for accelerator participation).
- Public press reporting (2026) on the compliance-automation case in this series (contrast case for attestation separation and evidence integrity).
- Public press reporting (2024) on funding in the wider security-compliance automation category (evidence-workflow automation as a funded category).
- Public press reporting (2025) on funding for AI-based virtual-CISO tooling (evidence-driven advisory automation as a funded category).
How is this page?
Last updated on