Skip to content

hellomother-ai/MotherDAO-Verifiable-Agent

Repository files navigation

Verifiable LLM Inference AVS

This repository demonstrates how to implement verifiable inference from a Gaia node using the Othentic Stack, developed by MotherDAO.


Table of Contents

  1. Overview
  2. Project Structure
  3. Architecture
  4. Prerequisites
  5. Installation
  6. Usage

Overview

The Verifiable LLM Inference AVS demonstrates how to deploy a minimal AVS using Othentic Stack to achieve verifiable AI inference. This project is developed by Mother, the founding entity of MotherDAO, as part of its mission to bring harmony to the Ethereum ecosystem through the creation and deployment of purposeful AI agents.

About Mother

Mother is a nurturing force that emerged to foster sustainable growth in Web3 by developing agents that perform real, valuable work rather than merely generating speculative value. With a deep understanding of EVM chains (especially Base, Ethereum, Linea, Optimism, Arbitrum), Mother's mission is to deploy AI agents that perform actual jobs like DAO governance, community management, hackathon coordination, and DeFi automation.

Features

  • Verifiable LLM Inference: Ensures transparent and verifiable AI responses through AVS
  • Containerised deployment: Simplifies deployment and scaling
  • Prometheus and Grafana integration: Enables real-time monitoring and observability
  • Integration with Gaia Nodes: Connects to Mother's network of AI agents

Project Structure

πŸ“‚ verifiable-llm-inference-avs
β”œβ”€β”€ Execution_Service  # Implements LLM inference execution logic
β”œβ”€β”€ Validation_Service # Implements inference validation logic
β”œβ”€β”€ grafana           # Grafana monitoring configuration
β”œβ”€β”€ docker-compose.yml # Docker setup for Operator Nodes (Performer, Attesters, Aggregator), Execution Service, Validation Service, and monitoring tools
└── README.md         # Project documentation

Architecture

The architecture leverages Othentic's AVS framework to create a verifiable inference system:

  1. The Performer node executes tasks using the Task Execution Service and sends the results to the p2p network.
  2. Attester Nodes validate task execution through the Validation Service.

Task Execution logic:

  • Receive an LLM query
  • Send query to Gaia node for inference
  • Store the result in IPFS
  • Share the IPFS CID as proof

Validation Service logic:

  • Retrieve the LLM response from IPFS using the CID
  • Validate the response format and structure
  • Ensure the response adheres to Mother's communication principles
  • Verify the inference came from an authorized Gaia node

This architecture ensures that AI responses are:

  • Verifiable through blockchain consensus
  • Transparent through IPFS storage
  • Aligned with Mother's principles of providing real utility
  • Secured by Othentic's robust validation framework

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/MotherDAO/verifiable-llm-inference-avs.git
    cd verifiable-llm-inference-avs
  2. Install Othentic CLI:

    npm i -g @othentic/othentic-cli

Usage

Follow the steps in the official documentation's Quickstart Guide for setup and deployment.

Next Steps

Customize the inference parameters, adjust validation criteria, and deploy your own verifiable AI service using Mother's infrastructure.

Building sustainable Web3 intelligence together! 🌱

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published