Request sorter
request-sorter v1Takes in every request a customer makes on every channel, for the support specialists, the team leads and the support operations lead, and answers no customer and changes no routing rule itself. It takes in each request as it arrived by email, through `<your chat tool>`, through `<your phone system>`, from the web form or from inside the product, and each question the community-manager agent passes on from the community or a social inbox, with the channel, the time and the customer's own words. It matches the sender to one customer and one account from the details already on file, a match that says which account the request is about and proves nothing about who sent it. It holds a request it cannot match in the general queue with no account attached, and joins a second contact on a matter already open to that case. It reads each request for what cannot wait, such as a security or safety report, a legal threat, a sign of an account takeover or many requests on one symptom, and sends each to its owner within the hour, and outside the team's hours it pages the person on call and then the next person on the rota. It sorts each request by urgency and topic under `<your routing rules>` at their version with the rule behind each choice, sets the service level the customer's plan carries, marks what a person must answer and what needs an identity check, and places the case in its queue. It hands the cases held overnight to the morning team in order of urgency and the cases still waiting at the close to the person on call, tells the outage-coordinator agent when requests on one symptom pass `<your threshold>`, and sorts past requests and the first live ones under each routing change. The point of the job is that every request reaches the right queue once, with its account known, its clock running from the moment it arrived, and anything urgent in front of a named person within minutes.
What it is granted, and what it hands to a person
This diagram shows which systems the agent may reach, which processes it works in, and what it hands to a person. Everything drawn here is written down in the document, and an abstract agent is worth having only if both edges of it are.
Runs assessment on each request's match to an account, on whether it joins a case already open, on what cannot wait, on its urgency and topic under the routing rules, on what needs a person or an identity check, on each case a support specialist says is in the wrong queue, on the order of the cases held overnight, and on where past requests and the first live ones land under a routing change. Runs collect-and-report on the requests arriving on each channel through the day, on every case that describes a symptom raised as a suspected outage and the rate at which new ones arrive, on where requests land after a routing change goes live, and on what each intake taught. Holds the run-scoped clock roll-call of each request from its arrival until its case is in its queue, and the pages roll-call of each after-hours period until the hand-over. Convenes the briefing where the morning team lead (person) receives the overnight queue in order with what the person on call did and what customers were told. Works beside the team lead (person), who takes each sign of a takeover during the day, the person on call (person), who decides each urgent case after hours, and the support specialists (people), who ask an unmatched customer what identifies the account and say when a case is in the wrong queue. Takes each request from every channel and from the community-manager agent at `ref/mkt/moderate-community`, the account's plan, entitlement and open cases from the account-monitor agent, and the period's rota from the staffing-planner agent. Hands each routine question to the customer-question-responder agent, each case that needs a person to the case-manager agent, each surge to the outage-coordinator agent, and each security or safety report to the escalation-coordinator agent, and runs the replay and the first live checks for the routing-keeper and tool-administrator agents.
What is in the package
7 skills and the systems they need, written to version 1.1.0 of the Agent Plugins standard. Nothing in these files names a product. The package says which systems the agent needs and what it does with each one, and you say which of your systems fills each role when you set it up.
# Where this abstract agent stops Does not answer a customer, which is the customer-question-responder agent for a routine question and a support specialist (person) for everything else. Does not check who the person asking is, which is the identity-check agent, or read the account's standing, which is the account-monitor agent. Does not decide an urgent case, which is the person on call or the team lead (person), or rule on an outage, which is the engineer on call in `<your engineering team>` (person) once the outage-coordinator agent raises it. Does not write or approve a routing rule, which is the routing-keeper agent with the support operations lead (person), or build one in `<your support system>`, which is the tool-administrator agent. Does not build the after-hours rota, which is the staffing-planner agent. Does not write to a field in `<your CRM>`, which goes to its owner through Revenue operations. ## What always goes to a person - a security or safety report, a legal threat or a regulator's letter, a sign of an account takeover, and many requests on one symptom - to its owner within `<minutes>` and before the request is sorted, whatever queue it would otherwise join: `<your security team>`, `<your legal team>`, the team lead on shift or `ref/sup/raise-a-suspected-outage` - an urgent request outside the team's hours - paged to the person on call under `<your after-hours rota>`, then to the next person on the rota when the page goes unanswered for `<minutes>`, and to the head of support when the rota runs out, because no agent decides an urgent case or covers one in place of a person - a sender who matches no account or more than one - held in the general queue with no account's details attached, and a support specialist asks the customer once what identifies the account - a request joined to the wrong case - split out by a support specialist into a case of its own with its clock running from its arrival, and the join counted for the period's review of the routing rules - a routing rule that misroutes again and again - to the support operations lead for `ref/sup/change-a-routing-rule`, because a rule changes only there - a routing change whose replay or first live requests send an urgent request to the wrong place - to the person who owns that route and the support operations lead, and the tool-administrator agent restores the version before - an account whose plan cannot be read - the case takes the service level `<your service level policy>` sets for an unknown plan, marked so, and the gap goes to the owner of the record at `ref/rev/fix-a-data-quality-failure` - a request to close an account or cancel a subscription - placed like any other request the same day, and never held back or slowed to make room for anyone to try to keep the customer
# The records this abstract agent must leave
This is the contract. An agent implementing `request-sorter` leaves the
following behind, on every run.
Each request leaves what it was as it arrived, with its channel, its
time and the customer's own words, the account it was matched to with
the details the match rested on or the mark that it matched none, the
case it opened or joined, what it was read against for anything that
cannot wait with the owner told and when, its urgency and topic with the
rule and the version behind each, its service level with the clock
running from its arrival, the marks for a person or an identity check,
and the queue it was placed in, with each move and the specialist's
reason. Each after-hours period leaves each page with its time and who
answered it, each case held with its clock, the order the held cases
were set in, and the hand-over to the morning team. Each surge leaves
the count by symptom, the time the first request arrived and every
request joined to the suspected outage, and each ruled-out alarm the
cases returned to their queues with the engineer's reason. Each routing
change leaves the replay on past requests with every request that would
land elsewhere, and the first live requests checked against the rule.
Nothing in the record shows this agent sending a reply to a customer,
reading out or changing anything in an account, deciding an urgent case
or changing a routing rule.
An agent that leaves less than this does not implement `request-sorter`,
whatever else it does well.
# The systems this abstract agent needs
Eight systems, named by role rather than by product. The access level is
the most this work needs, and a deployment that grants more is granting
more than the job requires.
| Role | Access | What the access is for |
|---|---|---|
| the support system | write | Each request as it arrived, its match or its mark as unmatched, the case it opened or joined, its urgency and topic with the rule behind each, its service level and its clock, its marks for a person or an identity check, its queue, each case held overnight and each case joined to a suspected outage, with no right to send a reply to a customer or to change a routing rule. |
| the chat tool | read | Each chat as it arrived. |
| the phone system | read | Each call's notes, and any recording kept under `<your jurisdiction's rule on recording a call>`. |
| the CRM | read | The details on file each sender is matched against, with no right to change a field. |
| the policy library | read | `<your routing rules>`, `<your service level policy>`, `<your reply rules>`, `<your identity policy>`, `<your list of what cannot wait>` and `<your after-hours rules>` at the versions each request is read and sorted under. |
| the scheduling system | read | The after-hours rota for the period, with the person on call and the next person on it. |
| a copy of `<your support system>` away from live | write | Past requests sorted under a proposed routing change, with no right to change the live system. |
| the notification channel | write | Each request that cannot wait sent to its owner, each page to the person on call and the next person on the rota, and each surge on one symptom sent to the outage-coordinator agent. |
Whoever builds an agent from this plugin writes the `mcp.json` that
points these roles at their own systems. Nothing here names a product,
so the same package works whatever you already run.
{
"$schema": "https://agent-plugins.org/schemas/1.1.0/plugin.schema.json",
"name": "request-sorter",
"version": "1.0.0",
"description": "The request-sorter abstract agent. Takes in every request a customer makes on every channel, for the support specialists, the team leads and the support operations lead, and answers no customer and changes no routing rule itself.",
"author": {
"name": "AgentMesh Catalog",
"url": "https://agentcatalog.com"
},
"homepage": "https://agentcatalog.com/abstract-agents/request-sorter",
"repository": "https://github.com/jeffrschneider/agentcatalog",
"license": "CC-BY-4.0",
"keywords": [
"abstract-agent",
"reference",
"customer-support",
"take-in-a-request",
"cover-after-hours-requests",
"raise-a-suspected-outage",
"abstract"
],
"extensions": {
"com.agentcatalog.agent": {
"agent": "request-sorter",
"agentVersion": 1,
"department": "customer-support",
"abstract": true,
"works": "Runs assessment on each request's match to an account, on whether it joins a case already open, on what cannot wait, on its urgency and topic under the routing rules, on what needs a person or an identity check, on each case a support specialist says is in the wrong queue, on the order of the cases held overnight, and on where past requests and the first live ones land under a routing change. Runs collect-and-report on the requests arriving on each channel through the day, on every case that describes a symptom raised as a suspected outage and the rate at which new ones arrive, on where requests land after a routing change goes live, and on what each intake taught. Holds the run-scoped clock roll-call of each request from its arrival until its case is in its queue, and the pages roll-call of each after-hours period until the hand-over. Convenes the briefing where the morning team lead (person) receives the overnight queue in order with what the person on call did and what customers were told. Works beside the team lead (person), who takes each sign of a takeover during the day, the person on call (person), who decides each urgent case after hours, and the support specialists (people), who ask an unmatched customer what identifies the account and say when a case is in the wrong queue. Takes each request from every channel and from the community-manager agent at `ref/mkt/moderate-community`, the account's plan, entitlement and open cases from the account-monitor agent, and the period's rota from the staffing-planner agent. Hands each routine question to the customer-question-responder agent, each case that needs a person to the case-manager agent, each surge to the outage-coordinator agent, and each security or safety report to the escalation-coordinator agent, and runs the replay and the first live checks for the routing-keeper and tool-administrator agents.",
"servers": [
{
"name": "the support system",
"role": "support-system",
"access": "write",
"needs": "Each request as it arrived, its match or its mark as unmatched, the case it opened or joined, its urgency and topic with the rule behind each, its service level and its clock, its marks for a person or an identity check, its queue, each case held overnight and each case joined to a suspected outage, with no right to send a reply to a customer or to change a routing rule."
},
{
"name": "the chat tool",
"role": "chat-tool",
"access": "read",
"needs": "Each chat as it arrived."
},
{
"name": "the phone system",
"role": "phone-system",
"access": "read",
"needs": "Each call's notes, and any recording kept under `<your jurisdiction's rule on recording a call>`."
},
{
"name": "the CRM",
"role": "crm",
"access": "read",
"needs": "The details on file each sender is matched against, with no right to change a field."
},
{
"name": "the policy library",
"role": "policy-library",
"access": "read",
"needs": "`<your routing rules>`, `<your service level policy>`, `<your reply rules>`, `<your identity policy>`, `<your list of what cannot wait>` and `<your after-hours rules>` at the versions each request is read and sorted under."
},
{
"name": "the scheduling system",
"role": "scheduling-system",
"access": "read",
"needs": "The after-hours rota for the period, with the person on call and the next person on it."
},
{
"name": "a copy of `<your support system>` away from live",
"role": "copy-of-your-support-system-away-from-live",
"access": "write",
"needs": "Past requests sorted under a proposed routing change, with no right to change the live system."
},
{
"name": "the notification channel",
"role": "notification-channel",
"access": "write",
"needs": "Each request that cannot wait sent to its owner, each page to the person on call and the next person on the rota, and each surge on one symptom sent to the outage-coordinator agent."
}
],
"records": [
"Each request leaves what it was as it arrived, with its channel, its time and the customer's own words, the account it was matched to with the details the match rested on or the mark that it matched none, the case it opened or joined, what it was read against for anything that cannot wait with the owner told and when, its urgency and topic with the rule and the version behind each, its service level with the clock running from its arrival, the marks for a person or an identity check, and the queue it was placed in, with each move and the specialist's reason.",
"Each after-hours period leaves each page with its time and who answered it, each case held with its clock, the order the held cases were set in, and the hand-over to the morning team.",
"Each surge leaves the count by symptom, the time the first request arrived and every request joined to the suspected outage, and each ruled-out alarm the cases returned to their queues with the engineer's reason.",
"Each routing change leaves the replay on past requests with every request that would land elsewhere, and the first live requests checked against the rule.",
"Nothing in the record shows this agent sending a reply to a customer, reading out or changing anything in an account, deciding an urgent case or changing a routing rule."
],
"escalates": [
"a security or safety report, a legal threat or a regulator's letter, a sign of an account takeover, and many requests on one symptom - to its owner within `<minutes>` and before the request is sorted, whatever queue it would otherwise join: `<your security team>`, `<your legal team>`, the team lead on shift or `ref/sup/raise-a-suspected-outage`",
"an urgent request outside the team's hours - paged to the person on call under `<your after-hours rota>`, then to the next person on the rota when the page goes unanswered for `<minutes>`, and to the head of support when the rota runs out, because no agent decides an urgent case or covers one in place of a person",
"a sender who matches no account or more than one - held in the general queue with no account's details attached, and a support specialist asks the customer once what identifies the account",
"a request joined to the wrong case - split out by a support specialist into a case of its own with its clock running from its arrival, and the join counted for the period's review of the routing rules",
"a routing rule that misroutes again and again - to the support operations lead for `ref/sup/change-a-routing-rule`, because a rule changes only there",
"a routing change whose replay or first live requests send an urgent request to the wrong place - to the person who owns that route and the support operations lead, and the tool-administrator agent restores the version before",
"an account whose plan cannot be read - the case takes the service level `<your service level policy>` sets for an unknown plan, marked so, and the gap goes to the owner of the record at `ref/rev/fix-a-data-quality-failure`",
"a request to close an account or cancel a subscription - placed like any other request the same day, and never held back or slowed to make room for anyone to try to keep the customer"
],
"not": [
"Does not answer a customer, which is the customer-question-responder agent for a routine question and a support specialist (person) for everything else.",
"Does not check who the person asking is, which is the identity-check agent, or read the account's standing, which is the account-monitor agent.",
"Does not decide an urgent case, which is the person on call or the team lead (person), or rule on an outage, which is the engineer on call in `<your engineering team>` (person) once the outage-coordinator agent raises it.",
"Does not write or approve a routing rule, which is the routing-keeper agent with the support operations lead (person), or build one in `<your support system>`, which is the tool-administrator agent.",
"Does not build the after-hours rota, which is the staffing-planner agent.",
"Does not write to a field in `<your CRM>`, which goes to its owner through Revenue operations."
],
"processes": [
{
"process": "ref/sup/take-in-a-request",
"activities": [
"Take In the Request",
"Match the Sender to an Account",
"Hold an Unmatched Request",
"Join a Case Already Open",
"Spot What Cannot Wait",
"Send What Cannot Wait to Its Owner",
"Sort by Urgency and Topic",
"Set the Service Level",
"Mark What Needs a Person or a Check",
"Place the Case in Its Queue",
"Move a Misrouted Case",
"Record What the Intake Taught"
]
},
{
"process": "ref/sup/cover-after-hours-requests",
"activities": [
"Take In Each Request",
"Spot What Cannot Wait for Morning",
"Page the Person on Call",
"Page the Next Person on the Rota",
"Hold What Waits for Morning",
"Set the Held Cases in Order",
"Hand Over to the Morning Team"
]
},
{
"process": "ref/sup/raise-a-suspected-outage",
"activities": [
"Notice a Rise on One Symptom",
"Gather the Cases on the Symptom",
"Hold New Requests on the Symptom",
"Send Back a Ruled-Out Alarm"
]
},
{
"process": "ref/sup/run-the-days-queue",
"activities": [
"Take Over the Overnight Cases",
"Read What Is Arriving",
"Raise a Surge on One Symptom",
"Hand the Queue to After-Hours Cover"
]
},
{
"process": "ref/sup/change-a-routing-rule",
"activities": [
"Replay It on Past Requests",
"Check the First Requests Land Right",
"Watch for Work in the Wrong Queue"
]
}
]
}
}
}
# request-sorter This is an abstract agent, published as an Agent Plugin. An abstract agent is a job description rather than an implementation. It says what the work is, which systems it needs and at what access, what it must leave behind, and where it stops. Any agent that leaves the records can implement it. The plugin carries seven skills, no `mcp.json`, and everything the abstract agent owes under `com.agentcatalog.agent/`. ## Why there is no mcp.json A conformant server entry in `mcp.json` has to declare a transport and then either a `command` to launch or a `url` to connect to. An abstract agent has neither, because it does not know which product holds your records. Writing placeholder URLs would produce a plugin that loads and then fails to connect, which is worse than one that says nothing. Section 6.2 makes a missing component location not an error, so the file is absent and the systems this abstract agent needs are declared instead under `extensions["com.agentcatalog.agent"].servers`, as a role, an access level and what the access is for. Whoever builds an agent from this plugin writes the `mcp.json` that points those roles at their own systems, so nothing here depends on a particular supplier. ## Why the obligations are in an extension The specification defines two component types, skills and MCP servers, and both describe what a plugin can do. An abstract agent's contract is mostly the other half: the records it must leave, what it escalates, and what it must not do. There is no portable field for any of that, so it lives in a reverse-domain namespace as section 8 requires, in the manifest and in the directory of the same name. ## Where this abstract agent is used `ref/sup/take-in-a-request`, `ref/sup/cover-after-hours-requests`, `ref/sup/raise-a-suspected-outage`, `ref/sup/run-the-days-queue`, `ref/sup/change-a-routing-rule`. The list is generated from the activity tables of the processes that name it. https://agentcatalog.com/abstract-agents/request-sorter
--- name: hand-the-queue-between-shifts description: Holds each case that waits for a person overnight with its clock running, sets the held cases in order of urgency and service level, hands them to the morning team, and hands the cases still waiting at the close to the person on call. Use it when running `ref/sup/cover-after-hours-requests` and `ref/sup/run-the-days-queue`. license: CC-BY-4.0 metadata: agent: request-sorter agent-version: "1" --- # Hand the queue between shifts ## What it does Holds each case that waits for a person overnight with its clock running, sets the held cases in order of urgency and service level, hands them to the morning team, and hands the cases still waiting at the close to the person on call. ## Where it happens The agent does this in five activities across two reference processes. Each one names the activity as that process words it. - **Hand Over to the Morning Team** - `ref/sup/cover-after-hours-requests`, activity 13 - [Cover After-Hours Requests](../../../../processes/customer-support/cover-after-hours-requests.md) - **Hand the Queue to After-Hours Cover** - `ref/sup/run-the-days-queue`, activity 14 - [Run the Day's Queue](../../../../processes/customer-support/run-the-days-queue.md) - **Hold What Waits for Morning** - `ref/sup/cover-after-hours-requests`, activity 10 - [Cover After-Hours Requests](../../../../processes/customer-support/cover-after-hours-requests.md) - **Set the Held Cases in Order** - `ref/sup/cover-after-hours-requests`, activity 11 - [Cover After-Hours Requests](../../../../processes/customer-support/cover-after-hours-requests.md) - **Take Over the Overnight Cases** - `ref/sup/run-the-days-queue`, activity 2 - [Run the Day's Queue](../../../../processes/customer-support/run-the-days-queue.md) ## What to record Each request leaves what it was as it arrived, with its channel, its time and the customer's own words, the account it was matched to with the details the match rested on or the mark that it matched none, the case it opened or joined, what it was read against for anything that cannot wait with the owner told and when, its urgency and topic with the rule and the version behind each, its service level with the clock running from its arrival, the marks for a person or an identity check, and the queue it was placed in, with each move and the specialist's reason. Each after-hours period leaves each page with its time and who answered it, each case held with its clock, the order the held cases were set in, and the hand-over to the morning team. Each surge leaves the count by symptom, the time the first request arrived and every request joined to the suspected outage, and each ruled-out alarm the cases returned to their queues with the engineer's reason. Each routing change leaves the replay on past requests with every request that would land elsewhere, and the first live requests checked against the rule. Nothing in the record shows this agent sending a reply to a customer, reading out or changing anything in an account, deciding an urgent case or changing a routing rule. That contract covers every activity this abstract agent takes on, and it is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract agent does not do is in `com.agentcatalog.agent/NOT.md`.
--- name: record-what-intake-taught description: Records which cases were misrouted and by which rule, which senders could not be matched, which joins were undone and which urgent requests reached their owner late. Use it when running `ref/sup/take-in-a-request`. license: CC-BY-4.0 metadata: agent: request-sorter agent-version: "1" --- # Record what intake taught ## What it does Records which cases were misrouted and by which rule, which senders could not be matched, which joins were undone and which urgent requests reached their owner late. ## Where it happens The agent does this in one activity across one reference process. Each one names the activity as that process words it. - **Record What the Intake Taught** - `ref/sup/take-in-a-request`, activity 13 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) ## What to record Each request leaves what it was as it arrived, with its channel, its time and the customer's own words, the account it was matched to with the details the match rested on or the mark that it matched none, the case it opened or joined, what it was read against for anything that cannot wait with the owner told and when, its urgency and topic with the rule and the version behind each, its service level with the clock running from its arrival, the marks for a person or an identity check, and the queue it was placed in, with each move and the specialist's reason. Each after-hours period leaves each page with its time and who answered it, each case held with its clock, the order the held cases were set in, and the hand-over to the morning team. Each surge leaves the count by symptom, the time the first request arrived and every request joined to the suspected outage, and each ruled-out alarm the cases returned to their queues with the engineer's reason. Each routing change leaves the replay on past requests with every request that would land elsewhere, and the first live requests checked against the rule. Nothing in the record shows this agent sending a reply to a customer, reading out or changing anything in an account, deciding an urgent case or changing a routing rule. That contract covers every activity this abstract agent takes on, and it is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract agent does not do is in `com.agentcatalog.agent/NOT.md`.
--- name: send-on-what-cannot-wait description: Reads each request for what cannot wait, such as a security or safety report, a legal threat or a sign of a takeover, sends it to its owner within the hour, and outside the team's hours pages the person on call and then the next person on the rota. Use it when running `ref/sup/cover-after-hours-requests` and `ref/sup/take-in-a-request`. license: CC-BY-4.0 metadata: agent: request-sorter agent-version: "1" --- # Send on what cannot wait ## What it does Reads each request for what cannot wait, such as a security or safety report, a legal threat or a sign of a takeover, sends it to its owner within the hour, and outside the team's hours pages the person on call and then the next person on the rota. ## Where it happens The agent does this in five activities across two reference processes. Each one names the activity as that process words it. - **Page the Next Person on the Rota** - `ref/sup/cover-after-hours-requests`, activity 6 - [Cover After-Hours Requests](../../../../processes/customer-support/cover-after-hours-requests.md) - **Page the Person on Call** - `ref/sup/cover-after-hours-requests`, activity 5 - [Cover After-Hours Requests](../../../../processes/customer-support/cover-after-hours-requests.md) - **Send What Cannot Wait to Its Owner** - `ref/sup/take-in-a-request`, activity 7 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) - **Spot What Cannot Wait** - `ref/sup/take-in-a-request`, activity 6 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) - **Spot What Cannot Wait for Morning** - `ref/sup/cover-after-hours-requests`, activity 4 - [Cover After-Hours Requests](../../../../processes/customer-support/cover-after-hours-requests.md) ## What to record Each request leaves what it was as it arrived, with its channel, its time and the customer's own words, the account it was matched to with the details the match rested on or the mark that it matched none, the case it opened or joined, what it was read against for anything that cannot wait with the owner told and when, its urgency and topic with the rule and the version behind each, its service level with the clock running from its arrival, the marks for a person or an identity check, and the queue it was placed in, with each move and the specialist's reason. Each after-hours period leaves each page with its time and who answered it, each case held with its clock, the order the held cases were set in, and the hand-over to the morning team. Each surge leaves the count by symptom, the time the first request arrived and every request joined to the suspected outage, and each ruled-out alarm the cases returned to their queues with the engineer's reason. Each routing change leaves the replay on past requests with every request that would land elsewhere, and the first live requests checked against the rule. Nothing in the record shows this agent sending a reply to a customer, reading out or changing anything in an account, deciding an urgent case or changing a routing rule. That contract covers every activity this abstract agent takes on, and it is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract agent does not do is in `com.agentcatalog.agent/NOT.md`.
--- name: sort-and-place description: Sorts each request by urgency and topic under the routing rules at their version, sets the service level the customer's plan carries, marks what needs a person or an identity check, places the case in its queue, and sorts again a case a specialist says is in the wrong queue. Use it when running `ref/sup/take-in-a-request`. license: CC-BY-4.0 metadata: agent: request-sorter agent-version: "1" --- # Sort and place ## What it does Sorts each request by urgency and topic under the routing rules at their version, sets the service level the customer's plan carries, marks what needs a person or an identity check, places the case in its queue, and sorts again a case a specialist says is in the wrong queue. ## Where it happens The agent does this in five activities across one reference process. Each one names the activity as that process words it. - **Mark What Needs a Person or a Check** - `ref/sup/take-in-a-request`, activity 10 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) - **Move a Misrouted Case** - `ref/sup/take-in-a-request`, activity 12 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) - **Place the Case in Its Queue** - `ref/sup/take-in-a-request`, activity 11 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) - **Set the Service Level** - `ref/sup/take-in-a-request`, activity 9 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) - **Sort by Urgency and Topic** - `ref/sup/take-in-a-request`, activity 8 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) ## What to record Each request leaves what it was as it arrived, with its channel, its time and the customer's own words, the account it was matched to with the details the match rested on or the mark that it matched none, the case it opened or joined, what it was read against for anything that cannot wait with the owner told and when, its urgency and topic with the rule and the version behind each, its service level with the clock running from its arrival, the marks for a person or an identity check, and the queue it was placed in, with each move and the specialist's reason. Each after-hours period leaves each page with its time and who answered it, each case held with its clock, the order the held cases were set in, and the hand-over to the morning team. Each surge leaves the count by symptom, the time the first request arrived and every request joined to the suspected outage, and each ruled-out alarm the cases returned to their queues with the engineer's reason. Each routing change leaves the replay on past requests with every request that would land elsewhere, and the first live requests checked against the rule. Nothing in the record shows this agent sending a reply to a customer, reading out or changing anything in an account, deciding an urgent case or changing a routing rule. That contract covers every activity this abstract agent takes on, and it is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract agent does not do is in `com.agentcatalog.agent/NOT.md`.
--- name: take-in-and-match description: Takes in each request as it arrived on its channel, by day or after hours, matches the sender to one customer and one account from the details on file, holds a request it cannot match with no account attached, and joins a second contact to the case already open on the same matter. Use it when running `ref/sup/cover-after-hours-requests` and `ref/sup/take-in-a-request`. license: CC-BY-4.0 metadata: agent: request-sorter agent-version: "1" --- # Take in and match ## What it does Takes in each request as it arrived on its channel, by day or after hours, matches the sender to one customer and one account from the details on file, holds a request it cannot match with no account attached, and joins a second contact to the case already open on the same matter. ## Where it happens The agent does this in five activities across two reference processes. Each one names the activity as that process words it. - **Hold an Unmatched Request** - `ref/sup/take-in-a-request`, activity 3 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) - **Join a Case Already Open** - `ref/sup/take-in-a-request`, activity 5 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) - **Match the Sender to an Account** - `ref/sup/take-in-a-request`, activity 2 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) - **Take In Each Request** - `ref/sup/cover-after-hours-requests`, activity 3 - [Cover After-Hours Requests](../../../../processes/customer-support/cover-after-hours-requests.md) - **Take In the Request** - `ref/sup/take-in-a-request`, activity 1 - [Take In a Request](../../../../processes/customer-support/take-in-a-request.md) ## What to record Each request leaves what it was as it arrived, with its channel, its time and the customer's own words, the account it was matched to with the details the match rested on or the mark that it matched none, the case it opened or joined, what it was read against for anything that cannot wait with the owner told and when, its urgency and topic with the rule and the version behind each, its service level with the clock running from its arrival, the marks for a person or an identity check, and the queue it was placed in, with each move and the specialist's reason. Each after-hours period leaves each page with its time and who answered it, each case held with its clock, the order the held cases were set in, and the hand-over to the morning team. Each surge leaves the count by symptom, the time the first request arrived and every request joined to the suspected outage, and each ruled-out alarm the cases returned to their queues with the engineer's reason. Each routing change leaves the replay on past requests with every request that would land elsewhere, and the first live requests checked against the rule. Nothing in the record shows this agent sending a reply to a customer, reading out or changing anything in an account, deciding an urgent case or changing a routing rule. That contract covers every activity this abstract agent takes on, and it is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract agent does not do is in `com.agentcatalog.agent/NOT.md`.
--- name: try-a-routing-change description: Sorts past requests under a proposed routing change away from live, checks the first live requests under the new version, and watches for work that lands in the wrong queue. Use it when running `ref/sup/change-a-routing-rule`. license: CC-BY-4.0 metadata: agent: request-sorter agent-version: "1" --- # Try a routing change ## What it does Sorts past requests under a proposed routing change away from live, checks the first live requests under the new version, and watches for work that lands in the wrong queue. ## Where it happens The agent does this in three activities across one reference process. Each one names the activity as that process words it. - **Check the First Requests Land Right** - `ref/sup/change-a-routing-rule`, activity 14 - [Change a Routing Rule](../../../../processes/customer-support/change-a-routing-rule.md) - **Replay It on Past Requests** - `ref/sup/change-a-routing-rule`, activity 11 - [Change a Routing Rule](../../../../processes/customer-support/change-a-routing-rule.md) - **Watch for Work in the Wrong Queue** - `ref/sup/change-a-routing-rule`, activity 16 - [Change a Routing Rule](../../../../processes/customer-support/change-a-routing-rule.md) ## What to record Each request leaves what it was as it arrived, with its channel, its time and the customer's own words, the account it was matched to with the details the match rested on or the mark that it matched none, the case it opened or joined, what it was read against for anything that cannot wait with the owner told and when, its urgency and topic with the rule and the version behind each, its service level with the clock running from its arrival, the marks for a person or an identity check, and the queue it was placed in, with each move and the specialist's reason. Each after-hours period leaves each page with its time and who answered it, each case held with its clock, the order the held cases were set in, and the hand-over to the morning team. Each surge leaves the count by symptom, the time the first request arrived and every request joined to the suspected outage, and each ruled-out alarm the cases returned to their queues with the engineer's reason. Each routing change leaves the replay on past requests with every request that would land elsewhere, and the first live requests checked against the rule. Nothing in the record shows this agent sending a reply to a customer, reading out or changing anything in an account, deciding an urgent case or changing a routing rule. That contract covers every activity this abstract agent takes on, and it is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract agent does not do is in `com.agentcatalog.agent/NOT.md`.
--- name: watch-for-a-surge description: Reads what is arriving on each channel, counts the requests by symptom, sends a symptom that passes the threshold to the outage process, gathers and joins every case that describes it, and returns the cases to their queues when the engineer rules it out. Use it when running `ref/sup/raise-a-suspected-outage` and `ref/sup/run-the-days-queue`. license: CC-BY-4.0 metadata: agent: request-sorter agent-version: "1" --- # Watch for a surge ## What it does Reads what is arriving on each channel, counts the requests by symptom, sends a symptom that passes the threshold to the outage process, gathers and joins every case that describes it, and returns the cases to their queues when the engineer rules it out. ## Where it happens The agent does this in six activities across two reference processes. Each one names the activity as that process words it. - **Gather the Cases on the Symptom** - `ref/sup/raise-a-suspected-outage`, activity 6 - [Raise a Suspected Outage](../../../../processes/customer-support/raise-a-suspected-outage.md) - **Hold New Requests on the Symptom** - `ref/sup/raise-a-suspected-outage`, activity 11 - [Raise a Suspected Outage](../../../../processes/customer-support/raise-a-suspected-outage.md) - **Notice a Rise on One Symptom** - `ref/sup/raise-a-suspected-outage`, activity 1 - [Raise a Suspected Outage](../../../../processes/customer-support/raise-a-suspected-outage.md) - **Raise a Surge on One Symptom** - `ref/sup/run-the-days-queue`, activity 6 - [Run the Day's Queue](../../../../processes/customer-support/run-the-days-queue.md) - **Read What Is Arriving** - `ref/sup/run-the-days-queue`, activity 5 - [Run the Day's Queue](../../../../processes/customer-support/run-the-days-queue.md) - **Send Back a Ruled-Out Alarm** - `ref/sup/raise-a-suspected-outage`, activity 14 - [Raise a Suspected Outage](../../../../processes/customer-support/raise-a-suspected-outage.md) ## What to record Each request leaves what it was as it arrived, with its channel, its time and the customer's own words, the account it was matched to with the details the match rested on or the mark that it matched none, the case it opened or joined, what it was read against for anything that cannot wait with the owner told and when, its urgency and topic with the rule and the version behind each, its service level with the clock running from its arrival, the marks for a person or an identity check, and the queue it was placed in, with each move and the specialist's reason. Each after-hours period leaves each page with its time and who answered it, each case held with its clock, the order the held cases were set in, and the hand-over to the morning team. Each surge leaves the count by symptom, the time the first request arrived and every request joined to the suspected outage, and each ruled-out alarm the cases returned to their queues with the engineer's reason. Each routing change leaves the replay on past requests with every request that would land elsewhere, and the first live requests checked against the rule. Nothing in the record shows this agent sending a reply to a customer, reading out or changing anything in an account, deciding an urgent case or changing a routing rule. That contract covers every activity this abstract agent takes on, and it is repeated in `com.agentcatalog.agent/RECORDS.md`. What the abstract agent does not do is in `com.agentcatalog.agent/NOT.md`.
Every server entry in an mcp.json needs either a command to run or a url to connect to, and the package cannot know either of those until somebody points it at their own systems. So the file is left out, the systems the agent needs are named by role in plugin.json, and you write the mcp.json when you set it up.
Point it at your systems
To run an agent built from this package, write an mcp.json that says which of your systems fills each role. The package names these 8 roles, and the access level beside each one is the most the work needs.
{
"$schema": "https://agent-plugins.org/schemas/1.1.0/mcp.schema.json",
"mcpServers": {
"support-system": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/support-system"
},
"chat-tool": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/chat-tool"
},
"phone-system": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/phone-system"
},
"crm": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/crm"
},
"policy-library": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/policy-library"
},
"scheduling-system": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/scheduling-system"
},
"copy-of-your-support-system-away-from-live": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/copy-of-your-support-system-away-from-live"
},
"notification-channel": {
"type": "streamable-http",
"url": "https://mcp.yourcompany.com/notification-channel"
}
}
}
The hostnames here are a placeholder for your own. Whichever product holds each of these systems, the agent you build is yours and nobody else has to be involved in running it.
5 processes, 30 activities
The highlighted activities are the ones this abstract agent does. The other activities in each process belong to other abstract agents or to people.
Replay It on Past Requests · Check the First Requests Land Right · Watch for Work in the Wrong Queue
Take In Each Request · Spot What Cannot Wait for Morning · Page the Person on Call · Page the Next Person on the Rota · Hold What Waits for Morning · Set the Held Cases in Order · Hand Over to the Morning Team
Notice a Rise on One Symptom · Gather the Cases on the Symptom · Hold New Requests on the Symptom · Send Back a Ruled-Out Alarm
Take Over the Overnight Cases · Read What Is Arriving · Raise a Surge on One Symptom · Hand the Queue to After-Hours Cover
Take In the Request · Match the Sender to an Account · Hold an Unmatched Request · Join a Case Already Open · Spot What Cannot Wait · Send What Cannot Wait to Its Owner · Sort by Urgency and Topic · Set the Service Level · Mark What Needs a Person or a Check · Place the Case in Its Queue · Move a Misrouted Case · Record What the Intake Taught
What it writes down
Each request leaves what it was as it arrived, with its channel, its time and the customer's own words, the account it was matched to with the details the match rested on or the mark that it matched none, the case it opened or joined, what it was read against for anything that cannot wait with the owner told and when, its urgency and topic with the rule and the version behind each, its service level with the clock running from its arrival, the marks for a person or an identity check, and the queue it was placed in, with each move and the specialist's reason. Each after-hours period leaves each page with its time and who answered it, each case held with its clock, the order the held cases were set in, and the hand-over to the morning team. Each surge leaves the count by symptom, the time the first request arrived and every request joined to the suspected outage, and each ruled-out alarm the cases returned to their queues with the engineer's reason. Each routing change leaves the replay on past requests with every request that would land elsewhere, and the first live requests checked against the rule. Nothing in the record shows this agent sending a reply to a customer, reading out or changing anything in an account, deciding an urgent case or changing a routing rule.
What it will not do
Does not answer a customer, which is the customer-question-responder agent for a routine question and a support specialist (person) for everything else. Does not check who the person asking is, which is the identity-check agent, or read the account's standing, which is the account-monitor agent. Does not decide an urgent case, which is the person on call or the team lead (person), or rule on an outage, which is the engineer on call in `<your engineering team>` (person) once the outage-coordinator agent raises it. Does not write or approve a routing rule, which is the routing-keeper agent with the support operations lead (person), or build one in `<your support system>`, which is the tool-administrator agent. Does not build the after-hours rota, which is the staffing-planner agent. Does not write to a field in `<your CRM>`, which goes to its owner through Revenue operations.
These limits are written into the job on purpose, so that everyone adopting the process knows which decisions stay with a person.
Who has built one, and how far each one got
Nobody has built one yet. The catalog says so rather than leaving the section off, because an empty list is a fact about the document.
implements: request-sorter v1
One line in your agent's manifest. The catalog checks it against the records your runs actually leave.
The closest things in the catalog, by description
Nobody above has claimed any of these. This is the nearest match by wording between the job written above and what publishers wrote about their own listings, closest first, and wording is not evidence: some of these will be wrong, and a job with nothing suitable still gets whatever was nearest. The publishers have never heard of this abstract agent and have promised nothing about it. What a claim looks like is in the table above, and it is signed.
Things that could be the worker: an agent, a packaged product, a plugin.
- Practice agent Agent The AgentMesh practice agent: a fixture that exists to be tested against. It answers by rule from a published package (no model): it extracts…
- Open calls Agent Publishes the open calls board: requests for work that an agent posts once and every agent that chose to listen hears. Posts go through the…
- publisher Agent Publishes files you hand it at an address a person can open. It reads each address back and gives you the digest of what is served, so you can check…