Загрузка видео...

Не удалось загрузить видео

На главную

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

1,062,204 просмотров • 1 год назад •via X (Twitter)

Комментарии: 46

Фото профиля Sid
Sid1 год назад

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
Sid1 год назад

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
Sid1 год назад

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

Фото профиля Karim C
Karim C1 год назад

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
Sid1 год назад

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

Фото профиля Joel Washington
Joel Washington1 год назад

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

Фото профиля Sid
Sid1 год назад

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

Фото профиля Yaya Soumah
Yaya Soumah1 год назад

We will be able to solve this issue?

Фото профиля Sid
Sid1 год назад

Yes! You can select just the tools you need

Фото профиля Yaya Soumah
Yaya Soumah1 год назад

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
Sid1 год назад

yes that's exactly it

Фото профиля Yaya Soumah
Yaya Soumah1 год назад

That’s great!!!!

Фото профиля Shannon Sands
Shannon Sands1 год назад

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
Sawyer Hood1 год назад

the wizard where you choose the color is 😙👌

Фото профиля Ben Pouladian
Ben Pouladian1 год назад

Did I do it right?

Фото профиля Daniel (dB.) Doubrovkine (parody of myself)
Daniel (dB.) Doubrovkine (parody of myself)1 год назад

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

Фото профиля Sergey Karayev
Sergey Karayev1 год назад

Coming ASAP to Superconductor!

Фото профиля Leon Builds Agents
Leon Builds Agents1 год назад

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

Фото профиля Sid
Sid1 год назад

They use the default model as of now

Фото профиля Jackson Atkins
Jackson Atkins1 год назад

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
Alex Christou1 год назад

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
Code Centre1 год назад

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
pedram.md1 год назад

hell yea lets GO

Фото профиля Alexander
Alexander1 год назад

I would, but I can't.

Фото профиля Christian Ulstrup
Christian Ulstrup1 год назад

"I'm assembling a team"

Фото профиля topmass
topmass1 год назад

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
Sid1 год назад

👀

Фото профиля Neil
Neil1 год назад

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

Фото профиля adwd118🦀
adwd118🦀1 год назад

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
Mihai1 год назад

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
shpetim1 год назад

why not just make one that does all of tasks?

Фото профиля Yifan
Yifan1 год назад

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

Фото профиля Chenlei Hu
Chenlei Hu1 год назад

My new SDE department🤓

Фото профиля valo
valo1 год назад

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

Фото профиля туmrtn
туmrtn1 год назад

@apples_jimmy Sweet. So ready for this.

Фото профиля Dino 🇦🇷
Dino 🇦🇷1 год назад

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
Soheil1 год назад

Can you parallelize sub agents?

Фото профиля Ivor
Ivor1 год назад

@icookandcode check this out

Фото профиля Patricio
Patricio1 год назад

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

Фото профиля Eric Buess
Eric Buess1 год назад

SO excited about this! Thank you!

Фото профиля Allen
Allen1 год назад

Will hooks execute the same for the sub agents?

Фото профиля Adam Badar
Adam Badar1 год назад

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
Steve1 год назад

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

Фото профиля Marcel Pociot 🧪
Marcel Pociot 🧪1 год назад

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

Фото профиля Nathan Shearer
Nathan Shearer1 год назад

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
Mat Warger1 год назад

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!

Похожие видео