frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How do you run parallel agent sessions?

6•Olshansky•2d ago
Anthropic has these docs that use git worktree: https://code.claude.com/docs/en/common-workflows#run-paralle...

There are some apps like this that leverage git-worktrees under the hood: https://conductor.build

I've tried lazygit as well to make it more convenient.

I still end up preferring having multiple clones of my repo when I need to ensure the agents don't accidentally overlap.

Curious what other people do.

Comments

bob1029•2h ago
I am firmly in the opposite direction to parallelism. I don't think it's a good thing to chase. One "slow" agent can outpace many fast ones if they're making a lot of mistakes.

Depth first search via recursive dispatch is my current go-to strategy. This requires a fully serialized chain of operations. Not even tool calls are allowed to run in parallel. One agent and one action at a time. That's it.

This does feel really slow at first, but in practice it seems to converge on high quality solutions more quickly than breadth first techniques which leverage parallelism and more tokens. The solution itself might not be the most ideal, but we find it very quickly and with a great deal of consistency. This means we can iterate more rapidly and with more certainty.

Just because we can consume $100 of tokens in 60 seconds doesn't mean we should try to. I think trying to go fast is what's burning a lot of people out on AI. There's a ton of value in here if we can slow down and be a little bit more deliberate about it.

koliber•1h ago
I am exploring ways to do it that fit my style.

First of all, the limiting factor is my attention. Even when I really tried to do this in parallel I could not meaningfully run more than three sessions.

I realized that some of the attention is devoted to thinking how multiple agents could step on each others toes as and end up creating merge conflicts when it came time to merge.

I have multiple projects and if I feel I have capacity to do parallel coding, I do it in unrelated code bases.

Sometimes I do super async work - as in one interaction per hour or so. I do it while walking, waiting in line, or between meetings. I found web based Codex to be decent for this. I guess it’s in parallel with my Claude Code sessions.

Tell HN: 2 years building a kids audio app as a solo dev – lessons learned

117•oliverjanssen•20h ago•52 comments

Tell HN: Bending Spoons laid off almost everybody at Vimeo yesterday

382•Daemon404•17h ago•422 comments

Ask HN: Does Apple not have *any* QA for their older macOS releases?

3•richrichardsson•40m ago•0 comments

Ask HN: Why are so many rolling out their own AI/LLM agent sandboxing solution?

17•ATechGuy•1d ago•9 comments

Users don't care about your app's complexity

2•Fh_•57m ago•3 comments

Ask HN: Do you have any evidence that agentic coding works?

419•terabytest•1d ago•417 comments

Ask HN: Does "Zapier for payment automation" exist?

8•PL_Venard•19h ago•10 comments

Ask HN: How do you run parallel agent sessions?

6•Olshansky•2d ago•2 comments

Tell HN: Claude session limits getting small

17•pragmaticalien8•15h ago•13 comments

Ask HN: How are you automating your coding work?

66•manthangupta109•14h ago•75 comments

Do people at Google use Gmail?

2•mr-pink•4h ago•1 comments

Ask HN: What have you built/shipped with Claude Code?

7•blhack•1d ago•3 comments

How do you keep AI-generated applications consistent as they evolve over time?

9•RobertSerber•16h ago•0 comments

Ask HN: Revive a mostly dead Discord server

19•movedx•1d ago•28 comments

Ask HN: What are good resources to get familiar with AI code editors?

8•northfield27•19h ago•6 comments

Ask HN: COBOL devs, how are AI coding affecting your work?

167•zkid18•2d ago•183 comments

Ask HN: Do you protect your client-side JavaScript? Why or why not?

5•nikitaeverywher•1d ago•1 comments

Ask HN: How did Gemini go from being awful to incredible back to awful?

3•wewewedxfgdf•5h ago•4 comments

Tell HN: Avoid Cerebras if you are a founder

29•remusomega•17h ago•15 comments

Tell HN: Claude helped me maintain my old open source project

12•nergal•13h ago•7 comments

Ask HN: How locked down are your work machines?

15•donatj•14h ago•17 comments

Ask HN: How do you audit autonomous AI agent decisions?

3•credentum•8h ago•2 comments

Tell HN: Amazon has deactivated my seller account

74•hacky_engineer•15h ago•72 comments

Ask HN: Vibe-coded prototypes: what happens when they go into production?

4•stosssik•9h ago•1 comments

Ask HN: Are you going to meetups/conferences?

9•carimura•17h ago•5 comments

Ask HN: Why does SOC 2 feel so hard for early-stage startups?

7•asdxrfx•19h ago•3 comments

Ask HN: Which common map projections make Greenland look smaller?

18•jimnotgym•1d ago•17 comments

Ask HN: Anyone seeing copy/paste reliability issues in ChatGPT Web on macOS?

2•sallyrideauto•8h ago•0 comments

Tell HN: ChatGPT needs a persistent workspace layer

7•LostBeacon•12h ago•1 comments

Ask HN: What's your biggest challenge with context engineering for AI agents?

4•karpathunter•17h ago•0 comments