This repository demonstrates how to implement verifiable inference from a Gaia node using the Othentic Stack, developed by MotherDAO.
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.
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.
- 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
π 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
The architecture leverages Othentic's AVS framework to create a verifiable inference system:
- The Performer node executes tasks using the Task Execution Service and sends the results to the p2p network.
- 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
-
Clone the repository:
git clone https://github.com/MotherDAO/verifiable-llm-inference-avs.git cd verifiable-llm-inference-avs
-
Install Othentic CLI:
npm i -g @othentic/othentic-cli
Follow the steps in the official documentation's Quickstart Guide for setup and deployment.
Customize the inference parameters, adjust validation criteria, and deploy your own verifiable AI service using Mother's infrastructure.
Building sustainable Web3 intelligence together! π±