hackquest logo

AGI-Git

A Version Control and Decentralized Storage Protocol for AI Models

Videos

Description

Project Idea:

1. Develop relay nodes and command-line tools or clients based on the Nostr protocol, used for managing local model file indexing, model pricing settings, revenue-sharing ratios with uploaders, and whether to join the protocol network. Utilize high-performance encryption and signing schemes to ensure secure transmission and integrity of models.

2. Create a model trading system based on smart contracts, automating and making transparent operations like model downloads (agigit pull --relay $relayPK) and uploads (agigit push --relay $relayPK). Implement a segmented payment mechanism to incentivize relay nodes to store and provide quality models along with high-performance network transmission. (Economic model: Users pay tokens to execute agigit pull, and upon completion, the contract distributes tokens to relay node wallet addresses)

3. Develop the backend for a model marketplace, subscribing to all Nostr nodes or subscribing to the full node, periodically querying node information, and updating the database while providing query services to clients, including each node's operational status and accumulated income. Nodes will provide a list of models, each containing metadata, pricing, download counts, and total income.

4. Create a visual client interface to view nodes and the model marketplace, allowing subscriptions to any relay node hosting a model. When downloading/uploading models, users must first connect their wallet and trigger payment logic and key retrieval logic via smart contracts. Clients and relay nodes can establish peer-to-peer WebSocket connections and communication to track model download/upload progress.

5. Develop an executable command-line or client that can join and become a node in the AGI-Git Nostr network, and participate in the storage of AI models. Additionally, the command-line should support functionalities such as pulling AI models and uploading models.

Progress During Hackathon

frontend and contract

Tech Stack

React
Next
Web3
Ethers
Node
Solidity
Go