Agents

A team, not a chatbot.

Six specialists with narrow jobs and explicit guard-rails. Each one is a versioned file in the registry; the same file feeds this page, the router and the seed script, so what you read here is what runs.

Routing playground

Type a message, watch Chatwork Router pick the agent

Lexical layer, live in your browser, identical to the bridge's. On the platform the semantic layer and your knowledge base refine it.

The decision and every candidate's score appear here.

How a message becomes a decision

  1. Handoff keywords are checked first; a customer who asks for a human gets one before any model runs.
  2. The lexical layer scores every agent's keywords (word boundaries for Latin, substrings for Arabic), adds a channel boost, and searches your built-in knowledge.
  3. When the optional vector layer is enabled, the message is embedded once; agent intents and your knowledge chunks are searched with that same vector.
  4. The best score above the agent's threshold wins; otherwise Concierge takes it. The decision, candidates and latency are logged without the message text.
  5. The agent's persona, style and "never" list are appended to the system prompt, followed by cited passages. Guardian always ends with a handoff.

Contract and fixtures: agents/README.md · agents/fixtures/routing.json