Latest / In The Loop / How to build your own AI personal operating system & second brain
Transcript
- 0:00It may be the fact that no one's listening to this podcast, and
- 0:03it's probably a bit of a bubble, but it feels like right now
- 0:07there's another zeitgeist in the world of AI emerging.
- 0:11And it's hard to give AI systems true 24/7 contexts of everything
- 0:15in your life, your projects, and to create what you could
- 0:18describe as a true memory system or a personal AI operating
- 0:22system for your clod. And this second brain isn't
- 0:25really for you, it's for your agents.
- 0:27Most of the content online about productivity and planning and
- 0:31organization is optimising for human readability with good ways
- 0:37for us to take notes in different systems.
- 0:39But the world is no longer for us and our second brain, it's
- 0:43for agents having a second brain.
- 0:46By the end of this episode, you'll have your own personal AI
- 0:49operating system by building a second brain for your agents, An
- 0:53exact file structure to copy the different sections that you're
- 0:56going to create to create a the different sections that you're
- 0:59going to build to give fantastic scalable structure for your
- 1:04agent to do more work for you. And a daily routine that you can
- 1:08eventually automate, which will keep this continually updated.
- 1:12This in the loop with Jack Horton.
- 1:14I hope you enjoyed the show. So let's start where this wave
- 1:32has come from, this like drive to build AI operating systems.
- 1:37Now it hit mainstream popularity recently because of Andre
- 1:42Capathi posting online about his MLM knowledge kind of wiki in
- 1:46early April. And it's basically how he
- 1:48organized his own notes so AI can read them.
- 1:51And he sparked an explosion of different people and thought
- 1:54leaders and influencers sharing how essentially they create
- 1:57their own note system but for agents to read from.
- 2:01But in reality, this has come from coding, as I said a good
- 2:05number of episodes ago, probably all the way back to that called
- 2:08Co work episode. The huge revolution that hit
- 2:12coding is just going to hit the entire rest of the world over
- 2:16the next 12 to 18 months. And a big part of that has been
- 2:19your structure of information that you feed to an agent.
- 2:23Now I've started to touch on this.
- 2:24I touched on the Co work episode, I touched it on the
- 2:27skills episode, I touched it on the episode discussing automated
- 2:31scheduled tasks and and other new features they've just
- 2:34released. And essentially this is a set of
- 2:37folders on your computer which are MD files, So plain text
- 2:41files arranged in a particular order.
- 2:44So whenever an agent you're working with starts its session,
- 2:49it can access it and then it will follow that folder
- 2:51structure to only get the relevant information it needs at
- 2:54that exact moment. Now inside that folder going to
- 2:58leave four kinds of thing. And once you see them as four
- 3:01separate jobs, the architecture of this folder structure makes
- 3:05sense. And just before I get into this,
- 3:09if you remember, for those that have been using Co work now, for
- 3:12those that are in, you know, in IDE and to do coding, you're
- 3:16going to be very familiar with this.
- 3:18But essentially local files on your desktop or your laptop is
- 3:22the folder of this type of system.
- 3:24So a folder structure. And essentially you're going to
- 3:27have different folders within, or should I say subfolders
- 3:30within a master folder. And for some of you that might
- 3:32go well, that doesn't seem that special, but it's exactly how
- 3:35the most efficient organizations in the world are running the
- 3:38system. It's how we run a lot of our
- 3:41teams. Now there's a caveat to this,
- 3:44which I think this is a moment in time and this is something
- 3:46that you should use, but I mean mindset, this is the product
- 3:49that we're currently building to help with product development.
- 3:51So engineering design, product management, which is a system to
- 3:56take us away from just relying on local files just, and it's an
- 3:59infinitely more scalable, but for a personal operating system,
- 4:03it's really, really powerful. So the first folder, or let's
- 4:26say job, is identity. So that's the file that tells
- 4:30the agent who you are, how you work, what you never do.
- 4:34You know the bit that just shouldn't really ever change.
- 4:36It might include your communication style, your
- 4:38decision principles, maybe you know some of the rules that
- 4:41you'd never break. The second is context.
- 4:44So what's, what does the world look like today for you?
- 4:47You know, what are the key projects that you're working on
- 4:49over the next one, three, six months?
- 4:52Who are the key people in that, in that world?
- 4:55You know, who's your boss, who's your colleagues?
- 4:57What do they like? What do they don't like?
- 4:59They might also be commitments you've made and you refuse to
- 5:03relegate them. And they could also include the
- 5:05active projects in flight. The third is your skills.
- 5:09So these are repeatable workflows.
- 5:11You know, we've talked about skills a few weeks ago.
- 5:14There are multi step processes about how you approach different
- 5:18problems and situations and scenarios, whether it's a
- 5:20script, an e-mail, a deal review, a weekly e-mail summary
- 5:25to your boss, whatever it might be.
- 5:27And the 4th is memory. So that's what happened, what
- 5:30you decided, what open decisions there are still essentially it's
- 5:35a session log from yesterday that the agent will pick up from
- 5:37every single day. This part in particular is where
- 5:40what we call Memex, our new product that it were releasing
- 5:43at the moment, is essentially scaling because as you can
- 5:47imagine, the amount of decisions getting logged to give your
- 5:50agent a second brain is insane. So that's where we've had to
- 5:54build our own internal tool to fix because we've got an entire
- 5:57company trying to manage this type of system.
- 6:01Anyway, to summarize those types of jobs you've got, essentially
- 6:05identity is going to capture the unchangeable and then context
- 6:09captures the things that are going to perish.
- 6:12So you're going to update and change them every month, 3
- 6:14weeks, 2 days, six months. Skills capture the things that
- 6:18are very repeatable and memory captures the historical
- 6:22conversations that you've been having.
- 6:24So 4 jobs all sitting inside one parent folder structure that any
- 6:29agent can read. Now the shape of that parent
- 6:33folder, in case you're, you know, on a walk you're trying to
- 6:36imagine this is, is roughly as follows.
- 6:39At the top of that folder is what we call a master file.
- 6:44So essentially by convention in core code that's called the claw
- 6:47dot MD. But in other tools, the same
- 6:50content goes as essentially a set of instructions or folder
- 6:53instructions that essentially tells the agent how to
- 6:55understand and navigate the folder structure.
- 6:59That master file holds the identity layer plus pointers to
- 7:02everything else. So essentially you're directing
- 7:04the AI when and when not to use these sets of systems and
- 7:08information. Alongside it sits A context
- 7:12folder. So that will hold files are
- 7:13active projects dot MD, recent decisions dot MD, stakeholders
- 7:18dot MD, constraints dot MD, and then a skills folder.
- 7:25And that skills folder will have the subfolder and it will have
- 7:28all the skills inside it. So that could be your e-mail
- 7:31skill, your shout at someone's skill, your apology skill, you
- 7:36know, whatever it might be. Then finally you've got a memory
- 7:38folder, which is essentially a big memory MD document with
- 7:42topic specific files. So that will have a daily folder
- 7:45with one log per session. So it might have today's date or
- 7:49tomorrow's date. So then every sets of
- 7:52conversations you have with different agents, you can update
- 7:54that log. So essentially, there you go, 6
- 7:57folders. You got one master file to tell
- 7:59the agent how to use all of it. It's all just text.
- 8:03And that's the architecture. And by creating that scalable
- 8:06system, you don't ever have to speak to an agent as if it
- 8:10doesn't understand what you're trying to achieve.
- 8:11It just has all the context you need immediately.
- 8:14And then when you try and choose the very best model and have
- 8:17maximum reasoning mode on there, you're going to get the best
- 8:19results. And because you're not trying to
- 8:22give it too much context in one setting, you can also reduce the
- 8:25context window and therefore have less token usage.
- 8:46And now we're going to move on one step deeper.
- 8:49Let's write the master file since you know that's the the
- 8:52doorway the agent will step through when understanding the
- 8:56rest of your personal operating system.
- 8:58So Section 1 might be a company overview.
- 9:00You know, two or three sentence about who you work for, what
- 9:02they do, what stage of the business there are Section 2
- 9:05will be current priorities. So top three or four things
- 9:08you're trying to do this next quarter specific outcomes rather
- 9:12than, you know, random, you know, themes, you know, maybe
- 9:15hire two people by the end of March.
- 9:18Section 3 is you know your voice and tone, how you communicate
- 9:21the words you band, the style references you like to write
- 9:24towards. For example, I have an entire
- 9:27set of information on banned words.
- 9:30I'll get some of them up. Corporate therapist book voices
- 9:33banned. This is a powerful opportunity
- 9:35to lean into our strengths. A meaningless conclusion.
- 9:39AI loves meaningless conclusions at the end of a paragraph.
- 9:43You know. Ultimately the goal of an
- 9:45organization is to be more resilient and agile.
- 9:49Pointless or the keynote punchline.
- 9:51Voice the forced negation stating the obvious back all the
- 9:55time over a flattery and excessive adverb.
- 10:00So I've got an entire I mean, gosh, it's so big at this point,
- 10:04right? Maybe 1200 Word document on all
- 10:06the things I absolutely hate. Section 4 will be your key
- 10:09relationship. So it might be people at work
- 10:10could be people at home. So it might be, you know, my CEO
- 10:15is called X. They care about why they respond
- 10:18better to this and this type of and topic area or behaviour.
- 10:24So just information that's relevant to the people you work
- 10:26with and also their skills. Section 5 is standing decisions,
- 10:32so things you've already agreed on and don't want the agent to
- 10:34have to re question. And section 6 is things you
- 10:36don't do, the constraints, maybe the things that you've got out
- 10:39of scope you refuse to consider doing.
- 10:42You know, I don't do X before 9:00 AM, whatever it might be.
- 10:47And that's the template, that's the whole file should be about
- 10:51150 lines roughly. And if something feels like I
- 10:54want to add more words than 150 to 200 lines, you should
- 10:58reference the skills. And we'll come on to this in a
- 11:00minute. But you say use X skill under Y
- 11:02situation, and that can then have many, many more texts or
- 11:06lines of text. And 200 is the really important
- 11:09number here because Anthropics actual documentation says that
- 11:13any master file over 200 lines will essentially just be
- 11:18ignored. So the agent will only read 199
- 11:22or 200 lines of the 200 line and documents.
- 11:25So if you made a 500 word one, it won't actually be useful, it
- 11:30won't be used by the agent. So that's the system, that's the
- 11:50master file to give your agents instructions.
- 11:53And I'm going to go into two more things.
- 11:54So it's going to be the skills folder and the structure.
- 11:56I'm not going to spend too much time here because I actually
- 11:59encourage you to go and use or listen to the skills episode.
- 12:03And I'm also going to describe the daily routine you must
- 12:05follow to make this entire system work.
- 12:08So starting with the skills folder, essentially this whole
- 12:12thing stops obviously being just static instructions for an
- 12:15agent. And then it becomes like an
- 12:17operating system when you essentially have lots of skills
- 12:21and scheduled tasks working. So you know, every time you have
- 12:25a workflow that you do more than two, three times, you should
- 12:28turn it into a skill. And you're going to have a
- 12:31folder that is going to have all of your skills inside it.
- 12:34And the agent should just be able to structure it.
- 12:36So if you've opened desktop Commander or if you're allowed
- 12:41the agent to take control of your local files, just tell it
- 12:45to organize the skills, put it inside the folder structure that
- 12:48you created. Again, I would say there's tell
- 12:51cords or tell whatever system that you're using to do it for
- 12:54you. It could be discovery and
- 12:57conversation prep and you could have a skill there that before
- 13:00any call generate 5 hypothesis LED questions maybe to this
- 13:05prospects industry and always frame questions as a hypothesis
- 13:10to test, not a fact because we want them to confirm.
- 13:13Could be as simple as that or something highly complex.
- 13:16Some people have been quite ambitious.
- 13:18They've got literally like 24/7 content engine runs going,
- 13:22generating ideas, drafting scripts, writing SOP's, creating
- 13:25slide decks, just doing so so much.
- 13:28But that that's going to cost you an absolute fortune.
- 13:31And the important thing is that once you build this architecture
- 13:34that I'm describing, you can really start to turn it into an
- 13:39operating system because identity tells the agent who's
- 13:42running the workflow, Context tells it the current state of
- 13:45the world, skills tell it how to actually run that specific task.
- 13:51And as I'll come on to it in a minute, you'll have a daily log
- 13:54system that will keep track of all major decisions that are
- 13:57made. And all of this can be happening
- 13:59on a scheduled routine. So every time the agent is doing
- 14:03this task, you don't need to prompt it.
- 14:05It is just taking all the information that you've already
- 14:07built through this architecture. And this comes on to the final
- 14:10part, which is that daily session log loop that I
- 14:14mentioned right at the start. So before we end every single
- 14:17session, we're now going to write a session log.
- 14:19We're going to literally tell the agent write a session log.
- 14:23It's going to cover what we worked on with the agent, and it
- 14:27should only be about 3 bullet points Max.
- 14:29You can turn this into a skill. So you can go slash daily log
- 14:32and tell it where to store that information.
- 14:34So store this in X place within the file structure I've created
- 14:38and label it by the day of the week and the time we made it.
- 14:42And it should, yeah, as I said, it should cover what we that
- 14:44what you and the agent worked on, the decisions made with any
- 14:48reasoning, any open questions that are going to be need to be
- 14:51covered next time, any files that were touched and anything
- 14:54in the memory MD that should be updated based on the session or
- 14:58anything that needs to be changed to skills or anything
- 15:01else as a result of that session.
- 15:03So those were very highly structured because the agent can
- 15:05then scan it and we'll just have that information immediately.
- 15:10And you can get quite clever here.
- 15:11You could run a scheduled task called weekly review where on a
- 15:14Sunday, for example, where it reads all of the daily journals
- 15:18or updates or logs, maps them against annual objectives, key
- 15:21priorities, and essentially give a review of progress and things
- 15:26that we need to make sure we do next week.
- 15:29So you can do quite clever things with this as well.
- 15:31So they help progress other initiatives you might be trying
- 15:33to get through. And anytime you you find it
- 15:36going wrong, tell it to update the master doc, tell it to
- 15:39update something in the system to improve this.
- 15:41So it's continually growing and improving.
- 15:44So yeah, let's let's wrap up. So I guess my call to action to
- 15:48everyone listening is go and get on this properly.
- 15:52You know, set up a folder, dedicate an hour, I'll put it
- 15:55inside a link in the Apple and Spotify podcast show notes so
- 16:01you can get access to this. But go and create that
- 16:04substructure or that folder structure with those subfolders.
- 16:08It'll take you less than an hour and suddenly you'll start to be
- 16:12able to create a true AI operating system.
- 16:14And I bet if you do that, by the end of the week, the agent's
- 16:17going to know more about you and your work.
- 16:19And just save so much time of no, don't do it like this, do it
- 16:23like that type conversations that that one hour will save you
- 16:27many, many more hours. Anyway, thank you for listening
- 16:31and I'll see you next time.