Skip to content

Performance and cost per tool

Measured 2026-11-03 (P9-03). Synthetic and local-model numbers, not a live Agility tenant: the upstream is the mock of scripts/perf/mock-agility.ts answering after a modelled delay (below), so latency is mostly requests in sequence x the modelled delay; what is firm is the request count and the CPU. How to read and repeat it: Cloudflare limits, query limits.

Latency model (ms per Agility request, from the P0-06 live measurements): query 250, sortedByChangeDate 1100, meta 150, history 400, other 150.

Every read tool at the arguments of its worst-case fixture (packages/core/test/tools/worst-case.ts, L-114), 20 sequential warm calls per mode after one warm-up, metadata cached. p50 / p95 in ms, client side (the Worker column includes the network from the machine that measured). Requests are Agility requests per call. Declared is the cost the tool reports to the budget; Cold is the measured worst case on an empty metadata cache (what the declared cost must cover); Warm with metadata cached. Workers CPU is the wrangler tail CPU time of a warm call on the free plan; Node CPU is the warm call in pnpm bench:worker, as a multiple of its calibration workload. A dash: not offered in that mode (a report above the Free budget of 45, or a tool a mode does not run).

Tool Declared Cold Warm Node stdio Node HTTP Workers Workers CPU ms Node CPU (x cal.)
whoami 2 2 1 291 / 588 273 / 287 311 / 330 9 / 13 0.5
list_projects 5 5 1 341 / 658 269 / 280 300 / 323 7 / 8 0.4
list_asset_types 24 21 0 30 / 95 10 / 46 74 / 4508 7 / 68 0.7
describe_asset_type 5 3 0 32 / 85 14 / 20 88 / 435 9 / 13 0.5
query_assets 12 10 1 371 / 556 273 / 316 304 / 320 10 / 15 0.5
get_assets 16 10 2 710 / 1135 522 / 544 548 / 599 7 / 10 0.7
search_work_items 24 19 4 2081 / 3481 1901 / 1949 1878 / 2165 11 / 19 1.1
get_work_item 24 23 2 1398 / 1538 1391 / 1429 1375 / 1674 10 / 24 0.8
list_my_work 20 17 2 1407 / 1672 1386 / 1434 1382 / 1664 12 / 16 0.7
list_teams 2 2 1 258 / 267 284 / 415 295 / 306 6 / 12 0.3
get_team 20 15 3 775 / 794 821 / 930 797 / 1039 9 / 13 0.7
list_sprints 10 8 2 517 / 544 557 / 714 543 / 556 7 / 9 0.4
get_sprint 30 17 5 1292 / 1323 1315 / 1408 1302 / 1609 13 / 22 2.3
get_velocity 16 14 3 769 / 780 792 / 845 788 / 799 8 / 12 0.6
list_members 6 2 1 255 / 270 285 / 371 295 / 300 6 / 16 0.3
get_asset_history 14 13 2 663 / 673 704 / 753 696 / 844 8 / 15 0.5
list_recent_changes 24 21 3 1616 / 1627 1655 / 1704 1625 / 1924 11 / 20 1.6
get_conversations 11 10 3 509 / 517 537 / 559 541 / 612 6 / 11 0.7
list_attachments 12 10 3 781 / 803 792 / 806 791 / 798 8 / 10 1.2
get_attachment 12 9 3 683 / 700 682 / 698 699 / 966 8 / 14 0.7
get_embedded_image 12 6 3 — — — — —
list_portfolio_items 12 12 3 1631 / 1659 1630 / 1644 1617 / 1892 9 / 16 0.8
get_portfolio_tree 20 16 4 2734 / 2761 2757 / 2783 2703 / 3001 12 / 21 1.1
sprint_health 54 23 5 1362 / 1375 1381 / 1410 1406 / 1855 15 / 17 2.3
standup_summary 48 21 3 1372 / 1470 1439 / 1592 1447 / 1754 31 / 42 1.4
release_readiness 20 16 4 2717 / 2761 2734 / 2764 2700 / 2983 14 / 20 1.9
defect_triage 28 13 2 1365 / 1431 1365 / 1400 1373 / 1693 10 / 20 0.8
work_item_quality 28 17 3 1612 / 1618 1616 / 1644 1637 / 1910 11 / 18 1.0
quality_scan 30 10 2 511 / 542 511 / 519 542 / 563 7 / 11 0.7

Cold first call (Node stdio, fresh process)

Section titled “Cold first call (Node stdio, fresh process)”

The first call of a new process reads metadata from Agility (a Worker keeps parsed types in D1 across isolates, so its cold call reads D1 rather than Agility).

Tool ms Agility requests
whoami 2276 2
list_projects 1470 4
list_asset_types 5208 21
describe_asset_type 1261 3
query_assets 1545 9
get_assets 1740 9
search_work_items 4337 19
get_work_item 4614 22
list_my_work 3577 16
list_teams 453 2
get_team 2736 14
list_sprints 1361 7
get_sprint 2970 16
get_velocity 2283 13
list_members 459 2
get_asset_history 2360 12
list_recent_changes 4105 21
get_conversations 1423 7
list_attachments 1835 9
get_attachment 1725 8
list_portfolio_items 3277 12
get_portfolio_tree 4499 15
sprint_health 3715 22
standup_summary 3592 20
release_readiness 6109 15
defect_triage 4283 12
work_item_quality 3924 16
quality_scan 3980 9

agility-bridge is an unofficial, community project. It is not affiliated with, endorsed by, or supported by Digital.ai. Digital.ai, Agility and VersionOne are trademarks of their respective owners.