project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

GHO Sensei

I modified the oSnap module to create a natural language contract to distribute GHO. To help write the contract, I created an AI framework for quickly building and deploying new agents, and prompts for writing optimistic governance rules.

GHO Sensei

Created At

LFGHO

Project Description

Many people are interested in crypto but intimidated by its complexity. The goal of this project is to demonstrate how a user could create a natural language contract enforced onchain by the UMA oracle. This particular contract will distribute 100 GHO to the first address that proposes the transfer, but you could imagine sales contracts, lease agreements, and the like being implemented this way, with both parties understanding what is actually happening (versus needing to decipher Solidity code).

To help write the natural language rules, I wanted to train an AI agent who is familiar with UMA's optimistic governance system, to make sure the rules will be clear, concise, and enforceable. To help iterate quickly, I built an AI development framework called sensei, which allows you to build and deploy new AI agents in under a minute.

How it's Made

Onchain:

  • Modified the oSnap module to have a different set of rules, thus creating a different product
  • The building blocks are the Optimistic Governor module, the UMA oracle, and the Safe ecosystem

LFGHO Safe: eth:0x5DBbb5b68aA2f24360F03e3B0E6D501Dbcd0b5A4 Optimistic Governor module: 0xDaFa62b39bB711C52fe488EDA0A08aDa19F71e96

Offchain:

  • The sensei framework I built is a combination of Node and shell scripts for quickly building and deploying new AI agents
  • Heroku is used for web hosting
  • The deployed application is an Express app

I plan to expand the sensei framework to include log collection and analysis, support for the OpenAI Assistants API, more hosting options, and so on.

background image mobile

Join the mailing list

Get the latest news and updates