frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Keen Code – a context aware CLI coding agent built by coding agents

https://github.com/mochow13/keen-code
4•mochow13•1h ago

Comments

mochow13•1h ago
Hi HN! Happy to share Keen Code, yet another CLI-based coding agent. I have been working on this solo since February as a side-project. While building this, I took the opportunity to experiment with context efficiency.

Here are three worth-mentioning things about Keen Code:

1. Built by agents

I built this whole thing from scratch using SoTA coding agents. My role was strictly a human orchestrator who created prompts and requirements, and reviewed designs and code written by agents. To remain fully transparent, the project has this ai-interactions folder that shares all the prompts and output docs. More details on this can be found here: https://mochow13.github.io/keen-code/TOUR.html.

2. Turn memory

To stop the context window from filling up during multi-turn loops, Keen completely discards raw tool inputs/outputs after a turn is completed. Instead, it distills lessons into a "turn memory" (a stupidly simple, deterministic Go struct) passed to the next turn. More: https://mochow13.github.io/keen-code/docs/turn-memory.html

3. Skills driven MCP servers

Instead of bloating the LLM context by loading massive Model Context Protocol (MCP) server schemas upfront, Keen abstracts them into local markdown "Skills." It lazily retrieves the exact JSON schema only when the LLM requests that specific tool at runtime. The approach is a little bit complex - details are here: https://mochow13.github.io/keen-code/docs/mcp-skills.html

I have been personally using Keen in developing Keen itself, and in my other projects. So far, I am quite satisfied with it. So I am looking forward to questions, feedback, suggestions and reviews. I am committed to this project for a long time and willing to enhance its usefulness.

Thanks in advance!

mimo25•56m ago
Looks polished but I must ask - what's the point? Why build another coding agent given the crowded space of coding agents? We have soooo many already. You could spend your time something more innovative.
mochow13•22m ago
Thanks for your feedback! The greatest motivation behind building yet another coding agent it to try two things:

- Experimenting with the "new way of working" where I only drive the development instead of actively writing code and creating implementation plans or design docs. But yes, I have been thoroughly reviewing every line of code, design docs, and plans.

- Context efficiency. As I have shared in the comment above, Keen takes different approach for context handling. The first one is conservative: don't keep tool i/o beyond a single agent turn. This is why you will see that context window percentage goes down every time you send a new message in Keen. Secondly, MCP server full schemas are never loaded preemptively. In fact, only specific tool's schema in an MCP server is loaded only when needed. This process is driven by Agent Skills.

So the bottom line, the reason for building another CLI coding agent is to try out some ideas and experimenting with them, and also to build something substantial from scratch using agents.

Intel's new CEO cut management layers in half. The stock is up nearly 500%

https://fortune.com/2026/06/03/intel-ceo-lip-bu-tan-ai-semiconductors-innovation/
1•Brajeshwar•29s ago•0 comments

(PewDiePie) any LOCAL AI model close to Claude Code?

1•knowmygpa•2m ago•0 comments

Do we fear the serializable isolation level more than we fear subtle bugs?

https://blog.ydb.tech/do-we-fear-the-serializable-isolation-level-more-than-we-fear-subtle-bugs-5...
2•b-man•3m ago•0 comments

Meta enters enterprise AI race with new business agent

https://www.reuters.com/business/meta-launches-enterprise-focused-ai-business-agent-automate-dail...
1•tartoran•3m ago•0 comments

Show HN: Noir Code – because QR sounds similar to "noir"

https://noir-code.suncake.xyz/
1•Sunkek•3m ago•1 comments

AI Has Ruined the Job Market

https://www.theatlantic.com/ideas/2026/06/ai-job-market-hiring/687403/
1•FinnLobsien•3m ago•0 comments

AI to double data centre power and water consumption by 2030, UN researchers say

https://www.reuters.com/business/energy/ai-double-data-centre-power-water-consumption-by-2030-un-...
1•tartoran•3m ago•0 comments

Running a full blockchain stack locally (2024, 22 minutes) [video]

https://www.youtube.com/watch?v=H-R5FqrCYQs
1•Olshansky•4m ago•0 comments

Majorana 2, made more reliable with Microsoft Discovery agentic AI

https://news.microsoft.com/source/features/innovation/majorana-2-microsoft-discovery-agentic-ai/
1•EvgeniyZh•4m ago•0 comments

Show HN: Extract (YC P25) – Fast, accurate document parsing

https://extract.page
1•soamikapadia•4m ago•0 comments

Tilt: A toolkit for fixing the pains of microservice development

https://tilt.dev/
2•Olshansky•5m ago•0 comments

DaVinci Resolve 21

https://www.blackmagicdesign.com/products/davinciresolve/whatsnew
2•pentagrama•5m ago•0 comments

Thoughts on Building with Agents

https://debarshibasak.github.io/readables/blogs/building-with-agents.html
2•linuxarm64•6m ago•0 comments

Randomize, Identify, or Dream – Perception in Robotics

https://atomsfrontier.substack.com/p/randomize-identify-or-dream
2•jpatel3•6m ago•0 comments

HostAnywhere – Securely connect devices and services, backup phones

https://hostanywhere.io
2•naveenksv•6m ago•0 comments

TypeScript Tips Everyone Should Know

https://github.com/AllThingsSmitty/typescript-tips-everyone-should-know
2•yanis_t•8m ago•0 comments

Show HN: Chatcode – Remote Control for Claude Code and Codex

https://chatcode.dev/
2•borkasm•9m ago•0 comments

Show HN: Ano – no-noise team chat with your code agent as your assistant

https://ano.chat
3•nilen•11m ago•0 comments

I shut down my bug bounty program after three months

https://killswitch.app/blog/why-i-shut-down-my-bug-bounty-program
2•ElixirMentor•11m ago•0 comments

Show HN: The Logos Machine – AI that distill knowledge into weights during Sleep

https://docsend.com/view/nx9sv43ze5rke6yn
2•AnvarBakiyev•11m ago•0 comments

Why People Hate Humanoid Robots

https://unherd.com/2026/06/why-people-hate-humanoid-robots/
2•voxleone•13m ago•0 comments

Encephalitis

https://burntsushi.net/encephalitis/
3•Tomte•14m ago•0 comments

My Latest LLM Workflow and Modern Engineering Values

https://cpojer.net/posts/modern-engineering-values
2•cpojer•14m ago•0 comments

Show HN: Wanderwhim – AI workspace for writers, bloggers, lifelong learners

https://www.wanderwhim.com
2•arbourtrary•15m ago•0 comments

Everyone in This Lego Dispute Should Have Spoken to a Lawyer Earlier

https://www.techdirt.com/2026/06/02/everyone-in-this-lego-dispute-should-have-spoken-to-a-lawyer-...
2•pseudalopex•15m ago•1 comments

Kyxgo Technology

https://sites.google.com/view/kyxgo/technology
1•aditya_rai-331•15m ago•0 comments

Doom Runs on Everything, Except Neo Geo [video]

https://www.youtube.com/watch?v=4f1-7c6WX10
1•redbell•18m ago•0 comments

This Month in Agentic Coding – May 2026

https://www.agenticcodingweekly.com/p/acw-monthly-brief-may-2026
2•primaprashant•20m ago•0 comments

Show HN: AgentLoop – a Claude agent starter you can read

https://github.com/mnifzied-create/agentloop
1•winphoto•20m ago•0 comments

Flatworms reveal explosive new type of immune cell

https://news.stanford.edu/stories/2026/06/flatworms-ruptoblasts-new-type-immune-cell-research
1•gmays•20m ago•0 comments