frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

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

https://github.com/mochow13/keen-code
4•mochow13•2h ago
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

tldr13•2h ago
Not another coding agent please -_-

Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots

https://cactuscompute.com/needle
114•HenryNdubuaku•6h ago•62 comments

Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

https://everycube.alen.is/
3•Alen123•48m ago•0 comments

Show HN: AI Pulse a fake LED strip beside the macOS Dock that shows agent status

https://github.com/leog/ai-pulse
3•leog_me•1h ago•2 comments

Show HN: Higher-dimensional lattices unfolded into the 2D plane

https://number-garden.com/?@THLP@
13•unitX•4d ago•1 comments

Show HN: My local climbing gym from photogrammetry

https://kmcheung12.github.io/climb-preview/tour/ae43c6e5
4•a_c•2h ago•0 comments

Show HN: Pyrig – A tool that automates project setup and maintenance

https://github.com/Winipedia/pyrig
4•Winipedia•1h ago•0 comments

Show HN: Ante, a coding agent in a single binary that runs offline

https://github.com/AntigmaLabs/ante
119•ubermon•8h ago•71 comments

Show HN: Voice driven murder mystery, Interview AI suspects with your voice

https://www.whodunnitai.com/
188•MrRowTheBoat•20h ago•81 comments

Show HN: Typegres 0.3 – SQL-as-your-API, safely (using Cap'n Web RPC)

https://typegres.com/
3•ryanrasti•2h ago•0 comments

Show HN: Calldiff – a CLI to see callstack diffs in all major languages

https://github.com/tanishqkancharla/calldiff
2•tanishqkanc•2h ago•0 comments

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

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

Show HN: A tiny LLM running at 21,000 tok/s on a $250 FPGA (Live Demo)

https://www.mikeayles.com/blog/on-chip-llm-kv260/
40•mikeayles•12h ago•11 comments

Show HN: Graph2agent; Mermaid diagrams, explained for agents

https://graph2agent.github.io/
3•alexandroskyr•2h ago•0 comments

Show HN: PicPocket – Dedicated 'chats' for photo-sharing (share to organize)

https://picpocket.io/
5•amr_shawky•7h ago•0 comments

Show HN: A Project Oberon System version running on RISC-V instead of RISC-5

https://github.com/rochus-keller/OberonSystem/tree/op2-rv32
118•Rochus•1d ago•19 comments

Show HN: 100% native Swift harness (NOT Electron)

https://github.com/Lore-Hex/QuillCode
11•ljlolel•10h ago•3 comments

Show HN: Design Engineering, as a Service

https://designshippers.com/?0
11•krm01•10h ago•3 comments

Show HN: I made alchemical-cosmological PCB badges

https://github.com/KaiPereira/Alchemical-Cosmological-Badges
22•kaipereira•5d ago•3 comments

Show HN: Neolabs.fyi – 100 new AI labs by research area, valuation, and more

https://neolabs.fyi/
7•polyphilz•9h ago•2 comments

Show HN: DocSift convert a PDF once, give the model only the passages it needs

https://github.com/anishmoncivarghese/docsift
3•anishvarghese•9h ago•0 comments

Show HN: Watching browser fingerprinting calls via Chromium's Blink layer

https://kameleo.io/blog/this-is-the-closest-well-ever-get-to-reverse-engineering-anti-bots
10•brnbs•14h ago•0 comments

Show HN: Hawser – sign, notarize, DMG, auto-update and license a Mac app

https://hawserkit.com/
3•yaveez•10h ago•0 comments

Show HN: Bio Tools – install drug design tools easily

https://github.com/David-OConnor/bio_tools
2•the__alchemist•8h ago•0 comments

Show HN: Issue Apple and Google wallet passes from Node.js

https://github.com/getpassmint/passmint
5•alexpate•14h ago•0 comments

Show HN: Slashscore, an open developer graph built from public GitHub activity

https://www.slashscore.com
2•wingravity•8h ago•2 comments

Show HN: PrivateRedact – Offline PII redaction with a local LLM, no cloud

https://github.com/monjurulkarim/privateredact
4•rajubuet24•8h ago•0 comments

Show HN: My math notes for anything that touches ML

https://github.com/publications-and-more/pub
3•Amlal•8h ago•0 comments

Show HN: Vocal Slice – cut audio by selecting text, fully on-device

https://vocalslice.com/
3•terranivium•8h ago•1 comments

Show HN: filebouncer - npm package for detecting suspicious uploads.

https://github.com/Ramzi-Abidi/filebouncer
2•ramzi-abidi•8h ago•0 comments

Show HN: Self-hosted universal context layer for Mac

https://github.com/Rafaelpta/litepipe
2•rafaepta•8h ago•0 comments