input_agent

Route misaddressed user inputs to the correct agent in multi-agent conversations.

4|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/dewitt/swarm --skill input-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: input_agent
Source: https://github.com/dewitt/swarm/tree/main/skills/input-agent
Command: npx skills add https://github.com/dewitt/swarm --skill input-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Acts as a guard to ensure human-in-the-loop interactions are routed to the appropriate agent, preventing misaddressed prompts and context drift.

Core Features & Use Cases

  • Input routing guard: Detects when user intent targets a different agent and triggers routing.
  • Digression detection: Identifies shifts in topic that warrant relaying to the correct agent.
  • Deterministic routing: Outputs the exact line ROUTE TO: swarm_agent when misaddressed, or CONTINUE when current agent is still relevant.
  • Use Case: In multi-agent sessions, ensures requests meant for the swarm_agent are handled by the correct agent to preserve flow.

Quick Start

Provide a routing decision for the next user input by evaluating the current active agent and outputting either ROUTE TO: swarm_agent or CONTINUE.

Frequently Asked Questions about input_agent

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

FAQPage Schema
How do I prevent context drift when routing user input in a multi-agent conversation?

To prevent context drift in multi-agent conversations, you can use an input routing guard that evaluates user intent and deterministically outputs ROUTE TO: swarm_agent or CONTINUE based on the active agent context.

What is the best way to detect misaddressed prompts in a multi-agent session?

The best way to detect misaddressed prompts is by applying an input routing guard that identifies when user intent shifts toward a different specialized domain and triggers routing to prevent misaddressed inputs.

How does deterministic input routing work for multi-agent systems?

Deterministic input routing works by reading the last active agent context and outputting only the exact string ROUTE TO: swarm_agent or CONTINUE to enforce strict routing rules for user inputs.

When do I need an input routing guard for my multi-agent workflow?

You need an input routing guard when user intent may shift between specialized domains in multi-agent conversations, requiring misaddressed inputs to stay aligned with the correct active agent to preserve flow.

Can I use input routing rules to manage digressions in multi-agent conversations?

Yes, you can use input routing rules to manage digressions by detecting shifts in topic that warrant relaying the user input to the correct swarm_agent, ensuring the conversation stays aligned.

What limitations exist when using deterministic routing for context drift prevention?

A limitation of deterministic routing for context drift prevention is that it outputs only two exact strings, ROUTE TO: swarm_agent or CONTINUE, meaning it cannot provide nuanced routing decisions or handle complex multi-agent branching.