AI Registry - Decentralized AI Model & Dataset Platform

Overview

AI Registry is a decentralized platform for hosting, discovering, and sharing AI models and datasets, built on Arweave's permanent storage and AO's decentralized computation infrastructure. The platform enables:

  • 🤖 Permanent, decentralized AI model hosting
  • 📊 Curated dataset management through ArDrive
  • 🤝 Community-driven model ratings and reviews
  • 🎮 Interactive model testing playground
  • 🤖 AI-powered chat agents for documentation

Features

Model Registry

  • Categories
    • Multimodal (Audio-Text, Image-Text, VQA)
    • Computer Vision (Classification, Detection, Segmentation)
    • Natural Language Processing (Generation, Translation)
  • Model Features
    • 🔒 Permanent storage on Arweave
    • 📦 Version control via Protocol.land integration
    • 📊 Usage metrics (downloads, likes, forks)
    • 🏷️ Rich tagging and categorization
    • 💬 Community discussions and reviews

Dataset Management

  • Storage Options
    • Permanent storage via Arweave
    • Temporary storage via ArFleet
    • Direct ArDrive integration
  • Dataset Features
    • 📊 Size and format information
    • 📈 Usage analytics
    • 🔑 License management
    • 🔄 Version tracking
    • 🔍 Advanced search and filtering

AI Playground

  • Supported Providers
    • OpenAI (GPT-3.5, GPT-4)
    • Google (Gemini)
    • Custom model inference
  • Features
    • Real-time model testing
    • Parameter adjustment
    • Response visualization
    • Performance metrics
    • API key management

AI Agents

  • Agent Types
    • Documentation assistants
    • Support agents
    • Research assistants
  • Features
    • Custom knowledge base training
    • Real-time chat interface
    • Integration with existing documentation
    • Usage analytics

Technology Stack

  • Frontend:

    • Next.js 14
    • React
    • TypeScript
    • Tailwind CSS
    • Shadcn UI
  • Blockchain & Storage:

    • Arweave (permanent storage)
    • ArDrive (dataset management)
    • AO (smart contracts)
    • ArFleet (temporary storage)
  • Authentication:

    • Arweave Wallet Kit
    • ArConnect integration

Getting Started

Prerequisites

  • Node.js 18.x or higher
  • Arweave Wallet (ArConnect)
  • AR tokens for transactions

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/ai-registry.git
cd ai-registry
  1. Install dependencies:
npm install
  1. Create a .env.local file:
NEXT_PUBLIC_AO_PROCESS=your_ao_process_id
  1. Start the development server:
npm run dev

Visit http://localhost:3000 to see the application.

Smart Contract Integration

The platform uses AO smart contracts for model and agent management. Key features include:

-- Example model registration
Handle("RegisterModel", function(msg)
    local name = msg.Tags.name
    State.Models[name] = {
        name = name,
        owner = msg.From,
        description = msg.Tags.description,
        modelType = msg.Tags.modelType,
        category = msg.Tags.category,
        metrics = {
            downloads = 0,
            likes = 0,
            forks = 0
        }
    }
    return json.encode({ status = "success" })
end)

Deployment

Building for Production

  1. Build the application:
npm run build
  1. Deploy to Protocol Land:
    • Upload build folder contents
    • Use Dragon Deploy for deployment
    • Set up ArNS domain (optional)

ArNS Setup

  1. Obtain $tIO tokens from AR.IO Discord
  2. Visit arns.app to register domain
  3. Configure DNS settings
  4. Link deployment transaction

Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Development Workflow

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Arweave Team
  • Community Labs
  • Protocol Land Team
  • All contributors and community members

Built with ❤️ on Arweave

Built With

  • ao
  • ardrive
  • arweave
  • arweave-wallet-kit
  • gemini-ai
  • is:-next.js-14
  • nextjs14
  • openai
  • react
  • separated-by-commas
  • shadcn
  • tailwind-css
  • typescript
Share this project:

Updates