WEBVTT

00:00:00.000 --> 00:00:07.600
If you are a software developer like me, you have the same problem. You start using Cloud Code, and then you start using Codecs,

00:00:07.600 --> 00:00:21.325
and then you start using Gemini, Antigravity, Cursor AI, and all of those AI tools that we have right now. The problem is each of them decided to implement their own way to make memories files,

00:00:21.485 --> 00:00:23.645
to create and manage agents,

00:00:23.725 --> 00:00:25.325
to deal with the skills.

00:00:25.645 --> 00:00:31.630
So you are in the nightmare of markdown files. Welcome to the nightmare of markdown files.

00:00:31.870 --> 00:00:52.615
And I don't want you to live in this nightmare, so I have created the AI coders contacts to fix this stuff that all of these tools should be fixing right now. But as I'm seeing, they don't want to do that. So let's do it together. In this video, you're going to see what I'm trying to do to fix that stuff for me and

00:00:53.095 --> 00:01:05.360
for you as well. I have created an open source project to fix that nightmare. English is not my mother language. Disclaimer set. Let's sign me to it. The proposal here is to have only the dot contacts folder.

00:01:05.600 --> 00:01:11.745
Inside of that dot contacts folder, you have your agents, your docs, your plans, your skills,

00:01:12.065 --> 00:01:17.025
your anything else they want to put a name in a markdown file organization.

00:01:17.025 --> 00:01:18.865
After we have it configured here,

00:01:19.265 --> 00:01:20.625
it is pretty straightforward.

00:01:20.865 --> 00:01:22.625
You would just quick sync

00:01:22.960 --> 00:01:27.520
with the tool you want to use. So if you are using CloudCode,

00:01:27.520 --> 00:01:29.120
quick sync with CloudCode,

00:01:29.360 --> 00:01:33.760
all your agents will have a sync link in your CloudCode folder.

00:01:34.000 --> 00:01:53.260
So, basically, if you change the files inside of context folder, then it will automatically be recognized by cloud that this file has changed as well. Same for the other two. So you got the point. One place, one folder to rule them out. I just want a comment that I can write in my terminal or an MCP

00:01:53.340 --> 00:01:59.420
that I can connect in my AI agent and say, hello. I just want to initialize my context.

00:01:59.500 --> 00:02:03.820
And that's what I did. So if you prefer to use the CLI, there's an interactive CLI.

00:02:04.085 --> 00:02:22.010
We have the AI agents and everything else that you need to have there. It will check your code base, analyze it, and then we'll suggest the next steps for you. Pretty straightforward. You just need to hit enter enter enter, accept the terms that you never read, and there we go. Or you can just connect the MCP. With the MCP,

00:02:22.090 --> 00:02:51.030
there are some steps. First one, install the MCP. Second one, prompt to the agent. Emit the contacts. That's pretty much it. It will generate the files you just saw in my screen. But the thing is, these files, they are already mapped to understand your code base. Your agents are for your code base. They are not, like, just general agents. They are not general skills. They are not general docs. Next step, this will set up the context and field according with the code base. With the context ready, you need to prompt plan

00:02:51.110 --> 00:02:53.830
and then the task you want to implement.

00:02:53.990 --> 00:02:57.910
So, for example, plan develop a new authentication

00:02:57.910 --> 00:03:00.070
method for me using AI context.

00:03:00.665 --> 00:03:03.065
This will create a new plan for you,

00:03:03.545 --> 00:03:14.345
but not just a random plan generated by AI. It will line up the agents that need to be used for this. It will figure out what files of your documentation

00:03:14.390 --> 00:03:20.470
need to be considered for this plan, and, also, it will create a workflow of execution.

00:03:20.710 --> 00:03:31.645
So if you start doing that in Cloud Code, you can continue doing that in Codecs. You can continue doing that in Corsair. No matter which tool you're using, if you want just to switch then, it's straightforward.

00:03:31.645 --> 00:03:43.245
We have a memory that's persisted with exactly this step. It stopped it and which agent should go ahead and develop the feature in this step. Once you have planned the workflow, you have reviewed everything,

00:03:43.405 --> 00:03:52.270
that's pretty much it. You can just hit start workflow and let AI work for you. And for the workflow system, I'm using something that I call Prevs.

00:03:52.270 --> 00:03:53.950
In Portuguese, it's Prevs.

00:03:53.950 --> 00:03:59.150
It is a method that I have been using for years already since 2023

00:03:59.385 --> 00:04:02.585
to develop software to use AI at all. Because

00:04:02.825 --> 00:04:04.025
first step,

00:04:04.105 --> 00:04:04.745
b,

00:04:04.905 --> 00:04:05.785
you plan.

00:04:06.265 --> 00:04:15.770
R, you review your plan. So, basically, you will iterate with AI until your plan looks correct for you, until it looks legit, and then you move forward.

00:04:16.010 --> 00:04:19.450
Moving forward, we have three steps, execute,

00:04:19.450 --> 00:04:20.970
validate, and confirm.

00:04:21.210 --> 00:04:31.505
So in the execution step, it will execute the code. In the validation step, it will validate for you. The idea here, it is not for you to run everything on autopilot.

00:04:31.505 --> 00:04:48.520
The idea is for you to understand what's going on, to review step by step, to be assisted by AI. It is you that should be using AI as your copilot and and not you being the copilot of AI. Here's a quick example. Most of AI coding workflows look like this. User, add authentication.

00:04:48.760 --> 00:04:51.000
Then AI generates 500

00:04:51.000 --> 00:04:52.120
lines of code.

00:04:52.360 --> 00:05:01.080
That's not what I wanted. That's you, user, and that's your workflow right now. But with this method, you will have p,

00:05:01.080 --> 00:05:02.040
what type of auth,

00:05:02.735 --> 00:05:03.375
OAuth,

00:05:03.615 --> 00:05:04.575
JWT,

00:05:04.575 --> 00:05:06.015
session, what providers?

00:05:06.415 --> 00:05:18.010
R, here's the architecture. Dependencies, x, y, z. Risk is z. Do you want to approve that? Do you want to move forward? You understand what's going on. You understand the plan. You will review that with AI. Execution,

00:05:18.010 --> 00:05:20.810
implementing the approved design, implemented the approved

00:05:21.050 --> 00:05:21.690
feature.

00:05:22.170 --> 00:05:31.450
Validation, all 15 tests are passing, and the security of it is passing, is complete. And see, it is deployed, or depending on your workflow,

00:05:31.955 --> 00:05:52.190
you can confirm and you can manually do that. The idea is if you start doing something on Cloud Code and you are out of credits, you can just move away to Codecs and continue it exactly from where you were. Same thing. If you want to move to another tool, that's the same idea. We'll have a memory file that will keep the track of the progress

00:05:52.430 --> 00:05:57.815
in your workflow. And here's an example on antigravity. Basically, I just said, this

00:05:58.455 --> 00:06:14.580
is in Portuguese, in it is context. And then it started working, writing the files for me. Next step, I wrote, write a plan to identify bugs and initiate an workflow in Previz. And then it started it and run every tools that were that were necessary,

00:06:14.820 --> 00:06:16.580
and then we have the plans.

00:06:16.740 --> 00:06:21.140
As I was validating and checking the plans, I noticed that we had

00:06:21.380 --> 00:06:24.980
more than one problem. We had three problems. The first one, we have

00:06:25.505 --> 00:06:42.060
type errors. The second one, attack depth. And the third one, a most tenancy risk. Three different problems. Three different plans. So I asked, hey. Let's generate three different plans for it and link it to the current workflow. And that's it.

00:06:42.460 --> 00:06:43.420
That happened.

00:06:43.660 --> 00:06:47.020
And then I said, okay. Let's jump into the execution process

00:06:47.260 --> 00:07:02.255
and execute the plan. And that's what Integraft is doing for me right now. I won't spend more time here. I want this to be as simple as the tool is. So next step here is for you to help me to validate that tool, to find bugs, to write pull requests,

00:07:02.495 --> 00:07:03.775
to help us

00:07:04.255 --> 00:07:41.035
to fix this problem so our lives become better. Okay? This is my first YouTube video in English. This is my first open source project that is actually becoming bigger than I imagined. As I mentioned in the very beginning, when I started this, it was something it was something more for me and my colleagues, and then it started getting bigger. And now I'm organizing this in a structured way for collaborating with you guys. You're welcome. If you have experience, you're welcome. If you want to just like four kids, you're welcome as well. This is MIT license, and this is AICoders channel. I'm Vinny from Brazil. It's nice to meet you.
