Skip to content

Independent benchmark of rtk on a pi/forge agentic workload — request for review before June 17 publication #2292

Description

@devasur

Hello — I run an independent, reproducible benchmark of context-management middleware on a real agentic SDLC workload (forge-cli/4ge harness on the pi-coding-agent runtime, ollama-cloud models). rtk 0.42.2 is one of three products evaluated, via your pi extension (rtk init --agent pi).

Everything is public and reproducible: https://github.com/Entelligentsia/tokbench — Dockerfiles (your musl release binary vendored + sha256-verified), raw per-run transcripts, a frozen pre-registered protocol, and mechanism notes. Replication runs execute over the coming days; we plan to publish a story on June 17th and would value your review before then.

What we observed (pilot, N=1 — details in notes/02 and notes/03): rtk worked exactly as designed. 74 commands rewritten, 74.7% compression on the commands it touched, ~152ms average overhead, zero rtk-caused failures — its best moment was compressing a failing eslint run from ~54K tokens to a usable summary, with the agent still recovering and all quality gates green. The finding that may interest you is about addressable surface, not quality: on this harness, registry-covered bash output was only ~2.5% of total billed input — the harness's hottest uncovered paths were node <script>.cjs invocations (the harness's store CLI) and npm install, both passthrough.

Our asks: (a) is our setup faithful (project-local rtk init --agent pi, telemetry disabled, registry at defaults)? (b) any comment on registry coverage for node <script> patterns; (c) we will include a maintainer response verbatim in the publication if you'd like to provide one.

Disclosure: the benchmark harness (forge-cli) is my own product — scope and conflicts statement in the repo README. Findings are scoped to this harness/provider; the writeup explicitly states rtk performed as designed.

Thanks — the pi extension's rewrite-only design and the RTK_DISABLED toggle made rtk the easiest of the three products to integrate and test fairly.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions