AI Compliance Build vs Buy: A Framework for Banks

Should a bank build or buy AI for compliance investigations? What building really takes, the costs on each side and when an in-house build makes sense.
Alexandre Berkovic

TL;DR: Most banks should buy the AI investigation layer and keep ownership of their procedures, risk appetite and SAR decisions. Building in-house fits only banks with a dedicated AI engineering team, model governance that already covers generative AI, and workflows no vendor handles. Gartner expects over 40% of agentic AI projects to be canceled by the end of 2027.

Sphinx wrote this framework and sells AI compliance agents, so read it as a vendor's view. It draws on what we learned building our own agents and on 2026 conversations with banks and fintechs weighing the same choice.

The short answer

Building an AI compliance agent is easy to start and hard to finish. A capable team can show a convincing demo on a sample of closed alerts within weeks. Production is a different project: connectors to every system an analyst opens, a record of every source, test sets scored against analyst decisions, procedure versioning, escalation rules and change control for the model underneath.

  • Buy when the goal is to clear alert and KYC work this year, the bank has no AI engineering team to spare, or exam readiness matters more than owning the code.
  • Build when the workflow is unique, engineers will own the agent for years, and model governance already covers generative AI.
  • Hybrid is common: buy the investigation layer, keep the procedures and decisions, and build only the bank-specific pieces.
  • Either way the bank stays accountable. Interagency guidance says using a third party does not diminish the bank's responsibility.

To compare a build plan with a working agent on your own cases, talk to the Sphinx team.

What we learned building our own agents

We built Sphinx's investigation agents from scratch, so we can describe the work a build involves from the inside. The model call was the smallest part of it.

Our decisions run through three agents. A prosecutor argues the case is suspicious, a defender argues it is not, and a judge weighs both. When the judge cannot decide with confidence, the case goes to a human. That design exists because the hard part of compliance is the small share of cases that look routine and are not. A quick in-house build tends to get the obvious cases right. The misses come from the rest: an ownership chain that needs three more hops, thin open-source results, or a name match that only fails on transliteration.

Around that core sit systems a bank would have to build too.

  • More than 60 verification check types, of which 10 to 30 run on a typical case.
  • Each customer's SOP turned into versioned decision logic, with regression stability above 99% after SOP updates.
  • Evaluation against the customer's own analysts, where Sphinx reports 94% to 98% agreement across deployments.
  • Independent validation of our KYC, KYB and transaction monitoring agents by Sia Partners.
  • SOC 2 Type II and ISO 27001 certification, and a forward-deployed compliance team that maps SOPs and runs quality control with each customer.

We also benchmark against general-purpose AI. On the same KYB investigations, Sphinx Atlas produced 63% fewer hallucinations and 74% more relevant information than ChatGPT Deep Research. That gap is a fair proxy for the distance between a prompt on a general model and an agent built for compliance evidence.

Why banks are asking now

Guidance changed in 2026, and that pushed build versus buy onto bank agendas. SR 26-2, issued April 17, 2026, replaced SR 11-7 and places generative and agentic AI outside its scope, so a bank that builds its own agent has to write the governance for it.

The failure rate is the reason to plan carefully. Gartner predicted in June 2025 that over 40% of agentic AI projects will be canceled by the end of 2027 because of escalating costs, unclear business value or inadequate risk controls. An AML agent faces all three: it touches many systems, its value depends on analyst trust, and its controls are examined.

What each path costs

License fees are the most visible cost and rarely the biggest. The table puts the same cost lines on both sides so a bank can price them with its own salaries and volumes.

Cost lineBuild in-houseBuy an investigation layer
Connectors to monitoring, core, KYC and screening toolsBuilt and maintained by the bankVendor login or API; Sphinx median 13 days to a live pilot
Source capture and audit trailDesigned from scratchIncluded; check it in the demo
Test sets scored against analystsAnalyst hours to label casesRun on the bank's closed cases during the trial
Procedure versioning and change controlSoftware process the bank ownsVendor process the bank reviews
Model updates and re-testingBank engineering, every releaseVendor, with notice to the bank
Third-party riskModel, hosting and data providersThe vendor plus its providers
Time to valueMonths to productionWeeks to a pilot
Best forLarge banks with unique workflows and AI teamsBanks that need results this year

The time row is the one finance teams undercount. Every month an agent stays in pilot, analysts keep clearing alerts by hand. A build that reaches production a year after a purchase would have to save a year of analyst time on top of its own cost to break even.

Building does not remove third parties either. The model provider, the hosting platform and data sources are all vendors. The interagency guidance on third-party relationships says a bank's use of third parties does not diminish its responsibility to operate safely and in compliance with the law, whether work is done in-house or not.

When building makes sense for a bank

Building is the right call for some banks, and the case for it is stronger than vendors usually admit. Four conditions tend to appear together when an in-house build reaches production.

  1. The workflow is genuinely unusual, such as a proprietary product or data that cannot leave the bank's environment.
  2. A dedicated engineering team will own the agent for years, including on-call support and re-testing on every model change.
  3. Compliance can spare the analyst time to label cases, review outputs in shadow mode and sign off on each procedure change.
  4. Model risk management already extends its controls to generative and agentic systems.

A bank that meets only the first condition usually ends up with a good prototype and a governance backlog. A hybrid often works better: buy the investigation layer, keep ownership of procedures and SAR decisions, and build only the connectors or typology logic that are truly bank-specific. Our earlier comparison of third-party AML due diligence covers what to check on the vendor side.

What about Verafin and NICE Actimize?

Many banks frame the question as build versus buy because they already own a monitoring platform such as Verafin or NICE Actimize. Those systems generate and manage alerts, while the investigation work on each alert is still done by people. A bank has two options with Sphinx. It can keep its platform and add Sphinx on top, with agents logging in like a new analyst or connecting by API and writing case notes back. Or it can replace the stack with Sphinx's own rules engine, case management and investigation agents. Our guide to NICE Actimize alternatives compares both routes.

Questions to ask a vendor or your own team

The same questions work for a vendor pitch and an internal build plan. A team that can answer each one with evidence on the bank's own data has done the hard part.

  • Can a reviewer click from every statement in a recommendation to the record it came from, as it looked at decision time?
  • How is agreement with analysts measured, on which alert types, and can it be reproduced on our closed cases?
  • Which version of our procedure governed a given decision, and how are changes tested and rolled back?
  • What makes the agent stop and send a case to a person, and how is that tested?
  • What happens when the underlying model changes?
  • Where does customer data go, is it retained, and is it used for training?
  • What will we hand an examiner, and who approves each disposition and SAR?

The last answer should always be the bank. For the investigation side of that question, see our comparison of AI-assisted and manual AML investigations.

Where Sphinx fits

Sphinx is the buy side of this decision for banks that want results without an engineering project. Sphinx's AI compliance agents prepare evidence, apply the bank's SOPs and produce a traceable recommendation, and the bank's team keeps final approval. Agents deploy by browser login with no engineering, through a read-only Chrome extension, or by API with write-back. A $30B+ US bank running Sphinx recorded an 87% false-positive reduction and 98.8% agreement with its BSA officer, and passed OCC, FDIC and Federal Reserve exams with Sphinx in place. See Sphinx's AI agents or book a demo.

Frequently Asked Questions

Should a bank build or buy AI for compliance investigations?

Most banks get to production faster and with less exam risk by buying the investigation layer and keeping ownership of procedures and SAR decisions. Building makes sense for large banks with dedicated AI engineers, existing generative AI governance and workflows no vendor covers.

How long does it take to build an AML agent in-house?

A demo can take a few weeks. Production usually takes months, because it needs connectors, source capture, test sets scored against analysts, procedure versioning, escalation rules and change control for the model.

Does SR 26-2 apply to AI compliance agents?

SR 26-2 places generative and agentic AI outside its scope and directs banks to their own risk management for those tools. Traditional models an agent relies on may still fall inside it, and BSA independent testing applies either way.

Is buying from a vendor a third-party risk?

Yes, and so are the model and hosting providers behind an in-house build. Interagency guidance says third parties do not reduce the bank's responsibility, so due diligence and monitoring apply on both paths.

Can we start with a vendor and build later?

Yes. Keeping procedures, risk ratings and decision records in the bank's own systems makes it possible to change approach later. Ask any vendor how you would export your case history and procedure versions.

What does a vendor need from our engineers?

With Sphinx, a browser agent needs only a user login in your monitoring or case tool, like a new analyst. An API connection needs an API key and field mapping, which Sphinx's team handles.

How much does buying cost?

Sphinx prices as a platform fee plus usage tiers scoped to your volumes. Compare it with the fully loaded cost of the engineers, analysts and time a build would take.