[00:00] (0.04s)
Alright, so we're about a day since we got
[00:03] (3.84s)
our first chance to really see Cloud Code sub agents. So since the
[00:07] (7.56s)
announcement from yesterday, we've been starting to really dive
[00:11] (11.17s)
into putting together a practical application on how to
[00:14] (14.71s)
use these, starting with software development lifecycle type agents.
[00:19] (19.03s)
But the idea here was not to just to create the software development
[00:23] (23.14s)
agents with all your usual suspects that we saw from
[00:26] (26.69s)
the original SuperClaude repositories, but
[00:30] (30.20s)
starting to drill this into what is the
[00:33] (33.74s)
amount of context that you need to be successful.
[00:37] (37.55s)
So even what I have right now is going to be a little bit long. When
[00:41] (41.12s)
I was starting to build some of these agents, I saw that there were warning messages for anything
[00:45] (45.02s)
more than 400 characters, but I thought it was extremely important to make
[00:48] (48.74s)
sure that had the right amount of context. So as we kind of
[00:52] (52.40s)
go, we'll probably tweak these even further, but this is a really good starting
[00:56] (56.32s)
point that you can take a look at and use right away.
[01:00] (60.20s)
So it really is as simple as going into this agent directory
[01:04] (64.20s)
here and you'll see that we have markdown files that
[01:07] (67.93s)
are purpose-built by the specialized capability
[01:12] (72.16s)
of the agents that you'd like to use. And we're going to start with the
[01:15] (75.68s)
Product Manager Orchestrator. So essentially what this file is
[01:19] (79.21s)
going to be is it's going to go ahead and say that you're a Product Manager
[01:22] (82.95s)
who orchestrates the team of specialized agents. So this is incredibly
[01:26] (86.69s)
important because you're focusing more on how to leverage the
[01:30] (90.27s)
team's strengths as opposed to doing the work yourself. So this
[01:34] (94.02s)
is an Orchestrator agent that's going to look at it and it's going to base
[01:37] (97.73s)
it off of just like any other Product Manager user value over
[01:41] (101.47s)
feature count, team collaboration over
[01:45] (105.06s)
heroics. So all the things you would think of traditional great leadership
[01:48] (108.66s)
styles. And as we kind of look through here you're going to see that there's some patterns
[01:52] (112.42s)
that we're using. So who's responsible for what type of capabilities,
[01:57] (117.25s)
whether that's your PRD, your product or project, requirement
[02:00] (120.93s)
document writer, your deep research analyst for something
[02:04] (124.49s)
that is something that you need to learn about, your system architect,
[02:08] (128.23s)
and so on and so forth. So as you can see there's a really solid
[02:12] (132.03s)
breakdown of the decision-making framework of who's
[02:15] (135.68s)
going to do what, the process of assigning it. And as we go from
[02:19] (139.32s)
those Orchestrator agents now you can get into what the
[02:23] (143.02s)
system architect looks like, your senior software engineer
[02:26] (146.87s)
of what would be there, and we'll go through. And I have noticed
[02:30] (150.56s)
this with some of these YAML formatting when we start to go through them. So what
[02:34] (154.08s)
will I do after this? We'll go through and I'll have my Product
[02:38] (158.02s)
Manager Orchestrator. I'll give it from the user's perspective to
[02:41] (161.91s)
be able to go ahead here and make the necessary updates that
[02:45] (165.45s)
we need to do. So here's essentially what it's going to
[02:49] (169.14s)
look like. We're going to go over here and if we're cloning to the
[02:52] (172.68s)
repository for Cloud Code subagents we can then copy the
[02:56] (176.36s)
agents, the markdown files, and in this example all I'm doing is
[02:59] (179.88s)
I'm going here and I'm adding them directly into my home directory.
[03:03] (183.80s)
So those are my personal agents that are global in nature and
[03:07] (187.39s)
I can use them on any project that I want to do. So essentially
[03:11] (191.34s)
all we have to do here at this point in time we have an issue
[03:14] (194.96s)
that we can go ahead here and resolve. So what we'll do is let's
[03:19] (199.02s)
go ahead and fire up Cloud and I'm going to
[03:22] (202.70s)
use the dangerously skip permissions option here
[03:26] (206.33s)
so that way it can run autonomously. If you do have
[03:30] (210.32s)
Cloud Code hooks this is something that you can take advantage of and you can put
[03:33] (213.84s)
single script implementations so that way you're
[03:37] (217.52s)
not getting hit with it accidentally removing files
[03:41] (221.13s)
in your file system. So once we have this fired up here
[03:44] (224.64s)
if I go to agents you're going to see that I have all of these
[03:48] (228.15s)
agents available to me right now. So I'm going to go ahead here and I'm
[03:51] (231.72s)
going to give it a roll and I'm going to call it user and I'm going to
[03:55] (235.27s)
say delegate to and I don't know if this is the best way but this has been
[03:58] (238.87s)
working for me lately delegate to the product manager
[04:02] (242.57s)
and we're going to go ahead and give it a task and
[04:06] (246.46s)
this task I'm going to actually use voice here in just a second so
[04:10] (250.05s)
we're going to go ahead and take a look and on the senior software engineer
[04:13] (253.92s)
we have the following error so we will
[04:17] (257.47s)
go ahead and revert back. In the agents
[04:21] (261.09s)
directory for the senior software engineer sub agent we're getting
[04:24] (264.64s)
the following error. All I'm
[04:28] (268.52s)
going to do is I'm going to drop that in. Please use the
[04:32] (272.03s)
sequential thinking MCP server and Serena MCP
[04:35] (275.54s)
server to be able to complete the necessary activities.
[04:39] (279.68s)
Please ensure that you're delegating to the appropriate team members so we can
[04:43] (283.24s)
get this issue resolved. And all we're doing here
[04:46] (286.86s)
is I'm using whisper flow to be able to be a little bit even more efficient.
[04:50] (290.37s)
So what's going to happen is behind the scenes here it's going to start computing
[04:54] (294.30s)
it's going to go through it and then as it gets to the different stages
[04:57] (297.86s)
it's going to go ahead here and delegate out to the appropriate members
[05:01] (301.44s)
on the team. So you can see right off the bat we're getting the product manager
[05:05] (305.23s)
orchestrator agent sub agent and it's going to go through and do its
[05:08] (308.87s)
work through sequential thinking as you can see here where it's calling
[05:12] (312.56s)
out to the MCP server and it's now go ahead and
[05:16] (316.11s)
registering over to Serena to do some of the work
[05:19] (319.84s)
there. So this is just a quick little rundown of what this will look like.
[05:23] (323.72s)
We'll push this update out after it gets completed but wanted to give a rundown
[05:27] (327.47s)
of here's how you can start to use this. Now the PRD file
[05:31] (331.16s)
that we do have on this if we go back over
[05:35] (335.07s)
to the PRD you can see that we
[05:38] (338.68s)
have a technical implementation template so just
[05:42] (342.72s)
because we were doing software development lifecycle doesn't mean that we
[05:46] (346.31s)
can't use any other use case. So I'm gonna start playing with this for the next video
[05:49] (349.99s)
and start doing some non-technical sub agents that we can use for
[05:53] (353.54s)
any of our general workflows. So I hope this helps If it was helpful,
[05:57] (357.44s)
please subscribe and we'll see you on the next one.