Solutions designed with your goals in mind

The Agent That Answers a Stuck Payment Question in Under a Minute

1.4¢

Cost per resolved support ticket

Under 1 min

From plain-English question to a grounded, sourced answer

Read-only

Zero write access to any payment record, by design
"A stuck payment is a stuck customer. When a client's deposit or withdrawal fails to clear, their account freezes, and every payment issue becomes a live, time-sensitive problem with direct revenue impact."

At a glance

  • A self-hosted, read-only AI agent that answers "why is this payment stuck" in plain English
  • A secure web interface with conversation history and a model picker, sitting in front of the agent
  • Every answer grounded in real data and traced to its source before it's shown

The Interface Layer Behind the Agent

Most of this build is the AI reasoning pipeline itself, but it doesn't float on its own. Datum Labs also built the application layer around it: a web chat interface with conversation memory, an API gateway enforcing account-scoped access behind corporate single sign-on, and PostgreSQL holding session history so a follow-up question keeps its context. That's the Data Front sliver in this build, a real internal interface, just a small one, since the actual product here is the agent's judgment, not a dashboard.

The Problem

For a trading business, a stuck payment is a stuck customer. When a deposit or withdrawal fails to clear, the account freezes and the client can't trade, so every payment issue is live and time-sensitive with direct revenue impact.

Today, resolving one of these tickets pulls a senior engineer into a manual investigation, correlating logs across account activity, market data, and transaction history by hand. It's slow, it ties up the most expensive technical people on staff, and the workload grows directly with trader volume. The frustrating part: the answer is almost always already in the data. It just takes too long to find.

Trust was the harder constraint than speed

In a financial-operations setting, an assistant that guesses or invents a number is worse than no assistant at all. Giving any automated system write access to payment data would be unacceptable. The solution had to be grounded and strictly read-only, not just fast.

Every layer the agent runs on:

Layer Sources What it handles
Interface Next.js web chat Conversation history, model picker, SSO login
Application FastAPI gateway Account-scoped access enforcement
Memory PostgreSQL Conversation history across follow-ups
Reasoning LangGraph + Claude Question classification, tool selection, grounding
Data ClickHouse (read-only) Payment, account, and transaction records

Why the standard answer didn't fit

The instinctive fix is to hire more support staff or give them a general-purpose chatbot pointed at the logs. More staff doesn't fix the underlying speed problem; it just spreads the same slow process across more people. A general chatbot without grounding risks confidently inventing an answer on financial data, which is worse than the hour-long manual process it's replacing.

Market 4U didn't need more people or a faster guess. They needed an agent that could only ever say what the data actually showed, running inside their own environment, with no way to touch a payment record.

What Orbit built

The architecture runs on one constraint: every answer is grounded in real data and traced to its source before a user ever sees it.

  • A plain-English chat interface where support staff ask questions like "what's stuck on account 4602929" and get a sourced answer in under a minute
  • A disciplined reasoning pipeline that classifies the question, applies a safety guardrail, checks conversation memory, and lets Claude select the right read-only tools
  • A validation step that confirms every figure is grounded in real data and free of sensitive personal information before it's shown
  • Read-only access by design, the agent can look but never modify a payment record
  • A model picker letting staff choose a faster, cheaper model or a more capable one per question
  • Self-hosted deployment inside Market 4U's own environment, with no data leaving their control

Tech Stack:

What changed for the team

Before, every stuck payment ticket meant pulling a senior engineer away from building to manually dig through several systems' worth of logs.

  • Support staff get a grounded answer in under a minute, no senior engineer required
  • Every answer shows its sources, so a reviewer can see exactly which records it's based on
  • The agent carries zero risk to live systems, since it can only read, never write
  • Cost per ticket runs at roughly 1.4 cents, or about $14 per 1,000 tickets
  • Support scales with trader volume instead of headcount

The data was always there, scattered across systems nobody had time to correlate by hand. Orbit built the interface and the agent that reads it, grounds it, and hands support a sourced answer in seconds.

Solutions designed with your goals in mind
Company Overview
A trading platform where payment support meant a senior engineer manually correlating logs across systems for an hour. Market 4U needed that investigation turned into a plain-English question anyone on support could ask directly.
Arrow to the top of the page button