frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Harness Engineering: 52 Days, One Person, 965K Lines of Code

https://agentsmesh.ai/blog/building-agentsmesh-with-agentsmesh
2•zyf1994•2h ago

Comments

zyf1994•2h ago
OpenAI recently described how they used AI agents to produce over a million lines of code in five months — a practice they call Harness Engineering.

I started building AgentsMesh (agentsmesh.ai) 52 days ago. 600 commits, 965,687 lines of code throughput, 356,220 lines of production code still standing. One person. The repo is fully open source and every number is verifiable via `git log`.

But the numbers aren't the point — the structure is. I used Harness Engineering to build a Harness Engineering tool.

*The Engineering Environment Sets the Ceiling*

Agent output quality depends critically on the engineering soil it works in.

The codebase follows strict DDD layering with 22 domain modules and clear boundaries. When an agent adds a feature, it knows where things go. Cross-stack naming is fully aligned — `domain/loop/`, `service/loop/`, `components/loops/` — so directory structure alone serves as documentation.

Most counterintuitively: tech debt gets amplified exponentially by agents. A temporary compromise becomes a "precedent" the agent systematically reuses. I stopped multiple times to clean up tech debt — not for aesthetics, but to maintain signal purity. This maintenance cost is unique to agent-collaborative development.

Strong typing (Go + TypeScript + Proto) shifts errors from runtime to compile time. A four-layer feedback loop — compilation, unit tests, e2e tests, CI pipeline — gives agents fast, precise error signals. Worktrees with automatic port isolation enable native parallelism.

The conclusion: the codebase itself is the agent's most important context. No separate RAG or memory files needed. The repository is the context.

*Cognitive Bandwidth Is a Real Constraint*

Around day 5, I hit a wall at ~50,000 lines of daily throughput. Three parallel agent workstreams was the limit for sound architectural decisions. A fourth noticeably degraded quality.

The breakthrough: delegate the decision-making itself. Let agents coordinate agents — move from supervising agents to supervising the system that supervises them. That's how Autopilot mode was born, and the core design intent of AgentsMesh.

*When Experimentation Costs Collapse*

The Relay architecture wasn't designed on a whiteboard. Three Pods crashed the Backend; I watched it fail, rebuilt, and iterated. Discovery to fix: under two days — versus two weeks of traditional architecture discussion.

AI doesn't change the speed of writing code; it changes the cost structure. When iteration is cheap enough, experiment-driven development produces better architectures than design-driven development.

*Three Engineering Primitives*

52 days of practice converged into three primitives:

*Isolation.* Every agent needs its own workspace — a hard prerequisite. AgentsMesh implements this with Pods: each agent runs in its own Git worktree and sandbox, with all necessary context prepared.

*Decomposition.* Agents excel with clear scope and definition of done. Tickets handle one-shot work (features, bugs, refactoring); Loops handle recurring tasks (daily tests, scheduled builds) via Cron expressions.

*Coordination.* Agents aren't bound by human specialization — the same agent can code, document, test, and review. Coordination needs communication and permissions, not role-based hierarchy. Channels provide shared collaboration spaces; Bindings grant point-to-point permissions like `terminal:read` and `terminal:write`, letting supervisor agents directly observe and control workers.

OpenAI calls these Context Engineering, architectural constraints, and entropy management. Different names, same problem.

*Open Source*

Harness Engineering is a discipline, not a product feature. Code is on GitHub — https://github.com/AgentsMesh/AgentsMesh.

Einstein Letter to the NY Times on Zionism (1948)

https://archive.org/details/AlbertEinsteinLetterToTheNewYorkTimes.December41948
1•fullautomation•2m ago•0 comments

How to use storytelling to fit inline assembly into Rust

https://www.ralfj.de/blog/2026/03/13/inline-asm.html
1•vinhnx•11m ago•0 comments

Reinventing Python's AsyncIO

https://blog.baro.dev/p/reinventing-pythons-asyncio
1•vinhnx•11m ago•0 comments

I've taught people how to use AI – here's what I've learned

https://www.theguardian.com/lifeandstyle/ng-interactive/2026/mar/10/teaching-ai-what-i-learned
2•coloradoave22•15m ago•1 comments

Show HN: Ffetch v5 – TypeScript-first fetch client

https://www.npmjs.com/package/@fetchkit/ffetch
1•gkoos•22m ago•0 comments

Everyone within humanities can contribute to the study of AI

https://www.universiteitleiden.nl/en/news/2025/09/stephan-raaijmakers-everyone-within-humanities-...
1•teleforce•25m ago•0 comments

Ex-Windows chief praises MacBook Neo, laments Surface defeat

https://www.windowscentral.com/microsoft/ex-windows-chief-calls-macbook-neo-a-paradigm-shifting-c...
3•walterbell•26m ago•0 comments

Riva: Local-first observability for AI agents

https://github.com/sarkar-ai-taken/riva
1•sarkarsaurabh27•31m ago•1 comments

From CIA to CEO, Spies Step Out of the Shadows and into the Boardroom

https://www.bloomberg.com/news/features/2026-03-13/former-cia-spies-launch-defense-tech-startups-...
2•jbegley•32m ago•0 comments

Musk Says xAI Must Be Rebuilt as Co-Founders Exit

https://www.wsj.com/tech/musk-says-xai-must-be-rebuilt-as-co-founders-exit-47770dfa
1•1vuio0pswjnm7•32m ago•0 comments

Hegseth on CNN: 'The sooner David Ellison takes over that network, the better'

https://thehill.com/policy/defense/5782562-hegeseth-criticizes-cnn-iran/
2•KnuthIsGod•33m ago•0 comments

xAI Co-Founder Toby Pohlen Is Latest Executive to Depart

https://www.bloomberg.com/news/articles/2026-02-27/xai-co-founder-toby-pohlen-is-latest-executive...
2•1vuio0pswjnm7•35m ago•1 comments

Lawyers in landmark social media addiction trial make final appeals to the jury

https://apnews.com/article/meta-instagram-facebook-trial-social-media-addiction-0e99c9ba615942172...
3•1vuio0pswjnm7•39m ago•0 comments

Nasdaq Proposes New "Fast Entry" Rule for the Nasdaq-100 Index

https://www.ashurst.com/en/insights/nasdaq-proposes-new-fast-entry-rule-for-the-nasdaq-100-index/
1•walterbell•41m ago•0 comments

Tethyr Cloud: Open Agent discovery, zero vendor lock-in (AIdeas Semi-finalist)

https://builder.aws.com
1•walmsles•44m ago•1 comments

Wool – A no-nonsense distributed Python runtime

https://github.com/wool-labs/wool
3•bzurak•44m ago•2 comments

Approximating π using Monte Carlo Simulation (watch as the process converges)

https://graui.de/code/montePi/
1•joebig•49m ago•0 comments

Can a 100-Year-Old Mouse Save Disney?

https://www.honest-broker.com/p/can-a-100-year-old-mouse-save-disney
1•paulpauper•50m ago•0 comments

The Anthropic Institute

https://www.anthropic.com/news/the-anthropic-institute
1•gmays•51m ago•0 comments

I built AP score calculators for all 24 AP exams

https://apscorecalc.com/
1•smarthomeu•55m ago•1 comments

A Hard Reset, and What Comes Next

https://digg.com
2•magnust•56m ago•1 comments

Show HN: Free email finder for job seekers – find and contact hiring managers

https://www.dropzone.careers
1•qcarroll•57m ago•5 comments

exe-muttha-fukken-dev.exe.xyz [fan page]

https://exe-muttha-fukken-dev.exe.xyz
1•indigodaddy•58m ago•0 comments

The Church of Artificial Superintelligence

https://churchofai.webzum.com
2•billions•1h ago•0 comments

'Not built right the first time', Musk's xAI is starting over again, again

https://techcrunch.com/2026/03/13/not-built-right-the-first-time-musks-xai-is-starting-over-again...
2•jnord•1h ago•0 comments

The Most Accurately Predicted Genocide in History

https://thewalrus.ca/sudan-genocide/
10•garbawarb•1h ago•1 comments

Show HN: Lazy as a Service – Antigravity Extension

https://github.com/lakathekolla/laas
1•lakruoneX•1h ago•0 comments

I Fixed Green Screens [video]

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

The Middle Loop

https://annievella.com/posts/the-middle-loop/
1•vinhnx•1h ago•0 comments

Meta Delays Rollout of New A.I. Model After Performance Concerns

https://www.nytimes.com/2026/03/12/technology/meta-avocado-ai-model-delayed.html
2•gmays•1h ago•0 comments