AI agents will create real value in capital markets, and real risk. Firms unlocking AI’s full promise without inheriting its risk will let agents think freely, yet make them act through deterministic, regulated infrastructure.
Key takeaways
- A $1.6 trillion operational problem AI agents can transform margin and collateral operations, from reading CSAs to forecasting liquidity and triaging exceptions
- Probabilistic engines need deterministic rails LLMs improvise and fill gaps, while every margin call must be calculated the same way, every time
- Agents propose, infrastructure disposes Let agents reason freely and route every action moving cash or securities through a deterministic, permissioned workflow orchestration
- Guardrails accelerate adoption When the worst an agent can do is propose something the platform rejects, risk committees can approve more ambitious use cases sooner
- Delegate the deterministic layer An independent provider gives AI a boundary it can’t redraw, separating agent reasoning from regulated, audited execution
- CloudMargin delivers the rails today A fully automated, deterministic collateral workflow, already codifying and enforcing the rules agents must respect.
The prize: AI meets a $1.6 trillion operational problem
The economic case for AI in derivatives operations is large and growing. ISDA’s latest margin survey shows leading firms collected a record $1.6 trillion of margin on non-cleared derivatives at end-2025, equating to $524.7 billion of initial margin (up 21.7%) and $1,038.8 billion of variation margin.
The mix is also getting harder to manage. Cash fell from 80% of variation margin received in 2020 to 67.6% in 2025, with government and other securities taking up the slack. More securities mean more eligibility checks, haircuts, concentration limits, substitutions and settlement breaks. That’s exactly the kind of high-volume, rules-heavy, exception-driven work where a deterministic workflow earns its keep.
$1.6 trillion
Record margin collected on non-cleared derivatives at end-2025
86%
UK financial firms using AI, up from 75% in 2024
2%
Firms giving agents broad autonomy vs 80% using for decision support
Sources: ISDA margin survey, April 2026. Bank of England and FCA, October 2026
The industry already sees the opportunity:
- Adoption is mainstream, yet AI advises rather than runs The Bank of England and FCA’s 2026 survey, published on 26 October, found 86% of UK financial firms now use AI, up from 75% in 2024, with operations and IT accounting for 31% of reported AI systems, more than any other area. The dominant mode is advisory, with 80% of respondents deploying agents for decision support, where humans decide and execute, against 46% with constrained execution and just 2% with broad autonomy
- Derivatives-specific use cases are clear ISDA’s Future Leaders in Derivatives whitepaper points to GenAI summarising complex agreements, margin and collateral requirements and helping to “assist in selecting the least costly collateral”
- The productivity upside is material McKinsey notes operations can account for 50 to 60% of a bank’s workforce, and expects AI could create “north of 40, 60, or 70 percent” of capacity, with one person eventually supervising “roughly 20 to 30 agents in some cases”
- Regulators expect agents in wholesale markets FCA chief executive Nikhil Rathi said in June 2026 that agentic systems could support “liquidity management, trading workflows, and other market functions”.
In collateral specifically, the near-term value sits in five places:
- Reading and digitising CSAs and eligibility schedules
- Forecasting margin and liquidity needs
- Investigating disputes and drafting counterparty responses
- Recommending optimal allocations from available inventory, usually through an AI-assisted deterministic algorithm
- Triaging the long tail of exceptions that consume operations teams every morning.
These are the points where the process itself can be redrawn. Each is a judgement task agents can own, provided the actions that follow run on deterministic rails.
The thesis: Agents propose, infrastructure disposes
The answer isn’t to keep AI away from collateral. It’s to separate thinking from doing. Market participants should let their agents reason, forecast, investigate and recommend as freely as they like, and require every action that moves money, collateral or legal obligations to pass through a deterministic, permissioned infrastructure layer.
Modern aircraft offer a useful analogy. Fly-by-wire systems let pilots and autopilots fly the plane, yet the flight-control computer enforces an envelope that neither can breach. Collateral infrastructure can play the same role for AI agents. The agent flies and the platform holds the envelope.
CloudMargin already runs the collateral lifecycle as a fully automated, deterministic workflow built on automation and straight-through processing (STP). The cloud-based platform is a natural outsourced guardrail for clients’ agentic workflows, with the rules agents must follow already codified and enforced in production.
Six mechanisms do the work:
- Codified agreements CSA terms, eligibility schedules, haircuts, thresholds, minimum transfer amounts and concentration limits live as validated rules, not as text an agent must interpret each time
- Validation at the boundary Every agent instruction, whether a call, an allocation or a substitution, is checked against those rules. Anything non-compliant is rejected with a machine-readable reason the agent can learn from
- A fixed lifecycle The margin call moves through defined states. An agent can accelerate a step, yet it can’t skip one
- Scoped permissions Agents can read broadly and write narrowly. Actions above set limits route to a human for four-eyes approval
- Replayable, auditable outcomes The same inputs always produce the same result, and every action records which agent or person initiated it, which rule applied and who approved it
- Graceful fallback If the AI layer fails or is switched off, the deterministic platform keeps running business-as-usual processing. Operational resilience doesn’t depend upon a model being available.
Firms can then set what Andrej Karpathy, former director of AI at Tesla, calls an “autonomy slider”, with more autonomy for low-risk steps such as dispute triage and less for high-risk steps such as releasing collateral. The slider is only safe if something outside the model enforces where it sits. That’s the infrastructure’s job.
A shared view is taking shape
Across AI labs, analysts, enterprise software, the derivatives industry and regulators, the message is consistent. Agents deliver most when deterministic systems define what they’re allowed to do:
- Analysts Gartner’s Anushree Verma advises using “AI agents when decisions are needed, automation for routine workflows and assistants for simple retrieval” (SD Times)
- Enterprise software Salesforce turns business rules into “executable, deterministic logic”, letting agents get them right “every time” (Salesforce). Workday argues “systems of record with accurate, reliable data reduce AI risk” (Workday), and SAP positions ERP as the trusted system of record (TechTarget)
- Regulators and bank leaders The FCA wants AI dependencies “properly mapped and governed” (FCA), and Goldman Sachs CEO David Solomon calls for “progress built on accountability, trust and confidence” (PYMNTS).
Firms are putting the same principle into practice. The advisory pattern in the 2026 BoE/FCA survey holds even in firms’ plans, with no more than 9% of respondents expecting agents to execute trades, initiate payments or change limits, even including planned deployments. Firms want agents to advise, not to transact unchecked. A fully automated, deterministic workflow fills exactly that gap.
Why guardrails are an accelerator, not a brake
Guardrails sound like constraints. In practice, they give a regulated firm the confidence to say yes. When the worst an agent can do is propose something the platform rejects, the risk committee can approve more ambitious use cases sooner.
Three benefits matter most:
- Speed Gartner attributes many failed agentic projects to “inadequate risk controls”. Buying these controls ready-made, inside a fully automated, deterministic workflow like CloudMargin’s, removes a common reason projects stall. It also follows Gartner’s own advice: automation for routine workflows and agents only where decisions are needed
- Capital and liquidity Better forecasting, faster dispute resolution and smarter allocation release trapped collateral and reduce funding costs. Firms only see those gains once they trust agents in live processing, and the guardrail layer builds the trust
- Readiness for digital assets Coalition Greenwich calls tokenised, high-quality collateral a potential “2026 game changer” that lets transfers “settle in minutes and unwind in hours” (Coalition Greenwich). When collateral moves in minutes, there’s no time for a human to catch an agent’s mistake after the fact. The controls have to live in the rails themselves.
Build versus delegate: De-risking the AI-built stack
AI coding tools have made it tempting to imagine rebuilding collateral management in-house. Doing so significantly underestimates the problem, even with the best AI coding methods.
A production-grade platform must codify every negotiated CSA, each with its own eligibility schedules, haircuts, thresholds and minimum transfer amounts. It must calculate initial margin under ISDA SIMM and regulatory schedules across jurisdictions, handle bilateral, tri-party and cleared flows, and connect to counterparties, custodians and settlement networks. Then it must keep pace with constant regulatory and market change. Beneath all of that complexity sits a platform challenge. The system must scale and hold up under stress when market volatility drives call volumes and disputes sharply higher.
The hard part isn’t writing code. It’s knowing what the code must do in every edge case, for every workflow step and margining scenario, and proving its accuracy to auditors and supervisors. That takes years of domain experience, not weeks of AI-assisted development.
A firm that takes on the build anyway stacks two kinds of AI risk on top of each other. At build time, the danger isn’t that the code behaves randomly. Once written, it runs deterministically. The danger is that it’s deterministically wrong. An untested edge case is frozen into the logic and repeated on every call, often passing tests written with the same blind spots. Every AI-assisted change for new regulation or a new counterparty is a fresh draw on that risk. At run time, AI reasoning adds a genuinely probabilistic layer. Delegating the deterministic layer to a provider that already runs it as a fully automated, proven workflow removes the first and contains the second.
The evidence favours delegation:
- Partnered AI succeeds more often MIT NANDA’s The GenAI Divide found buying from specialised vendors and building partnerships succeeds about 67% of the time, while internal builds succeed only one-third as often. Fortune notes this is “particularly relevant in financial services and other highly regulated sectors” (Fortune)
- AI-written code carries hidden security debt Veracode tested over 100 LLMs and found AI-generated code introduced security flaws in 45% of tasks, rising above 70% for Java. Its CTO, Jens Wessling, says models “are getting better at coding accurately but are not improving at security” (Veracode)
- Most of the stack doesn’t need to be agentic Gartner’s warning that many use cases “don’t require agentic implementations” applies squarely to margin calculation and settlement messaging. They need to be correct, not creative, which is what a fully automated, deterministic workflow such as CloudMargin’s already delivers
- Mutualisation beats replication A provider amortises the cost of keeping CSA logic, regulatory change and connectivity correct across its whole client base. An edge case found for one client is fixed for all. ISDA’s argument for mutualised standards applies equally to mutualised infrastructure.
A practical division of labour:
Delegation isn’t abdication. The FCA insists “accountability for regulated activities and outcomes must remain clear”. The quality of a provider’s workflow, its data and its audit trails is therefore decisive. A specialist provider’s entire business is the control environment. The documentation, testing and assurance a firm needs to discharge that accountability already exist.
Concentration risk deserves an honest answer too. The Bank of England has warned that “a widespread outage of one or several key models could leave many firms unable to deliver vital services”. A model-agnostic deterministic provider that keeps processing when the AI layer is down reduces the dependency rather than adding to it.
What to demand of an infrastructure partner
The model only works if the deterministic provider is built for an agentic world. A legacy platform that agents can only reach through screen-scraping or overnight files isn’t a guardrail. It’s a bottleneck.
Participants should test potential partners against seven requirements:
Anthropic’s guidance shows why the interface matters. Builders should “carefully craft your agent-computer interface (ACI) through thorough tool documentation and testing”.
For a collateral platform, the interface is the guardrail. It’s where the provider’s rules meet the client’s agents. CloudMargin starts from the right foundation, a fully automated, deterministic collateral workflow.
Three steps market participants can take now:
- Map the workflow Split each collateral process into “think” steps, where AI can reason freely, and “do” steps, where outcomes must be deterministic
- Test your provider Put the seven questions above to your infrastructure partner. If it can’t answer them, your agents will have nothing safe to stand on
- Start bounded, then widen Begin with dispute triage and margin forecasting, where agents propose and the platform disposes. Raise autonomy as the audit trail builds evidence.
Taken together, these steps enable firms to put agents to work where they add the most value, without handing over control of cash, collateral or legal obligations. Every action an agent proposes is validated against codified rules, executed through a proven, fully automated workflow and recorded for supervisors, with real-time visibility and control throughout. Risk committees gain the confidence to approve more ambitious use cases sooner, and AI moves from pilot to production at the pace the market demands.
CloudMargin and AI readiness
CloudMargin gives firms the guardrails to move AI agents from pilot to production. Every collateral workflow runs end-to-end on one platform, governed by permission-based controls, configurable rules and approval workflows across teams and regions. Agents propose actions, while the platform decides what executes, under which rule and with whose approval.
Guardrails are only as strong as the data behind them. CloudMargin consolidates agreements, positions and inventory data into a single real-time data ledger. Agents reason from accurate, consistent data, significantly reducing the probability of error.
The CloudMargin platform provides resilience in an AI world. Autoscaling AWS infrastructure and an active-active deployment keep performance high. Business as usual processing continues if the AI layer is unavailable.
CloudMargin’s award-winning, cloud-native platform is trusted worldwide by +260 buy-side and sell-side institutions and named Collateral management and optimisation product of the year at the Risk Markets Technology Awards 2027, our fifth win in the category since 2019 and second consecutive year earning the honour.
CloudMargin’s guardrails are in place today, ready to put AI agents to work.
- Anthropic, Building effective agents, December 2024
- Bank of England and FCA, Artificial intelligence in UK financial services 2026, October 2026
- Bank of England FPC, Financial Stability in Focus: AI in the financial system, April 2025
- Coalition Greenwich, Top market structure trends to watch in 2026, January 2026
- FCA, Nikhil Rathi, Re-thinking regulation for the age of AI, June 2026
- Fortune, MIT report: 95% of generative AI pilots at companies are failing, August 2025
- Gartner, Over 40% of agentic AI projects will be canceled by end of 2027, June 2025
- ISDA, Margin survey: record $1.6 trillion of margin in 2025, April 2026
- ISDA, derivatiViews: A financial markets revolution (via Mondo Visione), May 2026
- ISDA Future Leaders in Derivatives, GenAI in the derivatives market: a future perspective, April 2024
- Karpathy, A., Software is changing (again), YC AI Startup School talk notes, June 2025
- McKinsey, The paradigm shift: how agentic AI is redefining banking operations, February 2026
- Model Context Protocol, Specification, July 2026
- PYMNTS, Goldman Sachs CEO on accountability for AI, October 2026
- Salesforce, A practical guide to reliable AI agents
- SD Times, Gartner: more than 40% of agentic AI projects will be canceled, June 2025
- TechTarget, AI agents need boring rules to do useful work, May 2026
- Veracode, AI-generated code poses major security risks in nearly half of all development tasks, July 2025
- Workday, Julie Colwell, Why AI needs a system of record, April 2026

.webp)


.jpeg)





