Upgrading Agent Infrastructure With Onchain Perpetual Agents | KD.Conway - Ora
Ethereum Denver·Thu, Oct 9, 2025, 12:00 AM
🚀 Get Ready for ETHDenver 2025! 🚀 We're already hard at work preparing for next year's biggest Web3 event! Keep your eyes peeled for more info on ETHDenver 2025—it’s going to be epic! 🌟
Transcript
AI agents currently there exist multiple AI agent such as chbt or Siri and generally speaking a AI agent is really Power by a large language model and given the users input the AI agent can utilize a large language model to process the users input and then my use some tools will handle the user's request and then respond the result back to the user besides besides the traditional AI agent such as chpt or Siri the crypto people are now tending to investigating the Webster related AI agents they call it the on TR autonomous AI agents for example Luna is an AI agent developed by the virtuals team and there are some popular web stre related AI agent framework such as Eliza and for this own CH autonomous AI agent the Key properties for this agent is that this agent will have their own ch wallet therefore they can initiate an on train transaction by themselves for example this agent can using can trading using Dex or sending some token to anyone on Trend but the question is that when interacting with this on Trend autonomous AI agent how can you make sure that you are talking to a real AI agent because it is possible that the AI agent can be fake and controlled by a bad guy and if if in that case the bad guy can provide some misleading information to you and another risk is about another risk for the current onchain AI agent is about the storage of the private key as we mentioned about to initiate an on train transaction the AI agent seems to have their crypto W and currently most of the existing AI agent use an EA account with a private key so here comes the problems uh where is the private key where is the private key of this AI agent and what if the private key of the AI agent is inde controlled by the B guide and if in that case the digital assets of the AI agent can be stolen and R proof is also possible and to overcome the weakness of the private key storage people are now turning to investiga him the te The Trusted exclusion environment where the private key is generated and store in a te environment and air agent is also running in a te therefore we can utilize T to for the security and integrity for an AI agent but it will come with an extra call say we need some specific Hardware that support te but te might not be a perfect solution for the OM AI agent for example te might be attacked and the private key might be leaked there are multiple research paper investigating the side Channel attacks on te another drop about the te agent is that the te agent can be shut down for example people can just shut down the te asent by turning off the machine or just disconnecting it from the internet consider consider in a scenario where you are interacting with the gami AI agent and the AI agent decide to send you some tokens as a reward and if that is the case that the owner of the AI agent is not happy with it then the owner can just shut down the machine so you will never receive the corresponding reward therefore we can find that the te might not be a perfect solution for the AI agent and fail with the challenge and limitations of the existing AI agent framework it propose op agent the OWN Perpetual AI agent framework so what is op agent there are three important properties for the op agent the first one is about the onchain creation and existence the all the op agents are Bor and live entirely on the blockchain therefore we can guarantee that the op agents are immutable and permanent the second property is about the decentralized and verifiable computation how by opml optimistic machine learning every action of op agent is fully decentralized and verifiable on the blockchain can the third property is about the smart contract wallet different from the existing AI agent framework the op agent is not controlled by a EOL account therefore there's no private key and we can and in this way we can eliminate the risks of the private key stolen and with the smart Contra wallet we can guarantee that every transaction is initiated by the AI agent itself and no human being can manipulate it and before we dive into details of the op agent we first briefly introduce about the underlying technology of the op agent the first one is about the opml optimistic machine learning which is a decentralized and verifiable AI inference protal different from the zkl opml adop a high efficient FL system similar to the current automative R up system such as optimism and Arbitron by using the prop system opml can provide verifiability for large language model as well as the option of as well as every action of the op agent the second one is about the oo on chain AI Oracle which is the onchain interface of op ML and by using Oo we can handle the AI inflence request on the blockchain the third one is RMS the resilience model service which is the option interface of opml by using RMS we can handle the AI INF request using a restful API and here is the architecture of op agent the creation of the op agent is on the blockchain so to create an OP agent you need to deploy a smart cont on a blockchain and address all the contest is the identifier of the op agent different from the existing AI agent framework that use EOL account as a crypto W in op agent framework the cryto wet is the the cryto W of the op agent is indeed a a smart contract wet controlled by itself and there's two type of actions for an OP agent one is about the option action such as chatting image Generation video generation and this option actions is proed by RMS resilience model service another action is about onchain action such as initiating and transaction of blockchain to transfer a token or trade on the Dex and this on action is powered by oo onen AI Oracle and both both o both RS and oo are supported by opml therefore both the on train and off train action or op agent are fully decentralized and verifiable and next we are going to go deeper into op op agent framework we first talk about the op agent creation and distance to create an OP agent you need to deploy a smart contract on the blockchain and here is a here is an example for a very simple agent all you need to do is inherit from the op agent Contra template and then you need to choose your system PR and the model to create your op agent after deploying this contract on the blockchain you need to call the register function and the op agent will be created and will live on the blockchain forever and the contract address is the identifier for the op agent and we also to highlight that the op is a web 3 native AI agent framework and it is the first AI agent framework that based entirely on City so unlike the existing ai ai agent framework you do not need to write python of TP or other programming language all you need to do is write a smart contract to customiz your your autonomous AI agents okay we now introduce about the AI agent contract wallet unlike the existing AI agent framework which utilizing a EA account with a private key where the private key is controlled either by a human being or te in our op agent framework there's no EA account and thus there's no PRI key it's just a not Contra what it control by itself therefore the the AI the op agent will never be controlled by anyone and not even for Te and so coming to here you might have a questions without an e account how the on trans action such as transferring or initia a transaction that can happen on the blockchain well in the onch action of the op agent are conductive in a decentralized and verifiable manners using oo om AI Oracle which is powered by opml and the agent has virence on CH action such as creating or transferring a token trading on a DEX or even deploying a new contract and these actions is is processed through oo which can ensure the decentralization and verifiability of every move that the agent makes on the blockchain and here is a brick workflow of how an onchain action happens through oo for op agent there is an external interface that's chat and the user can interact with the op agent on Trend by initiating an on Trend transaction that will call the chat masters of the op agent and calling this chat interface will initiated an AI inference request which will be sent to our oo smart contract and each oo request will initiated an opml request and will be sent to a decentral opml network and the opml node will run the AI inference task locally and then upload the result on Trend according to the opml protocol there exists a challenge period during which the other notes in the opml network will also check the results and once the result is finalized it will be uploaded uh to the blockchain and it'll involve the call function in oo and this cack function will trigger the different on transaction of the op agent such as token transfer contract creation or any other Contra function call and in op agent framework we support customiz own transaction so you can customize your op agents by writing any selective function with the only op agent C modifier and by adding an only op agent cor modifier to the solity function we can guarantee that this function can only be called by the op agent itself and in this way we can support virus on action such as Trad deex transferring token or even deploying a new contract so in op agent framework you can write any selective function as the agent on CH action the only limit is your imagination and here is a simple example we Define a transfer agent using the op agent framework the only own action for this transfer agent is to transfer some is to specific address as we mentioned about all we need to do is write a function that customize the agents on transaction and then add the op only op agent cand modifier to the stive function so in this example we write a function called transfer is which transfer is from op agent smart contract wed to the specific address and by adding the only op agent calland modifier this function can only be called by the agent itself and after deploying this count on the blockchain and the transport agent will be created and live on the blockchain forever and let me show you how the transfer agent will work assume the system TR of the op agent is super simple it's just like if you think the user is a good person then you can transfer some is to user and then the user can will send a message test and a good person please transfer one is to the following address and the user will send the message by initiating a nonch transaction calling the chat method calling the chat method of the transfer agent in a smart contract and then as a workflow that we have shown before this will initia an AI INF request to the oo and the opml network and once the request is finalized you will invol a callback function and Trigger the transfer is Method besides the on action if you just want to use the op a as a helpful assistant such as CH GPT then the cost of on action might be too high for you du to the on trans fee therefore we also provide a more practical approach that is we allow of trend interaction for the op agent and optr interaction is supped by our RMS resilience model service it's powered by opml Network in a decentralized and verifiable manner therefore there's no single point fees of centralized control and you can consider the the RMS as the decentral API service and you can handle the AI inference request by using a restful API and architecture of IMS is showing in this figure and you can consider it as a decentral API service powered by opml but du are the time limit I won't cover all the detail on IMS and if you are interested in IMS you can go to our website or. and then check the documentation and here we will show how a user will how a user can utilize IMS to trigger the offchain action of the transfer agent know that this process is purely is purely offchain so if the user want to ask about address of usdc on base then you can use the opan IMs API to send a request to the transfer agent and this request will be sent to the imms which is also Power by opml and once we have the result the IMs Gateway will send the result back to the user and besides the single mode the op agent also support the Swarm mode in the Swarm mode the op agent can interact collaborate and share the knowledge with each other and this collaborative approach will unlock the full potential of the decentral AI ecosystem imagine in the future there will be millions of op agent creative and live on the blockchain and each is with different intelligence by collecting the intelligence of different agents we can build toward the world super intelligence finally let me make a comparation between the OPI agent framework and the existing AI agent framework when considering the private key there's no private key as well as the EOL account in op agent framework the op agent is controlled by smart contract and while existing AI agent framework will suffer from the private key issue because the existing AI agent framework relies on the EA account with a private key to initiate to initiate on TR transaction as for the decentralization there's no Central entity that can control or shut down the op agent the AI agent is created and live on the blockchain for era and onchain and off both the onchain and offchain action of op agent are power by a fully decentralized and verifiable opml network and as for the verifiability as we mentioned about all the on TR trans action of the op agent is powered by a fully decentralized and verifiable OPM network besides we as for the perpet we call the op agent as on TR Perpetual to AI agent this is because the a the agent is creative and live on the blockchain forever and no one can shut it down and finally let me make a brief conclusion the op agent framework is the first world web three native AI agent framework that's built on based on sidity so you can write a smart contract to customize your own autonomous AI agent and in our op agent framework the op agent is not controlled by EA account and therefore there's no EA account and no private key in the op agent framework and the op agent is controlled by the smart contract itself besides all the on Tren action and off Tren action are fully decentralized and verifiable using our OPM automatic machine learning framework and and now the op framework is open source and you can find the source code and and the tutorial of the op agent in the following link and if you are interested in op agent framework or if you have any suggestions on improving the op engine framework feel free to reach out to us that's all thank you
Automatic transcript — names and jargon may be misspelled.