frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Best Architecture Patterns for Lightweight SWE Workflows?

1•ethanjscott•1h ago
I am working on a lightweight agentic workflow to accelerate software development on my own machine. I am executing AI-generated code locally on my machine in a sandboxed environment, and feeding the errors back into the LLM automatically.

Has anyone done anything similar on their own machine? I am interested to hear other thoughts.

General overview of the current workflow (without a lot of the finer details):

Call Gemini API to generate Python code for specific function/problem ->

Run AI-generated code in Docker container ->

Take any runtime/compilation errors and feed back to Gemini ->

Run hardcoded tests for functionality and send results back to Gemini ->

Repeat step 1 until max iterations are met (or testing passes)

I had a few general questions:

1) What patterns, antipatterns, or architectures do people find best for these workflows?

2) Is using Docker considered the easiest and safest way of quarantining AI-generated code?

3) I have read a couple posts online about “compressing” the context of previous changes through quick summaries. We can also use vectors for traversing documentation to speed up context retrieval for the AI. Does anyone have any general advice here on what works and what doesn’t?

4) Should I have an external Agent that reviews the errors of the previous iterations to see if Gemini is falling into a loop? Sometimes when I use LLMs for coding, I notice that they fall into loops (they will just alternate between two buggy solutions). Should we just break the iterations in this case and rely on human intervention?

I am also trying to utilize AutoML packages (like FLAML) with this workflow. I am implementing this workflow to perform “automatic” data analysis on datasets to get better predictions. Obviously, I understand that this will not perform as well as a professional data scientist. However, has anyone done anything similar and seen some positive results?

Comments

capestart•1h ago
I’ve found Docker works well with resource limits, a small critic agent helps break error loops, and summarizing diffs beats raw vector search for context; adding auto-tests can also help escape trivial bug-fix loops.
NitpickLawyer•1h ago
I found devcontainers to be the best of both worlds - gives you an environment where the agent can do whatever it needs and you get your IDE as well.

John Searle Has Died

https://dailynous.com/2025/09/28/john-searle-1932-2025/
1•emmelaich•32s ago•0 comments

New AI system could accelerate clinical research

https://news.mit.edu/2025/new-ai-system-could-accelerate-clinical-research-0925
1•ceolin•1m ago•0 comments

Starving, sleeping, and yielding: understanding Go's scheduler

https://bitfieldconsulting.com/posts/starving
1•ingve•6m ago•0 comments

Changes to the Google Maps follow feature

https://support.google.com/maps/answer/9603499?hl=en
1•angryGhost•10m ago•0 comments

Have Traditional Media Destroyed the Perception of Home?

https://estimateproperty.blogspot.com/2025/09/have-traditional-media-destroyed.html
1•ushername•10m ago•0 comments

I Made an Online Game Between Mario 64 and Crash Bandicoot on Real Hardware [video]

https://www.youtube.com/watch?v=Gm-sBLDR7qg
1•Oxodao•11m ago•0 comments

90%

https://lucumr.pocoo.org/2025/9/29/90-percent/
2•bkolobara•16m ago•0 comments

Tell Me a Story

https://content.subvisual.com/talk-roundtable/sasa-juric-tell-me-a-story/
1•Munksgaard•17m ago•0 comments

Cursor, Copilot, and Windsurf Handle the Same Coding Task

https://dev.family/blog/article/cursor-vs-copilot-vs-windsurf-how-different-ai-agents-write-code-...
1•dev_family•26m ago•0 comments

US States spend billions on data center incentives

https://pluribusnews.com/news-and-events/report-states-spend-billions-on-data-center-incentives/
1•robtherobber•27m ago•0 comments

Show HN: Nihondex Learn Japanese Fast

https://nihondex.com
5•Thomalloc•29m ago•3 comments

Show HN: Before vibe coding-vibe defien and design

https://paraflow.com/
1•Julie309•30m ago•1 comments

The JavaScript Handbook (2025 edition)

https://flaviocopes.com/the-javascript-handbook-2025-edition/
1•unripe_syntax•30m ago•0 comments

Does AI Get Bored?

https://timkellogg.me/blog/2025/09/27/boredom
3•tkellogg•31m ago•0 comments

Rails 8 upgrade story: duplicate keys sneaking into our JSON responses

https://blog.arkency.com/duplicate-keys-sneaking-into-our-JSON-responses/
2•amalinovic•31m ago•0 comments

We tried Go's experimental Green Tea garbage collector: didn't help performance

https://www.dolthub.com/blog/2025-09-26-greentea-gc-with-dolt/
1•ingve•31m ago•0 comments

Show HN: Wan 2.5 vs. Veo3 Who Deserves the AI Video Throne?

https://www.wan2video.com/wan-2-5-ai
1•Viaya•33m ago•0 comments

Show HN: Bibfixer – AI-powered BibTeX cleaner

https://github.com/takashiishida/bibfixer
1•tksii•40m ago•0 comments

Linux 6.17 release – Main changes, Arm, RISC-V, and MIPS architectures

https://www.cnx-software.com/2025/09/29/linux-6-17-release-main-changes-arm-risc-v-and-mips-archi...
1•transpute•46m ago•0 comments

Get Rid of Unnecessary Photos

https://play.google.com/store/apps/details?id=com.markOne.ss_app&hl=en_IN
1•tehleelmir•46m ago•0 comments

DeepSeek-v3.2-Exp

https://github.com/deepseek-ai/DeepSeek-V3.2-Exp
20•meetpateltech•47m ago•0 comments

Ony Ive's latest lightbulb moment? A sailing lantern

https://www.ft.com/content/a7f970a6-d4c6-4ca2-ab6c-0022be388c65
1•ksec•51m ago•0 comments

Show HN: PaywallPro – Analyze and optimize app subscription paywalls

https://www.paywallpro.app/
1•JasonKui•52m ago•0 comments

Avalanche Studios NYC Retrospective – An Ambitious Company Ruined

https://probablydance.com/2025/09/28/avalanche-studios-nyc-retrospective-an-ambitious-company-rui...
1•ibobev•53m ago•0 comments

Discovery of Unstable Singularities

https://arxiv.org/abs/2509.14185
1•ksec•53m ago•0 comments

DeepSeek-v3.2-Exp

https://huggingface.co/deepseek-ai/DeepSeek-V3.2-Exp
6•skilled•57m ago•1 comments

IceWhale Introduces ZimaOS 1.5: A Simplified, Focused and Open NAS OS

https://www.zimaspace.com/blog/introducing-zimaos-1-5-a-simplified-focused-and-open-nas-os.html
1•geek1988•1h ago•0 comments

Optimizing a 6502 image decoder, from 70 minutes to 1 minute

https://www.colino.net/wordpress/en/archives/2025/09/28/optimizing-a-6502-image-decoder-from-70-m...
2•davikr•1h ago•0 comments

Parental Controls

https://openai.com/index/introducing-parental-controls
3•meetpateltech•1h ago•0 comments

The graduate 'jobpocalypse': Where have all the entry-level jobs gone? [video]

https://www.youtube.com/watch?v=IeTFpsuCor8
11•sarmike31•1h ago•6 comments