Pick a build log, test run, or JSON API response and compare it with its compressed form: tokens saved, what was omitted, and how each omitted part is recovered exactly.
Runs entirely in your browser with sample data. No real credentials, systems, or network calls. Based on AgentContext.
Original (est. tokens)
888
Optimized (est. tokens)
172
Reduction on this sample
80.6%
Recovery check
Byte-identical
2 omitted parts, all stored
Original tool output
60 lines
$ npm run build
> api@2.4.0 build
> tsc -p tsconfig.build.json && node scripts/bundle.js
[12:04:10] compiled src/modules/auth/auth.service.ts in 40ms
[12:04:11] compiled src/modules/users/users.service.ts in 77ms
[12:04:12] compiled src/modules/orders/orders.service.ts in 114ms
[12:04:13] compiled src/modules/billing/billing.service.ts in 61ms
[12:04:14] compiled src/modules/payments/payments.service.ts in 98ms
[12:04:15] compiled src/modules/notifications/notifications.service.ts in 45ms
[12:04:16] compiled src/modules/search/search.service.ts in 82ms
[12:04:17] compiled src/modules/reports/reports.service.ts in 119ms
[12:04:18] compiled src/modules/admin/admin.service.ts in 66ms
[12:04:19] compiled src/modules/webhooks/webhooks.service.ts in 103ms
[12:04:20] compiled src/modules/queue/queue.service.ts in 50ms
[12:04:21] compiled src/modules/cache/cache.service.ts in 87ms
[12:04:22] compiled src/modules/metrics/metrics.service.ts in 124ms
[12:04:23] compiled src/modules/audit/audit.service.ts in 71ms
[12:04:24] compiled src/modules/storage/storage.service.ts in 108ms
[12:04:25] compiled src/modules/sessions/sessions.service.ts in 55ms
[12:04:26] compiled src/modules/invoices/invoices.service.ts in 92ms
[12:04:27] compiled src/modules/catalog/catalog.service.ts in 129ms
[12:04:30] compiled src/modules/auth/auth.controller.ts in 25ms
[12:04:31] compiled src/modules/users/users.controller.ts in 78ms
[12:04:32] compiled src/modules/orders/orders.controller.ts in 61ms
[12:04:33] compiled src/modules/billing/billing.controller.ts in 44ms
[12:04:34] compiled src/modules/payments/payments.controller.ts in 27ms
[12:04:35] compiled src/modules/notifications/notifications.controller.ts in 80ms
[12:04:36] compiled src/modules/search/search.controller.ts in 63ms
[12:04:37] compiled src/modules/reports/reports.controller.ts in 46ms
[12:04:38] compiled src/modules/admin/admin.controller.ts in 29ms
[12:04:39] compiled src/modules/webhooks/webhooks.controller.ts in 82ms
[12:04:40] compiled src/modules/queue/queue.controller.ts in 65ms
[12:04:41] compiled src/modules/cache/cache.controller.ts in 48ms
[12:04:42] compiled src/modules/metrics/metrics.controller.ts in 31ms
[12:04:43] compiled src/modules/audit/audit.controller.ts in 84ms
[12:04:44] compiled src/modules/storage/storage.controller.ts in 67ms
[12:04:45] compiled src/modules/sessions/sessions.controller.ts in 50ms
[12:04:46] compiled src/modules/invoices/invoices.controller.ts in 33ms
[12:04:47] compiled src/modules/catalog/catalog.controller.ts in 86ms
[12:05:02] WARN src/modules/payments/payments.service.ts: 'stripeClient' is declared but never used
[12:05:03] bundled chunk-1a2b.js (12.0kb)
[12:05:04] bundled chunk-1a8c.js (41.1kb)
[12:05:05] bundled chunk-1aed.js (22.2kb)
[12:05:06] bundled chunk-1b4e.js (51.3kb)
[12:05:07] bundled chunk-1baf.js (32.4kb)
[12:05:08] bundled chunk-1c10.js (13.5kb)
[12:05:09] bundled chunk-1c71.js (42.6kb)
[12:05:10] bundled chunk-1cd2.js (23.7kb)
[12:05:11] bundled chunk-1d33.js (52.8kb)
[12:05:12] bundled chunk-1d94.js (33.9kb)
[12:05:13] bundled chunk-1df5.js (14.10kb)
[12:05:14] bundled chunk-1e56.js (43.11kb)
[12:05:15] bundled chunk-1eb7.js (24.12kb)
[12:05:16] bundled chunk-1f18.js (53.13kb)
[12:05:21] ERROR src/modules/orders/orders.controller.ts(88,17): Property 'customerId' does not exist on type 'CreateOrderDto'.
at checkSourceFile (node_modules/typescript/lib/tsc.js:118021:9)
at emitFilesAndReportErrors (node_modules/typescript/lib/tsc.js:124330:24)
Build failed with 1 error and 1 warning.What the agent sees
click an omitted part to recover it
$ npm run build > api@2.4.0 build > tsc -p tsconfig.build.json && node scripts/bundle.js [12:04:10] compiled src/modules/auth/auth.service.ts in 40ms [12:05:02] WARN src/modules/payments/payments.service.ts: 'stripeClient' is declared but never used [12:05:03] bundled chunk-1a2b.js (12.0kb) [12:05:21] ERROR src/modules/orders/orders.controller.ts(88,17): Property 'customerId' does not exist on type 'CreateOrderDto'. at checkSourceFile (node_modules/typescript/lib/tsc.js:118021:9) at emitFilesAndReportErrors (node_modules/typescript/lib/tsc.js:124330:24) Build failed with 1 error and 1 warning.
Token counts are estimates (about 4 characters per token). This is a simplified, browser-only illustration of reversible compression, not AgentContext's actual pipeline. Its benchmarked result is an 86.6% median reduction including recovery.
Next experiment
RAG explorer
Step through retrieval, ranking, and grounded answers.