Hello, hope you are doing well. So today I want to take you through how to set up a AI agent on Hyperlquid. So Hyperlquid is kind of a platform I've been sleeping a bit on. I've heard about it before. Uh I thought it was only cryptocurrency trading. So I wasn't that interested, but after I looked at it yesterday, I found out that they have this new thing uh where they have these more interesting assets. I think that I have seen before. You can see here we have some kind of open AI asset here. This is of course not stocks, right? But uh you can see also we have the SP500 uh and they have even like Brent oil. So this is like a per market deployed independently by Y set. So, it's not Yeah, I'm not going to go through too too much into it, but basically, they have more interesting products now than they had the last time I looked at Hyperlid. So, I thought it could be pretty interesting to actually set up like an AI agent that can trade with this uh automatically. So, what we are going to do today, I'm just going to walk you through how to set up your account. We got to fire up an agent. if you're going to look at my setup, how I do research, how I execute trades, how we put money into the account and basically how to yeah get you up to date if you want to start looking at some AI automation on Hyperlid. Okay, so the first thing we want to do is have some kind of way to connect this, right? And you have these options here. You can do MetaMask wallet connect, you can do an email account if you want to do that. I recommend I have been using at least MetaMask. So I would just go to Metamax io, click on get started and create your first wallet here, right? So you can see I just have like an empty wallet here. And from that just going to hit connect Metam Mask. I get this. Yeah, I want to connect this wallet. Yeah, we have some a couple of these. And that should be basically it. Uh one thing, yeah, we can confirm that and request. Okay. Yeah, there's you just have to accept some things here. confirm and sign and we can do a connection and that should be pretty much it. So when you need to deposit right here we come to like a new network we it's not the same as polyarket this is the arbitum network or hyper EVM arbitum I use arbitum uh USDC uh so we basically need some assets if you want to trade we need to put some money into this account so there are a few ways to do this um I'm going to show you the way I did it so you can see what I did, but it's basically up to you how you get that into your MetaMask wallet. Okay, so the way I did this, uh, I used my MetaMask to actually do this. So, I just click on like buy here and this kind of got me over to the MetaMask account. So, I could kind of go into this, right? And here you can see we have Arbitrum. Okay. So, you can just sort by network and I picked uh arbitrum, right? And we need two things. We need the can I zoom in here? USDC. This is the way I picked this to just do trading. But, uh we also need but you can see we don't have this here, right? So, I did that on MetaMask. Just swap to that. I'm going to show you that. So, the way I did this, I just picked Arbitum USDC and I did like um Revolute Pay. That's what I used. So, I'm going to put up some money here. Let's say a couple of hundred bucks. Let's say I wanted to do that. Arbitum USDC Revolute Pay. And now I'm just going to try to pay this. Okay. So, that was done. So, you can see now I have like 210 something USD uh C here on Arbiterum, right? So remember for the gas money we need uh arbitum on ETH on Ether. So I'm just going to click swap. I'm going to do like $5 or let's just do $2 and we're going to swap to Ether, right? Swap. And that should be it. Now you should be ready because now you have um USDC on Orbitum and you have this on uh Ether, right? Yeah, Ether. and this. So now we can just go back to uh here deposit. You can see now we can do 200. So I'm just going to do that. I'm going to sign this and we should be good to go. And now you can see my balance is 297, right? So I have the 297 and that means my account is ready now to just start trading using our AI agent. So there's a few more thing we need to do before we are ready. So let's just do that now. So I switch back to my new account here. So you can kind of see this setup here because uh we want to use the API here. So just go to more API and here we need to create a wallet. So just just call it AI agent something like that and just click generate and authorize. Okay. So this is important because now you can see we get this private key here. I'm going to delete this anyway. So it doesn't really matter if I show this. So this is uh something we want to save. So here I just go to my directory. Let's create a hype directory cd hype. And I'm just going to go into cloud code while I wait for that. Okay. And let's just open this directory. I want to create av file. And here I kind of want to do my uh API wallet name, wallet address, and the private key. So let me just do that. And this means you should be good to go now. So, of course, I'm going to delete this. So, don't worry about that. But basically, this is the setup you want. And while we're here, I'm just going to create a folder called docs. And I'm just going to do hyperlink. Docs MD. And I'm just going to refer here. I'm not going to put all the documentation inside. Okay. And then we just set 90 days. So, what's going to happen now if you click authorize? Since I have not deposited any money here, I will not be able to do this. So, you need some kind of asset, not assets, some kind of cash into the wallet before you can do this. Uh, but that's fine. So, I'm just going to switch back to my account afterwards, but you can go to here, documentation, and I'm just going to leave this link up here, this link to Hyperlquid, and I'm going to go not here, and I'm just going to paste it in here. So, we have the link to the documentation up here. That is the way I like to do this. So, I'm just going to switch up my account again, and I'm going to show you kind of how we get started here. So, I'm back on my account now. Now, here you can see we have a couple of wallet names. We have like the AI agent. We have the wallet address and stuff like that. If you go to my portfolio, we can see we have some cash in here. And we are actually ready now. So what we can do now, let me just head over to my account. And I can just say something like read hyper liquid documentation for example. This is a good start just to get any model. If you want to use cloud code, if you want to use open code, codeex, it doesn't really matter too much, but I think it's a good idea to have like an agentic setup here. So have some kind of harness that can leverage these models. Let's say Opus 4.5, Sonnet, Codeex 4, 5.5, any open code model if you want to go open source. But basically, I think you would like an agentic harness here in this case that would help you uh out a lot, right? So you can see we are ready to go here now because we have put in all the the ENV files we need right. So we can start to do a trade. So here I would just test this just to see if this works. We can just do read uh our environment uh envirs and do a simple test if the API is live and ready to trade something like that just to confirm that you are actually ready to start trading on hyperlquid and you can see we are ready to live and trade ready. We have a spot and we have a per and we have something here. So this is a bit important. I'm going to show you how I set this up because the first time you deposit, your money is probably going to come into the spot account, but we at least I want to do the per trades. Okay, so what I did, I'm going to show you what I did, but there are probably other solutions, too. I went to my settings and here there's something called I hope you can see this now. disable HIPP3 dex abstraction and I tick that off that uh disabled my unified account. Okay, so that's the switch I made. I hope you can see this uh my camera. If not, I'm going to adjust. Basically, if I do this, you should see it here, right? So, that means that I kind of activated this button here, pers to spot. So, I can switch between this. So if your all of your money is on the spot, you can just switch to per and you should be ready to go. Then that means that we should now be able to set up our agent to start setting up some interesting trade for us. And now come kind of the setup that I worked on yesterday, how you going to do your research, how we going to set up our trades and stuff like that. Okay, so now it's time for the part that is actually fun because now we get to build our trader, right? We can do whatever you want. What kind of AI agent we want our trader to be. So, I had a lot of fun with this. I wanted to have like a team because I'm only doing this for fun, right? I'm not doing this to like make a lot of money. You could be very serious here. I'm not kidding. Like if you kind of want to get into this to try to do like a side hustle, I think there are great opportunities here. But at least with this video, I just want to have some fun. So I created this kind of meme roll for our trader. I created this page for it. So this is the Wall Street Bet moderator and I created this RPG profile. We have this cool image and we have some core stats. Risk tolerance 96, conviction 94, pattern recognition, and we have some stats here. Patience for slow trades, that's a three out of 100. And we have some combat skills, weaknesses, FOMA aura, plus 10 risk when a name is on the VSB front page. So, we had I just had some fun with this creating my trading profile. We have an ultimate here 999xg gen mode. So of course this will reflect the trades we are going to make. But uh this is the fun I want to have. But you could create like a serious I'm not kidding. You could be very serious here and create something interesting. So this is what I built my uh agent around this VSB highrisk trade style moderator. Okay. So have keep that in mind while we go through this video because this will kind of affect our trades. This is what I started with and from this I wanted to create two different type of skills. So if you haven't seen skills before uh you could just look it up on YouTube but if you are in cloud codeex open code you can create something called slashkills. I have two skills fine trades research idea. Right. So if we go into the skills, uh I'm not going to spend too much time on them, but basically the find thread ski find trades skill is like an ID generation funnel for hyperlquid. We're going to look for different kind of trades and it's all going to be intraday because we want this to be like high frequency trading. We're going to look for three to five setups intraday. So today, right? So for example today there's like the Nvidia Nvidia what do you call it like reporting like quarterly reporting. So hopefully maybe we find some trades on Nvidia. And we have the research trade. This is going to take our ID go out and research this ID using like browser use using my surf agent uh setup using sub agents and everything. You will see that now in the video. So this is the setup I came from. Now we have my profile that is kind of a big meme but it is fun. Okay. So okay. So let's go to cloud code. Now we can just start fresh. So the pipeline I created for this now to find trades. Uh let me show you. Pretty straightforward. We're just going to start read your cloud MD. You don't have to do that but you can do. Let's run the find trades skill. Find trade skill. So since we have lined everything up in our skill, we could replicate this every time now. So the skill is fine trades and this is like a list. We specifically mentioned that we want a canban board and we specifically said that we want to run this bash command. So our research is grounded in the current time. This is important because we want to know exactly what time we are when we are doing the research. And here we are spinning up the research. This is like into a like a canam canam kandam I can't remember what it's called but we have all these steps we want to create we're going to fire off six parallel sub agents and looking for an ID idea sorry ID ID we want to pick today for our trading and remember our profile will affect this because we are referring back to our claude MD style okay So, uh, let's just let this run and let's see what kind of trades it suggests for us today, May 20th. Great. So, you can see now we came up with how many ideas? 1 2 3 4 5. Great. Long VLD, long pit, Nvidia post sprint directional reaction, whatever that is. Long ADI short per Okay. And then I'm going to ask yeah we can read more about this but basically now I'm going to ask rate the idea 1 to 10 how they reflect our trading profile because I only want to do these fun trades. So I want to kind of see now how this kind of stack up to the profile we have how these ideas kind of reflect that. So let's see what kind of rating each ID gets here. So, as expected, the Nvidia postprint presc reaction uh 25x leverage gets 9.5 out of 10, 8.5. Okay, so there are a bit boring trades here. I'm not so happy with that. So, uh I want to exclude some ideas here. I think uh let's exclude some ideas from let's exclude two and five from the research. So, I'm just going to say exclude two and five. We want a bit more complex ideas to leverage your thousandx brain. Think hedge uh special moves or something. So, let's see if we can do a bit more interesting trade for the video sake and see what we end up with and I'm going to take you back when we have that. Okay. So, now it looks like we have a bit more interesting results here. So, you can see we have the Nvidia iron triangle. This is like a three-legged trade. So, we have a pre-position, bull reaction, bare reaction. Okay. Ah, that could be interesting. We have a semi desispiration rest residual. Okay. I don't know how to pronounce that. Long Nvidia, short AMD, short MU. Okay. Pretty cool. The cross catalyst pinser. Long VLD, short BTC. All right. All right. This was more interesting. Okay. So, now I think we're going to research all of these ideas just for the video sake. So I'm just going to say I'm going to trigger the research ID skill. Research all three. Find the best with the most plus expected value and potential. Okay. So let's see now. It's pretty interesting to see how we actually do the research. But we also have somewhere to use the the browser if we want to. So I guess we can do something like this. Uh we probably going to spin off a few sub aents in parallel. You can see again we ground ourself in the date. That's good to see. We're probably going to spin up some sub agents and hopefully we're going to do some of the surf agents browserbased research too. Uh I'm going to show you if we actually get into that. Okay, so we got back here the best uh trade I think is the Nvidia IV crush pin trap. Okay, that's fine. But basically, I want to do some more research on this. check Reddit, Poly Market, use the surf for some browsing. Also, I only want to do this uh with $100. I don't want to use the spend the whole account. And we're going to sort that out. So, I'm going to do a bit more research and hopefully this time we fire off our surf agent. So, we can kind of see the agent work a bit in the browser because that's a very cool option we have too. And we can also use the Poly Market API to look at some stuff there that is relevant. Okay. So now we can see we're going into old Reddit Wall Street Bets and it's searching for Nvidia. We go to Poly Market. Uh are we going to do a search here maybe for Nvidia? Let's see. So basically what I wanted to talk about is that this setup with this agent has the opportunity to go into like X.com for research. We can do Reddit. We can log into Reddit. We can do Poly Market. Here we are going back to Reddit. We are going into a post on Reddit and we're just gathering a lot of context data here. We are looking at Nvidia or predictions in tech. I guess that could be some way to find some uh context for our trade. And what is nice about this is that is autonomous. So they can just keep this running and you can come back to like a fun trade at the end of this cycle. Right? So, I'm just going to let the agent continue its research and hopefully at the end now we can fire up our trade and we're going to look at it how it's structured and how we are going to execute this. Okay, so now you can see we have the final trade brief. Uh, okay. We're going to do 100 allocated 33% of our book 20x leverage. That could hurt. And I'm going to ask code to fire this. Now I'm just going to say LFG fire trade. And now I want to see down here on the left side if we get into any positions here. Okay. So you can see this trade was originally designed to uh trigger later today. But for the video sake uh I'm just going to fire it now so we can kind of see the execution. Probably cancel it and then put it back again on that timing later. So let's see now. So, it said I'm going to fire this now for the video sake and hopefully uh with the API connected, we should be able now to programmatically execute on this trade. So, let's see down here on the left here if we get into any positions. So, we're going to do a 20x short leverage on Nvidia. Did we also have a hedge? Can't remember now. Maybe not. Yeah, we have some kind of AM uh C thing here, I think. But let's see. Okay, so for this test, we're only going to do the 10x leverage because uh yeah, I'm probably just going to get out of the position straight away and line it up for tonight anyway. But I just want to see uh the agent execute the trade so we know that the pipeline is working, right? Okay, so let's see now. We should uh execute on this now. And there we have it. So you can see we did a 10x short on Nvidia. And yeah, you can see this is kind of updating live. I'm going to get out of this straight away. I just wanted to show you that we are able to execute these trades uh programmatically uh from this. So I'm just going to say great uh it worked uh get out now. So let's see now. You can see with the the price is changing. Our P&L is Yeah, we haven't nothing has happened yet, but let's see if we can get out now. And yeah, we are out. So that's good. So now we're just going to set up the original trade we set up uh we wanted to use. And uh yeah, that is basically what I wanted to share today on Hyperlquid. I had a lot of fun with this yesterday. And of course, I know I did create this meme profile, but for me, this is just about having fun, having something to learn about financial markets. I would say hyperlquid. Uh you can learn a bit more actually than on Poly Market. I think about financial markets if this is something you're interested in. So this is a platform I'm going to keep learning about learning how things work because there's a great place to kind of yeah get more into this if you are interested and of course it's a great way to learn how to set up AI agents use cloud code test other models maybe we do like a codeex versus cloud code give them like 100 bucks each see what agent do does the best or like a x amount of time so that could be pretty interesting. So, you probably saw this white rabbit up in the corner here, the full video. This means that this video is like a treasure hunt white rabbit video like I did the previous two days. So, if you head over to my X account, there will be like a tweet there and in the description, you can read more about the treasure hunt. So, if you go to my X account, follow me and you will see the tweet that means that the hunt is live. there's like a clue there and you can kind of solve the puzzle to find some uh reward if there's something you want to um join in on. So definitely go check that out. Hope you find this interesting and let me know in the comments or just give this video a like or subscribe if you want to see more of this and how we are going to do on the over the few next days how we're going to actually do on this platform. So yeah, thank you for tuning in. Hope you enjoyed it. Hope you learned something and I'll see you again very