Sharkly Labels: Route AI Agent Work by Area

Want Sharkly labels to pick which agent works a task? Learn how to build a single-choice area group, route it with one comment, and save a View.

Ryan Mitchell

Ryan Mitchell

24 November 2026

Sharkly Labels: Route AI Agent Work by Area

Sharkly labels are colored tags on tasks, scoped to the whole organization or to one Space. Put related labels in a single-choice group and a task can carry only one of them, which makes a group like area safe to route on: one comment, one agent, no guessing.

This tutorial builds that for real. You’ll create an area group in a working Space, label the existing tasks, add an automation that hands each task to the agent who owns its area, and save a View that shows the result. By the end you have a board where one label decides which agent picks up the work.

The job: one label that picks the agent

The demo team is Cancel Anything, a small subscription-cancelling CLI built by five agents in Sharkly: Juno (PM), Bolt (engine), Hex (recipes), Vera (QA) and Echo (support). They already label every task with three groups: category (streaming, gym, telecom), dark-pattern (retention-offer, hidden-link) and region (us, eu, uk). Those describe the subscription a task is about. None of them says which part of the codebase it touches, so a human still decides who works it.

The fix is a fourth group, area, with four values that map one-to-one to an owner.

Before you start

You need three things in place:

  1. A Space you administer. Space Administrators manage Space labels; Organization Owners and Admins manage org labels.
  2. A connected Computer with a runtime, so agents can run. See the Computers docs.
  3. At least two agents with distinct jobs. Cancel Anything uses the five agents above; Vera only works through the Crew.

Step-by-step: set up Sharkly labels and route on them

Step 1: Look at the labels you already have

Open Settings, pick your Space under Your spaces, and click Task labels. The scope picker at the top switches between Organization and Space.

Organization labels in Cancel Anything: the category, dark-pattern and region groups every Space can use

Under Organization, Cancel Anything shows its three groups. Each group has a menu; the badge next to dark-pattern reads Multi-select, because one cancel flow can use several tricks at once. category and region are single-choice: a subscription is one kind of service, sold in one region.

Organization labels work in every Space. Space labels work only in their own Space, and a task moved to another Space loses them, according to the task labels help page. Code areas belong to one project, so area goes in the Space.

Step 2: Create a single-choice area group

Switch the scope to Space and click New single-choice group. Name it area and give it a description your agents can read: “Which part of Cancel Anything the task touches. Decides who works it.” Then open the group’s menu, choose Add label to group, and add four labels with one-line descriptions:

Label Description Owner
engine Runner, browser driver, CLI Bolt
recipes One company’s cancel flow as a recipe Hex
docs README, recipe guide, CONTRIBUTING Juno
support User reports and replies Echo
The CAAN Space's own labels: the new area group with engine, recipes, docs and support

The descriptions matter more than they look. The router agent reads them, and so does anyone labeling a task at 11 p.m.

To check the group type, open the group menu and hover Group type. Single-select carries a check mark; Multi-select is the other option.

The group menu's Group type choice, where a group is switched between single-choice and multi-select

Single-select is the whole point. If a task could be both engine and recipes, the router would have to pick, and you’d be back to a human deciding. With single-select, choosing recipes on an engine task replaces the old value instead of adding a second one.

Now label your tasks. Open a task, click + next to Labels in the Properties panel, and pick one area value. For bulk work, select several tasks in a list and change labels in one batch action. Cancel Anything labeled 15 existing tasks: engine work, recipe tasks, one docs task and one support request.

Step 3: Route by label with an automation

Labels don’t assign anyone by themselves. An automation does. Open Automations in the Space, click to create one, and set:

  • Title: Route by area label
  • Agent: Juno (a PM agent that only reads and delegates)
  • Trigger: New comment on task, matching a comment that contains /route

The instructions are a lookup table. Juno reads the task with sharkly task view, finds its area label and delegates the task with sharkly task edit --delegate-agent:

area/engine   -> Bolt
area/recipes  -> Hex
area/docs     -> Juno
area/support  -> Echo
No area label -> comment "No area label yet", assign nobody

Two guard rails live in the instructions: don’t touch status, labels or text, and never write the trigger word back in a comment, or the automation fires on its own reply.

The Route by area label automation: a comment trigger on /route, running on Juno, with the area-to-agent table in its instructions
Schema diagram: a task with one area label gets a /route comment; the Route by area label automation runs Juno, who reads the single area label and hands the task to Bolt for engine, Hex for recipes, Juno for docs or Echo for support; a task with no area label gets a comment and no assignee

Why a comment trigger instead of firing on every label change? A comment is deliberate. Someone can label ten tasks during triage and route only the three that are ready.

Step 4: Filter and group the board by label

Open the Space’s task list and click New view. Name it “Work by area”, click Filter, choose Label, and select all four area values. Save it, and the View shows up as a tab next to the Space’s other saved Views. Then open Display settings and choose how to lay it out: columns by Status or Assignee, rows grouped by Label. More on saved layouts in the Views tutorial.

The saved Work by area View: only tasks with an area label, each card showing its area

Every card carries its area label, so the gaps show at a glance: here 15 tasks still sit under No assignee, which is exactly what the router is for.

The real result

We filed a real support request as CAAN-24: a user asking whether a run keeps their login or cookies afterwards, and how to wipe them. It got area/support and a /route comment.

CAAN-24 with the area/support label and Juno's Routed to Echo comment in its activity

Juno picked it up 25 seconds after the comment. It posted “Routed to Echo (area/support)” and set Echo as the agent. Echo then ran on its own and drafted a reply as a comment: the browser profile folder a run keeps, the receipts folder, and how to delete both, each answer pointing at the README section or source file it came from. A human reviewed the draft and asked for one change before it goes out. Two agent runs, no human assignment step.

What went wrong for us

  • The help page and the app disagree on group types. The help page describes single-choice groups and ungrouped labels. The app today also offers Multi-select groups under Group type. We used it for dark-pattern, which had been single-choice and was blocking tasks that use two tricks. Trust the app.
  • Automations don’t filter on labels. The trigger can match a comment phrase, a status change, a schedule or a webhook, but not “label is X”. The label check lives in the agent’s instructions, so write them as a strict table.
  • The trigger matches a substring. Our first draft of the instructions had Juno quote the trigger in its confirmation, which would have re-fired the automation. The “never write the trigger word” line fixed it.

Variations

An agency with client Spaces. Make client an organization label group so it survives when work moves between Spaces, and make area per Space. Route on area, report on client.

A platform team with on-call rotation. Use a single-choice severity group (sev1 to sev3) next to area. The router delegates sev1 to the on-call agent regardless of area, and everything else by area.

Labels vs task types vs custom fields

Pick the lightest tool that holds the information:

Use When Cancel Anything example
Task type The work needs its own workflow or fields Build, Recipe, Bug, Request
Label A quick, scannable tag, possibly several per task area/recipes, region/eu
Custom field A structured value you sort or compute on Not used yet; a “cancel steps” count would fit

Labels don’t change a task’s workflow or field set. If a value needs its own statuses, make it a task type.

Recap checklist

  • [ ] Existing org and Space labels reviewed
  • [ ] area created as a Space-scoped, single-select group with descriptions
  • [ ] Every open task has exactly one area label
  • [ ] Route by area label automation with a comment trigger and a strict lookup table
  • [ ] One real task routed and the agent’s run checked
  • [ ] “Work by area” View saved

Sharkly is currently free for teams of up to 5. Create your workspace, add an area group, and route your next task with one comment. The full label reference is in the Sharkly docs.

FAQ

What is a single-choice label group in Sharkly?

A group whose labels are mutually exclusive on a task. Picking a second label from the group replaces the first, so a task always has at most one value.

Can Sharkly automations trigger on a label?

Not directly today. Triggers fire on comments, status changes, schedules and webhooks. Put the label check in the agent’s instructions, as in Step 3.

Should I use organization or Space labels?

Organization labels for values every Space shares, such as client or region. Space labels for values tied to one codebase, such as code areas.

What happens to labels when a task moves to another Space?

Organization labels stay. Labels owned by the source Space are removed, so re-label the task in its new Space.

Can I bulk-apply labels?

Yes. Select several tasks in a task list and change labels in one batch action.

Explore more

Sharkly Webhook Automations: Start an Agent Run From Any Script or Alert

Sharkly Webhook Automations: Start an Agent Run From Any Script or Alert

Need a failing script to wake an agent? Learn how a Sharkly webhook automation turns one POST into an agent run and a triaged Bug, step by step.

24 November 2026

How to Track a Launch Across Teams With Sharkly Projects

How to Track a Launch Across Teams With Sharkly Projects

Launch work split across teams? Learn how Sharkly Projects pull tasks from two Spaces into one progress bar, with agents doing half the work.

24 November 2026

How to Build a Board for Agent Work in Review With Sharkly Views

How to Build a Board for Agent Work in Review With Sharkly Views

Agent work piling up in QA? Learn how Sharkly Views turn it into one shared review board, with a column per reviewer and a team default.

24 November 2026

Sharkly Labels: Route AI Agent Work by Area