Zum Inhalt springen
Kitbay

add-intent-router

MITAktualisiert am 5. Nov. 2026178GitHub-Sterne

A Redis skill that swaps hand-written routing in an agent, such as keyword checks, regular expressions or an extra LLM call that only picks a route, for a Redis Iris Intent Router.

Was der Skill vermittelt

A Redis skill that swaps hand-written routing in an agent, such as keyword checks, regular expressions or an extra LLM call that only picks a route, for a Redis Iris Intent Router. The agent locates where the code decides what to do with a message, collects real example phrasings for each route, asks the developer five questions about routes, examples, targets, the no-match behaviour and the embedding model, and writes them to intents.yaml. It then creates the router and loads the intents with the iris CLI, replaces the old decision code with a match call, and tests it before reporting.

Funktionen

  • Find the routing logic in an existing agent
  • Write intents with example phrasings to intents.yaml
  • Provision an Intent Router and load intents with the iris CLI
  • Replace keyword or LLM routing with a match call
  • Choose fallback behaviour when no intent matches