shokunin logo
shokunin
★ 112
vs
headroom logo
headroom
★ 77.5k

shokunin vs headroom

shokunin:Shokunin为开发者提供持久化AI记忆,包含38种技能、多策略回忆(向量+BM25+时间)和ChromaDB记忆。完全离线,零服务器成本,支持Windows和Linux。系统包括MCP服务器、声明式自我更新和记忆测试套件。;headroom:Headroom在AI代理的内容(如工具输出、日志、RAG块、文件和对话历史)到达LLM之前对其进行压缩。它能在获得相同答案的同时,显著减少所需的Token数量。

01

简评

shokunin logo
shokuninMemory & Context · ★ 112

跨多个会话的持久化编码上下文

headroom logo
headroomMemory & Context · ★ 77.5k
何时选择它(优势与适用):
  • 冗长的工具输出、日志、JSON 响应或 RAG 片段推高了成本或影响了答案质量。
  • 想不改代码就压缩:作为本地代理、MCP 服务器运行,或包装 Claude Code、Codex、Cursor。
  • 压缩必须在本地运行,并缓存原文,让模型需要时能取回完整内容。
何时考虑替代方案:
  • 你的智能体的问题是文档缺失或过时,而不是上下文太多:文档服务器更合适。
  • 你无法再加一个需要持续运行、可能增加延迟的组件。
  • 你的任务不能接受有损压缩:先在自己的任务上验证答案质量。
02

并排对比

字段
shokunin logoshokunin
headroom logoheadroom
分类
记忆与上下文
记忆与上下文
Stars
★ 112
★ 77.5k
许可证
MIT
Apache-2.0
安装方式
irm https://raw.githubusercontent.com/EliasOulkadi/shokunin/master/install.ps1 | iex
pip install "headroom-ai[all]"
更新时间
2周前
1天前
开源
是
是
标签
ai-agent-skills, ai-engineering, chromadb
上下文压缩, Token优化, AI代理
03

功能特性

shokunin logoshokunin
01多策略回忆(向量、BM25、时间)
02跨会话的ChromaDB持久化记忆
0338个领域特定技能及流程化工作流
04支持MCP服务器(文件系统、抓取、记忆)
05完全离线,无API成本,无遥测
headroom logoheadroom
01应用程序内压缩库(Python/TypeScript)
02零代码改动代理模式
03各种AI代理的一键封装
04跨代理共享内存和自动去重
05可逆压缩(CCR)并支持原始内容检索
04

使用场景

shokunin logoshokunin
↳跨多个会话的持久化编码上下文
↳无缝恢复和继续之前的开发工作
↳无云依赖的本地AI辅助开发
headroom logoheadroom
↳降低AI代理的LLM Token使用量和API成本。
↳实现多个AI代理之间的共享上下文和内存。
↳通过压缩工具输出、日志和RAG块来优化编码代理。
↳通过可逆上下文压缩保持完整数据保真度。
05

适合场景

shokunin logoshokunin
—
headroom logoheadroom
最受欢迎必备神器
FAQ

常见问题

shokunin 和 headroom 有什么区别?
shokunin 和 headroom 都属于 Memory & Context 类别。shokunin 有 112 Stars,headroom 有 77.5k Stars。
shokunin 和 headroom 哪个更好?
最佳选择取决于你的具体需求。跨多个会话的持久化编码上下文 时选 shokunin,降低AI代理的LLM Token使用量和API成本。 时选 headroom。
shokunin 是免费的吗?
是的,shokunin 在 GitHub 开源(MIT)。
headroom 是免费的吗?
是的,headroom 在 GitHub 开源(Apache-2.0)。
推荐云部署
Ad

在 DigitalOcean 上一键部署

为你的 MCP 服务、Docker 容器与智能体提供即开即用云服务器,新用户立享 $200 免费额度(60天有效)。

立即领取 $200 免费额度
→

相关链接