I

I built a coding agent that works with 8k context local models

Hacker News

I built a coding agent that works with 8k context local models

Most AI coding agents assume you have a 200k-context model. In reality, the local models most people actually use have 8k windows — barely enough for one large file, let alone a whole project. This tool works in three steps: -Map: on init, it writes plain Markdown context files: one project-level overview, one per folder, plus a line range index for any file over 150 lines. -Plan: one LLM call reads the map and turns your request into a task list, with dependencies. -Execute: it gives only one file to an LLM call. A token counter checks before every single call, and falls back to loading just the relevant line range if the file is too big. Works with Ollama, LM Studio, Groq, OpenRouter, Gemini, DeepSeek, or any OpenAI-compatible endpoint. Local models run sequentially by default, while cloud providers run in parallel. The hardest part was conversation memory. 8k isn't enough for the full history, and i have tried compression, but it wasn't going to cut it either. The fix was a ring-buffer eviction system of summaries of the last two completed actions. It offers enough continuity to avoid repeating work, while its cheap enough to always fit. This was something i had been pasionatelly working on and i hope you guys find it usefull. I am open to hearing any feedback and questions. Thank you for taking your time to check this project out and I hope you enjoy it as much as me.

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: agents, agent, model · Missing: mac, macos, cursor
99%99% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: para, gemini, compatible · Missing: supports, reddit linkedin, podcasting
76%76% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: llama, ide, io · Missing: https docs, excited, just released
40%40% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: plus · Missing: platform, intuitive, reviews
40%40% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: way, para · Missing: mobile apps, ios, personal
36%36% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Be
Bestie, a coding agent that respects you59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bestie, a coding agent that respects you

Hacker News5
Ba
Bailout – The coding agent meant to be deleted53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bailout – The coding agent meant to be deleted

Hacker News2
My
My coding agent apologized for being right, so I built Frank56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

My coding agent apologized for being right, so I built Frank

Hacker News3
stagewise
stagewise92%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

The coding agent that works in its own browser environment

Product Hunt+183Open Source
BACK89
BACK8915%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

8k vip

Indie Hackers
gta5 mobilesite 8k
gta5 mobilesite 8k2%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

gta5 mobilesite q9

Indie Hackerscommitment-full-time
Pr
Premortem, a coding-agent-powered airplane blackbox70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Premortem, a coding-agent-powered airplane blackbox

Hacker News3
Ullbek
Ullbek87%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Website Coding Agent

Product Hunt+3
Sh
SharkBay – a local macOS workbench for coding-agent CLIs44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SharkBay – a local macOS workbench for coding-agent CLIs

Hacker News1
Be
Beating GPT5.5-xhigh for Coding agent security with SLMs and IRM32%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Beating GPT5.5-xhigh for Coding agent security with SLMs and IRM

Hacker News9