cd /news/ai-agents/show-hn-keen-code-an-agentic-enginee… · home topics ai-agents article
[ARTICLE · art-91121] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Keen Code – an agentic-engineered coding agent

Mochow13 released Keen Code, a solo-built coding agent written in Go that uses agentic engineering and features Turn Memory and Skill-Driven MCP to optimize context usage. The open-source project is available on GitHub and supports multiple providers, skills, MCPs, and multi-agent orchestration.

read3 min views1 publishedAug 10, 2026

Hello community!

I am here to share a coding agent I have built solo from scratch using agentic engineering. Written in Go, it's a proper coding agent, has features you expect from a useful agent for your daily work, with a minimal and simple UI.

I have named it Keen Code. The repo is here: https://github.com/mochow13/keen-code Even though it started as an experiment, it is now a full-fledged coding agent for real software engineering work. It supports multiple providers, skills, MCPs, multi-agent orchestration through subagents, automatic compaction, etc.

I have been using it for real production-grade work myself, and also for developing itself.

Notably, I have worked on two separate ideas in this coding agent:

  1. Turn Memory

In a multi-turn conversation, tool outputs are removed, only tool call traces are retained. Within a single agent loop, agent sees full tool results but in the next turn, it doesn't see the tool results anymore.

The greatest benefit of this approach is that a lot of tool results that are not needed in following turns don't occupy the context. As a result, context window in a multi-turn conversation with Keen Code fills up much slowly compared to other agents. This is why you will regularly see context window coming down from 20% to 1% at the beginning of a new agent turn.

Of course, this approach has its pros and cons. If agent requires tool result from a previous call, it doesn't have them. But my idea is that tool calls like read, bash, web_fetch are cheap. Do you need to refer to some earlier file you read? Read again. In fact, Claude Code or Codex frequently re-read a file, even though it has read the same file before.

I have plans for more effort in this area. I have a few additional ideas to explore and possibly optimise this approach further.

If you want to read about it: https://mochow13.github.io/keen-code/docs/turn-memory.html 2. Skill-Driven MCP

Another idea I have implemented is skill-driven MCPs. The goal is similar to what Anthropic did with tool-search-tool: optimise context.

In this idea, each MCP server receives a skill. But this skill is not typical "guidance" skill for MCP server usage, rather generated by Keen. Details here: https://mochow13.github.io/keen-code/docs/mcp-skills.html

The big advantage is that no server is pre-loaded completely with tool schemas by default. The agent only receives skill frontmatter for the server. If a server is needed, agent loads the full skill file which lists the tools with descriptions. Then agent reads the specific schema file for the particular tool it wants to invoke.

The drawback is that each MCP call requires file read operation. But everything is locally saved upon discovery, so it's totally fine.


Apart from the above two, I am exploring and playing with other well-known context optimisation ideas like hashline edits.

If the above ideas interest you, please do check it out! Here is the CLI usage guideline: https://mochow13.github.io/keen-code/docs/cli-usage.html Since the project is open-source, issues and contributions are more than welcome!

Comments URL: [https://news.ycombinator.com/item?id=49250229](https://news.ycombinator.com/item?id=49250229)

Points: 3

── more in #ai-agents 4 stories · sorted by recency
── more on @keen code 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-keen-code-an…] indexed:0 read:3min 2026-08-10 ·