frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Claude Code's new hidden feature: Swarms

https://twitter.com/NicerInPerson/status/2014989679796347375
41•AffableSpatula•2h ago

Comments

tom2948329494•1h ago
And… how?
AffableSpatula•1h ago
The feature is shipped in the latest builds of claude code, but it's turned off by a feature flag check that phones home to the backend to see if the user's account is meant to have it on. You can just patch out the function in the minified cli.js that does this backend check and you gain access to the feature.
bonsai_spool•56m ago
Do you know what patch to apply? The Github link from the OP seems to have a lot of other things included.
AffableSpatula•51m ago
it's my repo - it's a fork of cc-mirror which is an established project for parallel claude installs. I wanted to take the least disruptive approach for the sake of using working code and not spelunking through bugs. Having said that - if you look through the latest commits you'll see how the patch works, it's pretty straightforward - you could do it by hand if you wanted.
mohsen1•13m ago
https://github.com/numman-ali/cc-mirror/commit/0408f60bd7c75...

Way too much code for such a small patch

codethief•1h ago
https://xcancel.com/NicerInPerson/status/2014989679796347375

In his second post he included a link to GitHub: https://github.com/mikekelly/claude-sneakpeek

engates•1h ago
Isn't this pretty much what Ruv has been building for like two years?

https://github.com/ruvnet/claude-flow

AffableSpatula•1h ago
The difference is that this is tightly integrated into the harness. There's a "delegation mode" (akin to plan mode) that appears to clear out the context for the team lead. The harness appears to be adding system-reminder breadcrumbs into the top of the context to keep the main team lead from drifting, which is much harder to achieve without modifying the harness.
estearum•1h ago
It's insane to me that people choose to build anything in the perimeter of Claude Code (et al). The combination of the fairly primitive current state of them and the pace at which they're advancing means there is a lot of very obvious ideas/low-hanging fruit that will soon be executed 100x better by the people who own the core technology.
AffableSpatula•54m ago
yeah I tend to agree. They're must be reaching the point where they can automate the analysis of claude code prompts to extract techniques and build them directly into the harness. Going up against that is brave!
wild_pointer•1h ago
Listen team lead and the whole team, make this button red.
AffableSpatula•1h ago
ha! The default system prompt appears to give the main agent appropriate guidance about only using swarm mode when appropriate (same as entering itself into plan mode). You can further prompt it in your own CLAUDE.md to be even more resistant to using the mode if the task at hand isn't significant enough to warrant it.
brookst•19m ago
Principal engineers! We need architecture! Marketing team, we need ads with celebrities! Product team, we need a roadmap to build on this for the next year! ML experts, get this into the training and RL sets! Finance folks, get me annual forecasts and ROI against WACCC! Ops, we’ll need 24/7 coverage and a guarantee of five nines. Procurement, lock down contracts. Alright everyone… make this button red!
dlojudice•1h ago
It feels like Auto-GPT, BabyAGI, and the like were simply ahead of their time
woeirua•57m ago
Had to wait for the models to catch up...
nehalem•1h ago
Answering the question how to sell more tokens per customer while maintaining ~~mediocre~~ breakthrough results.
AffableSpatula•56m ago
Delegation patterns like swarm lead to less token usage because:

1. Subagents doing work have a fresh context (ie. focused and not working on the top of a larger monolithic context) 2. Subagents enjoying a more compact context leads to better reasoning, more effective problem solving, less tokens burned.

nulone•10m ago
Merge cost kills this. Does the harness enforce file/ownership boundaries per worker, and run tests before folding changes back into the lead context?
AffableSpatula•6m ago
I don't know what you're referring to but I can say with confidence that I see more efficient token usage from a delegated approach, for the reasons I stated, provided that the tasks are correctly sized. ymmv of course :)
neom•1h ago
Claude Code in the desktop app seems to do this? It's crazy to watch. It sets of these huge swarms of worker readers under master task headings, that go off and explore the code base and compile huge reports and todo lists, then another system behind the scenes seems to be compiling everything to large master schemas/plans. I create helper files and then have a devops chat, a front end chat, an architecture chat and a security chat, and once each it done it's work it automatically writes to a log and the others pick up the log (it seems to have a system reminder process build in that can push updates from other chats into other chats. It's really wild to watch it work, and it's very intuitive and fun to use. I've not tried CLI claude code only claude code in the desktop app, but desktop app sftp to a droplet with ssh for it to use the terminal is a very very interesting experience, it can seem to just go for hours building, fixing, checking it's own work, loading it's work in the browser, doing more work etc all on it's own - it's how I built this: https://news.ycombinator.com/item?id=46724896 in 3 days.
deaux•48m ago
Sounds very similar to oh-my-opencode.
jswny•30m ago
That’s just spawning multiple parallel explore agents instructed to look at different things, and then compiling results

That’s a pretty basic functionality in Claude code

neom•26m ago
Sounds like I should probably switch to claude code cli. Thanks for the info. :)
lysace•1h ago
I'm already burning through enough tokens and producing more code than can be maintained - with just one claude worker. Feel like I need to move into the other direction, more personal hands-on "management".
AffableSpatula•42m ago
I've seen more efficient use of tokens by using delegation. Unless you continually compact or summarise and clear a single main agent - you end up doing work on top of a large context; burning tokens. If the work is delegated to subagents they have a fresh context which avoids this whilst improving their reasoning, which both improve token efficiency.
storystarling•37m ago
I've found the opposite to be true when building this out with LangGraph. While the subagent contexts are cleaner, the orchestration overhead usually ends up costing more. You burn a surprising amount of tokens just summarizing state and passing it between the supervisor and workers. The coordination tax is real.
AffableSpatula•30m ago
Task sizing is important. You can address this by including guidance in the CLAUDE.md around that ie. give it heuristics to use to figure out how to size tasks. Mine includes some heuristics and T shirt sizing methodology. Works great!
stuaxo•7m ago
If there's any kind of management some of it could use small local models - e.g. to see when it looks like its stuck.
MetaMonk•52m ago
A guy who worked at docker on docker swarm now works at Anthropic so makes sense
brookst•23m ago
Probably a beekeeper in spare time
MetaMonk•18m ago
He's really into APIary things
mohsen1•10m ago
Swarm is actually OpenAI's terminology https://github.com/openai/swarm
basedrum•37m ago
How is this different from GSD: https://github.com/glittercowboy/get-shit-done

I've been using that and it's excellent

AffableSpatula•34m ago
a similar question was asked elsewhere in the thread; the difference is that this is tightly integrated into the harness
mohsen1•19m ago
Everyone is wrapping Claude Code in Tmux and claiming they are a magician. I am not so good at marketing but I've done this here https://github.com/mohsen1/claude-code-orchestrator

Mine also rotate between Claude or Z.ai accounts as they ran out of credits

AffableSpatula•14m ago
I think you've misunderstood what this is.
mohsen1•11m ago
Sorry, you're right. went through the code and understood now. I'm going to try the patch. Claude Code doing team work natively would be amazing!

Honestly if people in AI coding write less hype-driven content and just write what they mean I would really appreciate it.

bicx•9m ago
Well good sir, I _am_ a tmux magician.

Doing gigabit Ethernet over my British phone wires

https://thehftguy.com/2026/01/22/doing-gigabit-ethernet-over-my-british-phone-wires/
266•user5994461•6h ago•149 comments

I Like GitLab

https://www.whileforloop.com/en/blog/2026/01/21/i-like-gitlab/
106•lukas346•6h ago•58 comments

How I Estimate Work as a Staff Software Engineer

https://www.seangoedecke.com/how-i-estimate-work/
166•mattjhall•6h ago•90 comments

After two years of vibecoding, I'm back to writing by hand [video]

https://www.youtube.com/watch?v=SKTsNV41DYg
38•written-beyond•47m ago•13 comments

Many Small Queries Are Efficient in SQLite

https://www.sqlite.org/np1queryprob.html
88•tosh•5h ago•71 comments

Internet Archive's Storage

https://blog.dshr.org/2026/01/internet-archives-storage.html
228•zdw•3d ago•67 comments

MS confirms it will give the FBI your Windows PC data encryption key if asked

https://www.windowscentral.com/microsoft/windows-11/microsoft-bitlocker-encryption-keys-give-fbi-...
154•blacktulip•3h ago•119 comments

When employees feel slighted, they work less

https://penntoday.upenn.edu/news/penn-wharton-when-employees-feel-slighted-they-work-less
132•consumer451•4d ago•108 comments

Unrolling the Codex agent loop

https://openai.com/index/unrolling-the-codex-agent-loop/
401•tosh•19h ago•187 comments

6 Years Building Video Players. 9B Requests. Starting Over

https://www.mux.com/blog/6-years-building-video-players-9-billion-requests-starting-over
16•bolp•4d ago•1 comments

JVIC: New web-based Commodore VIC 20 emulator

https://vic20.games/#/basic/24k
18•lance_ewing•4h ago•4 comments

Proof of Corn

https://proofofcorn.com/
435•rocauc•22h ago•288 comments

80386 Multiplication and Division

https://nand2mario.github.io/posts/2026/80386_multiplication_and_division/
76•nand2mario•10h ago•24 comments

Extracting verified C++ from the Rocq theorem prover at Bloomberg

https://bloomberg.github.io/crane/
94•clarus•4d ago•10 comments

“Let people help” – Advice that made a big difference to a grieving widow

https://www.npr.org/2026/01/20/nx-s1-5683170/let-them-the-small-bit-of-advice-that-made-a-big-dif...
116•NaOH•13h ago•30 comments

Gas Town's agent patterns, design bottlenecks, and vibecoding at scale

https://maggieappleton.com/gastown
366•pavel_lishin•1d ago•383 comments

Modetc: Move your dotfiles from kernel space

https://maxwell.eurofusion.eu/git/rnhmjoj/modetc
36•todsacerdoti•8h ago•19 comments

Management Time: Who's Got the Monkey? [pdf]

https://www.med.unc.edu/uncaims/wp-content/uploads/sites/764/2014/03/Oncken-_-Wass-Who_s-Got-the-...
30•rintrah•4d ago•6 comments

Some C habits I employ for the modern day

https://www.unix.dog/~yosh/blog/c-habits-for-me.html
194•signa11•5d ago•118 comments

Traintrackr – Live LED Maps

https://www.traintrackr.co.uk/
77•recursion•5d ago•25 comments

Show HN: Coi – A language that compiles to WASM, beats React/Vue

139•io_eric•3d ago•53 comments

Banned C++ features in Chromium

https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md
211•szmarczak•20h ago•197 comments

Telli (YC F24) is hiring eng, design, growth [on-site, Berlin]

https://careers.telli.com/
1•sebselassie•9h ago

Minneapolis Authorities Respond to Shooting Involving ICE Agents

https://www.nytimes.com/live/2026/01/24/us/minneapolis-shooting-ice
10•mickle00•11m ago•5 comments

Ask HN: What's the current best local/open speech-to-speech setup?

209•dsrtslnd23•1d ago•53 comments

Microsoft gave FBI set of BitLocker encryption keys to unlock suspects' laptops

https://techcrunch.com/2026/01/23/microsoft-gave-fbi-a-set-of-bitlocker-encryption-keys-to-unlock...
956•bookofjoe•22h ago•597 comments

Ask HN: May an Agent accepts a license to produce a build?

17•athrowaway3z•2h ago•20 comments

Booting from a vinyl record (2020)

https://boginjr.com/it/sw/dev/vinyl-boot/
335•yesturi•1d ago•113 comments

The fix for a segfault that never shipped

https://www.recall.ai/blog/the-fix-for-a-segfault-that-never-shipped
18•davidgu•3d ago•3 comments

New YC homepage

https://www.ycombinator.com/
279•sarreph•22h ago•154 comments