Joe Zein: Turn private-equity archives into context AI agents can use

A low-cost-first pipeline extracts, reconciles and traces decades of fund records before agents can rely on them.

JZJoe ZeinVortrag · Soal Labs
Kanal
AI Engineer
Veröffentlicht
3. Dez. 2026
Video
26:34
Lesezeit
7 Min.
Folien
5
Original
Englisch
Auf YouTube öffnen
Beim Scrollen schrumpft das Video in die rechte untere Ecke und läuft weiter. Untertitel folgen Ihrer Lesesprache.
LesespracheIn 2 Sprachen verfügbar
Diesen Artikel gibt es noch nicht auf Deutsch, daher wird das Original (Englisch) angezeigt.
ZUSAMMENFASSUNG

In 30 Sekunden

An AI connector cannot make a messy archive reliable on its own. Joe Zein describes a pipeline that turns private-capital files, emails and existing systems into a shared PostgreSQL record: remove duplicates, route pages and fields to appropriate tools, resolve identities and keep a link to the source. Graph calculations help decide which mentions refer to the same entity, while people review uncertain merges and proposed writes. Ongoing intake and nightly batches keep the record useful after the historical backfill.

  1. 1A general risk insight was not the fund’s unique advantageA frontier model flagged customer concentration without any firm data. Zein says the harder-to-copy asset is the firm’s own evidence, relationships and history of decisions.
  2. 2The target is a shared record, not another search over foldersHistorical files flow through a backfill pipeline into PostgreSQL; new intake and nightly processing keep the record current. Agents read through scoped tools and proposed writes receive review.
  3. 3Use exact and near-duplicate checks before paying for extractionZein describes file fingerprinting and similarity signatures, then classification by rules. Reported duplicate rates are observations from his examples, not universal rates.
  4. 4Entity resolution turns scattered mentions into usable recordsThe pipeline combines normalized names, identifiers, graph-neighborhood evidence and statistical matching. Ambiguous pairs go to a person and merges are reversible.
  5. 5Graphs do the computation; PostgreSQL remains the recordZein uses graph algorithms for tasks such as matching and clustering, then stores results in relational tables with transactions and access controls.
  6. 6Confidence routing makes review part of the systemHigh-confidence results are sampled, ambiguous ones reviewed, and low-confidence extraction retried. New intake and corrections prevent the record from becoming a frozen historical project.

Das Wichtigste

  1. Treat a firm’s past decisions, relationships and evidence as context that generic models cannot supply on their own.
  2. Use metadata, exact hashes and rules before expensive model calls; route scans, tables and unresolved fields to specialized tools.
  3. Record the source and confidence of extracted information, and send uncertain identity matches to human review.
  4. Keep the authoritative record in relational tables and use graph algorithms for targeted matching and clustering.
  5. Capture new data at intake and review agent-proposed writes instead of relying only on a one-time historical backfill.
VOLLTEXT

Den bearbeiteten Text nach Kapiteln lesen

Nur das Transkript
01

Why proprietary context matters more than a generic answer

Zein says firms can rent models and tools, but their records, relationships and past decisions are distinctive. A credit-risk example shows how much general reasoning a model can already supply.

Joe Zein's team at Soal Labs helps private-capital firms turn decades of documents and other unstructured records into data that an AI agent can use. The consultancy works with funds across equity, credit, venture capital and real estate, building both data infrastructure and applications for activities such as due diligence and portfolio monitoring.

Why undertake the work? Zein argues that a firm's distinctive advantage is its context: its own records, relationships, decisions and reasons. The interface, model, connectors and even many reusable instructions can increasingly be rented or copied; the historical evidence behind a firm's judgment cannot.

He illustrates the distinction with a credit investor who named customer concentration as a risk an analyst might overlook. When the team described a deal to a frontier model in a fresh session without the firm's data, it raised the same risk. A general insight the model can derive from public information is not, by itself, the firm's proprietary edge.

02

Why connectors and retrieval do not clean an archive

RAG, MCP and personal memory files each help with access, but leave problems of inconsistent records, missing history or shared permissions. Zein argues for a system of record.

Zein reviews earlier attempts to give models context. Retrieval-augmented generation, or RAG, splits documents into chunks and retrieves passages similar to a question. In a messy archive with duplicates, he says, different searches can return inconsistent pieces, and retrieving passages alone does not reliably aggregate numbers across thousands of files.

The Model Context Protocol (MCP) provides a connection between an agent and live systems such as a CRM, file share or warehouse. But a connector does not clean those systems: Zein says fragmented, incomplete records leave the model to reconstruct relationships during each request, increasing time, cost and the chance of missing a connection.

He describes “context graphs,” which record the inputs, rules and approvals behind decisions, as a useful idea with a cold-start problem: most firms lack structured decision histories to populate them. Personal “second brain” folders can accumulate notes, but he says a firm also needs shared truth, permissions and aggregation.

Generic agent harnesses can plan, use tools and remember instructions, but they do not come with a firm's authoritative data. Zein argues for an industry-specific layer on a shared system of record, rather than expecting the agent to reconstruct everything by searching files on demand.

03

From evidence to a shared record

The architecture backfills documents into PostgreSQL and captures new information at intake. Evidence, resolved facts and derived judgment remain linked to source material.

Target architecture for institutional context
FOLIE 1 / 5Target architecture for institutional contextFiles, email and other systems pass through a pipeline into a Postgres record that a scoped agent harness can read.

The target architecture starts with files, email, call transcripts and existing systems. A pipeline backfills the historical archive and then processes new material nightly into a PostgreSQL database. New intake screens capture structured information as documents arrive, and the agent reads through MCP; proposed writes require human review.

Zein organizes the record around five groups: people, accounts or organizations, deals, industries, and metrics or financials. Some data already lives in CRM or portfolio tools, but he says those systems frequently omit the many deals a fund examined and rejected.

He divides institutional knowledge into three layers. Raw evidence consists of documents and communications; extracted and resolved facts form the system of record; derived knowledge includes judgment, processes and preferences. He separates partners' stated theses, explicit rules and lessons inferred from prior decisions, with each layer traceable to sources.

The archive can contain more than numerical data. Investment committee memos record theses and risks; emails and screening notes record why a firm passed on a deal; meeting transcripts may preserve objections; version histories show changed assumptions; board materials can reveal outcomes against which the original thesis can be assessed.

04

An inexpensive-first pipeline for files

Metadata, hashes and classification reduce the work that reaches models. Parsing and extraction route each page or field to the least expensive suitable tool and record provenance.

Eight stages from crawl to serving
FOLIE 2 / 5Eight stages from crawl to servingThe pipeline orders inexpensive methods first and includes human review of key outputs.

The pipeline moves through cataloging, deduplication, classification, parsing, extraction, entity resolution, loading and serving. Zein's rule is to try the cheapest suitable method first and send material to a model only when cheaper methods cannot handle it. Human review screens cover duplicates, categories, extracted fields and merges.

The cataloging step reads file metadata and identifies file types from their contents rather than relying only on extensions. Exact deduplication uses SHA-256 fingerprints; Zein reports that identical files account for roughly 25–35% in his examples. He treats these numbers as observed ranges, not guarantees for every archive.

Near-duplicate detection uses short signatures from overlapping word sequences and locality-sensitive hashing to find likely matches without comparing every pair. Names and timestamps help order versions. Zein says another 25–40% may be versions or near-duplicates, and versions that drop content go to review rather than automatic deletion.

Classification prevents junk such as binaries, logs and empty templates from reaching models and determines how deeply to process a document. Rules based on file type, path, names and spreadsheet tabs do most of the work; a cheaper model handles unresolved cases. A fund's team helps define a small set of useful categories.

Each PDF page is triaged before extraction. Pages with a text layer can be read directly; scans go through optical character recognition; tables and charts can go to a stronger vision-language model that renders their contents as text. Boilerplate is skipped, while spreadsheets are read cell by cell with sheet names and formulas preserved.

Extraction is another cascade. Already structured CRM or portfolio data is mapped through APIs. Long documents are split into roughly 4,000-character chunks with overlap; conventional language-processing tools identify common entities, and a small zero-shot recognizer can find named categories such as lenders or covenants.

Only fields still missing are sent to a language model with a typed schema. Zein says each extracted field also records the source page, confidence and run that produced it. Relationships are stored as rows in join tables, with source-document references required so records remain traceable.

05

Resolve identities with relational and graph methods

Names and identifiers produce candidate matches; graph neighborhoods and statistical scoring add evidence. Ambiguous merges go to people, and all merges can be reversed.

Entity-resolution steps and difficult cases
FOLIE 3 / 5Entity-resolution steps and difficult casesCoreference, normalization, blocking, scoring, clustering and review combine to resolve ambiguous mentions.

Entity resolution is the largest part of the work: deciding whether mentions across twenty years refer to the same person, company or fund. Abbreviations, reused names, acquisitions, parent companies and related investment vehicles all complicate the decision.

The system links pronouns to named entities within a document, then normalizes names and addresses. Instead of comparing every record against every other, it blocks candidates using identifiers such as domains, CRM IDs and legal-entity identifiers, then uses text and semantic similarity to find additional plausible matches.

A graph helps score ambiguous candidates: entities mentioned together in documents become neighbors, with shared neighbors contributing evidence that two mentions match. Zein says a rare shared connection can be more informative than a common one. The graph is constructed for this computation and the result is written back to relational tables.

Matching thresholds and reversible merges
FOLIE 4 / 5Matching thresholds and reversible mergesThe diagram shows automatic, human-review and keep-apart thresholds, plus cluster splitting and merge logs.

For record matching, the team uses Splink, which estimates how strongly agreement on fields such as name or domain distinguishes true matches from chance. It can learn parameters from the data. Zein describes thresholds above 0.95 for automatic merge with spot checks, 0.5–0.95 for human review and below 0.5 to keep records separate.

Connected components group linked mentions, but a weak connection can chain unrelated records together. The team splits oversized clusters with a community-detection algorithm, chooses preferred values using source priority and recency, and logs each merge so it can be reversed.

Store relationally, compute with graphs
FOLIE 5 / 5Store relationally, compute with graphsThe record stays in Postgres while graph algorithms run in memory and return their results to tables.

Zein's answer to “graph or relational?” is both, for different jobs. PostgreSQL is the system of record, providing transactions and row-level security; graph libraries perform targeted calculations such as neighborhood scoring and clustering. Results return to tables, and a recursive SQL query can traverse relationships when needed.

06

Serve compact records and review writes

Scoped MCP servers expose the shared record to agents without giving every team the same permissions. Nightly intake, reviewed updates and confidence routing keep it current.

For access, the team rents the general agent loop and builds a few domain-specific MCP servers for deals, people, portfolios and documents. Servers follow permission boundaries so different teams see appropriate records. Small, focused instructions support tasks such as screening a deal or preparing an investment committee memo.

Read requests go to the record; writes are proposals for a person to review. Zein says each tool can wrap a typed SQL query, returning compact rows rather than pages of notes. Outputs might be a flag, task, precedent, question or draft, with citations back to the supporting records.

Historical backfill only starts the system. It stays current through nightly batches for new files, structured intake when documents arrive, and reviewed learnings or corrections from the agent. Batch APIs can trade latency for lower cost, he says.

A confidence router accepts high-confidence results with sampling, sends the middle band to a person and retries low-confidence extraction. Zein argues review must be part of the product: a tool that is right only some of the time will not earn sustained use. Over time he wants more structure captured at the source rather than reconstructed later.

Mehr aus diesem Kanal

8 Folien1:02:59EN
AI Engineer· 2. Dez. 2026Kent C. Dodds: build a feedback loop before letting agents shipKent C. Dodds · KodyMaps of reusable components, verifiable pull requests and tested recovery help coding agents work with less human review.Coding-AgentenAgent EngineeringEntwicklungs-Workflows & Tests+2
4 Folien15:43EN
AI Engineer· 2. Dez. 2026Use Fast Decisions for the Routine Parts of Agent WorkflowsChibi Vikram, Kevin Bernstein · UiPathUiPath combines fixed steps, Jev decisions, and deeper agents, then uses evaluations to discover faster reranking and email-classification designs.Workflow automationAgent EngineeringEvals+2
4 Folien27:21EN
AI Engineer· 1. Dez. 2026George Fraser: Give AI Agents a Map of Your Business DataGeorge Fraser · FivetranFivetran’s CEO argues that AI agents need the cleaned data and business definitions already maintained by data teams.Natural-language database queriesData quality & curationAI agents+2
4 Folien29:13EN
AI Engineer· 1. Dez. 2026Mihail Eric: Building Sales Judgment Into AgentsMihail Eric · MonacoMonaco pairs sales data and evolving memory with expert-guided evaluations, then embeds salespeople in the product team to refine its agents.Enterprise-KIAgent memoryAgent Engineering+2
3 Folien29:31EN
AI Engineer· 30. Nov. 2026Sydney Runkle: Proactive Agents Must Learn When to Stay QuietSydney Runkle · LangChainAgents that pursue goals can overwhelm their users. Runkle outlines how memory and review interfaces can make their interruptions useful.Personal agentsAgent memoryAgent Engineering+2
4 Folien27:30EN
AI Engineer· 30. Nov. 2026Netflix Learned That Connecting AI Tools Can Make Answers ClashUtkarsh Shrivastava · NetflixUtkarsh Shrivastava explains how evaluations, data owners and user context help an assistant choose among overlapping sources.Enterprise-KIAI platform engineeringMCP+2