agentscope diagnose: how to find what is wrong, in English
agentscope
expired leases
Graph
Quota
Guardrails
Diagnostics
Theme: Light
English
Sessions (t)
denied
waiting for the collector...
Sonnet 4
Opus 3
? 1
d3m00001 acme-demo/web-shop
d3m00002 acme-demo/api-gateway
d3m00003 example-labs/notebook
d3m00004 example-labs/docs-site
d3m00005 acme-demo/web-shop (cwd)
d3m00006 acme-demo/billing
other repositories
d3m00001
demo reviewer
demo tester
acme-demo/web-sh…
d3m00002
demo explorer
acme-demo/api-gat…
d3m00003
example-labs/noteb…
d3m00004
example-labs/docs-…
d3m00006
acme-demo/billing
acme-demo/old-site
+ example-labs (3)
session
reviewer
idle session
no transcript
tester
held repo
explorer
repo
org
denied
6 of 6 sessions shown (3 active in 10m0s) | 3 sub-agents | 9 repos (5 held) | 1 tells | 3 anomalies
connected
Any activity
Context
ACTIVE
190k / 200k
demo: Add the checkout page
150k / 200k
Sonnet 5.5
acme-demo/api-gateway
demo: Rate-limit the public API
example-labs/notebook
demo: Fix the notebook export
22k / 200k
example-labs/docs-site
demo: install guide, held while i…
(no data)
ANOMALIES (3): shown, not hidden
acme-demo/api-gat…
d3m00005
session
reviewer
tester
held repo
repo
org
denied
explorer
Sessions and details
State
Session
Model
Repository
Task
Last
Agents
Opus 5.5
acme-demo/web-shop
3m
2
6m
1
91k / 200k
9m
0
idle
Haiku 5
3h
0
Details
Context of
lease owner has no transcript: d3m00006 - acme-demo/billing
tell from unknown session: d3m0ffff - tell to d3m00002
unparsable line: d3m00003 - line 412
Sessions
All states
session d3m00005
15k / 200k
session d3m00005-0000-4000-8000-000000000005
state: idle, last activity 2h ago
task: Triage open issues
model: Sonnet 5.5 (claude-sonnet-5-5)
- example-labs (3)
example-la…/bench…
example-…/noteboo…
example…/notebook…
demo: the checkout page needs the new rate limit
demo reviewer
span
7 days
4 x 7 days
tokens (4 x 7 days)
output
cache read
Rename...
Colour...
100 %
Acme Lab
Personal
Accounts: usage and capacity left
capacity left: 0.79 account-weeks (2 of 4 accounts counted)
account
All (aggregated)
5 h
0 %
50 %
Thu Jan 10 10:00
Thu Jan 17 10:00
Output tokens
Sonnet
Haiku
Fable
Cache-read tokens
Opus
Sonnet
Haiku
Fable
Acme Lab - active
Official usage (each window, in %)
Opus
Opus
Sonnet
Haiku
Fable
Dec 20 10:00
Jan 17 10:00
Cumulative tokens by day of the week
this week (in progress)
Tokens per week
day 7
Official weekly usage, in % (recorded)
0 %
50 %
100 %
Jan 17 10:00
official weekly % per week, oldest first: not recorded, 30 %, not recorded, 60 % (in progress)
100 %
Dec 18 10:00
Jan 15 10:00
Weekly reset
Active
team
91 %
97 %
0.03
active
max
12 %
24 %
0.76
Sat Jan 19 12:00
Dec 18 10:00
Jan 15 10:00
Official weekly usage by account, in %, each account's resets marked
0 %
50 %
Account
Plan
5 h
Weekly
Weeks left
Rename...
Colour...
Tokens per calendar day, all accounts
unattributed
0
25.8G
51.5G
capacity left: 0.79 account-weeks (2 of 4 accounts counted) | aiquota: quota API: HTTP 429 (too many requests)
max
12 %
24 %
0.76
Sat Jan 19 12:00
Rename an account
Select a row, then Rename...: a display name makes the charts readable. Nothing is saved until OK.
Rename account
Display name (empty removes it)
Cancel
OK
Side project
Colour an account
Colour... gives an account its own colour in every chart and in the table, so two accounts are never confused. Reset goes back to automatic.
team
91 %
97 %
0.03
active
decision
All decisions
Recurrences per week (dashed lines: a gate landed)
0
Gate refusals per week, by gate
Lesson
Recur.
Last
Decision
Gate
After gate
Flag
pushed-to-the-default-branch
pre-push hook refuses the default branch
1
retry-without-backoff
2
2029-09-04
gate
a retry helper with jitter
0
SILENT
stale-clone-reused
2
2029-08-15
no-gate
a judgement call, no gate can exist
0
token-in-a-url
3
2029-10-11
gate
wrong-timezone-assumed
guard-bash refuses a token in a command line
0
unchecked-exit-code
1
-
untriaged
0
4
2029-12-20
pending
gate to be written
0
Selected lesson
6 lessons; 2 undated recurrences are not on the chart; 1 dated ones have an inferred year (drawn as their own line)
untriaged 1
leaking gates 1
silent gates 1
refusals 14 this week, 9 last
2
3
recurrences (dated)
year inferred
Oct 29
Jan 21
guard-bash
prwait
gitpush
0
24
48
Oct 29
Jan 21
Lessons
Flag
Recur.
Last
Decision
Gate
After gate
Not measured is not zero
GitHub REST budget
Token
Who spent the last hour
Session
Program
Lease queues
Resource
Refusals (last 2 h)
Session
Gate
Refused
Last
Alarm
Select a row to read the gates' latest words to that session.
reading the lease queues...
reading the transcripts...
Holder
Until
Waiting, in order
not measured: no readable token file; ledger empty
Resource
Left
Resets
Read
Calls
Units
-
unattributed
-
not measured
partly measured: 1 queue file(s) unreadable
Holder
Until
Waiting, in order
10:10
1 d3m00005 (4m)
Alarm
burst
Refused
Last
read from the transcripts; a session refused three times by one gate within 15 minutes, or whose last three tool results were all refusals, is red
Who the gates refuse
Diagnostics, fourth pane: which session was refused by which gate in the last two hours, read from the transcripts. A session refused three times by one gate within fifteen
minutes is red; select a row to read the gates' own words, with secrets removed. Before the first pass it says not measured, never none.
agentscope
Sonnet 4
Opus 3
Context of
connected
? 1
expired leases
Theme: Dark
English
Sessions (t)
Graph
Quota
Guardrails
Diagnostics
session
reviewer
tester
held repo
explorer
repo
org
denied
Sessions
All states
State
Session
Model
Repository
Task
Last
Agents
Opus 5.5
3m
2
6m
1
91k / 200k
9m
0
idle
Haiku 5
3h
0
Details
connecting
Is it connected?
The chip beside the name says connecting: nothing has arrived yet, and the status line says it is waiting for the collector. An empty screen is not an idle fleet.
cannot dial: connection refused
Cannot dial
The chip now reads cannot dial: connection refused. The server is not running, or the address is wrong. Fix that before reading anything else on the screen.
d3m00005
Connected: the graph
The status line counts sessions, active ones, agents, repositories, held leases, tells and anomalies. Each cluster is a session; its colour says active, idle or no transcript. The
header counts the models in use.
d3m00005
Sessions and details
Sessions
All states
State
Session
Model
Repository
Task
Last
Agents
Opus 5.5
acme-demo/web-shop
3m
2
6m
1
91k / 200k
9m
0
idle
Haiku 5
3h
0
Details
Context of
lease owner has no transcript: d3m00006 -
acme-demo/billing
tell from unknown session: d3m0ffff - tell to
The Sessions panel
Sessions (t) opens the table: state, context gauge, model, repository, task, last activity and number of sub-agents. One row per session.
Make room
Drag the panel's left edge, the divider between Sessions and Details, or a column border. The layout is yours, and it is kept for your next visit.
Opus 5.5
3m
2
session d3m00001
session d3m00001-0000-4000-8000-000000000001
state: ACTIVE (written within 10m0s), last activity 3m ago
task: demo: Add the checkout page
model: Opus 5.5 (claude-opus-5-5)
Context pressure
Select a session: the gauge is its context over the compaction window. Calm under 40 percent, then fair, warm, hot from 75, critical from 90. At 95 percent this session is about
to be compacted.
reviewer a00
sub-agent a00
type: reviewer
state: ACTIVE
spawn depth: 1
Sub-agents
A sub-agent has a context of its own. The reviewer spawned by this session is at 75 percent: hot, although its parent looks fine. Select its node for its type, its depth and its
parent.
idle
Haiku 5
3h
0
session d3m00004
session d3m00004-0000-4000-8000-000000000004
state: idle, last activity 3h ago
task: demo: install guide, held while idle
model: Haiku 5 (claude-haiku-5)
Idle, but holding
Idle for 3 hours, this session still holds example-labs/docs-site until its lease expires. Anyone else who needs that repository waits for it.
session d3m00006
- / 200k
session d3m00006-0000-4000-8000-000000000006
state: no transcript found, last activity 50m ago
task: demo: migrate the billing schema
model: ? (none seen)
No transcript
State no tr.: the session holds a lease, but there is no transcript to show it is alive. Treat the lease as suspect: its owner may be gone.
Expired leases
Tick expired leases: dashed edges show the leases that ran out. They are history, listed in the details with how long ago they ended. A repository nobody holds is free to take.
Folded repositories
Repositories nobody holds are folded by organisation: + example-labs (3). Enter, or a second click, unfolds it; Escape folds it again.
tell d3m00001 -> d3m00002 (session)
at 2030-01-15 09:58:00
Tells
A tell is a message from one session to another, always drawn. Select its edge to read who sent it, to whom and when: it explains a change of plan you did not ask for.
Anomalies
With nothing selected, the details list the ANOMALIES: shown, never hidden. An orphan lease, a tell from an unknown session, an unparsable line. The status line counts them.
rate
x
demo tester
d3m00005
6m
1
no tr.
- / 200k
?
demo: migrate the billing schema
50m
0
2 of 6 sessions shown (3 active in 10m0s) | 3 sub-agents | 9 repos (5 held) | 1 tells | 3 anomalies
Search
Typing in the search box dims the graph and narrows the table to the sessions that match. Here: the rate-limit work.
Active
< 1 h
3 of 6 sessions shown (3 active in 10m0s) | 3 sub-agents | 9 repos (5 held) | 1 tells | 3 anomalies
Filters
State, last activity, repository and model filters combine with the search. The status line says how many sessions the filters leave out of how many exist.
Clear filters
One button puts every filter back to all. If the table looks empty, look at the filters before you suspect the collector.
Official usage by account (each window, in %)
0 %
50 %
Tue Jan 8 10:00
Tue Jan 15 10:00
Output tokens
Cache-read tokens
Account
Plan
5 h
Weekly
Weeks left
Weekly reset
Active
Quota: all accounts
The Quota tab adds up every account: the official usage of each window in percent, the tokens per day, and the accounts table. Choose a span and a kind of token to change
the charts.
reset Thu Jan 17 10:00
Weekly (7 day)
0
192
384
0
16k
33k
An account near its limit
Select Acme Lab: its week is at 97 percent and its 5 h window at 91. Only 0.03 of a week is left: slow down, or move to another account before the reset.
Session (5hr)
04:00
09:00
0
2k
3k
04:00
09:00
0
98k
197k
04:00
09:00
Span: 5 h
The 5 h span shows the current window in 10-minute buckets: what burned the quota just now.
0
6.3M
12.6M
0
16.8M
33.6M
3 weeks ago
2 weeks ago
last week
day 0
Span: 4 x 7 days
Four weeks side by side, the current one still in progress. Is this week's burn normal, or a new habit?
0
6.4G
12.9G
0
17.2G
34.4G
3 weeks ago
2 weeks ago
last week
day 0
Kind of token
Output is what the model wrote, cache read is what it read again. A spike in only one of them says which behaviour to fix.
The accounts table
stale: the reading is older than its reset, so it is not counted. not counted: an unknown account, recorded before accounts were told apart. n/a: no data. Only counted accounts
add up to the weeks left.
Notes under the charts
The line under the charts says what is missing. Here the quota API answered HTTP 429, so the official percentages are unavailable. A missing value is never drawn as zero.
Colour of account
Colour of the account's lines (Reset: automatic)
Reset
Cancel
OK
5
2029-12-02
gate
Guardrails
Do the gates work? Recurrences per week (dashed lines: a gate landed), refusals per gate, and the table of lessons. The chips give the headline counts.
5
2029-12-02
gate
decision: gate
recurrences: 5 (5 dated, 0 of them with an inferred year; 0
undated)
ledger: pre-push hook refuses the default branch
A leaking gate
Select a lesson: this one has a gate, yet it recurred once after the gate landed. That is leaking. The silent flag marks a gate that refuses nothing: obsolete, or switched off.
pending
4
2029-12-20
pending
gate to be written
0
Decisions and sort
Filter the lessons by decision (gate, pending, no-gate, untriaged) and click a column to sort: After gate puts the leaking ones first.
untriaged: not measured
leaking gates: not measured
silent gates: not measured
refusals 0 this week, 0 last
0
1
0
0
1
recur not measured: recur: command not found
When recur cannot be read, the tab says so (here: command not found) instead of showing zero lessons. Same rule everywhere: missing data is never drawn as good news.
Resource
Left
Resets
Read
5f3a91c2 (.github-token)
core
380 / 5000 (7 %), secondary limit 3m
10:21 (in 22 min)
now, rate_limit
Calls
Units
prwait
1240
1240
partly measured: ledger has unreadable lines
GitHub REST budget
Diagnostics, first pane: what is left of the REST quota, until when, and who spent the last hour. Core is under a tenth of its limit, so it is red, and a secondary limit answered 3
minutes ago, which the free rate-limit endpoint cannot see. What no recorded call explains stays on its own unattributed line.
No token file and an empty call ledger: the pane says not measured and why, shows no number, and nothing in it is green. A budget it could not read is never a budget at 0.
Lease queues
Diagnostics, third pane: who waits for which repository, behind whom. The holder of docs-site has done nothing for hours while two sessions wait, so its cell is red. A queue file
that could not be read is counted under the table, never hidden.
replystamp
3
2m
replystamp
3
2m
Session d3m00003
Theme
Theme: System, Light or Dark. The charts and the pressure gauges keep their meaning in both.
Language
Language: Auto, English or French. Every label, the details and these captions change with it.
lost
Connection lost
The chip says lost: the stream broke. The picture stays on screen but it is frozen. Do not diagnose from it.
stream ended
Stream ended
The server closed the stream. Start it again, then read in this order: connection, context, leases, quota, gates.
Pause
0:00 / 0:00
Loop