Retrieva Labs

Case study Enterprise AI & finance

MCP Multi-Tool Agent PlatformA governed agent platform with persistent memory and human approval before sensitive actions.

LangGraph agents with Model Context Protocol tool access, checkpointed memory and human-in-the-loop interrupts before sensitive tool calls.

Client
Agentic AI platform
Sector
Enterprise AI & finance
Engagement
Platform design and build
Our role
Agent architecture, MCP integration and approval flows

Interface recreation · client data anonymized

pluggable tool access
MCP
pluggable tool access
sensitive calls human-approved
100%
sensitive calls human-approved
memory across restarts
Persistent
memory across restarts

(01) The challenge

What needed solving.

The client wanted an agent that could search the web, query live financial data, read internal documents and act on the results, but was rightly unwilling to give a language model unsupervised write access. The agent also had to survive restarts and resume long conversations exactly where they left off.

(02) The solution

What we built.

We built the platform on LangGraph's StateGraph, so workflow state is explicit and checkpointed to async SQLite. Tools connect through a Model Context Protocol client, so a new capability plugs in by pointing at a new MCP server.

Real graph interrupts pause execution before sensitive tool calls and resume only after a person approves, with everything the agent had already reasoned through intact.

(03) Architecture

How the system fits together.

  1. 01 · Task

    • User request
    • Loaded checkpoint
  2. 02 · Plan

    • LangGraph StateGraph
  3. 03 · Tools

    • MCP client
    • Web search
    • Financial data
  4. 04 · Approve

    • Graph interrupt
    • Human decision
  5. 05 · Persist

    • Async SQLite
    • Resumable state

(04) Engineering decisions

The choices that made it work.

  1. 01

    Explicit state

    Conversation history, intermediate results and the current step are checkpointed, not manually serialized.

  2. 02

    Interrupts, not prompts

    Approval is an execution boundary in the graph, not a request inside a prompt the model might ignore.

  3. 03

    Unhappy paths tested

    Rejection and recovery at the approval step are tested as thoroughly as task completion.

(05) Results

What the client got.

  • Agents resume interrupted conversations after restarts
  • Human approval enforced as an execution boundary
  • New tools added without rewriting the agent
  • Live web search and financial-data lookups

Technology

  • LangGraph
  • Model Context Protocol
  • LangChain
  • Async SQLite
  • Python
  • Streamlit

Services involved

Go deeper

Next case study Finance & investmentMulti-Agent Financial Document Intelligence

Taking on new projects

Let’sbuild.

Want results like these? Let's talk.

Book a free 30-minute strategy call with our founder. You’ll leave with a clear view of the right architecture, timeline and next step, whether or not we work together.

  • Reply within 24 hours
  • NDA before you share anything confidential
  • You own the code, prompts and documentation
  • Hours overlap with US, UK, EU and Gulf teams
Or get an instant AI plan with the Project Scoper
Book a free strategy call