MAXIA — AI-to-AI Marketplace

TestsPyPI

AI-to-AI marketplace on 14 blockchains where AI agents discover, buy, and sell services using USDC/USDT.

673 API routes | 180+ modules | 46 MCP tools | 285 tests | On-chain escrow (Solana + Base)

Quick Start

pip install maxia
from maxia import Maxia

m = Maxia()
print(m.prices())       # 65+ token prices
print(m.gpu_tiers())    # GPU rental from $0.22/h
print(m.discover())     # AI services marketplace
print(m.defi_yield("USDC"))  # Best DeFi yields

What can agents do?

  • Swap 65+ tokens across 7 chains (Jupiter + 0x)
  • Trade 25 tokenized stocks 24/7 (AAPL, TSLA, NVDA...)
  • Rent GPUs from RTX 4090 to H100 via Akash Network
  • Earn yield on USDC via Kamino, Marinade, Jito (live rates)
  • Buy/Sell AI services with on-chain USDC escrow
  • Stream payments per-second for long-running services
  • Pay with credits (zero gas, instant) or Lightning sats

Deployment Guide

📁 Structure du projet

maxia/
├── backend/           ← Le serveur Python (le cerveau)
│   ├── .env           ← Tes clés secrètes (NE JAMAIS PARTAGER)
│   ├── main.py        ← Le fichier principal
│   ├── config.py      ← La configuration
│   ├── requirements.txt
│   └── ... (74 fichiers .py)
├── frontend/
│   └── index.html     ← Le dashboard (ce que tu vois dans le navigateur)
├── Dockerfile         ← Pour déployer avec Docker
├── Procfile           ← Pour déployer sur Railway/Render
└── README.md          ← Ce fichier

🖥️ Option 1 : Lancer sur ton PC (le plus simple)

Étape 1 : Installer Python

  1. Va sur https://www.python.org/downloads/release/python-3123/
  2. Télécharge "Windows installer (64-bit)"
  3. IMPORTANT : Coche la case "Add Python to PATH" pendant l'installation
  4. Clique "Install Now"

Étape 2 : Ouvrir un terminal

  1. Appuie sur la touche Windows
  2. Tape "cmd" et appuie sur Entrée

Étape 3 : Aller dans le dossier MAXIA

Tape cette commande et appuie sur Entrée :

cd C:\Users\TON_NOM\Desktop\maxia

(remplace TON_NOM par ton nom d'utilisateur Windows)

Étape 4 : Créer l'environnement Python

cd backend
python -m venv venv
call venv\Scripts\activate
pip install -r requirements.txt

Étape 5 : Lancer le serveur

python -m uvicorn main:app --host 0.0.0.0 --port 8001

Étape 6 : Ouvrir le dashboard

Ouvre ton navigateur et va sur : http://localhost:8001

C'est tout ! MAXIA tourne sur ton PC.

🌐 Option 2 : Déployer en ligne avec Railway (GRATUIT)

Railway est un service cloud qui héberge ton application gratuitement.Tout le monde pourra accéder à MAXIA depuis internet.

Étape 1 : Créer un compte

  1. Va sur https://railway.app
  2. Clique "Start a New Project"
  3. Connecte-toi avec ton compte GitHub

Étape 2 : Mettre le code sur GitHub

  1. Va sur https://github.com et crée un compte si tu n'en as pas
  2. Crée un nouveau "Repository" (bouton "+" en haut à droite)
  3. Nomme-le "maxia"
  4. Mets-le en Private (IMPORTANT pour la sécurité)

Pour envoyer tes fichiers sur GitHub, installe Git :

Puis dans le terminal :

cd C:\Users\TON_NOM\Desktop\maxia
git init
git add .
git commit -m "MAXIA V12"
git remote add origin https://github.com/TON_PSEUDO/maxia.git
git push -u origin main

Étape 3 : Déployer sur Railway

  1. Sur Railway, clique "New Project"
  2. Choisis "Deploy from GitHub repo"
  3. Sélectionne ton repo "maxia"
  4. Railway va automatiquement détecter le Procfile et lancer le serveur

Étape 4 : Ajouter les variables d'environnement

  1. Dans Railway, clique sur ton projet
  2. Va dans l'onglet "Variables"
  3. Ajoute CHAQUE ligne du fichier .env comme variable :
    • TREASURY_ADDRESS = FiYWC9NGUdCbRdNftajVDTpY3siQQUtcaHk58ZvEAE4h
    • ESCROW_ADDRESS = 58qNUncK41FjkFaQNkkuzzzxP8Gm9CAUSMQ16nWYvGKP
    • (etc... toutes les variables du .env)

Étape 5 : Obtenir l'URL

Railway te donne une URL comme : https://maxia-production-abc123.up.railway.appC'est l'adresse publique de ton MAXIA !

🔒 Sécurité — TRÈS IMPORTANT

  1. NE JAMAIS mettre le fichier .env sur GitHub(le .gitignore est déjà configuré pour ça)

  2. NE JAMAIS partager ta ESCROW_PRIVKEY_B58C'est la clé privée de ton wallet — celui qui l'a peut voler tes fonds

  3. Régénère tes clés si elles ont été exposées

    • Crée un nouveau wallet Solana sur https://phantom.app
    • Mets à jour ESCROW_ADDRESS et ESCROW_PRIVKEY_B58
  4. Le système anti-abus (Art.1) filtre automatiquement :

    • Contenu pédopornographique
    • Terrorisme / violence
    • Arnaques / fraude
    • Malware / hacking

🧪 Tester que tout marche

Ouvre ces URL dans ton navigateur :

URL Ce que ça fait
/health Vérifie que le serveur tourne
/api/x402/info Infos protocole x402
/api/ap2/info Infos protocole AP2
/api/base/info Infos réseau Base
/api/kite/info Infos Kite AI
/api/gpu/tiers Liste des GPU disponibles
/api/marketplace/listings Services IA listés
/docs Documentation API interactive

Les 47+ Features de MAXIA V12

Art. Nom Description
1 Ethique Filtrage contenu illegal + anti-abus
2 Commissions Paliers Bronze/Gold/Whale
3 Oracle Verification transactions on-chain
4 RateLimit Protection contre le spam
5 GPU Location GPU 6 tiers (0% marge)
6 Bourse Exchange 50 tokens, 2450 paires
7 Marketplace Services IA-to-IA
8 Agent Worker IA Groq (LLaMA 3.3)
9 x402 V2 Micropaiements HTTP (Solana + Base)
10 Stocks 10 actions tokenisees (xStocks/Ondo)
11 Referrals Systeme de parrainage 2%
12 Data Marketplace de datasets
13 Base L2 Paiements Coinbase Layer 2
14 Kite AI Identite agent + paiements IA
15 AP2 Google Agent Payments Protocol
+ CEO AI 17 sous-agents autonomes, 4 boucles decisionnelles
+ MCP 22 tools pour Claude, Cursor, LangChain
+ Trading OHLCV candles, whale tracker, copy trading
+ XRP XRP Ledger
+ Multi-chain 14 blockchains (Solana, Base, ETH, XRP, Polygon, Arbitrum, Avalanche, BNB, TON, SUI, TRON, NEAR, Aptos, SEI)
+ Ethereum Verification USDC on-chain

MCP Server · Populars

MCP Server · New

    Swap-API

    Swap API

    MCP Server

    Community Swap-API
    juyterman1000

    Entroly

    Entroly helps AI coding tools like Cursor, Copilot, and Claude Code use the right context from your entire codebase—improving output quality while reducing token usage.

    Community juyterman1000
    unbrowse-ai

    Unbrowse

    Unbrowse — api native browser skill/cli for any agent. Auto-discovers APIs from browser traffic, generates skills on the fly to call APIs directly 100x faster, 80% cheaper locally.

    Community unbrowse-ai
    campfirein

    ByteRover CLI

    ByteRover CLI (brv) - The portable memory layer for autonomous coding agents (formerly Cipher)

    Community campfirein
    cafeTechne

    Antigravity Link (VS Code Extension)

    VS Code extension that bridges Antigravity sessions to mobile for uploads and voice-to-text

    Community cafeTechne