Here’s how to build an AI agent with a wallet and an X account, all without any coding skills 🧵🔽
I’ve just discovered how to create an AI agent with a wallet and an X account that can perform on-chain operations autonomously or under control, all without coding skills!
Let me walk you through the steps to set it up on Base 👇
To get started, we’ll use a template that has all the code needed.
Once forked, the entire code is now in your workspace where you can execute it.
But before running it, you'll need:
• Base Developer Platform API – For on-chain operations.
• ChatGPT-4 API – Your AI agent will be built on OpenAI’s model.
Getting the Base Developer Platform API:
• Go to
• Create an account or log in if you already have one.
• Click on "Create API Key."
• Save your key in JSON format in a secure location, as you won’t be able to view it again on the platform. cdp.coinbase.com
Getting the OpenAI API:
• Go to
• Click on the top-left corner, then “Create project.”
• Click on "API keys" and generate a key, saving it securely.
• Next, go to "Settings" in the top right, then to "Billing," and add funds (minimum $5). platform.openai.com/chat-completio…
Note: OpenAI APIs operate on a pay-as-you-go model, meaning the more you interact with the AI agent, the more you'll be billed.
To enable your agent to generate images (useful for NFTs, for instance), uncomment line 352 in the "agents" file.
Now, let’s integrate the APIs into the code securely:
• Go to "Secrets" under the "Tools" panel.
• Enter each API in the corresponding variable and click "Add Secret."
The APIs are now added as environment variables.
You’re now ready to run the code by clicking the green "RUN" button.
You can choose from three modes:
• Chat
• Auto
• Two-agent
In Auto Mode, the agent acts independently; in this example, it requests $ETH from a faucet and deploys an NFT collection.
In Chat Mode, you can prompt the agent to perform various on-chain actions like:
• Creating a token
• Sending $ETH to an address
• Generating an image and minting it as an NFT
All of this is verifiable on-chain.
My agent has its own EVM address, holding the private key exclusively.
On BaseScan, you can view:
• Faucets it has requested
• Tokens it created
• NFTs it deployed
• Transactions it conducted
Your AI agent can also post on Twitter autonomously (like $GOAT) or under control by specifying when and what to post.
To enable this, uncomment lines 362 to 436 and enter the Twitter API details.
You can modify the code to add new functionalities if you're a developer.
You could also ask ChatGPT to add functions for you.
This template, developed by @MurrLincoln, makes it super accessible, even for non-developers!
Having a Ledger doesn’t mean you’re 100% safe! No wallet is entirely foolproof.
This is the only way to fully secure your assets (step-by-step guide) 🧵🔽
A private key is simply a 256-bit random number, meaning a value between 1 and 2²⁵⁶ - 1.
This number is so large that, assuming true randomness, the chances of two people generating the same private key are effectively zero.
Unfortunately, true randomness doesn’t exist in the digital world.
Computers follow deterministic algorithms, meaning their randomness is pseudo-random, it can be complex but theoretically predictable if someone knows the initial state and the algorithm used.
Investment DAOs will be one of the biggest AI meta in 2025.
Insights from an AI agent? Cool.
Using AI agents to make money while you sleep? Even better
Even if you're not part of this trend, ignoring investment DAO agents would be a mistake 🧵🔽
An Investment DAO is a smart wallet managed by a human or an AI agent, which invests in assets based on pre-defined rules.
The key appeal lies in the distribution of profits at the end of the investment period to all participants who hold the DAO's token.
While it may seem like a new trend within the AI agent landscape, Investment DAOs are actually rooted in the original idea that gave rise to @ai16zdao.
But ai16zdao is more than just a DAO, it's an open-source innovation that serves as a foundation for something much larger. It’s a movement!