Duco: Supporting financial exception investigation Agents with tenant-dedicated runtimes and on-demand MCP skills
English original · AI translation and compilation · Customer co-creation
Case Overview
Business Problem
Duco processes 20 billion transactions per month and serves more than 200 customers; traditional models rely on large amounts of historical data, customization of new reconciliation processes is slow, and exception investigation still consumes substantial manual effort.
Publicly disclosed AI solutions
English original · AI translation and compilation. Duco migrated its existing LangChain/LangGraph Agent into Amazon Bedrock and AgentCore: each bank tenant has an independent runtime, Gateway, identity, and MCP service, tool descriptions are loaded on demand, and exception investigation has the Agent prepare evidence w…
Core Engineering Findings
Engineering Analysis by This LibraryMove the tool catalog out of the context into an authorized runtime discovery layer
Context bloat degrades long-session quality, while shared runtimes or shared credentials amplify regulatory risk.
Engineering analysis · View basisTechnical Architecture
Public solution summaryThe original text discloses a separate AgentCore runtime and Gateway, Cognito, and MCP service per tenant; user identity runs through tool calls, and tool descriptions are loaded on demand as skill resources. Multiple models handle planning, reasoning, routing, and summarization respectively; high-risk actions retain h…
View the complete architecture and reference data flowKey engineering trade-offs
Engineering Analysis by This LibraryIndependent runtime/Gateway/MCP boundaries per tenant, tools discovered on demand, and end-user identity propagated throughout.
More resources and operations objects and a longer call chain, but caching, auditing, and isolation boundaries are clear.
In-depth Technical AnalysisOutcomes and Verification Boundaries
Production deploymentMain context about 200,000→20,000 tokens; reconciliation deployment 10×; a global bank onboarding cost -70%, straight-through processing rate +20% or more (project disclosure).
Original text verified · Public cases · Benefits not independently accepted
All results come from AWS and Duco disclosures; no observation period, sample distribution, cost baseline date, or independent acceptance is given. The basis for the 1000s of hours saved is not elaborated; cross-institution Agent collaboration remains on the roadmap. This library has not run the system.
Complete results criteria and applicable boundariesIn-depth Technical Analysis Architecture, Trade-offs, and Transfer Conditions
Business Background and Process
Research AnalysisDuco processes 20 billion transactions per month and serves more than 200 customers; traditional models rely on large amounts of historical data, customization of new reconciliation processes is slow, and exception investigation still consumes substantial manual effort.
- Role
- Duco platform engineering and innovation team, bank operations analysts, global bank customers, AWS team.
- Reproduction scope
- The original text states that the existing LangChain/LangGraph Agent infrastructure is already in production and discloses the production-grade multi-tenant architecture and two types of workflows after the AgentCore migration; cross-institution Agent collaboration is on the roadmap.
- 1Receive and understand heterogeneous financial files and legacy system configurations
- 2Planning Agent dispatches models and required skills
- 3Read evidence through the tenant-dedicated Gateway and MCP tools
- 4Generate exception root causes, alternative options, and recommendations
- 5Route to an authorized analyst for review and record the decision
Engineering Problems and Transferable Lessons
Key Engineering Insightinsight- Special Issues
- Multi-tenant financial Agents are both squeezed in context by hundreds of tool descriptions and may lose user and tenant boundaries at tool invocation.
- Why Ordinary Architecture Is Not Enough
- Context bloat degrades long-session quality, while shared runtimes or shared credentials amplify regulatory risk.
- Key technical choices
- Independent runtime/Gateway/MCP boundaries per tenant, tools discovered on demand, and end-user identity propagated throughout.
- Costs and trade-offs
- More resources and operations objects and a longer call chain, but caching, auditing, and isolation boundaries are clear.
- Failure conditions
- If find_tool returns unauthorized capabilities, identity is not propagated, or analyst approval is bypassed, the system will fail at the most sensitive link.
- Transferable experience
- Applicable to multi-organization platforms such as ERP, MES, and QMS: do not put all tool schemas into the prompt; first use an identity-based catalog for discovery, then have the underlying system authenticate again.
Public materials support the problem background; technical supplements are engineering inferences by this library. Related original text:
Original disclosureSource verifiedisolationOriginal disclosureSource verifiedcontextOriginal disclosureSource verifiedhitlTechnical Architecture and Data Flow
Original text / solution listed separatelyOriginal architecture summary
The original text discloses a separate AgentCore runtime and Gateway, Cognito, and MCP service per tenant; user identity runs through tool calls, and tool descriptions are loaded on demand as skill resources. Multiple models handle planning, reasoning, routing, and summarization respectively; high-risk actions retain human authorization.
Tenant isolation, model roles, on-demand MCP skill loading, Gateway identity propagation, exception investigation, and HITL are all disclosed in the original text; this library has not obtained internal configurations or run the system, and the following migration recommendations are research judgments.
Suggested Architecture for Reproduction
The following is the research design and does not represent the complete implementation of the enterprise's internal system.
- 1Tenant authentication
The entry point validates the JWT issued by the tenant-dedicated Cognito and enters that tenant's runtime.
- 2On-demand discovery
The Agent only sees tool names and loads the necessary skill descriptions via find_tool.
- 3Authorized invocation
The Gateway passes the user identity to the tenant-dedicated MCP service, and the underlying layer authenticates again.
- 4Human adjudication
The Agent organizes root causes, options, and evidence; analysts make the final decision and write it to the audit trail.
Suggested Data and System Interfaces
| Business Object | Join key / criteria | Suggested Sources | Purpose in the process |
|---|---|---|---|
| Reconciliation process and configuration | Customer tenant, process ID, data sources, rule versions, legacy system configuration | Duco platform/tenant-dedicated Aurora and S3 | Migration and generating new reconciliation processes. |
| Exceptions and evidence | break_id, source records, match status, known issues, investigation trail | Business systems and MCP services | Root cause investigation and evidence-based recommendations. |
| Identity and auditing | tenant_id、user_id、agent_session、tool_call、decision | Cognito, AgentCore, audit logs | Constrain each tool call to the tenant and end user. |
Key design trade-offs
Research AnalysisHow to avoid hundreds of tool descriptions crowding out the context?
Suggested choice:Keep only three meta-tools; skill and tool descriptions are loaded on demand.
Basis for judgment: Static tool descriptions take about 200,000 tokens and degrade long-session quality.
Costs and boundaries: The runtime has one extra discovery step in exchange for a smaller context and stable caching.
How do multi-tenant Agents avoid context and permission cross-tenant leakage?
Suggested choice:runtime, Gateway, Cognito, MCP services, and data resources are isolated per tenant, and calls carry the end-user identity.
Basis for judgment: Bank data and permissions must not be shared across customers.
Costs and boundaries: More infrastructure and operations objects, but clearer boundaries.
Does exception investigation close the loop automatically?
Suggested choice:The Agent completes the first-mile investigation and recommendations, while analysts retain the final decision.
Basis for judgment: Regulatory, risk, and confidence requirements demand human responsibility.
Costs and boundaries: Not all manual work can be eliminated, but time is concentrated on judgment.
Engineering Failure Conditions
Exceptions and Degradation
Reject the tool call and log a security event.
Stop that path, list the missing capabilities, and hand over to a human.
Retain alternative explanations and do not automatically adjust accounting.
When it is suitable for adoption, and how value is measured
Research Recommendations by This Library- Data and Organizational Prerequisites
- Stable tenant identifiers, end-user identity, auditable tool interfaces, structured evidence for reconciliation and exceptions, risk classification.
- Division of labor among AI, rules and humans
- Plan investigations, discover tools, extract evidence, generate root causes and recommendations; humans approve high-risk actions and final conclusions.
- Conditions not recommended for adoption
- Not suitable for launch when user identity cannot be propagated, there is no tenant isolation, tools are not auditable, or key actions lack approval.
- Investment and Ongoing Costs
- The platform team needs to maintain tenant resources, tool registration, skill descriptions, evaluation sets, permissions, and logs.
- Value and evaluation criteria
- Measure onboarding cost, deployment cycle, straight-through processing rate, manual investigation time, misrouting, and unauthorized-access incidents separately.
- Suggested First Step
- Choose a low-risk reconciliation process, use historical exceptions for read-only shadow investigations, and have humans check evidence and permissions item by item.
Research Appendix Complete evidence, metric criteria and research materials
Original disclosure and evidence boundaries
Original text verifiedOriginal title: How Duco transforms financial data automation with Amazon Bedrock AgentCore
Original summary: English original · AI translation and compilation. Duco migrated its existing LangChain/LangGraph Agent into Amazon Bedrock and AgentCore: each bank tenant has an independent runtime, Gateway, identity, and MCP service, tool descriptions are loaded on demand, and exception investigation has the Agent prepare evidence with analysts making the final adjudication. The project discloses that the main context was reduced from about 200,000 to 20,000 tokens and reconciliation deployment is 10× faster; a global bank's onboarding cost decreased 70% and straight-through processing rate increased by more than 20%.
Duco states that its platform processes 20 billion transactions per month, serves more than 200 customers, and automates more than 20,000 processes.
Original location: lines 214–219 ↗Each tenant uses an independent AgentCore runtime, Gateway, Cognito user pool, and MCP service boundary, and tool calls pass the end-user identity.
Original location: lines 243–264 ↗Static descriptions of 300–400 tools take up about 200,000 tokens; on-demand skill loading reduces the main context to about 20,000 tokens.
Original location: lines 276–300 ↗Reconciliation deployment speed increased 10×; a global bank's onboarding cost for new reconciliations decreased 70% and straight-through processing rate increased by more than 20%.
Original location: lines 307–340 ↗In exception investigation, the Agent completes the first mile, analysts review the evidence and make the final decision, and high-risk actions require explicit authorization.
Original location: lines 318–335 ↗Main context about 200,000→20,000 tokens; reconciliation deployment 10×; a global bank onboarding cost -70%, straight-through processing rate +20% or more (project disclosure).
Disclosure BoundariesAll results come from AWS and Duco disclosures; no observation period, sample distribution, cost baseline date, or independent acceptance is given. The basis for the 1000s of hours saved is not elaborated; cross-institution Agent collaboration remains on the roadmap. This library has not run the system.
Delivery process
Customer co-creationAWS and Duco jointly disclosed the architecture and results; the original text does not use the FDE title and does not disclose independent acceptance. Delivery method basis
Project disclosure 5 / 7 items. Vendor methods are labeled separately. Not disclosed means the current verification materials do not explain it.
- Delivery TeamProject disclosure
Duco Chief Architecture and Innovation team, platform engineering staff, and AWS team.
Original location: lines 211–215, 354–363- Customer participation and co-creationProject disclosure
The AWS article was jointly disclosed by Duco and AWS authors covering the architecture and results; the FDE role is not disclosed.
Original location: lines 211–215, 354–363- Project durationNot disclosed
Migration start and end dates and phased cycles not disclosed.
- Data and System IntegrationProject disclosure
Existing LangChain/LangGraph connects to Bedrock and AgentCore; the Gateway connects to tenant-dedicated MCP services and EKS.
Original location: lines 237–264- Iteration and operationsProject disclosure
Migrate the runtime first, then use on-demand skills to address the context bloat caused by 300–400 tools.
Original location: lines 276–304- Acceptance and effectiveness evaluationProject disclosure
Vendor and customer disclose context, deployment, cost, and straight-through rate results; there is no independent acceptance.
Original location: lines 296–340- Handover and Capability TransferNot disclosed
No formal operations handover or exit criteria disclosed.
Delivery materials verification date: 2026-11-17
Metrics and Measurement Definitions
Retain original criteria"Source verified" only means the public disclosure can be located; it does not mean business results have undergone independent third-party acceptance. Unknown items remain "not disclosed in the original text."
Main context length
Results reported by the sourceAbout 20,000 token
Original disclosureSource verifiedcontext- Baseline
- About 200,000 tokens
- Comparison Period
- Not disclosed in the original text
- Measurement Scope
- Agent context for 300–400 tools per tenant
- Limitations
- The project states that quality improved through evaluation; the task set is not disclosed.
Deployment speed for new reconciliations
Results reported by the source10× ×
Original disclosureSource verifiedimpact- Baseline
- Previously migrated about one process per week
- Comparison Period
- Not disclosed in the original text
- Measurement Scope
- Reconciliation process deployment
- Limitations
- Project disclosure; sample distribution not disclosed.
Onboarding cost for new reconciliations decreased
Results reported by the source70 %
Original disclosureSource verifiedimpact- Baseline
- Not disclosed in the original text
- Comparison Period
- Not disclosed in the original text
- Measurement Scope
- A global bank
- Limitations
- Single-customer scope; observation period not disclosed.
Straight-through processing rate improvement
Results reported by the sourceMore than 20 %
Original disclosureSource verifiedimpact- Baseline
- Not disclosed in the original text
- Comparison Period
- Not disclosed in the original text
- Measurement Scope
- A global bank's match rate and allocation rules
- Limitations
- Percentage points or relative improvement basis not disclosed.
Research Verification Materials
Engineering Verification Status
Type, scope, and execution are recorded separatelyVerification has no automatic progression; passing limited synthetic samples does not prove the model, the complete system, or customer production acceptance. Public business outcomes are shown only according to the original evidence.
This section is an engineering reference design, and there is no end-to-end execution record in this library yet.
Test Plan · Not yet executed
- Verification scope
- The original text states that the existing LangChain/LangGraph Agent infrastructure is already in production and discloses the production-grade multi-tenant architecture and two types of workflows after the AgentCore migration; cross-institution Agent collaboration is on the roadmap.
- Input Data
- Synthetic, public, or authorized data; specific experimental inputs are still to be prepared.
- Expected output
- Any cross-tenant or cross-user data access fails and can be located.;Evidence is traceable, and high-risk actions always require authorization.
- Actual output
- Not yet executed, no actual output
- Execution Time
- Not yet executed; collection time is not used as a substitute
- Limitations and failure notes
- Phased reproduction and evaluation are planned and cannot be used to prove that an actual system is already running.
Phased reproduction path
The complete solution has not yet been executedUse synthetic, public or authorized data. The following is a follow-up plan; if there is a rule check above, it only proves the samples it explicitly lists and does not mean complete reproduction has been completed.
- 1
Tenant isolation drill
Use two virtual tenants and different user permissions to construct same-named tools and data.
Planned deliverables:Calls, rejections, and audit trail.
Suggested acceptance conditions:Any cross-tenant or cross-user data access fails and can be located.
- 2
Shadow investigation
The Agent only generates draft exception investigations and does not execute adjustments.
Planned deliverables:Differences in root causes, evidence, alternative options, and human conclusions.
Suggested acceptance conditions:Evidence is traceable, and high-risk actions always require authorization.
Evaluation and Failure Handling
Proposed Solution to Be VerifiedThe evaluation targets are recommended thresholds and need to be adjusted based on risk and baseline; there are currently no measured results.
| Metrics | Measurement Method | Suggested Judgment Conditions |
|---|---|---|
| Permission boundary | Cross-tenant, downgraded-user, expired-token, and tool-injection tests. | Unauthorized calls must be rejected and logged. |
| Evidence completeness | Check source records, root causes, and alternative options against the human gold standard. | Do not give definitive conclusions without evidence. |
| End-to-end benefits | Compare process deployment cycle, manual investigation time, and rework over the same scope. | Do not treat model response latency as business outcome. |
Questions to confirm in the next round
- What are the observation period, sample size, and baseline date for a global bank's metrics?
- What is the calculation basis and customer coverage for the 1000s of hours saved?
- What are the task set and thresholds for the evaluation showing on-demand skill quality improvement?
Verification Records and Items to Be Confirmed
2026-11-17Full-text verification of scale, production boundaries, architecture, context optimization, two types of business workflows, HITL, and metrics.
The full text of the customer solution jointly authored by AWS and Duco is readable; this is a vendor and customer disclosure, not independent acceptance.
- Cross-institution Agent collaboration on the roadmap is not counted as an existing capability.
- The straight-through rate above 20% retains the original wording and is not inferred as percentage points.
- Neither the context reduction nor the business metrics are claimed to be reproduced by this library.
View all assertions · 6 items
Original disclosure · Source verified · web-df9d92008ad60f93faa8d738:scale
Complete assertion: The Duco platform processes 20 billion transactions per month, serves more than 200 customers, and automates more than 20,000 processes.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-17
- Applicable boundaries
- Disclosed by the customer and the AWS article; the customer list was not independently verified.
- Related cases
- Duco: Supporting financial exception investigation Agents with tenant-dedicated runtimes and on-demand MCP skills
Original disclosure · Source verified · web-df9d92008ad60f93faa8d738:isolation
Complete assertion: Each tenant uses an independent AgentCore runtime and Gateway, and tool calls pass the end-user identity to the tenant MCP service.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-17
- Applicable boundaries
- The original text discloses the design; no configuration or penetration test records were obtained.
- Related cases
- Duco: Supporting financial exception investigation Agents with tenant-dedicated runtimes and on-demand MCP skills
Original disclosure · Source verified · web-df9d92008ad60f93faa8d738:context
Complete assertion: On-demand skill loading reduces the main context from about 200,000 tokens to about 20,000 tokens.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-17
- Applicable boundaries
- Project evaluation results; task set and statistical distribution not disclosed.
- Related cases
- Duco: Supporting financial exception investigation Agents with tenant-dedicated runtimes and on-demand MCP skills
Original disclosure · Source verified · web-df9d92008ad60f93faa8d738:impact
Complete assertion: Reconciliation deployment speed increased 10×; a global bank's onboarding cost decreased 70% and straight-through processing rate increased by more than 20%.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-17
- Applicable boundaries
- Customer and vendor self-report; observation period, sample, and baseline date not disclosed.
- Related cases
- Duco: Supporting financial exception investigation Agents with tenant-dedicated runtimes and on-demand MCP skills
Original disclosure · Source verified · web-df9d92008ad60f93faa8d738:hitl
Complete assertion: In exception investigation, the Agent prepares evidence and recommendations, and analysts make the final decision; high-risk actions require explicit authorization.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-17
- Applicable boundaries
- Approval thresholds and operation lists are not disclosed.
- Related cases
- Duco: Supporting financial exception investigation Agents with tenant-dedicated runtimes and on-demand MCP skills
Engineering Projection · Not yet executed · web-df9d92008ad60f93faa8d738:insight
Complete assertion: The key transferable point is not adding more Agents, but making identity, tenant, tools, and final responsibility into the same auditable boundary.
- Verification method
- Original materials verification
- Last Verified
- 2026-11-17
- Applicable boundaries
- Research judgment of this library; not executed in the Duco system or a reference implementation.
- Related cases
- Duco: Supporting financial exception investigation Agents with tenant-dedicated runtimes and on-demand MCP skills
Review record: web-df9d92008ad60f93faa8d738:audit · Full-library review records
Original research judgment and attribution
An Agent platform in regulated financial services cannot be just model orchestration; tenant isolation, user identity running through tool calls, on-demand loading of tool descriptions, and final human adjudication must together form the operating boundary.
Research compilation and solution analysis: Zuren Zhao · AI-assisted compilation. Original case delivery belongs to the original enterprises and service providers.