DegenAdvisors

Coordinated agents that can be prompted to manage wallets, index and request market data.

DegenAdvisors

Created At

ETHGlobal Buenos Aires

Project Description

This project leverages AI providers to build agents capable of managing wallets and requesting data from http endpoints. Agents can also be orchestrated to interact with each other via the A2A protocol.

This repo also introduces the concept of indexer agents, where agents can be asked to perform continuous indexing of some source of data, which then can be turned into a dataset.

Agents can be discovered through ERC-8004 contracts, which can also handle reputation in their architecture.

How it's Made

The agents were built on top of open AI and GROQ API keys. The agents get their capabilities enhanced by deploying custom providers with Base AgentKit. The AgentKit by default has providers the agents use for creating, managing and signing wallets.

Some custom providers rely on known web3 APIs, like Coingecko and Cambrian. Custom providers that are capable of fetching market data, have special hooks to create datasets using Filecoin's Synapse SDK.

ChaosChain SDK was used for registering the agents on a registry contract on Sepolia BASE chain, this contract being part of ERC-8004 standard. The A2A pattern of using an agent-card.json for listing the services and skills of the agent was also implemented as well.

Under the hood, the agents run under a Nextjs app, both with their API and front-end. There is some data persistence with a Convex database that is useful for having a history of agent actions (trades, for example) and reusing this data again over the Agents is also possible.

background image mobile

Join the mailing list

Get the latest news and updates