Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.11.0
metadata
title: DEX Evolution Outpost
emoji: ⚡
colorFrom: blue
colorTo: indigo
sdk: gradio
app_file: app.py
pinned: false
license: mit
⚡ DEX Evolution Outpost
Multi-agent orchestration dashboard running on HuggingFace Spaces with ZeroGPU (NVIDIA H200).
Features
- ⚡ Command Center — LLM-powered router that dispatches tasks to specialized agents
- 💻 Code Agent — Stateful Python execution on H200 GPU (pandas, numpy, matplotlib, torch)
- 🔬 Research Agent — Deep multi-source analysis with parallel web searches
- 🎨 Image Agent — Generate images using Stable Diffusion on ZeroGPU
- 🌐 Web Agent — Quick web search and page reading
Setup
- Duplicate or clone this Space
- Set your API keys in Settings or Space Secrets:
- API Key: OpenRouter / HF Inference / any OpenAI-compatible endpoint
- Serper Key: For web search (serper.dev)
- HF Token: For image generation models
- Configure your model (default:
meta-llama/llama-3.1-70b-instructvia OpenRouter)
Configuration
| Setting | Default | Description |
|---|---|---|
| Endpoint | https://openrouter.ai/api/v1 |
OpenAI-compatible API endpoint |
| Model | meta-llama/llama-3.1-70b-instruct |
Model to use for all agents |
| Serper Key | — | Google search API key |
| HF Token | — | HuggingFace token for image models |
Architecture
app.py # Main Gradio application
backend/
agent_registry.py # Agent types, system prompts
llm.py # OpenAI-compatible client wrapper
tools.py # Web search, URL reading, code execution
image_gen.py # Stable Diffusion on ZeroGPU
research.py # Parallel research engine
frontend/
style.css # Dark cyberpunk theme
How It Works
- Command Center receives your task
- The LLM decides which agent(s) to use
- Agents execute with specialized tools:
- Code Agent runs Python on the H200 via
@spaces.GPU - Research Agent does parallel web searches + page reading
- Image Agent generates images on the H200 via
@spaces.GPU - Web Agent does quick searches
- Code Agent runs Python on the H200 via
- Results stream back to the UI in real-time
License
MIT