a↗agentbay.Get AgentBay
My account ▾
Menu
Back to results

add-intent-router

Replace an existing agent's hand-written routing (keyword if/else chains, regex, or an LLM call that only picks a route) with a Redis Iris Intent Router through redis-iris, so a message maps to a defined intent and its dispatch target by example phrasings and a score threshold. Asks five questions (what the routes are today, a few real phrasings…

Full publisher description

Replace an existing agent's hand-written routing (keyword if/else chains, regex, or an LLM call that only picks a route) with a Redis Iris Intent Router through redis-iris, so a message maps to a defined intent and its dispatch target by example phrasings and a score threshold. Asks five questions (what the routes are today, a few real phrasings per route, what each route dispatches to, what happens when nothing matches, which embedding model), writes the answers to intents.yaml, provisions the Router from the terminal with `iris intent-router service create`, loads the intents with `iris intent-router intents add`, then wires `router.match()` where the agent decides today. Use when the agent routes with keywords or an extra LLM call, or the user asks for intent detection, intent routing, or semantic routing.

Source details

Read SKILL.md ↗ · Browse skill folder ↗

redis/agent-skills

plugins/redis-development/skills/add-intent-router/SKILL.md

Pinned revision 74708dab4b3f81a9845803c3f642a4f7d443af69

Source checked

This skill page is available in English. Publisher instructions stay in their original language.