项目
在 GitHub 查看
Compresr-ai/Context-Gateway
关于
Context Gateway 是一个智能体代理,可通过即时压缩历史记录和优化上下文的工具,增强任何 AI 智能体工作流。
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Instant history compaction and context optimization for AI agents
Context Gateway
Compresr is a YC-backed company building LLM prompt compression and context optimization.
Context Gateway sits between your AI agent (Claude Code, Cursor, etc.) and the LLM API. When your conversation gets too long, it compresses history in the background so you never wait for compaction.
Quick Start
# Install gateway binary
curl -fsSL https://compresr.ai/api/install | sh
# Then select an agent (opens interactive TUI wizard)
context-gateway
The TUI wizard will help you:
- Choose an agent (claude_code, cursor, openclaw, or custom)
- Create/edit configuration:
- Summarizer model and api key
- enable slack notifications if needed
- Set trigger threshold for compression (default: 75%)
Supported agents:
- claude_code: Claude Code IDE integration
- cursor: Cursor IDE integration
- openclaw: Open-source Claude Code alternative
- custom: Bring your own agent configuration
What you'll notice
- No more waiting when conversation hits context limits
- Compaction happens instantly (summary was pre-computed in background)
- Check
logs/history_compaction.jsonlto see what's happening
Contributing
We welcome contributions! Please join our Discord to contribute.
探索相关项目
加载中…