Bonnie Blockchain

Speakers discuss AI agent security architectures and predict AI-driven market efficiency gains in crypto trading

18 min Listen to the original Episode page
AI AgentsBlockchain SecurityQuantitative TradingStablecoinsMarket Efficiency

Summary

Arvind Raghu and Lennix Lai outline a five-layer security model for financial AI agents, emphasizing identity verification, policy controls, and execution within isolated AWS Nitro Enclaves to prevent key leakage. Lai explains that OKX employs pre-execution transaction simulations and Layer 2 scanning to mitigate risks such as phishing and unauthorized fund deductions. The speakers argue that AI agents will compress market mispricing windows from hours to minutes, making it impossible for individual traders to outperform quant firms. They describe blockchain as a value network enabling machine-to-machine transactions, with stablecoins facilitating micro-nano payments that fiat systems cannot viably support.

Key takeaways

  1. 1
    Raghu details how AWS Nitro Enclaves provide hardened, isolated virtual machines without persistent storage or external connectivity, with private keys pinned via AWS Key Management Service.

    Speaker 2 · 4:52

Episode sections

  1. 0:00 – 3:42

    AI Agent Security and Guardrails

    Arvind Raghu outlines a five-layer security model for AI agents in finance: identity verification, gateway controls, policy layers for budget limits, execution in trusted enclaves, and continuous monitoring with circuit breakers. He emphasizes that agents should not hold private keys but operate within isolated environments.

  2. 3:42 – 4:48

    OKX Simulation and Risk Management

    Lennix Lai explains that OKX runs transaction simulations before execution to assess risk. High-risk transactions, such as abnormal fund deductions, trigger human intervention or additional confirmations to prevent unauthorized actions.

  3. 4:48 – 6:29

    AWS Nitro Enclaves and Key Management

    Raghu details how AWS Nitro Enclaves provide hardened, isolated virtual machines without persistent storage or external connectivity. Private keys are pinned to specific enclaves via AWS Key Management Service, ensuring signing occurs securely off-chain within the enclave.

  4. 6:29 – 7:49

    Layer 2 Security and Phishing Prevention

    Lai describes a Layer 2 security check involving compressed scanning and databases to identify bad actors, phishing websites, and suspicious transactions based on historical records, stopping malicious activity before it settles.

  5. 7:49 – 9:59

    Market Efficiency and AI Speed

    Lai argues that AI agents will shorten the window for market mispricing from hours to minutes. While this increases efficiency, it may lead to liquidity freezes during chaotic moments as institutional players react faster to information.

  6. 9:59 – 11:47

    Quantitative Trading and Alpha Seeking

    Raghu states that individual traders cannot outperform quant firms with PhDs working 24/7. AI agents will continuously seek alpha by identifying inefficiencies, making strategy and data access the key differentiators.

  7. 11:47 – 13:27

    Blockchain as a Value Network for Agents

    Lai likens AI agents to subcontractors and blockchain to a value network enabling machine-to-machine transactions. He predicts a future with one trillion agents interacting, facilitated by low-cost, fast blockchain settlements.

  8. 13:27 – 18:15

    Stablecoins and the Agentic Economy

    Raghu disputes that crypto is built *only* for agents, noting stablecoins have existed for years. He argues digital assets are superior for the agentic economy due to low gas fees enabling micro-nano payments that fiat cannot viably support.

Claims worth verifying

Arvind Raghu stated that decomposing the agent economy into verifiable checkpoints goes a long way in making sure each stage of the transaction lifecycle is protected by guardrails and is verifiable and auditable.

Speaker 2 ·0:53

How to verify: Review AWS documentation on 'Agentic AI' or 'Confidential Computing' for claims regarding verifiable checkpoints and auditability in financial workflows. For recent events, verify 2026-08-30 through 2026-11-30. Use another period only when the speaker explicitly names it.

Lennix Lai stated that OKX runs a simulation trade before agents start sending transactions to determine if there is high risk, and high-risk transactions require human interventions and confirmations.

Speaker 3 ·3:59

How to verify: Check OKX official documentation or whitepapers on 'AI Agent Trading' or 'Risk Management' for details on pre-execution simulation and human-in-the-loop protocols. For recent events, verify 2026-08-30 through 2026-11-30. Use another period only when the speaker explicitly names it.

Arvind Raghu stated that AWS Nitro Enclaves are hardened, isolated virtual machines with no persistent storage, no external network connectivity, and no ability for an administrator or root user to SSH into them.

Speaker 2 ·5:12

How to verify: Consult AWS Nitro Enclaves technical documentation or architecture guides for specifications on isolation, storage persistence, and network connectivity. For recent events, verify 2026-08-30 through 2026-11-30. Use another period only when the speaker explicitly names it.

Arvind Raghu stated that AWS Key Management Service allows pinning keys to a specific enclave with hashables, ensuring only that enclave can fetch the key.

Unknown speaker ·5:47

How to verify: Review AWS KMS documentation on 'Enclave Identity' or 'Key Pinning' to verify the technical capability of binding keys to specific enclave instances via hashables. For recent events, verify 2026-08-30 through 2026-11-30. Use another period only when the speaker explicitly names it.

Lennix Lai stated that OKX uses a compressed scanning and database to check for bad players, suspicious transactions, or problematic decentralized applications based on historical records.

Speaker 3 ·7:14

How to verify: Examine OKX security reports or API documentation for 'Threat Intelligence' or 'Transaction Screening' services that utilize historical data for risk assessment. For recent events, verify 2026-08-30 through 2026-11-30. Use another period only when the speaker explicitly names it.

Lennix Lai claimed that in the pre-AI era, market reactions to chaotic moments like oil or gold price spikes took one to three hours, whereas now AI errors allow opportunities to be spotted in two to three minutes.

Unknown speaker ·8:53

How to verify: Analyze historical market data for volatility events (e.g., oil/gold spikes) to measure reaction times, and compare with recent AI-driven trading volume data to assess speed of price discovery. For recent events, verify 2026-08-30 through 2026-11-30. Use another period only when the speaker explicitly names it.

Arvind Raghu stated that quant firms have PhDs working on strategies 24/7, and individual traders cannot beat them.

Speaker 2 ·10:19

How to verify: Review academic or industry reports on quantitative trading firm staffing and performance metrics compared to retail trader benchmarks. For recent events, verify 2026-08-30 through 2026-11-30. Use another period only when the speaker explicitly names it.

Primary source

Lennix Lai stated that OKX users using agents as an interface trade 5x to 10x more in terms of frequency compared to those using traditional interfaces, though they do not yet entrust 100% of their money to agents.

Speaker 3 ·15:21

How to verify: Request OKX internal trading volume statistics or user behavior reports segmented by interface type (UI vs. Agent API) to verify the 5x-10x frequency increase. For recent events, verify 2026-08-30 through 2026-11-30. Use another period only when the speaker explicitly names it.

Arvind Raghu stated that AWS Activate provides credits starting at $5,000, going up to $100,000, with special programs reaching $200,000.

Unknown speaker ·16:46

How to verify: Check the official AWS Activate program terms and conditions or partner pages for credit tiers and maximum award amounts. For recent events, verify 2026-08-30 through 2026-11-30. Use another period only when the speaker explicitly names it.

Arvind Raghu stated that stablecoins make payments easier, quicker, and cheaper than fiat, especially for micro-nano payments where fiat costs a few dollars or a percentage.

Speaker 2 ·13:54

How to verify: Compare average transaction fees for stablecoin transfers (e.g., USDC on Ethereum/Solana) against fiat micro-payment processing fees (e.g., credit card or bank transfer) using financial data providers. For recent events, verify 2026-08-30 through 2026-11-30. Use another period only when the speaker explicitly names it.

Do your own research

  • Verify AWS Nitro Enclave documentation regarding persistent storage and external connectivity limitations.
  • Review OKX's public risk management policies and simulation protocols for agent transactions.
  • Check historical data on market liquidity depth during high-volatility events to assess AI-driven freeze risks.
  • Analyze on-chain transaction volume and frequency data for agent-driven wallets versus traditional UI wallets.
  • Compare stablecoin transaction fees against fiat micro-payment processing costs to validate the 'micro-nano payment' claim.
  • Research existing quant firm performance metrics against retail trader benchmarks to assess the 'alpha seeking' disparity.
  • Audit OKX's Layer 2 security database sources for phishing and bad actor identification.
  • Confirm the existence and scale of the 'one trillion agents' prediction against current AI agent deployment statistics.
Full transcriptexpand

Voices are numbered in the order we told them apart; a name appears only when the episode itself identifies the speaker.

0:00Speaker 1: Really happy to be joined by Linux Sly. He is the OKX Global GM and Arvin Ragu. He is the AWS Global Head of Web3 and Confidential Compute. Arvin, there was an incident of AI agents not following the instruction. Instead, it went around the limitation and found the solution. Now, what I want to ask is how is it possible and what can you do to prevent something like that happening?

0:33Speaker 2: When you're talking about agentic workflows and specifically because of the industry we are in, we're talking about an agentic economy. We're talking about agents being able to trade, agents being able to make payments, which means agents not just have access to your wallets and your funds, they're also representing your identity. Decomposing the agent economy into verifiable checkpoints goes a long way in making sure that each stage of this lifecycle, the transaction lifecycle, is protected by guardrails and is verifiable and auditable. Agents could be interacting with other agents. Agents could be fetching data from another one. How does it know it's the right data s data source to trust? Right? How does it know I can share a secret with another agent which is about to perform a task? So

1:23Unknown speaker: how do we

1:24Speaker 1: know?

1:25Speaker 2: So identity is one. When we get into the world of gateways, we get into controlling, okay, which tools can this agent use, right? Because you don't let an agent go and let it run free. You equip it with skills, you equip it with capabilities. The agent is there to perform a task or execute a strategy. If you're talking about the world of finance. So it needs to know that there are certain tools it can use, but it's also upon you who's setting the agent loose on this transaction to ensure it does not get access to certain things as well. Then comes your policy layer. Your policy layer is really that engine that's gonna drive what's possible, right? The scope of what it can do, what are the limits to the funds that the agent has? What are the budget limits? What can the agent do with the funds that it has at its disposal? Right? Because when we're talking about trading, we're not just talking about agent swapping one asset with another. It could then be using the liquidity to generate yield. So what are you going to allow it to do? Right? So these are certain things that come from a policy perspective. And then once you're done with policy, then comes the execution of the transaction itself. Now, when you execute it, you want to make sure you're signing a transaction, a sensitive

2:43transaction with assets, with personal information in a trusted execution environment, right? The agent never gets hold of the key. You maintain the treasury key with yourself, right? The agent just has scope keys, which is just enough for it to fulfill a task. Now you're getting into the world of broadcasting the transaction because we live in the Web3 world. And then comes the last phase, which is monitoring. You want to continuously monitor till the transaction settles to make sure it's settling based on what you're you expect it to see, and there is no sudden velocity, you know, in the whole trading cycle that you didn't expect to see. And if you did, there better be mechanisms for you to revoke the keys. There better be mechanisms for you to make sure there's a recovery path, right? Or a circuit breaker, if you will, to to act as a kill switch if the if the agent is doing something, you're not expecting it to do, and that to add volume.

3:42Speaker 1: You mentioned there has to be limitations on the budgeting and what they can do. Linux, let's say if I have a million dollars on a platform, trading platform, and I want to delegate that money to agents.

3:57Unknown speaker: Yeah.

3:57Speaker 1: What does it look like?

3:59Speaker 3: Basically, what OK said did is we've we run a simulation tray before the agents start sending transactions. Transaction in Web3 World is relatively complicated.

4:11Unknown speaker: Uh

4:11Speaker 3: it's meaning that starting from blockchain one to blockchain B involve different kind of swap layer, different type layer. So we would run a simulation and determine whether or not there's high risk in us. And uh in some scenario it would require human interventions and confirmations. If a high-risk transaction including

4:37Unknown speaker: uh

4:37Speaker 3: an abnormal amount of deduction from your butt from your wallet addresses, it would reflect, intercept, and require additional additionally confirmations. automations.

4:48Speaker 1: How does it make the transactions with without the private key? That's my question.

4:52Speaker 2: It doesn't make the transaction without the private key. It just does not have the private key. The private key is in a separate environment. At AWS, we offer specialized capabilities like AWS Nitro Enclaves, which are hardened harden and isolated virtual machines with no persistent storage, no XC. external network connectivity, no ability for an administrator or a root user to actually SSH into it. So essentially for somebody who's operating the system, it's a black box. They cannot see what's going on there. So the agent can actually get the transaction signed inside the enclave, which holds the private key. You also need to have the keys get fetched from somewhere. And we have capabilities at AWS, like our AWS Key Management Service, where you can actually pin the keys to that specific enclave with hash meashables.

5:47Unknown speaker: So

5:48Speaker 2: when you do that, it's not only that that particular signing operation happens in the enclave, it is that particular enclave that can actually go fetch the key from key management service. Nothing else can. So that's how you protect this transaction. So the A agent itself does not have the private key with it, but it submits the transaction to the signer with the enclave, which holds the private key. And everything happens there. And then the enclave comes back with a signed response, which you can then go broadcast. And that broadcast is what we were talking about earlier. That's how it goes to the chain, right? But the signing happened off. the chain, it happened on the enclave.

6:29Speaker 3: AWS handle

6:31Unknown speaker: um

6:32Speaker 3: security layer and and sign on that particular transaction. This is more like a layer one. So that transaction is going out after this security check on the all all the other all the other all the fancy design for AWS. This the layer two is so what kind of applications, blockchain layers, web three layers, or security in place on layer two. So a lot of people sending wrong transactions to one wrong addresses, to the world website, to a phishing website, uh to some bad player. So there will be a layer two that involved another layer security check. What we've done is basically have a compressed scanning and database and check, hey, this is a bad player based on historical records. This probably a very suspicious transaction or one addresses that the users need to be aware of. There's this

7:34probably a uh decentralized application applications that might be a problem. uh that's based on our database based on based on record so we would stop over there before that that that's I think is an an additional layer after the transaction has been signed and set.

7:49Speaker 1: Linux is a great trader. Now he can identify the weakness in the system in the global market. Now we have millions of AI agents who has the same ability of Linux, for example. and everyone's trying to find weaknesses in the financial markets. Now, what happens?

8:10Speaker 3: So if everyone have become a lot smarter after AI, after A era, the window of market mispricing weakness will be a lot shorter. uh Opportunities of mispricing time gap. but a lot shorter so so in some chaotic moment or even some chaotic moment the i think uh i think what uh uh a war discussed others the oil price spike gold price spike and this window probably in in in the pre-ai era or P in human era so probably take one or two hours or three hours the markets to market react. Right now it takes

8:53Unknown speaker: up

8:53Speaker 3: AI error, everyone can spot the opportunities.

8:57Unknown speaker: It

8:57Speaker 3: probably takes two minutes, three minutes. So the market will react much faster. So the good thing about this is when the when worst case scenario happens, chaotic moment happens, the market will be scared. Scarce meaning that meaning the big institutional big player, they have absolute information, they will quit the market. Quit the market means they will just pull out their trade and pull out their fund. The market liquidities just suddenly suddenly just freeze out and they will trigger even bigger problem. Somebody have more information in the market, they they'll will react faster. they're willing to pick up trade in a chaotic moment. That's what really means when that market has absent of liquidity. So that's why I call it maybe the risk is lower after the market is getting more efficient. If everyone is AI powered, out.

9:59Speaker 2: agents are always going gonna to try and identify that. inefficiency to go seek that alpha. What makes the agent more effective is a strategy you equip the agent with. And today, if you look at market makers and high frequency traders, whoever they are, they have their own unique strategies. This is what quant firms do. They specialize in these things, right? So from that perspective, can I, as an individual today, do better than a quan quant? Probably not. Right? Not gonna happen, right? That they this is their job. They have PhDs working on this 24-7. Right? I'm not gonna beat them. I can copy trade, which by the way, is something that's happening.

10:45Speaker 1: Right now, if I make a bad trade, I am to blame. But what happens if my agent doesn't does a bad trade? Is it still my fault?

10:54Speaker 3: You have to understand the the loss of particular trade, at least a month, is fall under a predefined and reasonable behavior. And reason and and fall behind your expectations. That is what um a solid trading model is supposed to be. So what what really need to take into caution probably is if a nations have a capability to make a trade that beyond and control. So that's why the five-layer system that

11:31Unknown speaker: that

11:32Speaker 3: uh AWS provides, Provide it they provides provide supervision and over oversight to to to to sit back and evaluate where an agent perform an abnormality of certain training and certain execution.

11:47Speaker 1: When I hear AI agents, I kind of like see this human, the assistant that is going to help me. When I talk about blockchain, I see this highway that has a lot of transactions. Is that how you when I talk about AI agents? What comes to your mind?

12:03Speaker 3: I love the metaphor. I love I think agent is more like a subcontractor. So you can you know think of like uh you're hired or not hired, you employ a bunch of subcontractors for to do seven things, several things for you. And this subcontractor, some of them you build bill

12:25Unknown speaker: it

12:25Speaker 3: and some some of them you need to get paid for it because this subcontractor doing certain things is so good. So so in this world will be okay, there will be 60 billion people in the in and population in the world. Probably have one trillion agents or one trillion subcontractors working on different things, uh Of talking and trading against each other. other's. So what blockchain means a blockchain crypto means they transfer value within agents versus agents. This blockchain is natural bow for machine for agents to talk to each other, send money, deducting balance of wallets, and send to the other blockchain in two seconds and set saturated to transaction transactions and cheap and no cost, and uh basically no cost. So so you can think of like think of like blockchain as a as a value network for all these kinds of subcontractors and working for the

13:25entire human civilizations.

13:27Speaker 1: When I go to all these crypto conferences, the narrative now is stablecoin and crypto is built for agents, not humans. I don't know if you buy into this conference. concept.

13:39Speaker 2: That's not true. I mean,

13:41Unknown speaker: uh,

13:41Speaker 2: crypto has existed for a while. Stable coins are not a new concept. When you're looking

13:46Unknown speaker: at

13:47Speaker 2: stable coins, let's say, you know, as a as an asset class,

13:51Unknown speaker: and

13:51Speaker 2: you want to transact with

13:53Unknown speaker: it,

13:54Speaker 2: it just makes payments a lot more easier and quicker, right? So in doing so, it also makes it a lot cheaper. because it's a digital asset transaction. Or digital assets in general are better suited for these micro nano payment kind of transactions because the gas fee involved is so low versus fiat, where it's gonna cost you a few dollars or a few or percentage of a transaction. So one cent transfer is not a viable one in the other case, but for stablecoins. stable coins or digital assets, it's a lot easier to do, right? So it's it's more or less going to make that whole agent economy a lot more efficient, especially when agents are transacting with each other or agents are making API calls, paying all these nano payments. That's really where it's going to be more easy. Crypto and stable coins are built for the agentec agentic economy, but they definitely lend themselves a lot better. than fiat does.

14:52Speaker 1: Once all the agents are making transactions and trading, then the volume is probably gonna be a lot more than what we're seeing now.

15:01Speaker 3: What we see, the fake news right now, is a lot more people, a lot of OK's users starting to use agent as an interface to interact with our. trading service. So you mean they're not clicking the button anymore. The agent replaced human to start interacting, I mean, trading or reading market data, all this kind of stuff with our service. So we can see at least 5x or 10x more in terms of volume for people previously have no cooking experience, channel. general retail, some individuals, but they they they normally train a couple of times a year. Right now, because of agentic trading, they can trade 5x more or 10x more in terms of frequency, not a month. People still need more time to entrust their 100% of the money to agents right now. But the frequency a lot more. So in future, probably there will be zero interest. interface. So the only interface you can add is a chat box. And agents or the model represent becomes the new interface of all companies. Not just OKX, but a lot of companies need to be agent ready. Need to have a product and service and features

16:22ready to talk with the same language with your. agent, which is your customer eventually.

16:29Speaker 1: AWS has a program that's called Activate Program for people that are builders.

16:35Speaker 2: AWS Activate and is a program that's for startups and for developers. We welcome everybody, and and the the way the program is built,

16:46Unknown speaker: uh,

16:46Speaker 2: if I have to just distill it down to what actually people want to hear, is we provide credits. It starts at $5,000, it can go all the way up to $100,000. And there are special programs where we can take it up to $200,000 as well. It depends. But it's all gated based on several requirements along the way, right? But the more important thing is if you are a company like OKX, and say you've built you built your you built your chain, you want more people to come and and develop, then we have the ability to make them providers of the Activate Credits, which means now they can go choose the developers, they can go filter the the startups or or companies that they want to support and bring them into the fold. And they have the ability to provide those credits through us. But they we we give them the ability to do that. So that that expands the distribution channel as well.

17:39Unknown speaker: Right.

17:40Speaker 2: So we can choose many providers and then the providers actually have access to all the developers and become sort of our distribution channel in that case. Right. But it also then allows them to choose the right partners for themselves.

17:53Unknown speaker: We

17:53Speaker 2: have chosen ours and then they can go choose theirs. But the program itself is is in place for startups for to make it easy for startups to to build on us. right? And for developers too.

18:05Unknown speaker: Well

18:05Speaker 1: check it out in the link down below, Arvin Linux, it's been a pleasure. Very insightful conversation. Thank you so much for being on the show.

18:14Speaker 2: Oh,

18:14Unknown speaker: thank you.

This page was produced automatically: the audio was transcribed with parakeet-tdt-0.6b-v3+sortformer-v2.1 and interpreted by Qwen3.6-35B-A3B. Transcription and interpretation can contain errors; always confirm against the original episode. Nothing here is investment advice.
All insights