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.
Screenshots






Problem Statement
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.
Solution
Onchain:Modified the oSnap module to have a different set of rules, thus creating a different productThe building blocks are the Optimistic Governor module, the UMA oracle, and the Safe ecosystemLFGHO Safe: eth:0x5DBbb5b68aA2f24360F03e3B0E6D501Dbcd0b5A4 Optimistic Governor module: 0xDaFa62b39bB711C52fe488EDA0A08aDa19F71e96Offchain:The sensei framework I built is a combination of Node and shell scripts for quickly building and deploying new AI agentsHeroku is used for web hostingThe deployed application is an Express appI plan to expand the sensei framework to include log collection and analysis, support for the OpenAI Assistants API, more hosting options, and so on.
Hackathon
LFGHO
2024