ContextSpy
github.com原文 ↗
ContextSpy 是 AI coding agent 的 context profiler,通过代理拦截 LLM API 请求,拆解 system prompt、tool definitions、tool results、file contents、conversation history、current message 等 token 类别。它把数据存到本地 SQLite,并用 localhost dashboard 显示请求级和会话级变化;README 提醒 agentic workloads 中 input tokens 往往比 output 多 20-50 倍。它的实用价值在于让“上下文为什么越来越慢、越来越贵、越来越满”变成可观测对象。
–浏览
评论 · Comments