Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Python agentaianthropicclaude-codecompressioncontext-engineeringcontext-windowcursorfastapilangchainllmmcpopenaiprompt-engineeringproxypythonragtoken-optimizationtokenstypescript
Commits on main
test(scripts): cover branch-aware _should_sync in sync-plugin-versions
80f403d chopratejas committed 6 months ago
Merge pull request #483 from chopratejas/refactor/memory-system-uniformity
4e1b218 Tejas Chopra committed 6 months ago
refactor(proxy): MemoryRanker + ImageCompressionDecision + branch-aware version-sync
a7b197c chopratejas committed 6 months ago
test(memory): update _extract_user_query test to lock no-truncation
6762052 chopratejas committed 6 months ago
fix(proxy): MemoryDecision contract + 3 bypass bugs + drop 500-char query cap
71d5a7b chopratejas committed 6 months ago
Merge pull request #482 from emmahyde/feat/exclude-tools-env-var
1058043 Tejas Chopra committed 6 months ago
feat(proxy): add --exclude-tools flag + HEADROOM_EXCLUDE_TOOLS env var
93cf8af Emma Hyde committed 6 months ago
Merge pull request #480 from chopratejas/fix/handler-tag-audit-and-models-403
6d62985 Tejas Chopra committed 6 months ago
fix(proxy): thread tags into 13 outcome sites + synth /v1/models + free-fn _extract_tags
3ec5492 chopratejas committed 6 months ago
Merge pull request #479 from chopratejas/refactor/passthrough-reason-tag
88983ad Tejas Chopra committed 6 months ago
fix(proxy): surface CompressionDecision.passthrough_reason in tags
e4e28b6 chopratejas committed 6 months ago
Merge pull request #477 from chopratejas/refactor/compression-decision
1699435 Tejas Chopra committed 6 months ago
refactor(proxy): introduce CompressionDecision; fix 4 missing-gate bugs
2935cd9 chopratejas committed 6 months ago
Merge pull request #476 from chopratejas/refactor/streaming-outcome-builder
af50390 Tejas Chopra committed 6 months ago
refactor(proxy): collapse 3 stream finalizers onto RequestOutcome.from_stream
694589f chopratejas committed 6 months ago
Merge pull request #475 from chopratejas/fix/wrap-e2e-startup-timeout
2febf1b Tejas Chopra committed 6 months ago
Merge pull request #473 from chopratejas/refactor/request-outcome-funnel
3762f63 Tejas Chopra committed 6 months ago
fix(tests): widen wrap-e2e openclaw startup timeout from 5s to 30s
2ae88a6 chopratejas committed 6 months ago
feat(proxy): add client (harness) identification — per-harness analytics across every handler
96a674f chopratejas committed 6 months ago
test: wire test dummies to RequestOutcome funnel for batch + copilot-auth paths
299d995 chopratejas committed 6 months ago
refactor(proxy): migrate Codex WS + OpenAI HTTP + batch handlers; delete Databricks
993c907 chopratejas committed 6 months ago
refactor(proxy): migrate Gemini + Anthropic non-streaming onto outcome funnel
7aca004 chopratejas committed 6 months ago
refactor(proxy): introduce RequestOutcome funnel; collapse 3 streaming finalizers
e898f68 chopratejas committed 6 months ago
Merge pull request #474 from chopratejas/fix/pypi-wheel-size-cargo-strip
ec8e208 Tejas Chopra committed 6 months ago
fix(build): shrink Rust extension wheels — strip + thin-LTO + single codegen unit
d73cbd6 chopratejas committed 6 months ago
Merge pull request #471 from chopratejas/fix/codex-compression-scheduler
6cf8f7f Tejas Chopra committed 6 months ago
fix(tests): make stress test CI-robust — uniform frame sizes, tighter ratio
c22342e chopratejas committed 6 months ago
fix(tests): make codex scheduler stress test machine-independent
f82d61b chopratejas committed 6 months ago
fix(tests): ship scripts/replay_codex_ws_load.py so CI can import it
e532763 chopratejas committed 6 months ago