Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built a BYOK VS Code agent that cuts token costs by compressing old chat turns

Описание и применение

CodeCook – расширение VS Code, которое сжимает старые сообщения и вывод инструментов, уменьшая количество токенов и расходы при работе с LLM. Это достигается за счёт сохранения чекпоинтов, планов и видимых метрик стоимости.

Задача

In a long AI coding session, every turn resends everything you already paid for: all the old messages and all the tool output. The bill keeps growing even when the work doesn't.

Результат

CodeCook compresses old chat turns, cutting token usage by up to 98% for individual turns and providing visible cost tracking, plan persistence, and checkpointed edits.

Рабочий процесс

  • Install CodeCook from the Marketplace
  • Open CodeCook and sign in with Google or GitHub to create a local account
  • Connect an LLM provider (Google Gemini, OpenAI, Anthropic Claude, Azure OpenAI, or AWS Bedrock)
  • Ask the agent to work on the workspace and review diffs

Доказательства

In a long AI coding session, every turn resends everything you already paid for: all the old messages and all the tool output.

Источник

CodeCook is a free, MIT-licensed VS Code extension: a coding agent in your sidebar that you run with your own API key (BYOK).

Источник

In one long agent session, a single turn went from 800,787 to 14,857 tokens (about 98% fewer) with the plan and work intact.

Источник

  • Дата записи: 2026-10-11T19:56:12.108Z