kikocis/Based-Agent public
Changesets · Branches · Tags · Compare
| Changeset | 6644efa86cab8cf3b1133fefdfb2417f414b3627cec915d18b2b5d8081063fc5 |
|---|---|
| Author | Lincoln Murr <lincoln.murr@coinbase.com> · 2024-10-26 11:07 -04:00 |
| Committer | Lincoln Murr <lincoln.murr@coinbase.com> · 2024-10-26 11:07 -04:00 |
| Parents | 8a8f406d160a, a13cbf76a486 |
1 file changed
modified Based-Agent/README.md +31 −31
| @@ -1,30 +1,30 @@ | ||
| 1 | -# BasedAgent 🚀 | |
| 1 | +# 🔵 Based Agent | |
| 2 | 2 | |
| 3 | -An experimental playground for autonomous blockchain interactions on Base Layer 2! | |
| 3 | +An experimental playground for autonomous onchain interactions. | |
| 4 | 4 | |
| 5 | -## 🎉 Introduction | |
| 5 | +## Introduction | |
| 6 | 6 | |
| 7 | -Welcome to BasedAgent—your AI-powered companion for exploring the exciting world of autonomous blockchain interactions! Built on top of the Coinbase Developer Platform (CDP) and OpenAI's Swarm, BasedAgent lets you dive into autonomous on-chain actions like never before. | |
| 7 | +Based Agent helps LLM agents directly interact with the blockchain, built on top of the [Coinbase Developer Platform (CDP)](https://cdp.coinbase.com/) and OpenAI's [Swarm](https://github.com/openai/swarm). | |
| 8 | 8 | |
| 9 | -### 🌟 Key Features | |
| 9 | +### Key Features | |
| 10 | 10 | |
| 11 | -- **🤖 Autonomous Execution**: The agent thinks, decides, and acts on the blockchain autonomously. | |
| 12 | -- **🤑 Token Management**: Create and manage ERC-20 tokens with ease. | |
| 13 | -- **🌟 NFT Deployment**: Deploy and mint NFTs autonomously. | |
| 14 | -- **💸 Asset Transfers**: Transfer assets between addresses without manual intervention. | |
| 15 | -- **📈 Balance Checks**: Keep tabs on wallet balances on the fly. | |
| 16 | -- **⛽ ETH Faucet Requests**: Automatically request testnet ETH when needed. | |
| 17 | -- **🖼️ Art Generation via DALL-E**: Generate stunning artwork using AI. | |
| 11 | +- **Autonomous execution**: The agent thinks, decides, and acts onchain autonomously. | |
| 12 | +- **Token deployement**: Create and manage ERC-20 tokens. | |
| 13 | +- **NFT Deployment**: Deploy and mint NFTs. | |
| 14 | +- **Asset transfers**: Transfer assets between addresses without manual intervention. | |
| 15 | +- **Balance checks**: Keep tabs on wallet balances. | |
| 16 | +- **ETH faucet requests**: Automatically request testnet ETH when needed. | |
| 17 | +- **Art generation via DALL-E**: Generate artwork using AI. | |
| 18 | 18 | |
| 19 | -### 🛡️ Why BasedAgent? | |
| 19 | +### Why BasedAgent? | |
| 20 | 20 | |
| 21 | -Imagine an AI agent that not only interacts with the blockchain but does so creatively and autonomously. Whether you're a developer, a blockchain enthusiast, or someone curious about AI, BasedAgent offers a unique and exciting playground to: | |
| 21 | +Imagine an AI agent that not only interacts with the blockchain but does so creatively and autonomously. Whether you're a developer, an artist, or someone curious about AI, Based Agent offers a unique and exciting playground to: | |
| 22 | 22 | |
| 23 | 23 | - Experiment with autonomous agent capabilities. |
| 24 | 24 | - Explore on-chain actions without manual coding. |
| 25 | -- Understand the potential of AI in blockchain interactions. | |
| 25 | +- Understand the potential of AI onchain. | |
| 26 | 26 | |
| 27 | -## 🚀 Get Started in Minutes! | |
| 27 | +## Get Started in Minutes! | |
| 28 | 28 | |
| 29 | 29 | ### 1️⃣ Prerequisites |
| 30 | 30 | - Python 3.7+ |
| @@ -51,23 +51,23 @@ | ||
| 51 | 51 | python run.py |
| 52 | 52 | ``` |
| 53 | 53 | |
| 54 | -### 4️⃣ Watch the Magic Happen! ✨ | |
| 54 | +### Watch the Magic Happen! ✨ | |
| 55 | 55 | |
| 56 | 56 | The Based Agent will start its autonomous loop: |
| 57 | 57 | |
| 58 | 58 | - Wakes up every 10 seconds. |
| 59 | -- Chooses an on-chain action based on its capabilities. | |
| 60 | -- Executes the action on the blockchain. | |
| 61 | -- Prints results in a user-friendly format. | |
| 59 | +- Chooses an onchain action based on its capabilities. | |
| 60 | +- Executes the action onchain. | |
| 61 | +- Prints results in a human-readable format. | |
| 62 | 62 | |
| 63 | 63 | ## 🤔 How Does BasedAgent Work? |
| 64 | 64 | |
| 65 | -BasedAgent leverages the power of AI to make decisions and interact with the blockchain autonomously. Here's what happens under the hood: | |
| 65 | +Based Agent makes decisions and interacts with the blockchain autonomously. Here's what happens under the hood: | |
| 66 | 66 | |
| 67 | -- **Decision Making**: The agent decides what action to perform next. | |
| 68 | -- **On-Chain Interaction**: Executes blockchain transactions using the CDP SDK. | |
| 69 | -- **Art Generation**: If needed, generates art using OpenAI's DALL-E. | |
| 70 | -- **Feedback Loop**: Analyzes results and plans the next action. | |
| 67 | +- **Decision making**: The agent decides what action to perform next. | |
| 68 | +- **Onchain interaction**: Executes blockchain transactions using the CDP SDK. | |
| 69 | +- **Art generation**: If needed, generates art using OpenAI's DALL-E. | |
| 70 | +- **Feedback loop**: Analyzes results and plans the next action. | |
| 71 | 71 | |
| 72 | 72 | ## 🔧 Available Functions |
| 73 | 73 | |
| @@ -93,9 +93,9 @@ | ||
| 93 | 93 | |
| 94 | 94 | - `create_liquidity_pool(token0_address, token1_address, fee_tier, amount0, amount1)`: Create a Uniswap V3 liquidity pool and add initial liquidity. |
| 95 | 95 | |
| 96 | -## 🔥 Live Demo | |
| 96 | +## Live Demo | |
| 97 | 97 | |
| 98 | -Curious to see BasedAgent in action? Here's a sneak peek: | |
| 98 | +Curious to see Based Agent in action? Here's a sneak peek: | |
| 99 | 99 | |
| 100 | 100 | ```bash |
| 101 | 101 | Starting autonomous Based Agent loop... |
| @@ -111,9 +111,9 @@ | ||
| 111 | 111 | |
| 112 | 112 | ## 🤖 Behind the Scenes |
| 113 | 113 | |
| 114 | -BasedAgent uses: | |
| 114 | +Based Agent uses: | |
| 115 | 115 | |
| 116 | -- **Coinbase Developer Platform SDK**: For seamless blockchain interactions. | |
| 116 | +- **Coinbase Developer Platform SDK**: For seamless onchain interactions. | |
| 117 | 117 | - **OpenAI Swarm**: Powers the agent's autonomous decision-making. |
| 118 | 118 | - **DALL-E**: Generates art from textual descriptions. |
| 119 | 119 | |
| @@ -139,11 +139,11 @@ | ||
| 139 | 139 | |
| 140 | 140 | - **Coinbase Developer Platform**: [Documentation](https://developers.coinbase.com) |
| 141 | 141 | - **OpenAI Swarm**: [Learn More](https://www.openai.com) |
| 142 | -- **Base Layer 2**: [Explore Base](https://base.org) | |
| 142 | +- **Base**: [Explore Base](https://base.org) | |
| 143 | 143 | |
| 144 | 144 | ## ❤️ Acknowledgements |
| 145 | 145 | |
| 146 | -BasedAgent is made possible thanks to: | |
| 146 | +Based Agent is made possible thanks to: | |
| 147 | 147 | |
| 148 | 148 | - **Coinbase Developer Platform SDK**: [Documentation](https://docs.cdp.coinbase.com/cdp-apis/docs/welcome) |
| 149 | 149 | - **OpenAI Swarm (experimental)**: [Documentation](https://github.com/openai/swarm) |