Skill / SKILL.md

Add Intent Router

redis/agent-skills

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.
2 views 176 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/redis/agent-skills' skill-source

Use the complete skill-source/plugins/redis-development/skills/add-intent-router directory with your client’s skill installer.

  • plugins/redis-development/skills/add-intent-router

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

  • skills/add-intent-router

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/redis-development/skills/add-intent-router

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
888d21b63116cdd1645ca12d47ec4fa7c4e31cc981376d6b91cea4fe75a6a9e7
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills