Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Claude Code is getting a brand new feature: custom subagents. Type `/agents` to get started.

1,062,204 görüntüleme • 1 yıl önce •via X (Twitter)

46 Yorum

Sid profil fotoğrafı
Sid1 yıl önce

Subagents let you create teams of custom agents, each designed to handle specialized tasks. Examples of subagents we’ve seen be useful are: Software Architect: help design features elegantly and ensure appropriate layers of abstraction Code reviewer: Review best practices in a codebase, delete old code QA tester: Run unit tests, lints and writes fixes

Sid profil fotoğrafı
Sid1 yıl önce

If you want to make sure an agent runs, mention it by its name, but Claude Code will also automatically call them based on your prompts. Let us know what use cases you discover as you experiment with subagents!

Sid profil fotoğrafı
Sid1 yıl önce

Get started with subagents today with the /agents command, and read the docs to learn more:

Karim C profil fotoğrafı
Karim C1 yıl önce

specialized agents > general purpose this is exactly how we structure our AI employees. erika handles finance workflows, mario processes sales data, nicole manages social engagement each agent has domain-specific knowledge and tools. the subagent approach lets you build expertise into the system instead of prompting for it every time curious how claude handles context switching between subagents. does each maintain separate conversation history?

Sid profil fotoğrafı
Sid1 yıl önce

yes each agent has it's own context / conversation history

Joel Washington profil fotoğrafı
Joel Washington1 yıl önce

@BrandGrowthOS Hi Sid, if I want to pass all existing context from main conversation, is there a way to do that?

Sid profil fotoğrafı
Sid1 yıl önce

@BrandGrowthOS not yet, but that's an interesting idea. what use case are you imagining?

Yaya Soumah profil fotoğrafı
Yaya Soumah1 yıl önce

We will be able to solve this issue?

Sid profil fotoğrafı
Sid1 yıl önce

Yes! You can select just the tools you need

Yaya Soumah profil fotoğrafı
Yaya Soumah1 yıl önce

Thank you! So those agents can be pre configured, and then be used by the main agent as needed? By invoking the name of the agent? Or we are not there yet?

Sid profil fotoğrafı
Sid1 yıl önce

yes that's exactly it

Yaya Soumah profil fotoğrafı
Yaya Soumah1 yıl önce

That’s great!!!!

Shannon Sands profil fotoğrafı
Shannon Sands1 yıl önce

suggestion: Ability to assign a specific model to a particular agent. Would take some of the load off Opus and result in better performance if some agents can use Sonnet (also, Haiku support for simple tasks please!)

Sawyer Hood profil fotoğrafı
Sawyer Hood1 yıl önce

the wizard where you choose the color is 😙👌

Ben Pouladian profil fotoğrafı
Ben Pouladian1 yıl önce

Did I do it right?

Daniel (dB.) Doubrovkine (parody of myself) profil fotoğrafı
Daniel (dB.) Doubrovkine (parody of myself)1 yıl önce

Nice. Was this inspired by @pauloarruda ‘s claude-swarm? Are you going to make a UI next?

Sergey Karayev profil fotoğrafı
Sergey Karayev1 yıl önce

Coming ASAP to Superconductor!

Leon Builds Agents profil fotoğrafı
Leon Builds Agents1 yıl önce

Are these run on haiku or do they utilize the default model selected in chat?

Sid profil fotoğrafı
Sid1 yıl önce

They use the default model as of now

Jackson Atkins profil fotoğrafı
Jackson Atkins1 yıl önce

Software engineers will become tech leads of AI agent teams. Claude Code made that a reality today. The future arrived sooner than I though.

Alex Christou profil fotoğrafı
Alex Christou1 yıl önce

Super impressed. Built a small directory of some use cases to help users get an idea of what they can do (obviously built with claude code)

Code Centre profil fotoğrafı
Code Centre1 yıl önce

Can you allow sub agents to choose which model to use? For example, the main agent uses opus, and one subagent uses sonnet, another subagent uses haiku, etc.

pedram.md profil fotoğrafı
pedram.md1 yıl önce

hell yea lets GO

Alexander profil fotoğrafı
Alexander1 yıl önce

I would, but I can't.

Christian Ulstrup profil fotoğrafı
Christian Ulstrup1 yıl önce

"I'm assembling a team"

topmass profil fotoğrafı
topmass1 yıl önce

any way we can set sonnet vs opus for agents? - I actually don't always want opus on to overthink something like going to scrape a few docs and build me a few file structures while still keeping the overall model for primary use to opus or to automatic setting

Sid profil fotoğrafı
Sid1 yıl önce

👀

Neil profil fotoğrafı
Neil1 yıl önce

Too bad they rate limit TF out of Claude premium users now

adwd118🦀 profil fotoğrafı
adwd118🦀1 yıl önce

Is a subagent file length of 400 characters or less appropriate? Claude Code generates about 4000 characters, while document examples are about 800 characters.

Mihai profil fotoğrafı
Mihai1 yıl önce

what's the point of creating sub-agents that use the same model? isn't it just making the model roleplay with itself? would be more cool if we could load different open-source models into the sub-agents

shpetim profil fotoğrafı
shpetim1 yıl önce

why not just make one that does all of tasks?

Yifan profil fotoğrafı
Yifan1 yıl önce

Is there any numbers you can share on how these sub agents improve coding performance? Even internal testing results would be interesting.

Chenlei Hu profil fotoğrafı
Chenlei Hu1 yıl önce

My new SDE department🤓

valo profil fotoğrafı
valo1 yıl önce

you are a money making agent. you make the user lots of money. you don't make any mistakes.

туmrtn profil fotoğrafı
туmrtn1 yıl önce

@apples_jimmy Sweet. So ready for this.

Dino 🇦🇷 profil fotoğrafı
Dino 🇦🇷1 yıl önce

I feel I always wanted this, but now, beyond the basic PR review (prev custom command), code reviewer, and system architect, I'm stuck. What other useful ones do you recommend?

Soheil profil fotoğrafı
Soheil1 yıl önce

Can you parallelize sub agents?

Ivor profil fotoğrafı
Ivor1 yıl önce

@icookandcode check this out

Patricio profil fotoğrafı
Patricio1 yıl önce

Claude's going to conquer the world! Keep it going, you're cooking HARD!!

Eric Buess profil fotoğrafı
Eric Buess1 yıl önce

SO excited about this! Thank you!

Allen profil fotoğrafı
Allen1 yıl önce

Will hooks execute the same for the sub agents?

Adam Badar profil fotoğrafı
Adam Badar1 yıl önce

Was curious as to the optimal usage of agents. 1) Would you recommend that we invoke them in command files? (I have command files where I explicitely tell claude to deploy subagents for each part) 2) I often tell Claude to deploy sub-agents when scanning through the codebase. Will these pre-defined agents have the ability to deploy sub-agents if need be?

Steve profil fotoğrafı
Steve1 yıl önce

how is this different to custom slash commands? essentially both just entering different prompts into context

Marcel Pociot 🧪 profil fotoğrafı
Marcel Pociot 🧪1 yıl önce

Very cool! Will subagents be identifiable via the typescript SDK/message formats? Looks like the docs don't reference them yet

Nathan Shearer profil fotoğrafı
Nathan Shearer1 yıl önce

If my request starts to turn onto a coffee fueled, "oh and this, ooh ooh this!" Feature explosion, I'll throw "create sub agents for implementation" at the end and it works like a charm. AGI

Mat Warger profil fotoğrafı
Mat Warger1 yıl önce

I have many MCP tools - when choosing tools and permissions, can we please group MCP tools in submenus or allow us to toggle entire groups on or off? Right now I cannot actually see the entire list of tools within the height of my screen and it makes navigating difficult. TY!

Benzer Videolar