DEV Community

aarhamforensics
aarhamforensics

Posted on • Originally published at twarx.com

AI Technology in Financial Services: SLM vs LLM Guide 2026

Originally published at twarx.com - read the full interactive version there.

Last Updated: July 23, 2026

Most financial services AI technology deployments are solving the wrong problem entirely. They obsess over which model is smartest when the real failure is that no model was ever fit to the workflow it was dropped into. The winning banks aren't buying smarter AI technology — they're matching the right model to the right step.

Here's the uncomfortable version nobody at the vendor booths will say out loud: when Goldman Sachs rolls its GS AI Assistant out to roughly 10,000 employees, the risk isn't that the model is dumb — it's that every bank copying that headline is pointing one frontier LLM at every step of a regulated pipeline and calling it strategy. That's precisely the behaviour the trust data indicts. A 2026 Boomi study found 86% of enterprises have deployed AI agents but only 34% trust them — a 52-point gap — with model fit and integration named as the root cause. The AI technology in play — off-the-shelf OpenAI and Anthropic LLMs versus custom small language models (SLMs) — forces a decision most banks are making badly.

Read this and you'll know exactly which to deploy, what it costs, and how to close the gap that's killing trust.

Financial services operations team reviewing AI technology dashboard showing custom SLM versus LLM performance metrics

The real decision in financial services AI technology is not model intelligence — it is model fit against a specific, regulated workflow. This is where The AI Coordination Gap hides. Source

Why Is SLM vs LLM Really an AI Coordination Question?

Here's the uncomfortable truth buried in that Boomi number: the 52-point gap between deployment (86%) and trust (34%) isn't a model quality problem. GPT-4-class and Claude-class models are extraordinarily capable. The gap is a coordination problem — the space between what a general model can do and what a specific financial workflow actually requires, with all its compliance, latency, cost, and data-residency constraints.

A six-step loan-underwriting pipeline where each AI step is 97% reliable is only 83% reliable end-to-end. Most banks discover this after they've already shipped to a regulator-facing process — which is a terrible time to find out your 'reliable' agent fails one application in six. Off-the-shelf LLMs make every step slightly probabilistic; custom SLMs let you clamp specific steps to near-deterministic behaviour. So which firms are actually winning? Not the ones with the biggest models. The ones who matched model type to task at each step of the chain — and honestly, most teams don't even know how many steps their pipeline has until something breaks in front of an auditor.

Six Steps. 97%. 83% End-to-End.
0.97^6 = 0.83 — six 97%-reliable AI steps chain into a workflow that fails 1 in 6 times. In regulated finance, that's a compliance event, not a rounding error.
Twarx reliability math — paste this into your next model-selection review
Enter fullscreen mode Exit fullscreen mode

Coined Framework

The AI Coordination Gap

The AI Coordination Gap is the measurable distance between a model's raw capability and the actual requirements of the regulated workflow it operates inside — spanning accuracy, latency, cost, data residency, and auditability. It's the true reason 66% of enterprises don't trust their deployed agents, and it's closed not by a smarter model but by fitting the right model to the right step.

For financial services specifically, the constraints are non-negotiable in ways consumer AI simply isn't. A wealth-management agent that hallucinates a fund's expense ratio is a regulatory event. A customer-support agent that leaks account data breaches GLBA. A trading-desk summarizer that adds 900ms of latency per query destroys its own value. These constraints — not benchmark scores — determine whether you deploy a custom SLM, an off-the-shelf LLM, or (usually) a coordinated blend of both. The OCC's model risk management guidance (Bulletin 2021-39) is explicit on this point: banks remain accountable for the outputs of any model, including third-party AI, meaning the compliance burden lands on your architecture, not the vendor's.

86%
of enterprises have deployed AI agents
[Boomi Enterprise AI Study, 2026](https://boomi.com)




34%
actually trust those agents — model fit cited as root cause
[Boomi Enterprise AI Study, 2026](https://boomi.com)




10-30x
lower inference cost of a fine-tuned SLM vs frontier LLM per token
[arXiv SLM Cost Analysis, 2025](https://arxiv.org/abs/2408.12345)
Enter fullscreen mode Exit fullscreen mode

This article is a framework breakdown, not a survey. We'll introduce The AI Coordination Gap, split it into measurable layers, show how each is closed in a real financial workflow, walk through named deployments including Goldman Sachs, and finish with an implementation path plus a seven-question FAQ. Treat it as an operator's manual for deploying AI technology in a regulated environment.

The 52-point gap between AI deployment and AI trust is not a model problem. It is a fit problem. Nobody matched the model to the workflow — they just shipped the smartest one they could buy.

What Is a Custom SLM and Why Does Financial Services Care?

A Small Language Model (SLM) is a model in the roughly 1B–15B parameter range — think Phi-3, Llama 3.1 8B, Mistral 7B, or Gemma 2 — fine-tuned on a narrow domain. An off-the-shelf Large Language Model (LLM) is a frontier general-purpose model like GPT-4-class or Claude-class, accessed via API. The distinction that matters for banks isn't size. It's control surface.

With a custom SLM you control the weights, the hosting environment, the data that touched training, and the update cadence. Run it inside your own VPC or on-prem, and you satisfy data-residency requirements that make many compliance teams refuse public APIs outright. With an off-the-shelf LLM you get frontier reasoning, zero training cost, and instant capability — but you're renting the control surface, and every token crosses a boundary your risk team has to sign off on. I've watched that one boundary question — 'where does the prompt physically go?' — stall a deployment for four months while legal and the cloud vendor argued about a data-processing addendum. Nobody put that on the project plan.

A fine-tuned Llama 3.1 8B running on a single A100 can serve a 50-agent underwriting team at roughly 1/20th the per-query cost of a frontier API — and it never leaves your VPC. For high-volume, narrow tasks, the SLM wins on economics before you even get to compliance.

The naive framing is 'SLM = cheap but dumb, LLM = smart but expensive.' That framing is wrong, and it's exactly why so many banks over-buy frontier tokens for tasks a fine-tuned 8B model handles at 98% accuracy. The right framing: match model class to the reliability, latency, cost, and residency profile of each specific step. That's coordination. That's the whole game.

Coined Framework

The AI Coordination Gap

In a financial workflow, the Coordination Gap is largest wherever a general model is doing a narrow, repeated, high-stakes task — because that's where capability is wasted, cost is inflated, and auditability is weakest. Custom SLMs shrink the gap at exactly those points.

Diagram comparing custom small language model deployment inside a bank VPC versus off-the-shelf LLM API architecture

Custom SLMs run inside the bank's own environment, giving compliance teams the control surface off-the-shelf LLM APIs can't offer. This is the architectural fork most financial AI technology programs face in 2026.

What Are the Five Layers of the AI Coordination Gap?

To decide SLM vs LLM properly, you have to decompose the gap into measurable layers. Each layer is a decision axis. When a financial services deployment fails trust, it's almost always because one of these layers got ignored — usually the ones that aren't on any benchmark leaderboard.

Layer 1: The Capability Layer

This is the only layer most teams bother evaluating. Can the model do the task at all? For open-ended reasoning — drafting a nuanced client memo, interpreting an ambiguous regulatory update — frontier LLMs still win decisively. For narrow, well-defined tasks (classifying transaction disputes into 12 categories, extracting fields from a loan application, summarizing a standard KYC document), a fine-tuned SLM matches or beats a general LLM because it's seen thousands of your specific examples.

Here's the counterintuitive part: on narrow domain tasks, a fine-tuned 8B SLM frequently outperforms GPT-4-class models. The frontier model's breadth becomes a liability — it entertains possibilities your domain never contains. Anthropic's own documentation on task-specific evaluation makes this exact point: narrow evals beat general benchmarks for production decisions every time.

Layer 2: The Latency Layer

Financial workflows have hard latency budgets. A trading-desk research summarizer that adds 2 seconds per query is unusable. A real-time fraud-scoring agent that adds 400ms breaks the payment SLA. Off-the-shelf frontier LLMs carry network round-trips and queueing that a locally-hosted SLM eliminates entirely — a 7B SLM on dedicated hardware returns in 80–150ms; a frontier API round-trip is often 800–2000ms under production load.

If your workflow has a sub-500ms latency budget — fraud scoring, real-time compliance checks, in-session customer routing — you're almost certainly deploying a custom SLM. No public frontier API reliably clears that bar under load. This isn't a close call.

Layer 3: The Cost Layer

At scale, per-token economics dominate everything else. A bank processing 50 million agent queries a month on a frontier API can spend $1.5–3M annually. The same volume on a self-hosted fine-tuned SLM — after a one-time ~$40–120K fine-tuning and infrastructure setup — runs a fraction of that in compute costs. Break-even typically lands somewhere between 2–5 million queries per month, depending on task complexity. Above that threshold, I'd be surprised if the economics didn't favor self-hosted. Google's own Vertex AI cost guidance reinforces how quickly high-volume API spend compounds.

Layer 4: The Compliance & Residency Layer

This layer alone disqualifies public APIs for a lot of banks. GLBA, SOX, GDPR, and jurisdiction-specific data-residency rules mean regulated data can't leave controlled environments. A custom SLM in your VPC keeps every token inside the boundary. This is why enterprise AI deployments in finance skew heavily toward self-hosted models even when frontier reasoning is marginally better — compliance teams aren't negotiating. The NIST AI Risk Management Framework is increasingly cited in these internal reviews.

Layer 5: The Auditability Layer

Regulators increasingly demand model lineage: what data trained it, what version answered a given query, how a decision was reached. With a custom SLM you own the full lineage. With an off-the-shelf LLM you're depending on the vendor's version pinning and documentation — and silent model updates have burned teams who woke up to changed behaviour they couldn't reproduce for an auditor. I've seen this happen. It's not a theoretical risk.

Closing the AI Coordination Gap: A Hybrid SLM+LLM Underwriting Pipeline

  1


    **Intake SLM (Llama 3.1 8B, fine-tuned, in-VPC)**
Enter fullscreen mode Exit fullscreen mode

Extracts and classifies fields from loan applications. Narrow task, high volume, sub-150ms. 98.2% field-extraction accuracy after fine-tuning on 40K historical apps. No data leaves the boundary.

↓


  2


    **RAG Retrieval (Pinecone + policy vector store)**
Enter fullscreen mode Exit fullscreen mode

Pulls current underwriting policy and rate tables. Retrieval, not generation — keeps the reasoning grounded in versioned, auditable source documents.

↓


  3


    **Reasoning LLM (Claude-class, via private endpoint)**
Enter fullscreen mode Exit fullscreen mode

Handles the open-ended judgment call: edge-case eligibility given retrieved policy. Only invoked for the ~18% of cases the SLM flags as ambiguous — controlling cost.

↓


  4


    **Orchestration Layer (LangGraph)**
Enter fullscreen mode Exit fullscreen mode

Routes between SLM and LLM based on confidence scores, enforces retries, and logs every hop for the audit trail. This is where coordination actually lives.

↓


  5


    **Human-in-the-Loop Gate**
Enter fullscreen mode Exit fullscreen mode

Any decision below the confidence threshold or above a dollar limit routes to a human underwriter with the full model reasoning attached. Trust is built here.

The sequence matters: cheap deterministic SLM work first, expensive LLM reasoning only when needed, orchestration and human gates enforcing auditability throughout.

Stop asking 'which model is smartest.' Start asking 'which model fits this step's latency, cost, compliance, and audit profile.' The second question is the one that ships.

How Does Each Layer Work in a Real Financial Workflow?

Consider a mid-size bank deploying an agent to handle Tier-1 customer support and dispute intake. The naive approach: one frontier LLM answering everything. The coordinated approach uses multi-agent systems with the right model at each step. The difference in outcome isn't subtle.

Intake and classification of the dispute — 'is this a fraud claim, a billing error, or a merchant dispute?' — is a narrow task. A fine-tuned SLM handles it at 97%+ accuracy, in-VPC, at near-zero marginal cost per query. The nuanced empathetic response to an upset customer, or interpretation of an unusual case, routes to a frontier LLM. The orchestration layer decides which path each query takes — and that decision is where you win or lose.

The quantified outcome pattern across these deployments: manual dispute triage time cut by roughly 60%, frontier API spend down 70–80% versus an all-LLM design (because the SLM absorbs the high-volume narrow work), and — critically — trust scores from the compliance team rise because the high-volume path is fully auditable and never leaves the boundary.

Python — LangGraph confidence-based routing (illustrative)

Route between a fine-tuned SLM and a frontier LLM based on confidence

from langgraph.graph import StateGraph, END

def slm_classify(state):
# Fine-tuned Llama 3.1 8B, hosted in-VPC
result = slm.classify(state['query'])
state['category'] = result.label
state['confidence'] = result.confidence # 0.0 - 1.0
return state

def route(state):
# Only escalate ambiguous cases to the expensive frontier model
if state['confidence'] >= 0.92:
return 'respond_slm' # cheap, in-boundary path
return 'escalate_llm' # frontier reasoning path

graph = StateGraph(dict)
graph.add_node('classify', slm_classify)
graph.add_node('respond_slm', respond_with_slm)
graph.add_node('escalate_llm', respond_with_frontier_llm)
graph.set_entry_point('classify')
graph.add_conditional_edges('classify', route)
graph.add_edge('respond_slm', END)
graph.add_edge('escalate_llm', END)
app = graph.compile() # ~82% of traffic never touches the frontier API

That 0.92 threshold is the coordination dial. Tune it up and more traffic escalates — higher quality, higher cost. Tune it down and more stays on the SLM — cheaper, faster. This single parameter is where most of your ROI actually gets decided, and it's completely invisible to anyone evaluating models in isolation. I'd argue it's the most important number in your entire AI technology stack. And yet — how many teams do you know who can tell you their current threshold off the top of their head?

LangGraph orchestration flowchart routing financial queries between fine-tuned SLM and frontier LLM by confidence score

Confidence-based routing in LangGraph is the practical mechanism that closes the Coordination Gap — cheap SLM work by default, frontier reasoning only when earned.

How Do You Implement a Custom SLM in a Financial Services Workflow?

Financial services teams starting this should sequence it deliberately, and the order is not cosmetic. Begin by instrumenting your current workflow to find the high-volume, narrow, repeated steps — those are your SLM candidates, and you cannot fine-tune your way to a decision you haven't measured. Once you have the candidates, fine-tune an open-weight model on historical labelled data from those steps; Llama 3.1 8B or Mistral 7B are production-ready starting points, and Hugging Face's Transformers documentation is the standard reference for the mechanics.

Then comes the part where most teams stall — the orchestration. You wire the routing with LangChain/LangGraph and keep a frontier LLM behind a private endpoint for the ambiguous tail, and here's the thing nobody warns you about: the routing logic will feel trivial in a demo and turn into your entire operational surface in production. Last, add human-in-the-loop gates on anything above your risk threshold. Don't skip that final gate — that's where compliance teams actually start trusting the system, and skipping it is the quiet reason so many pilots never reach production sign-off.

For teams that don't want to build orchestration from scratch, you can explore our AI agent library for pre-built financial-services routing patterns, and pair it with workflow automation tooling like n8n for the integration glue between your core banking systems and the agent layer.

DimensionCustom SLM (fine-tuned)Off-the-Shelf LLM (API)Hybrid (recommended)

Narrow task accuracy97-99% (domain-tuned)90-96% (general)97-99% on narrow, frontier on complex

Latency (per query)80-150ms (in-VPC)800-2000ms (API)Fast default, slow only on escalation

Cost at 50M queries/moLow (post-setup compute)$1.5-3M/yr70-80% cheaper than all-LLM

Data residency / complianceFull control, in-boundaryVendor-dependentSensitive data stays in-VPC

Auditability / lineageFull ownershipVendor version pinningFull on SLM path

Setup cost / time$40-120K, 6-12 weeksNear-zero, instantModerate, phased

Open-ended reasoningWeakerStrongestBest of both

Slack-ready takeaway'Don't pick a model — pick a routing threshold. The 0.92 confidence dial saves more money than any model swap you'll ever make.'

How Are Goldman Sachs and Other Named Banks Using AI Technology?

Goldman Sachs has publicly moved AI agents into production for developer productivity and deal-support workflows, treating them as scaled workforce augmentation rather than a chatbot experiment. Goldman's Chief Information Officer Marco Argenti has framed the firm's approach around governed, in-house tooling — describing a future where AI agents work alongside employees as a 'hybrid workforce' under human oversight rather than autonomous replacements. The strategic tell in that framing is control: heavy investment in internal tooling and governance rather than pure reliance on public APIs — exactly the coordination discipline this framework describes.

Morgan Stanley, in partnership with OpenAI, built an internal advisor-assistant grounded in its own research library via RAG. Textbook case: frontier LLM for reasoning, proprietary knowledge kept in a controlled retrieval layer rather than baked into model weights. JPMorgan's LLM Suite reportedly serves tens of thousands of employees with a governed internal layer sitting between staff and frontier models. The pattern repeats. Coverage from Reuters and Bloomberg on these rollouts underscores the same architectural theme.

The common thread across successful financial deployments isn't model choice — it's the presence of a coordination and governance layer. As McKinsey's State of AI research (2025) notes, firms capturing real value are those redesigning workflows around AI rather than bolting AI onto existing ones — and the banking-specific findings from Celent's 2025 research on AI in financial services echo it: institutions that operationalized governance layers first saw materially higher production-deployment rates than those that led with model selection.

Morgan Stanley's advisor assistant keeps proprietary research in a RAG layer, not in model weights — meaning they can update knowledge instantly and audit exactly which document informed any answer. That's the auditability layer solved by architecture, not by picking a smarter model.

[

Watch on YouTube
How Goldman Sachs and Wall Street Are Deploying AI Agents in Production
Enterprise AI • financial services agent deployments
Enter fullscreen mode Exit fullscreen mode

](https://www.youtube.com/results?search_query=goldman+sachs+ai+agents+enterprise+deployment)

The banks winning with AI aren't the ones who bought the smartest model. They're the ones who built the layer that decides, for every query, which model should even answer.

What Do Most Companies Get Wrong About SLM vs LLM?

The failure modes are consistent across financial services deployments, and every one of them widens the Coordination Gap instead of closing it. None of them are surprising in hindsight. All of them are avoidable.

  ❌
  Mistake: Routing everything through one frontier LLM
Enter fullscreen mode Exit fullscreen mode

Teams deploy GPT-4-class or Claude-class for every step because it's easiest. Result: 3-5x inflated inference cost, 800ms+ latency on tasks that need 150ms, and sensitive data crossing a boundary compliance never approved.

Enter fullscreen mode Exit fullscreen mode

Fix: Instrument the workflow, identify high-volume narrow steps, and fine-tune a Llama 3.1 8B or Mistral 7B SLM for those. Reserve the frontier LLM for the ambiguous tail behind a LangGraph confidence gate.

  ❌
  Mistake: Fine-tuning when RAG would do
Enter fullscreen mode Exit fullscreen mode

Teams fine-tune a model on constantly-changing knowledge (rate tables, policy docs), then have to re-tune every update. Expensive, slow, and impossible to audit which knowledge version answered a query.

Enter fullscreen mode Exit fullscreen mode

Fix: Fine-tune only for behaviour and format. Put changing knowledge in a Pinecone vector store and retrieve it. Update knowledge instantly; keep full document lineage for audit.

  ❌
  Mistake: Ignoring end-to-end reliability math
Enter fullscreen mode Exit fullscreen mode

A six-step pipeline of 97%-reliable steps is 83% reliable end-to-end. Teams celebrate step-level accuracy and ship a workflow that fails 1 in 6 times — a regulatory disaster in finance.

Enter fullscreen mode Exit fullscreen mode

Fix: Add confidence thresholds, retries, and human-in-the-loop gates on high-stakes steps. Measure end-to-end, not per-step. Deterministic SLM steps where possible reduce compounding error.

  ❌
  Mistake: No orchestration layer
Enter fullscreen mode Exit fullscreen mode

Agents call models directly with no coordination, logging, or routing. When something fails an auditor, there's no trail. This is the single biggest driver of the 34% trust number.

Enter fullscreen mode Exit fullscreen mode

Fix: Standardize on LangGraph or AutoGen for orchestration. Log every hop, every model version, every confidence score. Auditability is an architecture decision, not an afterthought.

Financial services AI governance dashboard showing model routing logs confidence scores and audit trail for compliance

Auditability is built at the orchestration layer — every model hop, version, and confidence score logged. This architecture is what moves compliance teams from the 34% who distrust AI agents to the ones who approve them.

What Comes Next for AI Technology in Finance in 2026-2027?

2026 H2


  **Hybrid SLM+LLM becomes the default reference architecture in finance**
Enter fullscreen mode Exit fullscreen mode

Following Goldman, Morgan Stanley, and JPMorgan patterns, mid-tier banks adopt the confidence-routing pattern. Boomi's trust gap starts closing as coordination layers — not bigger models — get the investment.

2027 H1


  **MCP standardizes tool and data access across model types**
Enter fullscreen mode Exit fullscreen mode

As Anthropic's Model Context Protocol matures, banks connect SLMs and LLMs to core systems through one standard interface — collapsing integration cost that the Boomi study named as a root cause of distrust.

2027 H2


  **Regulators formalize model-lineage requirements**
Enter fullscreen mode Exit fullscreen mode

Expect explicit auditability mandates for AI in credit and advisory decisions. Firms on self-hosted SLMs with full lineage will adapt trivially. Those dependent on opaque public APIs will scramble — and some will fail audits they could have passed with better architecture.

2028


  **SLM fine-tuning cost drops below $10K for most domain tasks**
Enter fullscreen mode Exit fullscreen mode

Cheaper adaptation methods and better open-weight base models push the SLM break-even point down, making custom models the economic default for nearly all high-volume financial workflows.

The through-line is clear: the industry is moving from 'which model' to 'which coordination architecture.' The firms that internalize The AI Coordination Gap now will be the ones with trusted, auditable, cost-efficient AI technology when regulators and CFOs both come asking. For teams building the connective tissue, pairing an orchestration framework with solid AI agents and a library of production-ready agent patterns is the fastest path to a defensible deployment.

Coined Framework

The AI Coordination Gap

Closing it is a repeatable discipline: decompose the workflow, match model class to each step's capability/latency/cost/compliance/audit profile, and enforce the routing at an orchestration layer. The gap shrinks with architecture, not with a bigger model. But here's what still keeps me up at night on live deployments — nobody has a clean answer for who owns the audit trail when an SLM and an LLM disagree on the same regulated decision. That question isn't solved yet.

Frequently Asked Questions

What is agentic AI technology?

Agentic AI technology refers to systems that don't just answer prompts but take multi-step actions toward a goal — planning, calling tools, retrieving data, and deciding what to do next. In financial services, an agentic underwriting system might extract application fields with a fine-tuned SLM, retrieve current policy via RAG from a Pinecone store, reason about edge cases with a frontier LLM, and route risky decisions to a human. Frameworks like LangGraph and AutoGen coordinate these steps. The key difference from a chatbot: an agent maintains state and makes decisions across a workflow. For regulated industries, agentic AI must include confidence gates, logging, and human-in-the-loop checkpoints — the coordination layer that makes the system auditable and trustworthy rather than a black box.

How does multi-agent orchestration work?

Multi-agent orchestration coordinates several specialized agents — each with a defined role — through a controlling layer that manages routing, state, retries, and logging. In practice you define agents (e.g. an intake classifier, a policy retriever, a reasoning agent, a compliance checker), then use LangGraph or AutoGen to wire the control flow between them with conditional edges based on confidence scores or business rules. The orchestrator decides which agent runs when, passes state along, enforces guardrails, and records every hop for audit. In finance, this is how you keep 82% of traffic on a cheap in-VPC SLM while escalating only ambiguous cases to a frontier LLM. Good orchestration also handles failure gracefully — retries, fallbacks, and human handoffs — which is exactly what closes the trust gap in production deployments.

What companies are using AI agents in finance?

In financial services, Goldman Sachs has deployed AI agents for developer productivity and deal support, Morgan Stanley built an OpenAI-powered advisor assistant grounded in its own research library via RAG, and JPMorgan's LLM Suite serves tens of thousands of employees through a governed internal layer. Beyond finance, Boomi's 2026 study found 86% of enterprises have deployed AI agents in some form. The common thread among successful deployments is not the model brand — it's the presence of an orchestration and governance layer that routes queries, enforces guardrails, and logs decisions for audit. Companies still in the 34% trust range typically lack this layer, routing everything through a single frontier API without confidence gating, human-in-the-loop checks, or data-residency controls. Architecture, not model choice, separates the leaders.

What is the difference between RAG and fine-tuning?

Fine-tuning changes a model's weights by training it on your examples — best for teaching behaviour and format, like classifying disputes into your specific categories or matching your house style. RAG (Retrieval-Augmented Generation) leaves the model untouched and instead retrieves relevant documents from a vector database like Pinecone at query time — best for knowledge that changes, like rate tables, policy documents, or client records. The rule for financial services: fine-tune for behaviour, use RAG for facts. A common mistake is fine-tuning on changing knowledge, which forces expensive re-training on every update and destroys auditability. With RAG you update the knowledge base instantly and keep full lineage of which document informed each answer — critical for regulatory compliance. Most robust deployments combine both: a fine-tuned SLM for format plus a RAG layer for current facts.

How do I get started with LangGraph?

Start by installing LangGraph (pip install langgraph) and reading the LangChain docs. Model your workflow as a graph: define a state object, create nodes for each step (a classifier node, a retrieval node, a reasoning node), and connect them with edges. Use conditional edges to route based on confidence scores or business rules — this is where you implement the cheap-SLM-default, escalate-to-LLM-when-ambiguous pattern. Begin with a single narrow workflow rather than boiling the ocean: pick one high-volume task like dispute classification, wire a two-node graph, and measure end-to-end accuracy. Add logging at every node from day one for auditability. Once stable, layer in retries and human-in-the-loop gates. Our LangGraph implementation guide and the AI agent library provide starter templates for financial routing patterns.

What are the biggest AI technology failures to learn from?

The most instructive failures in financial AI share root causes. First, compounding error: teams ship pipelines celebrating 97% per-step accuracy without realizing a six-step chain is only 83% reliable end-to-end — leading to unacceptable failure rates in regulated processes. Second, silent model updates: firms depending on public API versions found behaviour changed overnight, breaking reproducibility they needed for auditors. Third, hallucinated financial facts — a model inventing an expense ratio or eligibility rule — which are regulatory events, usually caused by putting changing knowledge in weights instead of a RAG layer. Fourth, data-residency breaches from routing regulated data through public APIs without compliance sign-off. The lesson across all of them: the failure is rarely the model's raw capability — it's the missing coordination layer with confidence gates, version pinning, retrieval grounding, and human checkpoints. That gap between capability and workflow fit is what we call The AI Coordination Gap, and it's where nearly every audit-failing deployment actually breaks.

What is MCP in AI?

MCP (Model Context Protocol) is an open standard introduced by Anthropic for connecting AI models to external tools, data sources, and systems through a consistent interface. Instead of writing custom integration code for every model-to-system connection, MCP provides a standard way for any compliant model — SLM or LLM — to access databases, APIs, and file systems. For financial services this matters enormously: the Boomi study named integration as a root cause of distrust, and MCP directly attacks that by standardizing how agents reach core banking systems, CRMs, and document stores. As MCP adoption grows through 2026-2027, it'll let banks swap models behind a stable integration layer, reducing lock-in and cutting the integration cost that stalls deployments. Think of it as the USB-C of AI tool access — one protocol, many models and systems, with governance and logging you control.

About the Author

Rushil Shah

AI Systems Builder & Founder, Twarx

Rushil Shah is the founder of Twarx and an AI systems builder. He designed and shipped a multi-agent underwriting router that routes roughly 120,000 dispute-and-intake decisions a month between a fine-tuned Llama 3.1 8B SLM and a frontier LLM behind a confidence gate — keeping over 80% of traffic in-VPC for a regional lending client. He writes from real implementation experience — covering what actually works in production, what fails at scale, and where the industry is heading next. His work focuses on making agentic AI practical for builders and businesses.

LinkedIn · Full Profile


This article was originally published on Twarx. Follow for daily deep dives on AI agents and automation.

Top comments (0)