Live data from Hacker News

Claude Code's new hidden feature: Swarms

twitter.com

101–110 of 351 posts

Re: Claude Code's new hidden feature: Swarms

#101
post #75

I'd really like to see a regular poll on HN that keeps track of which AI coding agents are the most popular among this community, like the TIOBE Index for programming languages. Hard to keep up with all the changes and it would be nice to see a high level view of what people are using and how that might be shifting over time.

When all of industry is trying to catch up with the features of one coding agent - it may be a signal to just use that one.

Re: Claude Code's new hidden feature: Swarms

#102

This is just sub agents, built into Claude. You don’t need 300,000 line tmux abstractions written in go. You just tell Claude to do work in parallel with background sub agents. It helps to have a file for handing off the prompt, tracking progress, and reporting back. I also recommend constraining agents to their own worktrees. I am writing down the pattern here https://workforest.space while nearly everyone is buildi…

Any recommendations on sandboxing agents? Last time I asked folks recommended docker.

Re: Claude Code's new hidden feature: Swarms

#103

How is this different from GSD: https://github.com/glittercowboy/get-shit-done I've been using that and it's excellent

I dont understand these questions/references. It's different because it's a capability baked into the actual tool and maintained by the originators of the tool.

Re: Claude Code's new hidden feature: Swarms

#104
post #4

Isn't this pretty much what Ruv has been building for like two years? https://github.com/ruvnet/claude-flow

His latest editions are a bit alarming...The telemetry system explicitly captures: "Claude session JSONL files (when accessible)" Those session files contain complete conversation histories - everything users ask Claude, everything Claude responds, including: • Source code • API keys and secrets discussed • Business logic and proprietary algorithms • Security vulnerabilities being fixed • Personal and confidential information • Credentials mentioned in chat If OpenTelemetry is configured to export to an attacker-controlled endpoint, the author has been collecting: Data Scale All conversations Every user of claude-flow All code generated Every project using it All commands run Complete terminal history All files edited Full codebase access -- maybe he hasn't, but it is there...not just Claude Code... Target Config Location Status Claude Code ~/.claude/settings.json Confirmed compromised Claude Desktop ~/.claude/settings.json Confirmed compromised Roo Code ~/.roo/mcp.json Evidence of targeting Cursor ~/.cursor/mcp.json Documentation for injection Windsurf Unknown Mentioned as target Any MCP client Various Universal MCP server It is possible conversations are being harvested from every major AI coding assistant

Re: Claude Code's new hidden feature: Swarms

#105
Also created my own version of this. Seems like this is an idea whose time has come.

My implementation was slightly different as there is no shared state between tasks, and I don't run them concurrently/coordinate. Will be interesting to see if this latter part does work because I tried similar patterns and it didn't work. Main issue, as with human devs, was structuring work.

Re: Claude Code's new hidden feature: Swarms

#106
post #37

A guy who worked at docker on docker swarm now works at Anthropic so makes sense

Swarm is actually OpenAI's terminology https://github.com/openai/swarm

The first pre-release for Docker Swarm came out a decade ago, the first release of OpenAI swarm came out only a year ago, I guess I'm not sure what you're trying to say.

https://github.com/docker-archive/classicswarm/releases/tag/...

https://github.com/openai/swarm/commit/e5eabc6f0bdc5193d8342...

Re: Claude Code's new hidden feature: Swarms

#107

This is just sub agents, built into Claude. You don’t need 300,000 line tmux abstractions written in go. You just tell Claude to do work in parallel with background sub agents. It helps to have a file for handing off the prompt, tracking progress, and reporting back. I also recommend constraining agents to their own worktrees. I am writing down the pattern here https://workforest.space while nearly everyone is buildi…

It isn't sub agents. The gap with existing tooling is that the abstraction is over a task rather than a conversation (due to the issue with third-party apps, Claude Code has been inherently limited to conversations which is why they have been lacking in this area, Claude Code Web was the first move in this direction), and the AI is actually coordinating the work (as opposed to being constantly prompted by the user).

One of the issues that people had which necessitated this feature is that you have a task, you tell Claude to work on it, and Claude has to keep checking back in for various (usually trivial) things. This workflow allows for more effective independent work without context management issues (if you have subagents, there is also an issue with how the progress of the task is communicated by introducing things like task board, it is possible to manage this state outside of context). The flow is quite complex and requires a lot of additional context that isn't required with chat-based flow, but is a much better way to do things.

The way to think about this pattern - one which many people began concurrently building in the past few months - is an AI which manages other AIs.

Re: Claude Code's new hidden feature: Swarms

#108

This is just sub agents, built into Claude. You don’t need 300,000 line tmux abstractions written in go. You just tell Claude to do work in parallel with background sub agents. It helps to have a file for handing off the prompt, tracking progress, and reporting back. I also recommend constraining agents to their own worktrees. I am writing down the pattern here https://workforest.space while nearly everyone is buildi…

Any recommendations on sandboxing agents? Last time I asked folks recommended docker.

I like running remotely using exe.dev with SyncThing to sync files to my laptop.

I use Shelley (their web-based agent) but they have Claude Code installed too.

Re: Claude Code's new hidden feature: Swarms

#109
post #85

Earlier quoted context omitted.

Isn’t this just “Gitflow”? https://www.atlassian.com/git/tutorials/comparing-workflows/...

Please don’t use git-flow. Every time I see it, it looks like an over-engineer’s wet dream.

Can you say more as to why? The concept is not complex and in our situation at least provides a lot of benefits.

Re: Claude Code's new hidden feature: Swarms

#110
post #66

The problem I’ve been having is that when Claude generates copious amounts of code, it makes it way harder to review than small snippets one at a time. Some would argue there’s no point reviewing the code, just test the implementation and if it works, it works. I still am kind of nervous doing this in critical projects. Anyone just YOLO code for projects that’s not meant to be one time, but fully intend to have to be…

In a professional setting where you still have coding standards, and people will review your code, and the code actually reaches hundreds of thousands of real users, handling one agent at a time is plenty for me. The code output is never good enough, and it makes up stuff even for moderately complicated debugging ("Oh I can clearly see the issue now", I heard it ten times before and you were always wrong!) I do use t…

> people will review your code,

I mean you'd think. But it depends on the motivations.

At meta, we had league tables for reviewing code. Even then people only really looked at it if a) they were a nitpicking shit b) don't like you and wanted piss on your chips c) its another team trying to fix our shit.

With the internal claude rollout and the drive to vibe code all the things, I'm not sure that situation has got any better. Fortunately its not my problem anymore

Post reply on HN