# "How Bridgewater Built an AI Analyst That Does Hours of Expert Research in Minutes" <!-- ref: @content/youtube/langchain/how-bridgewater-built-an-ai-analyst-that-does-hours-of-expert-research-in-minutes tags: [AI analyst, Bridgewater, agent architecture, code generation, compiler analogy, evals, continuous learning, multi-agent systems] version: 2 updated_at: 2026-11-22T09:16:38.420Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=lXZb21CfeIY)** # How Bridgewater Built an AI Analyst That Does Hours of Expert Research in Minutes *Synthesized from Brandon McManus, Michael and Santi's talk on LangChain, 2026-07-24.* Brandon McManus leads the Applied AI team at Bridgewater Associates, a systematic macro hedge fund; Michael is the investor lead and Santi the technical lead on PAT, the Pocket Analyst Tool, and the three present it together. ## Core Thesis Brandon argues that fifty years of writing down investment logic as rules gave Bridgewater the context an AI analyst needs, and that PAT turns it into hours of expert research in minutes for hundreds of investors. Santi adds the engineering lesson: treat agentic coding as a compiler problem, enforcing correctness in the architecture rather than trusting a generic agent. ## Key Insights - **Heritage.** The firm's 1980 bond system was written on a yellow legal pad as explicit causal rules; decades of such rules now form a machine- and human-readable expert system that agents can draw on. - **Research circle.** Investors perceive, formulate questions, investigate, synthesize and feed learning back into shared memory. Bridgewater builds one sub agent per step; PAT covers the investigation step. - **Deployment.** PAT went live internally several months before the talk and is used daily by hundreds of investors. Background agents scan real interactions, build human-audited benchmarks and change context and harness for everyone. - **Team shape.** An internal applied AI startup with investors (context), technologists (architecture) and scientists (rigor) side by side. - **Per-user security.** Different investors may see different data (positions, for example), so each person gets a unique PAT whose context and tools match their access. - **Data.** Searches web plus a vault of millions of documents with thousands added daily, and a time series database of tens of millions of series. Adding human-like inspection of frequency, currency and plausibility against priors lifted search accuracy from roughly 50% to 90%. - **The plan is the analysis.** PAT asks clarifying questions, teaches humans what a good research question is, then plans data frames, their schemas and how they connect. Planning is slow by design. - **Parallel code generation.** Sub agents write one Python function per data frame, so a 3-frame and a 30-frame analysis take about the same time. Santi reports roughly four times faster than Claude Code on their benchmark, and a 20-task plan takes as long as a 3-task one. - **Deterministic by architecture.** Static analysis builds a DAG and validation agents run in parallel layers (a 5-task plan is 3 layers). It is plain Python, with no agentic orchestration, so validation cannot be skipped. For a given plan, 95% of the time two agents produce the same code. - **Execution layer.** PAT runs the code itself and injects caching annotations, so a small chart tweak re-runs almost instantly while a coding agent re-executes everything. - **Outputs.** Results land in the same time series database as inputs, so agent and human work compound; reports use the in-house charting library. - **Teach button.** A user can trigger an agent that finds the mistake, writes a benchmark expected to fail, iterates on context or harness until it passes, checks the suite for regressions and posts a pull request to Slack. - **Chat versus coding split.** A LangGraph chat agent speaks only investment content and hands plans to a coding sub agent; investors also contribute context directly. ## Actionable Takeaways 1. Encode your domain's reasoning as written rules before building agents. 2. Invest in the plan: make each plan task precise enough that two models produce identical output. 3. Run independent tasks in parallel and enforce validation in ordinary code. 4. Give each user an agent scoped to the data they may see. 5. Let users trigger learning that produces a failing benchmark first, then a reviewed pull request. 6. Specialize narrow agents and benchmark them heavily before composing. ## Notable Quotes > "the plan really is the analysis" — Michael > "your user is better writing context than you are, most likely" — Santi > "we enforce correctness in the architecture" — Santi --- *Related: `@content/web/huggingface/2026-11-23-cua-see-self-evolving-evals` · `@content/youtube/yifan-bth/we-are-missing-the-point-of-mcp-its-not-just-about-tools` · `@content/youtube/eo-global/the-problem-with-ai-agents-no-one-is-talking-about-yutori-abhishek-das` · `@content/youtube/indy-dev-dan/mac-mini-agents-openclaw-is-a-nightmare-use-these-skills-instead` · `@content/youtube/nate-herk/5000-hours-of-building-ai-in-just-17-minutes`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*