1 00:00:00,005 --> 00:00:02,467 This one is about agent roles. 2 00:00:05,724 --> 00:00:07,384 A role is what the agent does in the stage, 3 00:00:07,384 --> 00:00:09,724 for example reviewing or implementing. 4 00:00:09,724 --> 00:00:11,744 It doesn't depend on the tool, so the same 5 00:00:11,744 --> 00:00:14,923 role works for both Claude and Codex. 6 00:00:16,609 --> 00:00:20,921 Four come ready-made: analyst, implementer, reviewer and verifier. 7 00:00:20,921 --> 00:00:22,703 I'm going to create a security one. 8 00:00:22,703 --> 00:00:26,383 It looks for secrets in the code and unvalidated input, 9 00:00:26,383 --> 00:00:28,982 writes them down in a file and doesn't change the code. 10 00:00:30,588 --> 00:00:32,448 This role has a rule of its own, 11 00:00:32,448 --> 00:00:35,799 which is to cite the file and line of each finding. 12 00:00:36,876 --> 00:00:40,057 In New stage I pick the role under more options. 13 00:00:40,057 --> 00:00:43,137 The task stays short, just analyze the code folder, 14 00:00:43,137 --> 00:00:45,494 because the rest is already in the role. 15 00:00:48,473 --> 00:00:51,818 It wrote the findings to SEGURANCA.md. 16 00:00:51,818 --> 00:00:54,278 git status shows that file and the 17 00:00:54,278 --> 00:00:57,222 PrumoGrid ones, and nothing inside the code folder. 18 00:00:57,222 --> 00:01:00,262 In the Flow, roles show up as buttons. 19 00:01:00,262 --> 00:01:03,442 Clicking implementer I already get a planned stage with that 20 00:01:03,442 --> 00:01:07,637 role, and on the card I can change it later, in role and sequence. 21 00:01:12,047 --> 00:01:13,967 A role can also point to a skills folder 22 00:01:13,967 --> 00:01:16,327 for the agent to consult. 23 00:01:16,327 --> 00:01:19,074 That field is optional, I hardly ever use it. 24 00:01:20,852 --> 00:01:24,482 Next, I put all of this together in an operation with three agents.