AI Task Router
Automatically route tasks to the appropriate tool, agent, or workflow based on keywords and complexity analysis.
Usage
bash scripts/route-task.sh "write a python script to sort a list"
bash scripts/route-task.sh "what is the weather in Valencia?"
bash scripts/route-task.sh "analyze this wallet: 0x81ac..."
How It Works
-
Analyzes task description for intent and complexity
-
Matches against known patterns:
- coding: code writing, refactoring, debugging
- research: web search, data gathering, analysis
- trading: crypto ops, wallet checks, DeFi
- content: writing, summarization, translation
- system: file ops, cron, monitoring
- general: conversation, Q&A
-
Returns routing decision with confidence score
Configuration
Edit scripts/config.sh to add custom patterns or change routing logic.
Integration
Can be used as a pre-processor for incoming tasks to route them to specialized agents or tools.