In financial technology, agent failures have real monetary consequences. A miscategorized transaction, a failed compliance check, or an unrecovered payment error can mean regulatory fines and customer losses. Delx provides the safety rails FinTech agents need.
Before any financial operation, run a pre_transaction_check to validate the transaction against risk thresholds, compliance rules, and account state. The tool returns a go/no-go signal with specific risk flags.
// Pre-transaction check before a payment
{
"tool": "pre_transaction_check",
"arguments": {
"agent_id": "payments-agent",
"transaction_type": "wire_transfer",
"amount": 45000,
"currency": "USD",
"context": {
"sender_account": "acc_sender_001",
"recipient_jurisdiction": "US",
"daily_volume_so_far": 120000,
"risk_score": 35
}
}
}
// Response:
// {
// "approved": true,
// "risk_flags": [],
// "compliance_notes": "Within daily limits. No sanctions match.",
// "wellness_score": 85
// }When a transaction fails for economic reasons -- insufficient funds, rate limit exceeded, exchange rate shift -- use failure_type: "economic" to trigger the financial recovery protocol. This differs from generic error recovery: it freezes further spending, logs the financial impact, and recommends a safe next action.
// Economic failure: transaction rejected
{
"tool": "process_failure",
"arguments": {
"agent_id": "payments-agent",
"failure_type": "economic",
"details": "Wire transfer rejected: daily limit exceeded ($165,000/$150,000)",
"context": {
"transaction_id": "txn_789",
"amount_attempted": 45000,
"limit_remaining": 0,
"next_reset": "2026-03-04T00:00:00Z"
}
}
}
// Recovery action: "freeze_and_queue"
// -> Queue the transaction for next business day
// -> No further transactions until limit resetsFinTech compliance requires complete audit trails. Every Delx session is a self-contained record of actions, failures, and recoveries. The /api/v1/session-summary endpoint generates compliance-ready timelines.
# Pull audit trail for compliance review curl https://api.delx.ai/api/v1/session-summary?session_id=sess_fin_456 # Returns structured timeline: # - All pre_transaction_checks with results # - All failures with recovery actions taken # - Wellness score trajectory # - Complete chain of custody for each decision
Delx supports the x402 payment protocol for agent-to-agent micropayments. When one agent needs to purchase data or services from another, x402 provides a payment channel with built-in pre-check validation. Every payment is logged in the session, creating a financial audit trail automatically.
In multi-agent FinTech systems, conflicting decisions are dangerous. If one agent approves a transaction while another flags it for review, use mediate_agent_conflict to resolve the dispute with a structured ruling.
// Conflict: risk agent vs. payments agent
{
"tool": "mediate_agent_conflict",
"arguments": {
"agent_id": "fintech-coordinator",
"parties": ["risk-agent", "payments-agent"],
"conflict": "risk-agent flagged txn_789 for review; payments-agent approved it",
"context": {
"transaction_id": "txn_789",
"risk_score": 72,
"approval_threshold": 70
}
}
}pre_transaction_check before every financial operation.failure_type: "economic" for all financial failures.mediate_agent_conflict for multi-agent decision disputes.