project screenshot 1
project screenshot 2
project screenshot 3

AI Mechs

Crypto-native access to off-chain AI workers: request AI tasks on Gnosis Chain and get them delivered back to you in no time

AI Mechs

Created At

ETHGlobal Lisbon

Winner of

trophy

🏊 The Graph — Pool Prize

Project Description

Request AI tasks on Gnosis Chain and get them delivered back to you in no time on-chain - hassle-free, crypto-native, and infinitely composable.

Executing AI tasks (generating an image on Dalle, running a prompt on ChatGPT, or more sophisticated composed versions and those involving on-chain actions) requires access to proprietary APIs or expertise in using open-source technologies.

The AI Mechs will execute these tasks for you and all you need is some xDAI in your wallet.

The project consists of three components (all code is linked in the master repo referenced below):

  1. An on-chain protocol is used to generate a registry of AI Mechs. These are (agent) NFTs that control a Gnosis Mech (Smart account with programmable ownership). The holder of the NFT controls the mech.
  2. We created a single off-chain AI worker that controls a mech. The AI worker is implemented as an autonomous service on the Autonolas stack.
  3. A frontend gives an overview of the AI workers in the registry and allows anyone to create a new worker or request work from an existing worker.

How it's Made

We worked with multiple sponsors and their technologies to realize this project:

  1. Gnosis Chain: the idea for the on-chain protocol (AgentFactory and AgentRegistry) was discussed before the hackathon with Martin Koeppelmann and some of his team. At the hackathon, we realized the first implementation, deployed it to Gnosis Chain and used it heavily for testing.
  2. The Graph: we use the graph to index the creation events of agents (the NFTs) and their mechs. Details here: https://github.com/valory-xyz/ai-registry-mech-graph
  3. Safe: Autonolas protocol uses Safe as a core design primitive. Our AI worker can be made up of multiple nodes (https://github.com/valory-xyz/mech) that control a safe (https://protocol.autonolas.network/services/1 (use Gnosis Chain!) - for the demo, we configured it to be a single node, you can see the Safe on the protocol page). The safe owns the agent NFT and is therefore in control of the mech.
  4. Metamask: we incorporated support for Metamask and other wallets into the frontend: https://ai-registry-mech-frontend.vercel.app/ (use Gnosis Chain!)

We have a short presentation here: https://drive.google.com/file/d/1wuv7HIeAQLSaqqxjSgVFC4aHTmK5b040/view?usp=sharing

background image mobile

Join the mailing list

Get the latest news and updates