frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: OctopusGarden – An autonomous software factory (specs in, code out)

https://github.com/foundatron/octopusgarden
5•foundatron•1h ago
I built this over the weekend after reading about StrongDM's software factory (their writeup: https://factory.strongdm.ai/, Simon Willison's deep dive: https://simonwillison.net/2026/Feb/7/software-factory/, Dan Shapiro's Five Levels: https://www.danshapiro.com/blog/2026/01/the-five-levels-from...). OctopusGarden is an open-source implementation of the pattern StrongDM described: holdout scenarios, probabilistic satisfaction scoring via LLM-as-judge, and a convergence loop that iterates until the code works; no human code review in the loop.

What stood out to me was that this architecture largely rhymes with the coding workflows I and others already do with coding agents. It's basically automating the connective tissue between the workflows I was already doing in Claude Code, and then brute-forcing a result. In the dark factory model, a spec goes in, code gets generated, built in Docker, validated against scenarios the agent never saw, scored, and failures feed back until it converges.

I've tried it with mostly standard CRUD/REST API apps and it works. I haven't tried anything with HTML/JS yet. You can try the sample specs in the repo.

Some raw notes from the experience:

1. I don't want to maintain the code these factories generate. It works. The phenotype is (largely) correct, but the genotype is pretty wild and messy. I did not use OctopusGarden to build OctopusGarden (you can tell because it uses strict linting and tests). I know the point of these systems is zero human in the loop, but I think there's a real opportunity to get factories to generate code that humans actually want to maintain. I'm going to work on getting OctopusGarden there.

2. Compliance might be a nightmare. In my day job I think a lot about ISO 27001 and SOC 2 compliance. The idea of deploying dark-factory-generated projects into my environments and checking compliance boxes sounds painful. That might just be the current state of OctopusGarden and the code it generates, but I think we can get to a point where generated code is completely linted, statically checked, and tested inside the factory. That's not OctopusGarden today, but maybe it will be there next week? I can see this moving fast.

3. These dark factory apps will be hard to debug. There was a Claude outage today and I couldn't run my smoke tests or generate new apps. I don't want to maintain services that can't be debugged and fixed by a human in a pinch. We're already partially there with AI-assisted code, but this factory-generated code is even more convoluted. Requiring AI to create a new app version is probably worth it...but it's still yet another thing between you and quickly patching an urgent bug.

4. Security needs a better story. These things need real security hardening. Maybe that's just better spec files and scenarios, maybe it's something more. I'm going to drink a strong cola and think about this one.

5. The unit of responsibility keeps growing. Last year we said code must come in PR-sized bites — that's how we manage risk. Now we're talking about deploying meshes of services created and deployed with no humans in the loop (except at creation). AI-generated services could really push the scale of what people are willing to accept responsibility for. Most SRE teams manage 1-5 services at big companies. Will that number increase per team? How much GDP is one person willing to manage via agents? Just a shower thought.

6. I was surprised this works. I'm surprised at how easy it was to make. I'm surprised more of these aren't out there already. I only did a couple of GitHub searches and didn't find many. I'm bad at searching. Sorry if I didn't find your project.

Comments

deltaops•1h ago
This is exactly the problem we're tackling! We built DeltaOps (delta-ops-mvp.vercel.app) - human-in-the-loop governance for autonomous agents. You hit the nail on the head with "no human in the loop" - that's the gap. DeltaOps adds a layer where agents can work autonomously, but critical actions (deploys, code merges, spending) require human approval. Also addresses your compliance concerns - every action is logged and approved. Would love to chat about integrating governance into dark factories!
foundatron•1h ago
Cool site/ good idea. Maybe I'm underestimating it (I probably am), but I don't think it's a huge leap from what I published today and that compliant vision you're tackling.
guerython•1h ago
Curious how you are handling those guard logs and approvals in OctopusGarden?
foundatron•1h ago
Right now OctopusGarden logs every LLM call with token counts and cost, and the SQLite store records each run and iteration (spec hash, scores per scenario, generated code). So you get a full trace of what was generated, what it was tested against, and how it scored.

For approvals, the current model is that the spec is the approval. If the spec is right and scenarios pass at 95%+ satisfaction, the code ships. There's no PR review step by design (the "code is opaque weights" philosophy).

That said, you could totally layer approvals on top. Gate on spec changes, require sign-off before a run kicks off, or add a human checkpoint between "converged" and "deployed." The tool doesn't enforce a deployment pipeline, so that's up to your org's workflow.

Worth noting: this is purely a hobby project at this point. It hasn't been used in any commercial setting. The guard rails and approval workflow stuff is where it would need the most work before anyone used it for real.

Show HN: An Auditable Decision Engine for AI Systems

https://maelstrom.ghostlogic.tech
1•adamscottthomas•1m ago•0 comments

How to Recover Your Stolen Crypto After a Scam–Guidance from Intelligence Wizard

1•Petersrobert•4m ago•0 comments

Do AI Agents Make Money in 2026? Or Is It Just Mac Minis and Vibes?

https://www.siliconsnark.com/do-ai-agents-actually-make-money-in-2026-or-is-it-just-mac-minis-and...
1•SaaSasaurus•4m ago•0 comments

Underground Salt Caverns Are Preserving Our History

https://eos.org/features/salt-of-the-earth-vast-underground-salt-caverns-are-preserving-our-histo...
1•sohkamyung•5m ago•0 comments

One-Stop Wan AI Video and Image Generator Platform

https://towan.net/
1•seagnson•6m ago•1 comments

Show HN: Ask Mob

https://mob.army/
1•cc-d•13m ago•0 comments

Show HN: A Kotlin Multiplatform app that works on watch, CLI, browser extension

https://arnav.tech/architecting-twofac-my-journey-into-kotlin-multiplatform-module-structure
1•championswimmer•13m ago•0 comments

NY bill would prohibit AI chatbots from giving legal advice

https://twitter.com/RobertFreundLaw/status/2028550955386704285
4•timr•15m ago•0 comments

Show HN: Generate random, valid US residential addresses for testing

https://meiguodz.com
2•roookiecookie•17m ago•0 comments

Unbound Video AI is the most unrestricted AI video tool I've tried in 2026

https://unbound.video
1•gabrieln•19m ago•1 comments

A timeline of cyber attacks:home users, contractors, and SMBs are now targets

2•EricAUS•21m ago•0 comments

Iran unleashes Shahed drones aimed at targets across Middle East

https://www.theguardian.com/world/2026/mar/02/iran-unleashes-hundreds-of-drones-aimed-at-targets-...
6•0in•22m ago•1 comments

Shutting down, open sourced private AI document server

https://github.com/queryhat/super-hat
3•chhetri978•24m ago•3 comments

Zuckerberg's internal emails rendered as Facebook Messenger

https://zuckmail.vercel.app/
2•not-chatgpt•25m ago•0 comments

Daily LNG freight rates jump over 40% amid Mideast strikes

https://www.reuters.com/business/energy/daily-lng-freight-rates-jump-over-40-amid-mideast-strikes...
4•geox•26m ago•0 comments

Solar Time vs. Standard Time heat map chart

https://blog.poormansmath.net/images/SolarTimeVsStandardTime.png
1•ivewonyoung•27m ago•0 comments

Show HN: One-click ComfyUI setup for RTX 50-series on Windows (cu130, no Docker)

https://github.com/hiroki-abe-58/ComfyUI-Win-Blackwell
1•GeneLab_999•28m ago•0 comments

Ask HN: Codex CLI error reveals "GPT-5.4-ab-arm2" string

1•quantisan•30m ago•1 comments

The Optimization Trap: Why the Birth Rate Can't Be Fixed

https://tantaman.com/2026-03-02-fertility-is-not-economics.html
1•tantaman•30m ago•1 comments

OpenAI, Pentagon add more surveillance protections to AI deal

https://www.axios.com/2026/03/03/openai-pentagon-ai-surveillance
2•foobarqux•31m ago•3 comments

Meteorologist warns federal cuts are undermining weather forecasts nationwide

https://www.lehighvalleynews.com/environment-science/local-meteorologist-warns-federal-cuts-are-u...
1•mkmk•33m ago•0 comments

Decimal Time (French Republican Clock)

https://en.wikipedia.org/wiki/Decimal_time
1•rawgabbit•37m ago•0 comments

Made a register-based bytecode VM in C, heres how the handler table works

https://github.com/goofgef/ZagMate
1•goofgef•44m ago•1 comments

The exploitation paradox in open source

https://lwn.net/SubscriberLink/1058031/a1b77f8039faed6c/
1•pabs3•47m ago•0 comments

Coasty automates anything – this post was written by the CUA itself

1•PrateekJ17•48m ago•1 comments

"Here is a re-post of an internal note"

https://twitter.com/sama/status/2028640354912923739
3•davidbarker•48m ago•1 comments

Ars Technica Fires Reporter After AI Controversy Involving Fabricated Quotes

https://futurism.com/artificial-intelligence/ars-technica-fires-reporter-ai-quotes
2•danso•52m ago•0 comments

Show HN: PHP 8 disable_functions bypass PoC

https://github.com/m0x41nos/TimeAfterFree
16•m0x41nos•52m ago•3 comments

Anthropic Adds Free Memory Feature and Import Tool to Lure ChatGPT Users

https://www.macrumors.com/2026/03/02/anthropic-memory-import-tool/
2•mgh2•52m ago•0 comments

LibreOffice hits back at critics, says its UI is better than Microsoft Office's

https://www.neowin.net/news/libreoffice-hits-back-at-its-critics-says-its-ui-is-better-than-micro...
7•bundie•57m ago•5 comments