Mayros v0.1.14
Intelligent routing, multi-agent consensus, and execution safety.
Eruberu — Adaptive Model Routing
- Q-Learning model selector: learns optimal provider/model per task type, budget level, and time slot
- Budget-driven fallback: auto-switches to cheaper models when budget exceeds configurable thresholds
- Task classifier: keyword-based prompt classification (code, chat, analysis, creative)
- Cortex persistence: Q-table stored as RDF triples with JSON file fallback
- Integrates via
before_model_resolvehook — zero changes to core execution path - New tools:
routing_status,routing_set_strategy - New CLI:
mayros routing status|strategy|reset
Miteru — Intelligent Task-to-Agent Routing
- Q-Learning agent selector: learns which agent handles each task type best
- Task classification by type, complexity, and language domain
- Performance tracker: EMA-based agent scoring with Cortex persistence
- Integrated into workflow orchestrator as optional routing layer
- New tool:
mesh_route_task
Kimeru — Multi-Agent Consensus
- Three consensus strategies: majority vote, weighted (by EMA score), LLM-arbitrated
- Automatic conflict resolution when parallel agents produce conflicting results
- Confidence scoring and detailed vote breakdown
- New tools:
mesh_agent_performance,mesh_consensus
Tomeru — Rate Limiting & Loop Breaking
- Sliding window rate limiter: per-tool call limits with configurable windows
- Global token bucket: burst protection across all tools
- Loop breaker: SHA256-based identical-call sequence detection
- Velocity circuit breaker: hard block on runaway execution
- Configurable modes: enforce, warn, off
- New tools:
rate_limit_status,rate_limit_adjust - New CLI:
mayros ratelimit status|adjust|reset
Token Economy Enhancements
- Response cache (Oboeru): LRU cache with TTL for observational response deduplication
- Budget bridge: Symbol-based cross-plugin bridge exposes BudgetTracker to routing subsystems
- Cache savings tracking in budget summaries
Model Router
buildFromPricingCatalog(): construct router from token-economy pricing catalogrouteWithBudget(): budget-aware routing that filters by remaining spend
Infrastructure
- 55 extensions synced at v0.1.14
- 55 new tests across 7 test files (Q-Learning, task classification, routing, performance tracking, consensus, rate limiting, loop breaking)
- Auto-release workflow: GitHub Releases created automatically on version tags