This example shows how to use OpenAI and Syndicate to create an AI Agent that can bank itself and send crypto transactions. In this example, the GPT manages its own Gnosis Safe multisig wallet with USDC on Base (Coinbase's L2). Based on the user's suggestions, the AI Agent may decide to do something with its funds like donate to organizations it cares about.
To create locally, you'll need to clone the repository and set up the following environment variables:
SYNDICATE_API_KEY
– your Syndicate API key (you can get one here)PROJECT_ID
– the ID of your project in Syndicate (you can create one here)OPENAI_API_KEY
– your OpenAI API key (you can get one here)
This is built on the following stack:
- Syndicate – web3 transaction and smart contract cloud
- OpenAI Functions - AI API calls
- Vercel AI SDK – AI library
- Vercel – deployment
- Next.js – React framework
- TailwindCSS – CSS styles
- Ian (@ianDAOs)