RADIX WikiRADIX Wiki

Overview

Atomic composability means that complex multi-step operations either execute completely or not at all. On Radix, a single transaction manifest can chain together any number of operations – swaps, loans, deposits, withdrawals – and the entire sequence is atomic.

This is critical for DeFi because it eliminates the risk of partial execution. On EVM chains, multi-step strategies often require multiple transactions, each of which might succeed or fail independently. A failed step in the middle can leave funds stranded. On Radix, the manifest either completes all steps or reverts everything.

Why It Matters for AI Agents

Autonomous AI agents need atomicity guarantees even more than human users. An agent executing a complex DeFi strategy can encode the entire operation in a single manifest, confident that partial failures are impossible. This removes an entire category of error-handling complexity from agent design.

Cross-Shard Atomicity

The atomicity described above is a property of the network as it runs today, in which Cerberus operates unsharded: a single shard group covering the whole ledger, where every transaction is settled by one consensus instance and nothing has to be coordinated across shards at all.

Cerberus was specified to carry the same guarantee into a sharded network, by braiding consensus across only the shards a transaction touches rather than settling cross-shard operations through an asynchronous bridge. That remains a specification. Braiding has never run in production, on Radix or anywhere else, and the Xi’an production candidate does not implement it either – it commits per shard with a two-chain HotStuff-2 protocol, its lead developer having argued that braiding makes shards co-dependent for liveness. Cross-shard atomic composability on Radix is therefore a design target rather than a property of a live network, and any claim that Radix already preserves atomicity "at any scale" is a claim about the whitepaper, not about mainnet.

A Concrete Example: Flash Loans

The clearest expression of atomic composability is the flash loan: borrowing an asset and repaying it within the same transaction. Because the borrow and the repayment are two steps of one atomic operation, the loan is either paid back by the end of the transaction or the whole transaction reverts – so the lender takes no credit risk. Radix's own developer education describes this as enabling "hyper-efficient arbitrage to take place without any credit risk" (Radix Learn: What is Atomic Composability).

Composability Without Glue Code

On Radix, the assets returned by one component can be passed directly into the next as part of the same manifest, so applications "combine any number of applications together in any shape or form" without a bespoke integration contract wrapping every combination (Radix Learn). This is what distinguishes atomic composability from calling one contract from another: the composition lives in the transaction, expressed against real resources, not hard-wired into deployed code. It is the practical foundation for the readable, guaranteed transactions the Radix Wallet can show a user before they sign.

HydrateLast updated Sep 7, 2026v2.4.030 revisionsVerified Sep 7, 2026