문맥을 줄여 AI 에이전트 비용을 낮추는 오픈소스 도구들
gwen-digestor는 긴 대화가 LLM의 을 빠르게 채우는 문제를 줄이기 위해 만든 오픈소스 다. 대화 내용이 모델에 들어가기 전에 메시지 종류를 알아보고, 그 형식에 맞게 내용을 압축한다. 현재 공개된 결과는 전체 38.3% 감소, 모델 출력 응답에서는 약 72% 감소다.
GPU, , 임베딩 없이 정규식과 구조 기반 규칙으로 동작하므로 CPU만 있는 로컬 환경에서도 쓸 수 있다. 점검 메시지는 숫자와 상태값 중심으로 정리하고, 작업 지시는 군더더기를 제거하며, JSON은 더 작게 만들고, 코드는 주석을 줄이는 방식이다. 같은 텍스트를 반복 처리하지 않도록 gzip으로 압축한 참조 캐시와 실제 절감량을 보는 통계 기능도 포함됐다.
주변에서도 비슷한 흐름이 이어지고 있다. 의 토큰을 40~90% 이상 줄였다는 파일 읽기 훅, 묶음, 입력 압축 엔진, 비싼 모델과 싼 모델을 단계별로 나눠 쓰는 작업 흐름 도구가 함께 나오고 있다.
핵심 포인트
- gwen-digestor는 대화가 LLM에 들어가기 전에 내용을 줄이는 오픈소스 다.
- 공개 결과는 전체 토큰 38.3% 감소, 출력 응답 약 72% 감소다.
- GPU나 없이 CPU 환경에서 규칙 기반으로 동작한다.
- 비슷한 도구들은 파일 읽기, 도구 설명, 입력 문장, 모델 선택 흐름을 줄여 비용을 낮추려 한다.
- 도입 전에는 절감률뿐 아니라 답 품질과 정보 손실 여부를 함께 봐야 한다.
이 사건을 다룬 원문 (12)
- r/LLMDevs문맥을 줄여 AI 에이전트 비용을 낮추는 오픈소스 도구들 ↗
- win4r/codebase-memory-mcp-prowin4r/codebase-memory-mcp-pro: Community fork of DeusData/codebase-memory-mcp (MIT) — incremental-reindex CALLS-edge fix + 9 integrated upstream PRs. Pure-C code knowledge-graph MCP server. ↗
- Green-PT/honey-for-devsGreen-PT/honey-for-devs: Honey (I Shrunk the AI) by GreenPT: a cross-tool coding skill that cuts AI coding-agent token usage and LLM API costs — write less code, less prose, and denser agent-to-agent ↗
- tsouth89/conduittsouth89/conduit: Local MCP gateway that cuts your agent's tool-token overhead ~90%. Every MCP server's tools collapse to 3 meta-tools the agent searches on demand. Measured: 97% less per request, sam ↗
- nuoyazhizhou/tokenslimnuoyazhizhou/tokenslim: High-performance Rust token compression engine for LLM inputs. Plugin-based, 50–95% token savings, AI-export diagnostics, CLI / Server / IDE / SDK. ↗
- r/sideprojectsMade an app that reduces token usage from AI Agents, plus makes everything simpler ↗
- r/vibecodingI have built a MCP for firecrawl that saved me 19k context tokens. ↗
- r/vibecodingPain and victory over AI. In an attempt to make my own online service, I found a way to save on tokens and keep the code clean. ↗