The mesh is a coordinated network of LLM nodes. DOF routes tasks to the optimal node based on task type, availability, cost, and latency — with TTL backoff, circuit breaking, and threshold consensus for critical decisions.Documentation Index
Fetch the complete documentation index at: https://cyberpaisa-dof-mesh-40-27.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Cloud API Nodes
| Node ID | Provider | Speed | Cost | Best for |
|---|---|---|---|---|
| minimax | MiniMax M2.1 | — | 1,000 req/day free | Primary provider |
| cerebras-llama | Cerebras | 868 tok/s | Free | Fast inference |
| deepseek-coder | DeepSeek | 120 tok/s | $0.27/M | Code generation |
| sambanova | SambaNova | 200 tok/s | Free | Large context |
| nvidia-nim | NVIDIA NIM | 150 tok/s | Free tier | Complex reasoning |
| glm-5 | Zhipu GLM | 100 tok/s | Free | Multilingual |
| gemini-flash | Gemini | — | Free/web | Analysis |
| groq | Groq | — | Free tier | Low-latency |
Local Nodes (Ollama)
| Node ID | Base model | Role | Context | Size | Cost |
|---|---|---|---|---|---|
| local-agi-m4max | qwen2.5-coder:14b | Autonomous local AGI | 65K | 9.0 GB | $0.00 |
| dof-coder | qwen2.5-coder:14b | Code implementation | 65K | 9.0 GB | $0.00 |
| dof-analyst | qwen2.5-coder:14b | Data analysis | 65K | 9.0 GB | $0.00 |
| dof-guardian | qwen2.5-coder:14b | Security (Cerberus Prime) | 65K | 9.0 GB | $0.00 |
| dof-reasoner | deepseek-r1:14b | Strategic planning | 65K | 9.0 GB | $0.00 |
| dof-voice | qwen2.5-coder:14b | Voice — long context Spanish | 65K | 9.0 GB | $0.00 |
| dof-voice-fast | gemma2:9b | Voice — realtime Spanish | 8K | 5.4 GB | $0.00 |
The alias
local-qwen no longer exists. Use local-agi-m4max for local sovereign compute.
Set LOCAL_MODEL_ENDPOINT in .env to your Ollama server URL.Local Node System Prompts
Starting the Mesh
TTL Backoff
When a provider fails or rate-limits:CLOSED → OPEN → HALF_OPEN → CLOSED
Threshold Consensus
For critical decisions, DOF requires N-of-M agreement across mesh nodes:Key Modules
| Module | Responsibility |
|---|---|
core/mesh_router_v2.py | Smart routing by task type |
core/mesh_scheduler.py | Priority queue (CRITICAL > HIGH > NORMAL > LOW) |
core/mesh_load_balancer.py | Distribution across equivalent nodes |
core/mesh_circuit_breaker.py | CLOSED / OPEN / HALF_OPEN per provider |
core/mesh_orchestrator.py | Task routing + horizontal scaling |
core/node_mesh.py | NodeRegistry + MessageBus |
core/threshold_consensus.py | N-of-M voting for critical decisions |
core/web_bridge.py | Playwright — browser-accessible LLMs without API |
Running the Mesh
Launch the full mesh with Docker or CLI
Providers & Agents
Configure provider chains and 17 agents