smart-router-v2
Installation
SKILL.md
Smart Router V2
HTTP server that routes AI requests to optimal models based on intent classification with dynamic provider discovery.
Features
- Dynamic Discovery: Automatically reads available providers from
~/.openclaw/openclaw.json - Intent Classification: Routes based on task type (CODE, ANALYSIS, CREATIVE, REALTIME, GENERAL)
- Automatic Fallback: Tries providers in priority order until success
- Zero-config: Works out of the box with OpenClaw provider config
Installation
# Clone and run
python3 router.py --port 8788