frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: A simpler coding agent harness

3•pyrolistical•1h ago
The system prompts that coding agent harnesses pass to language models are massive. They describe every available tool in detail — even the ones you never use.

So I wondered, what if I built something more minimal?

I tend to work on small projects where all the code fits in the context window. So I built a harness with a single tool: the ability for an LLM to edit my files.

The core algorithm:

1. Read every file in the project directory

2. Concatenate them with the user's prompt into a single message

3. Send it to any language model, instructed to respond with a message and a list of edits — each edit being a search and replace on a specific file

4. Apply the edits

I tried getting the LLM to generate unified diffs, but it kept producing malformed ones. Search and replace turned out to be far more reliable — the model copies text verbatim from the files already in its context.

This can be extended with a few more features:

1. A CLI that lets you continue the conversation or reset it. Dumber LLMs need this so it can see the mistake they made.

2. Automatic retries — if an edit fails, re-send the current files and have the LLM fix its own search blocks.

3. File deletion. I made it so that an empty search-and-replace on an empty file deletes it.

The LLMs I tested were local ones running through the LM Studio API. Gemma 4 was pretty bad. Qwen 3.5 was significantly better.

Where is the source code? You should be able to get any coding agent to generate you one using this post.

Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval

https://medium.com/@Koukyosyumei/hacking-mcp-servers-in-ai-systems-the-rug-pull-tool-changes-afte...
1•syumei•4m ago•0 comments

AI Meeting recorder that runs on your Mac

https://quietly.fastclick.ai
1•saadn92•10m ago•0 comments

Speeding up GPU kernels by 38% with a multi-agent system

https://cursor.com/blog/multi-agent-kernels
1•gmays•12m ago•0 comments

DESI Completes Planned 3D Map of the Universe

https://newscenter.lbl.gov/2026/04/15/desi-completes-planned-3d-map-of-the-universe-and-continues...
1•revicon•15m ago•0 comments

Ask HN: We dont need a programming language now?

1•zameermfm•15m ago•1 comments

Tailscale-rs: Official Rust library for embedding Tailscale

https://tailscale.com/blog/tailscale-rs-rust-tsnet-library-preview
1•phantomathkg•19m ago•0 comments

Show HN: Hiraeth – AWS Emulator

https://github.com/SethPyle376/hiraeth
2•ozarkerD•21m ago•0 comments

Show HN: Tokanban, an agent-first task management system

https://tokanban.com/
1•clippy99•22m ago•0 comments

Waterfall (2018)

https://beza1e1.tuxen.de/waterfall.html
2•LAC-Tech•23m ago•0 comments

Astronomers Propose New Way to Find Aliens Without Knowing What It Looks Like

https://www.sci.news/astronomy/agnostic-biosignature-14697.html
2•WaitWaitWha•26m ago•0 comments

The California Governor's Race – Class, Competence, and Political Legitimacy

https://simplefunctions.dev/opinions/california-governor-2026-class-competence-legitimacy
1•patrickliu0077•28m ago•0 comments

S&P 500 hits all-time high as investors shrug off Iran war oil price spike

https://www.nbcnews.com/business/markets/sp-500-hits-new-high-iran-war-rcna331900
1•harambae•31m ago•0 comments

Stealth Satellite TV Defeats Iran's Internet Blackout

https://spectrum.ieee.org/iran-internet-blackout-satellite-tv
2•WaitWaitWha•32m ago•0 comments

What If Being a "Real Man" Is the Trap?

https://lylewfass.substack.com/p/the-fraternity-of-contempt
1•nursehax•35m ago•0 comments

Arguing with Agents

https://blowmage.com/2026/04/14/arguing-with-agents/
16•asaaki•36m ago•1 comments

Most People Measure Brightness

https://www.motivenotes.ai/p/motive-force
1•AnhTho_FR•37m ago•0 comments

Jury finds that Live Nation acted as a monopoly and overcharged ticket buyers

https://text.npr.org/nx-s1-5786715
1•hi41•39m ago•1 comments

xAI prepares credits system for upcoming Grok Build launch

https://www.testingcatalog.com/xai-prepares-credits-system-for-upcoming-grok-build-launch/
3•gmays•47m ago•1 comments

7.0 Thermal Control. Of Small Spacecraft Technology

https://www.nasa.gov/smallsat-institute/sst-soa/thermal-control/
1•totetsu•47m ago•0 comments

Cloudflare's Project Think

https://blog.cloudflare.com/project-think/
3•p0u4a•49m ago•0 comments

300-unit-per-second roll-to-roll manufacturing of visible metalenses

https://www.nature.com/articles/s41586-026-10369-y
1•yeonsh•51m ago•1 comments

Fibroblasts of disparate developmental origins harbor scarring potential

https://www.cell.com/cell/abstract/S0092-8674(25)01427-8
2•gnabgib•59m ago•0 comments

Keycard – inject API keys into subprocesses, never touch shell env

https://www.keycard.studio/
10•jijane•1h ago•5 comments

Why facial scars are smaller than back scars

https://www.nature.com/articles/d41586-026-01044-3
1•bookofjoe•1h ago•1 comments

Show HN: Object Storage Comparisons

https://storage.mixpeek.com
1•Beefin•1h ago•0 comments

Pi Hard

https://www.youtube.com/watch?v=CNbmoVdirxw
3•Fr0styMatt88•1h ago•0 comments

The AI Debacle

https://justintallant.com/the-ai-debacle
1•jtallant•1h ago•0 comments

Free open source AI Editor

https://github.com/MeepCastana/KubeezCut
2•Meeeeeep•1h ago•0 comments

A Better Ludum Dare; Or, How to Ruin a Legacy

https://ldjam.com/events/ludum-dare/59/$425291/$425292
7•raincole•1h ago•0 comments

Show HN: Leaking AWS Keys from a Trading Competition Sandbox via stdout

https://github.com/JakOb-dotcom/cloud-sandbox-security-analysis/
2•JakOb-dotcom•1h ago•0 comments