Skip to content

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.

266 B
Raw Blame
"""LangChain + Headroom Demo: Real-World Before/After Comparison.

This package demonstrates the impact of Headroom optimization on real-world
LangChain agent scenarios with large tool outputs.

Run the demo:
    python -m examples.langchain_demo.run_comparison
"""