routing

Route user prompts to specialized agents via Kafka event bus or direct fallback.

3|1|Updated Oct 9, 2025
One-click install
npx skills add https://github.com/OmniNode-ai/omniclaude --skill routing-omninode-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: routing
Source: https://github.com/OmniNode-ai/omniclaude/tree/main/plugins/onex/skills/routing
Command: npx skills add https://github.com/OmniNode-ai/omniclaude --skill routing-omninode-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill intelligently routes user requests to the most appropriate specialized agent, ensuring tasks are handled efficiently and effectively.

Core Features & Use Cases

  • Agent Selection: Dynamically determines the best agent for a given task based on context and request.
  • Optimized Workflow: Reduces manual agent selection and improves overall process efficiency.
  • Use Case: When a user asks to "optimize database queries," this skill identifies and routes the request to the agent-performance specialist.

Quick Start

Use the routing skill to find the best agent for the request "optimize my database queries".

Frequently Asked Questions about routing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does agent routing work in an event-driven architecture?

Agent routing maps user prompts to specialized agents using confidence scores to optimize task allocation. It operates via a Kafka event bus for enhanced observability and fault tolerance, or falls back to a direct router mechanism for simpler workflows.

How do I dynamically route user requests to specialized agents?

You can dynamically route user requests by submitting a prompt to the routing mechanism, which evaluates context and calculates confidence scores to select the best specialized agent. For example, database optimization requests map directly to the performance specialist.

Can I use Kafka for agent task allocation in polymorphic workflows?

Yes, Kafka supports agent task allocation for polymorphic workflows by acting as an event bus for routing decisions. This integration enhances system observability and provides fault tolerance during dynamic agent selection.

What is the best way to handle agent selection for varied task types?

Intelligent agent selection handles varied task types by evaluating the request context and assigning confidence scores to available specialized agents. This automated mapping eliminates manual selection and optimizes polymorphic workflow efficiency.

What happens if the Kafka event bus fails during agent routing?

If the Kafka event bus fails during agent routing, the system automatically falls back to a direct router mechanism. This fallback ensures continuous task allocation and maintains routing functionality without interruption.

When should I use event-driven routing instead of a direct router fallback?

Use event-driven routing via Kafka when you need enhanced observability and fault tolerance for complex polymorphic workflows. Use the direct router fallback for simpler task allocation scenarios where event bus overhead is unnecessary.