Ask HN: Is anyone experimenting with different ways of using LLMs for coding?
111–120 of 247 posts
Re: Ask HN: Is anyone experimenting with different ways of using LLMs for coding?
#112I'm working an an agentic graph-based workflow execution engine/framework. The concept of the harness is completely abstracted away/generified - a 'node/agent's is a harness (cc, codex, open code, pi, etc) + model (I test different model and harness combinations). I have a set of tasks from trivial to complex - a set workflows (a workflow is a set of initial nodes and their behaviour) is defined and each one is asked…
Eventually for my own work, I discovered that the context management and runtime was more like a stream or active service mesh than a dispatching / one-off processing problem, most others' were too. Then all my prompts would degrade across model versions or providers, and I realized that actually setting the context for the tasks and keeping track of it all was a ton of work and something I had to do everytime as an actual user, but never when I was testing or demoing it on existing data.
Curious how you're testing your work and if you've managed to avoid the problems I ran into. I need to permute across the same set of workloads/configs you mention (and maybe more) for my next set of work so I'd be very interested in sharing or collaborating on the test infrastructure! At Google I did a lot of permutation testing using https://github.com/cloudprober/cloudprober and was going to start using it sometime in the next couple weeks. It exists basically one layer above the workload content/targets so it's probably compatible with everything except the test client/driver you're using.
Re: Ask HN: Is anyone experimenting with different ways of using LLMs for coding?
#113Well, it always depends on your environment. In my case, nothing forces me to heavily use AI, so my workflow is kind of the old way, but with less hassle. - Do your thinking alone. (AI part: search, understanding) - Specing. (AI part: search, understanding, completing some text) - Coding like the old days. (AI part: search, understanding, code examples) - Okay, now I have a good idea of how my feature is going to wor…
I like this, and it mirrors my experience. I felt that, by using the "full agentic way" I am implicitly accepting the fact that all the knowledge I have right now is all the knowledge I will ever need or want to have (with the exception of new knowledge on how to ask AI to do things, I guess). This seems like a nice way to enable yourself with AI, but not replace your brain completely.
Yes, this is slow, but still fast compared to the old ways. It was liberating for me because I’m really enjoying this AI era again, while also improving.
The time I have won, I’m investing in reading more complex books about CS, discovering new engineering feats, etc.
Regarding the fully agentic way, I think the learning curve to get a system like that working is minimal, so there’s no need to spend a lot of time learning it.
It’s better to invest that time elsewhere.
Re: Ask HN: Is anyone experimenting with different ways of using LLMs for coding?
#114Re: Ask HN: Is anyone experimenting with different ways of using LLMs for coding?
#115Earlier quoted context omitted.
Ha I’m doing the same. 2 months in or so, lost track of time a bit. Started with running all the usual suspects pi, claude code, codex, goose, but mostly migrated to own agent (ha!) for greater level of control. Also doing it in python for C lang as first target (ha!). Anyhow post a link if you’d release yours I’d be interested to take a look at adjacent work.
Interesting. From time to time I'm thinking about completely replacing the agent layer with my own, so that I would be able to enforce some rules at a lower level, but I'm wondering if it's worth it. What's been your experience with that?
Re: Ask HN: Is anyone experimenting with different ways of using LLMs for coding?
#116So I decided to load up everything with more then 3GB of VRAM into various machines on the network. Anything that could conceivably run an LLM of any utility. I've been experimenting with driving a swarm of heterogenous LLMs into coding tasks. I have models as small as llama3.2:3b up to Qwen3.6:27b dense. Over 10 unique models in the swarm.
So far, the results are... interesting. Coding isn't great, but what has worked shockingly well is polling the swarm for opinions. Getting ten unique perspectives synthesized into a single summary has been astonishingly useful. When I gave the swarm the ability to debate with itself, the results got even more interesting.
The end goal here is an autonomous routing network that learns which models excel at which tasks, which machines can fit which models, and intelligently routes requests and models to where they're most effective.
I can't afford an RTX 6000, but I can run smaller models on the pile of GPUs I do have. So far it hasn't worked out the way I'd hoped, but it did turn out to be very useful in other ways. Hopefully soon I can get coding worked out and the swarm can drive itself into self-improvement
Re: Ask HN: Is anyone experimenting with different ways of using LLMs for coding?
#117One gap which I kept running into on both mobile and desktop was refining the initial plan and then later refining the generated artifacts which involved lots of imprecise copy-paste. To scratch my own itch I built a review tool to improve the velocity of planning and refining generated artifacts. It has become my daily driver: https://github.com/livetemplate/prereview
Re: Ask HN: Is anyone experimenting with different ways of using LLMs for coding?
#118I'm using what I call "hermetic agents", where completely sandboxed agents write code and tests from the same specification, where the code writer can't see the test and the test writer can't see the code. The idea is that we can get better quality this way (by avoiding confirmation bias between code and tests). It is more painful to set up however, since you have to distill a spec and guides that the agent would nor…
Re: Ask HN: Is anyone experimenting with different ways of using LLMs for coding?
#119Re: Ask HN: Is anyone experimenting with different ways of using LLMs for coding?
#120i would investigate how claude code and codex work and suggest to build your own. it is not as hard to do as it seems (its not easy still, the prompting specifically). it can show u how workflows, skills, memory, plans etc. work so you can experiment for yourself to implement the workflow that suits _you_. its an interesting excersize, for me i started with a simple repl to call models through model adapters, then al…