skyscribe
280 posts

skyscribe
@skyscribe
Software engineer at Hangzhou
Hangzhou Beigetreten Nisan 2009
175 Folgt33 Follower

Headroom —— 专门给 AI Agent 装的一层「上下文压缩层」
在所有内容送进 LLM 之前先压一遍:
工具输出、命令行结果、代码搜索、RAG 检索片段、文件内容、对话历史……
Headroom 都会先拦下来智能压缩。
效果:答案质量基本不变,但 token 消耗能明显降一大截(实测 60-95%)。
四种接入方式,随便挑最舒服的:
① Library:Python / TypeScript 里直接 `compress(messages)`,几行代码搞定
② Proxy:`headroom proxy --port 8787` 起个本地代理,零代码改动,任何 OpenAI 兼容客户端直接用
③ Agent 包装:一条命令 `headroom wrap claude | cursor | aider | copilot`……主流编程 Agent 直接包住
④ MCP Server:注册 `headroom_compress`、`headroom_retrieve`、`headroom_stats` 三个工具,Claude Code / Cursor 等 MCP 客户端直接调用
不管你是自己写 AI 应用,还是天天用现成编程 Agent,都能找到最低成本的接法。
🔗:github.com/chopratejas/he…

中文

@avrldotdev learn the hard and fundamental things nowadays is way more important than ever
English

2017: "React is the future!"
2018: "React isn't good, try Vue.js"
2019: "React goes functional, forget Vue"
2020: "Vue isn't good, try Next.js!"
2021: "Next.js is the future!"
2022: "Next.js is bloated, try Remix"
2023: "Remix is too early, try Astro"
2024: "Astro is limited, Next.js was fine"
2025: "Next.js is vendor locking, use TanStack"
2026: "Tanstack is the future..."
Stop "Framework Hopping".
You won't grow if you keep chasing new trends.
Learn the web fundamentals first:
- Javascript, typescript, DOM, CSR, SSR, ISG, etc.
- Learn how browser render your UI
- Learn about LCP, FCP, render caching
To become a better web dev, understand the process, not the tools because tools change but processes stay the same.
And there's not a better time than now to learn the real stuff.
English

@mao_ge_ge @Boqll5Tppdalvtw 那个媒体,有时候是打着深度的名义告知部分事实吧?充满了预测的味道,或者用之前的经验套未来
中文

@Young_AGI @Johnxxmith 还是把CLI优化好点吧,时不时Resume session不工作了,尤其是异常被杀了,启动起来几乎不太行啊
中文
skyscribe retweetet

5.2 could be better with more RL ...
青龍聖者@bdsqlsz
Deepswe's benchmark results are my own experience. I've used all models, GLM 5.2 ≈ Claude Opus 4.6–4.7. Kimi 2.7 code more like inference optimization. Looking forward to K3. Doubao-seed 2.1 Pro around 37% ≈ Gemini 3.5 Flash. code are quite weak, but visual are strong.
English


















