---
title: 'I Built an AI Agent That Day Trades Crypto – Full Tutorial'
source: 'https://youtube.com/watch?v=DkT6UzYX_UA'
video_id: 'DkT6UzYX_UA'
date: 2026-07-29
duration_sec: 465
---

# I Built an AI Agent That Day Trades Crypto – Full Tutorial

> Source: [I Built an AI Agent That Day Trades Crypto – Full Tutorial](https://youtube.com/watch?v=DkT6UzYX_UA)

## Summary

This video tutorial demonstrates how to build and deploy an AI-powered crypto trading bot that performs sandwich trades on Uniswap using Claude Code. The creator explains the technical setup, including deploying a smart contract via Remix IDE, adding liquidity, and monitoring automated trades. The bot aims to generate passive income by front-running transactions on the Ethereum network.

### Key Points

- **Introduction to the AI Trading Bot** [00:01] — The creator shares his personal crypto trading bot that generates passive income using AI, revolutionizing his trading strategy.
- **Sandwich Trade Concept** [00:30] — The bot exploits Ethereum network inefficiencies by front-running trades on Uniswap: it buys before a large pending transaction and sells after, profiting from price shifts.
- **Technical Requirements** [00:58] — A browser wallet extension and Remix IDE are needed to deploy the smart contract. All necessary links are in the description.
- **Code Setup** [01:28] — Create a new file in Remix, copy and paste the open-source code with detailed comments explaining the logic.
- **Version Matching** [01:55] — Ensure the compiler version in Remix matches the version specified in the code.
- **Deploying the Contract** [02:39] — Connect the wallet, select the appropriate option, and deploy the contract at a cost of under $1.
- **Verification** [03:09] — Click the verify function to check that the setup was successful and that you have control over the system.
- **Adding Liquidity** [03:27] — Minimum 1 ETH required; sweet spot is 2–10 ETH. Returns taper off above 50 ETH. Depositing less than 1 ETH causes losses.
- **Funding the Bot** [04:11] — Copy the bot's address and send at least 1 ETH plus extra for fees. The deposit must be exactly 1 ETH or more.
- **Starting the Bot** [05:10] — Click the start button and confirm. The bot runs in the background.
- **Monitoring Performance** [05:59] — Terminal logs show every routing action and trade executed. Performance fluctuates based on network congestion and volatility.
- **Withdrawing Funds** [07:00] — Click the withdraw button to retrieve your funds.

### Conclusion

The bot can generate profits through automated sandwich trades, but requires at least 1 ETH and carries significant risk. Viewers are reminded that this is for educational purposes only and not financial advice.

## Transcript

share my crypto trading bot that has turned into a solid source of passive income for me. Out of all the make money online methods I've tested, running this AI agent has totally revolutionized my trading strategy. The coolest part is
that it was entirely written by artificial intelligence. So, even if the technical jargon sounds confusing, AI takes care of the heavy lifting and automates the entire system for you. This program capitalizes on specific
inefficiencies on the Ethereum network, primarily by front-running trades on decentralized exchanges you've probably heard of, like Uniswap. In essence, the script executes a sandwich trade by scanning the pool where pending
transactions sit. When it detects specific trades, it bids a slightly higher gas fee, forcing our transaction to process right before theirs, immediately followed by a sell execution. This technique lets us secure
a profit margin from the exact price shifts caused by those pending orders. You'll need an extension like this one if you haven't got one already. Most if you haven't got one already. Most providers should work fine.
environment is built for launching smart contracts directly onto Ethereum. I've included all the necessary links for everything you need down in the description. Go ahead, create a new file, and name it
Go ahead, create a new file, and name it something simple and one word. Once again, this is available in the description below. You're welcome to
audit the logic using any tool or service you prefer, as it's completely open-source code. Copy and paste it directly into your new file. The code has detailed comments behind all of the logic. Now, check out the side panel and
go to this tab. These two versions should match. If they don't, change it to the same one shown at the top of the code.
extension. Move over to this tab. Select this option from the list and click this option from the list and click connect when the pop-up appears.
your account information will show here. Click here and confirm. This will cost no more than a dollar and is a fee for deploying infrastructure to is a fee for deploying infrastructure to the network.
panel for the bot. Only three functions, all very Now, click here to verify everything was set up correctly.
match. This proves that you have absolute control over the system. Next up is adding liquidity. The agent requires a minimum of one Ethereum, though two to 10 ETH is the sweet spot. You aren't capped on how much you can
deposit. However, during my own trials, returns started to taper off around the 50 ETH mark. Larger amounts of liquidity allows the agent to handle higher volume
trades, boosting potential profits. The 1 ETH minimum is mathematically necessary. Deploying anything under that threshold results in gas depletion and liquidity errors, ultimately causing losses. Stay away from running this bot
if you cannot use that 1 Ethereum minimum or more. Click here to copy your agent's address. Make sure your wallet has at least 1 Ethereum plus a little extra to cover fees.
chosen amount. I'm going to use two. Remember, it must be exactly 1 ETH or Remember, it must be exactly 1 ETH or more and submit it.
click this button to verify the system recognizes it.
it up. Click the start button right here and confirm it.
to leave this trading in the background and report back a bit later. Fast forward a few hours. I'll go ahead and check it by clicking here.
reacts directly to real-time market volume. Performance will always fluctuate strictly based on network congestion and live volatility. To ensure this test is stable, I'm going to let it do its thing for the rest of
to let it do its thing for the rest of the day. entire day. Let's check our progress.
Watching these numbers go up is always satisfying. In the terminal logs, you can track every single routing action and trade the contract executed. I like this because you can review
everything the agent did, rather than just showing a final result with no way to see what actually happened during the live trading. When you're satisfied and ready to withdraw, just click here and confirm
withdraw, just click here and confirm it.
This never gets old. Please keep in mind that this video is strictly for educational use, and I am by no means a professional. Nothing shown today should be taken as professional financial advice. I'm
purely sharing my personal experience. I've dropped my contact in the description if you have any questions. Until next time, be sure to drop a like on the video and hit that subscribe button. I'll be dropping more content
button. I'll be dropping more content like this very soon.
