Intelligent GPU workload routing Β· Multi-provider marketplace Β· Visual workflow automation
The global GPU compute market is fragmented and inefficient:
| Pain Point | Impact |
|---|---|
| Fragmented Markets | Pricing across Akash, Render, Lambda, io.net is inconsistent and impossible to compare at scale |
| No Intelligent Routing | Manual provider selection wastes 40%+ on suboptimal pricing |
| Settlement Risk | No transparent escrow or audit trail β trust is assumed, not verified |
| Complex Workflows | Zero automation for recurring compute tasks and deployment pipelines |
Enterprise teams sit on millions of dollars of idle H100s and A100s while developers globally struggle to access affordable compute.
Nexora is an AI-powered compute orchestration platform that acts as an intelligent broker between compute demand and supply. Think of it as "Kayak for GPU compute" β powered by AI.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β User: "I need 4x A100 GPUs for training a LLaMA model" β
β β β
β π€ AI Agent: Analyzes requirements β Queries providers β
β β β
β π Comparison: Akash ($2.10/hr) vs io.net ($2.85/hr) β
β β β
β π Auto-Deploy: Best provider selected, SDL generated, live β
β β β
β π Settlement: USDC escrow with full audit trail β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Describe your workload in natural language (e.g., "Deploy a PyTorch training job with 2x RTX 4090")
- AI Agent analyzes your requirements β GPU type, memory, budget, region, compliance
- Automatic routing to the best provider with real-time pricing comparison
- One-click deployment with SDL manifest generation and container orchestration
- Secure settlement via smart contract escrow with full audit trail
| Feature | Description |
|---|---|
| π€ AI Routing Agent | Gemini 2.5-powered multi-step agent pipeline: analyze β compare β route β deploy. Uses Google ADK with forced tool-calling for deterministic execution |
| π Real-Time GPU Dashboard | Live GPU pricing, availability, utilization metrics, and provider health across 7+ networks |
| π Visual Workflow Builder | Drag-and-drop automation pipelines with React Flow β chain triggers, logic, providers, and settlement nodes |
| π Host Compute | List your own GPU machines with region tagging, compliance controls, and availability scheduling |
| π Smart Contract Escrow | Solidity USDC escrow with auto-release on service completion and refund capability |
| π Immutable Audit Trail | Full deployment history with on-chain transaction links and 0G Storage for reasoning logs |
| π Multi-Provider Support | Akash, Render, io.net, Spheron, Aethir, Nosana, Hyperspace, Gensyn β 137 normalized providers |
| π³ Smart Docker Resolution | Auto-resolves workload descriptions to optimal Docker images (PyTorch, TensorFlow, NGINX, PostgreSQL, etc.) |
graph TB
subgraph Client["π₯οΈ Next.js 16 Frontend"]
LP["Landing Page"] --> DB["Dashboard"]
DB --> AG["AI Agent Chat"]
DB --> WF["Workflow Builder"]
DB --> HP["Host Compute"]
DB --> PR["Provider Explorer"]
DB --> AL["Audit Log"]
end
subgraph Agent["π€ AI Agent Layer (Google ADK)"]
AG --> GEM["Gemini 2.5 Flash"]
GEM --> |"Phase 1"| CP["compare_providers Tool"]
GEM --> |"Phase 2"| RA["route_to_akash Tool"]
GEM --> |"Phase 3"| LG["log_reasoning_to_0g Tool"]
CP --> |"Score & Rank"| RA
end
subgraph Data["π Data Layer"]
CP --> AF["Akash Fetcher (Live API)"]
CP --> DF["Provider Database (137 nodes)"]
RA --> SDL["SDL Generator"]
SDL --> |"Manifest"| AK["Akash Network"]
end
subgraph Chain["π Settlement Layer"]
RA --> CR["ComputeRouter.sol"]
CR --> ESC["USDCEscrow.sol"]
ESC --> |"Release/Refund"| USDC["USDC Token"]
LG --> ZG["0G Storage (DA)"]
end
style Client fill:#1e1b4b,stroke:#6366f1,color:#e0e7ff
style Agent fill:#1e1b4b,stroke:#a855f7,color:#e0e7ff
style Data fill:#1e1b4b,stroke:#06b6d4,color:#e0e7ff
style Chain fill:#1e1b4b,stroke:#10b981,color:#e0e7ff
sequenceDiagram
participant U as User
participant F as Frontend
participant API as /api/route-job
participant ADK as Google ADK Agent
participant AK as Akash API
U->>F: "Deploy PyTorch with 2x A100"
F->>API: POST {description, requirements}
API->>ADK: Create routing agent (Gemini 2.5)
Note over ADK: Phase 1: Provider Comparison
ADK->>AK: Fetch live providers
AK-->>ADK: Provider list + pricing
ADK->>ADK: Score & rank providers
Note over ADK: Phase 2: Deployment
ADK->>ADK: Generate SDL manifest
ADK->>AK: Create deployment
AK-->>ADK: Deployment ID + URIs
ADK-->>API: Result + thinking steps
API-->>F: Stream response
F-->>U: Show result with deploy button
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | Next.js 16, React 19, TypeScript | App Router, Server Components, streaming |
| Styling | Tailwind CSS v4, OKLCH Color Space | Dark-first cyberpunk theme with design tokens |
| UI | shadcn/ui (27 components), Framer Motion | Radix Primitives, micro-animations |
| State | Zustand, TanStack Query | Client-side + server-side state management |
| AI | Google ADK, Gemini 2.5 Flash | Multi-step agentic pipeline with forced tool calling |
| Orchestration | React Flow | Visual workflow canvas with custom node types |
| Web3 | wagmi v3, viem, MetaMask | Wallet connection, contract interactions |
| Contracts | Solidity 0.8.28, Hardhat, OpenZeppelin | USDC escrow, job routing, access control |
| Storage | 0G Storage | Immutable reasoning log data availability |
- Node.js 18+ and npm
- MetaMask browser extension (optional β for on-chain features)
- Google AI Studio API Key (required for AI agent)
git clone https://github.com/thesumedh/Nexora.git
cd Nexora/offchain
npm installcp .env.example .env.localEdit .env.local:
# Required β Get yours at: https://aistudio.google.com/app/apikey
GOOGLE_AI_STUDIO_API_KEY=your_api_key_here
# Optional β For on-chain settlement
AGENT_PRIVATE_KEY=0x...npm run dev
# β http://localhost:3000cd ../hardhat
npm install
npx hardhat compile
npx hardhat testNexora/
βββ offchain/ # Next.js 16 Application
β βββ src/
β β βββ app/ # App Router (25 routes)
β β β βββ page.tsx # β¨ Landing page with animations
β β β βββ dashboard/ # π Real-time GPU dashboard
β β β βββ agent/ # π€ AI chat + deploy interface
β β β βββ workflow/ # π Visual workflow builder
β β β βββ providers/ # π Provider marketplace
β β β βββ host/ # π Host compute listing
β β β βββ audit/ # π Deployment audit log
β β β βββ verify-agent/ # π§ͺ Agent router demo
β β β βββ api/ # 9 API endpoints
β β βββ components/ # 50+ React components
β β β βββ ui/ # shadcn/ui (27 primitives)
β β β βββ layout/ # AppShell, Sidebar, Header
β β β βββ agent/ # DeployModal, PreflightChecklist
β β β βββ workflow/ # Canvas, CustomNodes, ConfigPanel
β β β βββ host/ # FleetDashboard, ListingForm
β β βββ lib/
β β β βββ agent/ # Google ADK agent + 4 tools
β β β βββ akash/ # SDL manifest generator
β β β βββ providers/ # Multi-provider fetchers
β β β βββ contracts/ # ABI + contract helpers
β β β βββ 0g/ # 0G Storage client
β β βββ hooks/ # 4 custom hooks
β β βββ context/ # MarketplaceContext
β βββ public/ # Static assets + logo
β
βββ hardhat/ # Solidity Smart Contracts
βββ contracts/
β βββ ComputeRouter.sol # Job submission & routing decisions
β βββ USDCEscrow.sol # USDC escrow (deposit/release/refund)
β βββ TestnetUSDC.sol # Mock ERC-20 for testing
βββ ignition/ # Hardhat Ignition deploy modules
βββ test/ # Contract test suite
| Endpoint | Method | Description |
|---|---|---|
/api/route-job |
POST | AI agent routing pipeline (main endpoint) |
/api/providers |
GET | Fetch all normalized providers |
/api/compare-providers |
POST | Compare provider pricing |
/api/akash |
GET | Live Akash network data |
/api/deployments |
POST | Create Akash deployment |
/api/deployments/[id] |
GET | Deployment status |
/api/deployments/[id]/bids |
GET | Deployment bids |
/api/deployments/[id]/logs |
GET | Container logs |
/api/escrow |
POST | Smart contract escrow operations |
/api/agent-chat |
POST | Streaming AI chat interface |
/api/agent/payment |
POST | Agent payment processing |
/api/job-count |
GET | On-chain job counter |
# Frontend build verification
cd offchain && npm run build
# Smart contract tests
cd hardhat && npx hardhat test
# Type checking
cd offchain && npx tsc --noEmit- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License β see the LICENSE file for details.
Built with β€οΈ for the future of compute infrastructure
β Star on GitHub Β· π Report Bug Β· π‘ Request Feature

