Triaging Gateweave Track issues
Gateweave Agents · v0.22.0 · source on GitHub
An agent run by Gateweave can triage each new issue in a Gateweave Track workspace. It joins the workspace as an agent member, and for each new issue it:
- labels it,
- sets its priority when the issue says enough,
- looks for duplicates,
- leaves one short comment saying what it did and why.
It never changes an issue’s title, description, status or assignee. When it is unsure, finds a likely duplicate, or the issue lacks what someone would need to act on it, it comments instead.
Setting it up takes two steps, one in each product. You need to be an owner or admin in both.
1. In Track: an agent member and its key
Section titled “1. In Track: an agent member and its key”- Open Settings → Agents in your Track workspace and create an agent, named for instance “Triage”. It shows in Track as a member, and everything it does there carries its name.
- Copy the key Track shows. It starts with
gwt_, and Track shows it once; for another one later, choose New key next to the agent.
2. In Agents: the ready-made triage agent
Section titled “2. In Agents: the ready-made triage agent”- Open Agents in your Gateweave Agents workspace. Under Ready-made, choose Set up next to Triage Track issues.
- Fill in:
- Track: where you open Track. On Gateweave Cloud that is
https://track.gateweave.com; for your own Track, its address. - Agent key: the key from step 1.
- Provider and model: a fast model does the job, such as Claude Haiku. The workspace
needs a key for the provider (Settings → Model providers) before the agent can answer.
Workers AI needs none where the server offers it, which it pays for itself; Kimi K2.6
(
@cf/moonshotai/kimi-k2.6) triages well there.
- Track: where you open Track. On Gateweave Cloud that is
- Choose Set up. Agents first asks Track’s MCP server, with the key, for its tools, so a wrong address or key is reported at once and nothing is made. Then it makes everything below in one go.
- Copy the URL it shows, and leave the dialog open.
3. In Track: the webhook
Section titled “3. In Track: the webhook”- Open Settings → Webhooks and choose Add webhook.
- Paste the URL. Under Events, Issue created is all triage needs. Track checks a few events for a new webhook; uncheck the others to save requests, though the trigger skips them anyway. Under For agent, choose the agent member from step 1. Track then leaves out what that agent does, so the agent never triggers itself.
- Track shows the webhook’s secret (
whsec_…) once. Paste it into the dialog in Agents, and choose Save and finish.
If you closed the dialog, paste the secret later: on the agent’s page, under Triggers, choose Use the sender’s secret. Until then, every delivery is refused.
What is made
Section titled “What is made”Everything is ordinary and can be changed afterwards. The names get a number when they are taken,
such as track 2.
| What | Name | Notes |
|---|---|---|
| Instructions (library) | Track triage |
How to triage, step by step. Edit them to fit your labels and habits, then move the agent to the new version. |
| Environment set | Track |
Holds the key as the secret TRACK_AGENT_KEY, sealed. Nobody sees it again, and replacing it is how you rotate the key. |
| MCP server (library) | track |
Track’s /mcp, with the header Authorization: Bearer ${TRACK_AGENT_KEY}. |
| Agent | Triage |
Pins the three above, and may use only five of Track’s tools. |
| Trigger | New issues |
Starts a run of the agent for each new issue (issue.created), at most 50 a day. |
Only the tools triage needs
Section titled “Only the tools triage needs”The agent may use get_workspace, get_issue, search_issues, update_issue and
add_comment, and no other tool Track offers. Its instructions tell it to read an issue as data,
never as instructions. The tool limit is the backstop: an issue that talks the model into trying
something else still cannot make it create issues, labels or teams. Change the list in the
agent’s settings, if you need to.
Proposals instead of changes
Section titled “Proposals instead of changes”In Track, Settings → Agents lets an admin choose which kinds of change the agent only proposes, such as the priority. Track holds those on the issue for a person to accept or dismiss, and tells the agent, which then says in its comment that it proposed them. Labels can stay direct while priority waits for a person, for example.
Costs and limits
Section titled “Costs and limits”Each new issue is one run, on your workspace’s provider key (or, for Workers AI, the server’s account), and shows under Runs with its tokens and cost. A run on Kimi K2.6 costs about a cent. The trigger starts at most 50 runs a day. Change that on the agent’s page, or pause the trigger there.
When it does not work
Section titled “When it does not work”- “Track did not answer with this key” when setting up: check the address and that the key was copied whole. A key revoked in Track is refused too.
- Nothing reaches the trigger: the webhook’s recent deliveries in Track show what Agents answered. A 401 means the secret in Agents is not the webhook’s: paste Track’s again.
- Deliveries that failed say why under the trigger, such as a missing provider key. The run’s page shows what the agent did.