
XMTP AI Brian Agent
An XMTP AI Agent that allows the user to perform transactions (such as swap, bridge, ENS registration and many more) and request web3 info by prompting in natural language using Brian API.
Demo
About
The XMTP AI Agent, powered by the Brian API, enables smooth interaction with Web3 directly through any XMTP client, like Converse, using natural language commands. By integrating AI-driven prompts with XMTP’s messaging functionality, users can easily access blockchain data and carry out transactions, offering a seamless and highly accessible Web3 experience within chat environments... a perfect fit for an AI text-based agent! How it works? - user starts a chat with an address (bot address) on an XMTP client - user can use different commands (eg. /start) to get info on how to use the Agent. If the user type /start they can start chatting with the AI Agent powered by Brian - user can request transactions or information - the AI Agent generates a response. If it is a transaction, it'll ask for any required parameters if needed otherwise it'll generate a frame URL to execute the transaction - user can execute the transaction through the frame clicking a single button
How it's made
XMTP AI Brian Agent is built using two technologies that we think work pretty well together: 1) XMTP MessageKit for building the messaging bot on XMTP 2) Brian API (/agent endpoint) is used to request transactions and information by sending messages in the chat with the bot extra: We used frames using the open-frame standard to actually execute transactions.