frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Agent Kernel – Three Markdown files that make any AI agent stateful

https://github.com/oguzbilgic/agent-kernel
18•obilgic•3h ago

Comments

aiboost•2h ago
Text files + Git > Vector DBs. Nice work. I'm curious about how this scales. As the notes/ directory grows over weeks or months, reading past daily logs will eat up the context window.
mrugge•1h ago
Could add a scheduled GitHub action that compacts long history into a vector db and then have the agents also check that vector db in addition to md and git history.
esperent•1h ago
> notes/ — Narrative. What happened each session — decisions, actions, open items. Append-only. Never modified after the day ends

I already have to fight the agent constantly to prevent it adding backwards compatibility, workarounds, wrappers etc. for things that I changed or removed. If there's even one forgotten comment that references the old way, it'll write a whole converter system if I walk out of the room for 5 minutes, just in case we ever need it, and even though my agents file specifically says not to (YAGNI, all backwards compatibility must be cleared by me, no wrappers without my explicit approval, etc.). Having a log of the things we tried last month but which failed and got discarded sounds like a bad idea, unless it's specifically curated to say "list of things that failed: ...", which by definition, an append only log can't do.

I have hit the situation where it discovered removed systems through git history, even. At least that's rare though.

bigbezet•42m ago
A lot of devs, including me, have tried something similar already. I don't really find this approach reliable.

Firstly, tools like Claude Code already have things like auto memory.

Secondly, I think we all learned by now that agents will not always reliably follow instructions in the AGENTS.md file, especially as the size of the context increases. If we want to guarantee that something happens, we should use hooks.

There are already solutions to track what the agent did and even summarising it without affecting the context window of the agent. Tools like Claude Code log activity in a way which is possible to analyze, so you can use tools to process that.

When I tried something similar in the past, the agent would not really understand what is important to "memorise" in a KNOWLEDGE.md file, and would create a lot of bloat which I would then need to clean up anyway.

There are existing tools to tell the agent what has happened recently: git. By looking at the commit messages and list of changed files, the agent usually gets most of the information it needs. If there are any very important decisions or learnings which are necessary for the agent to understand more, they should be written down >manually< by a developer, as I don't trust the agent to decide that.

Also, there is an ongoing discussion about whether AGENTS.md files are even needed, or whether they should be kept to an absolute minimum. Despite what we all initially thought, those files can actually negatively affect the output, based on recent research.

renewiltord•38m ago
Yeah, all the claw based agents use similar structure. I experimented a little with SQLite DB with embedding so it could vector search but I did not manage to get it to do better. Best is still to just stuff things in context and let it full text search history.
_pdp_•34m ago
> AI agents already read AGENTS.md (or CLAUDE.md, .cursorrules, etc.) as project instructions. This kernel uses that mechanism to teach the agent how to remember.

Dude, this is just prompts. It is as useful as asking claude code to write these files itself.

I Built an AI Receptionist for a Luxury Mechanic Shop – Part 1

https://www.itsthatlady.dev/blog/building-an-ai-receptionist-for-my-brother/
15•mooreds•26m ago•7 comments

POSSE – Publish on your Own Site, Syndicate Elsewhere

https://indieweb.org/POSSE
155•tosh•2h ago•33 comments

PC Gamer recommends RSS readers in a 37mb article that just keeps downloading

https://stuartbreckenridge.net/2026-03-19-pc-gamer-recommends-rss-readers-in-a-37mb-article/
635•JumpCrisscross•16h ago•295 comments

Walmart: ChatGPT checkout converted 3x worse than website

https://searchengineland.com/walmart-chatgpt-checkout-converted-worse-472071
90•speckx•3d ago•65 comments

Tin Can, a 'landline' for kids

https://www.businessinsider.com/tin-can-landline-kids-cellphone-cell-alternative-how-2025-9
148•tejohnso•2d ago•109 comments

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon

https://larstofus.com/2026/03/22/the-gold-standard-of-optimization-a-look-under-the-hood-of-rolle...
397•mariuz•15h ago•115 comments

Migrating to the EU

https://rz01.org/eu-migration/
4•exitnode•41m ago•0 comments

Can you get root with only a cigarette lighter? (2024)

https://www.da.vidbuchanan.co.uk/blog/dram-emfi.html
84•HeliumHydride•2d ago•16 comments

Show HN: The King Wen Permutation: [52, 10, 2]

https://gzw1987-bit.github.io/iching-math/
17•gezhengwen•2h ago•10 comments

The future of version control

https://bramcohen.com/p/manyana
540•c17r•19h ago•296 comments

Reports of code's death are greatly exaggerated

https://stevekrouse.com/precision
419•stevekrouse•23h ago•311 comments

The way CTRL-C in Postgres CLI cancels queries is incredibly hack-y

https://neon.com/blog/ctrl-c-in-psql-gives-me-the-heebie-jeebies
70•andrenotgiant•2d ago•11 comments

Why I love NixOS

https://www.birkey.co/2026-03-22-why-i-love-nixos.html
331•birkey•17h ago•235 comments

Show HN: Agent Kernel – Three Markdown files that make any AI agent stateful

https://github.com/oguzbilgic/agent-kernel
18•obilgic•3h ago•6 comments

Project Nomad – Knowledge That Never Goes Offline

https://www.projectnomad.us
464•jensgk•22h ago•156 comments

Dataframe 1.0.0.0

https://discourse.haskell.org/t/ann-dataframe-1-0-0-0/13834
18•internet_points•1h ago•0 comments

Flash-MoE: Running a 397B Parameter Model on a Laptop

https://github.com/danveloper/flash-moe
358•mft_•23h ago•115 comments

GoGoGrandparent (YC S16) is hiring Back end Engineers

https://www.ycombinator.com/companies/gogograndparent/jobs/2vbzAw8-backend-engineer
1•davidchl•7h ago

You are not your job

https://jry.io/writing/you-are-not-your-job/
198•jryio•19h ago•215 comments

A Copy-Paste Bug That Broke PSpice AES-256 Encryption

https://jtsylve.blog/post/2026/03/18/PSpice-Encryption-Weakness
54•jtsylve•3d ago•11 comments

GrapheneOS will remain usable by anyone without requiring personal information

https://grapheneos.social/@GrapheneOS/116261301913660830
428•nothrowaways•13h ago•121 comments

MAUI Is Coming to Linux

https://avaloniaui.net/blog/maui-avalonia-preview-1
218•DeathArrow•19h ago•128 comments

The LCA problem revisited [pdf]

https://www3.cs.stonybrook.edu/~bender/talks/BenderFa00-lca-talk.pdf
5•remywang•5d ago•1 comments

What young workers are doing to AI-proof themselves

https://www.wsj.com/economy/jobs/ai-jobs-young-people-careers-14282284
142•wallflower•16h ago•230 comments

Five years of running a systems reading group at Microsoft

https://armaansood.com/posts/systems-reading-group/
169•Foe•17h ago•51 comments

Ordered dithering with arbitrary or irregular colour palettes (2023)

https://matejlou.blog/2023/12/06/ordered-dithering-for-arbitrary-or-irregular-palettes/
46•surprisetalk•5d ago•3 comments

They’re vibe-coding spam now

https://tedium.co/2026/02/25/vibe-coded-email-spam/
97•raybb•12h ago•56 comments

Migrating the American express payment network, twice

https://americanexpress.io/migrating-the-payments-network-twice/
76•madflojo•10h ago•29 comments

Building an FPGA 3dfx Voodoo with Modern RTL Tools

https://noquiche.fyi/voodoo
197•fayalalebrun•21h ago•43 comments

LLMs predict my coffee

https://dynomight.net/coffee/
124•surprisetalk•4d ago•50 comments