Why Context Matters
From the course: Agentic AI For Founders & Senior Operators
We gave two sessions the same prompt, to make a poster for a live session. The one with only user-level context used Canva, a tool we don't use, and made a poster that looked nothing like our brand. The one already loaded with context, including a skill and memory files, made a poster in our brand kit with our logo, cut into the formats we use for LinkedIn, WhatsApp and Instagram.
Transcript
So now we're going to look at the value of context enrichment. Okay. And the way we're going to do that is we're going to look at one session that has absolutely no context and the output it produces. Then we're going to look at another session that has the right context and the output that that session produces. Okay. So this is our first session that has no context. All right. So you can see here I type /context, which is a way you can see the context window. And in this case, all it has is the system prompt, system tools, custom agents, memory files, messages, etc. But it was not even started in the right folder. It was started in just some random folder. So all it has is my user-level context, which applies to all sessions, remember. So all it has is the user instructions that are appended to it. And what I'm telling it to do is I'm telling it, "Hey, make a poster for our next live session. Title: Teach Your Team How To Use AI. Instructor, which is me, Akhil. Date: Sunday, 27 September, 9 AM IST." All right. So now it knows from the user-level context, which is the only context it has, that I work for Luminary. And so it will look for Luminary brand assets and then generate the poster. Okay. So it found the Luminary directory and a Canva brand kit. And now it's checking for the brand guidelines. It goes through a full loop. It does a bunch of things and then it saved a file and I said, "Okay, you know what? Put it in the desktop." All right. So this is the folder that it created. And we can see here that it looks absolutely nothing like what I would want a poster for a session on my website to look. All right. Because it had zero context. So this is the best that it came up with. It used Canva, which is a tool that we don't even use. And this is what it produced. Now I go to another session, which is my creative agent, which is where I do all my creative work right here. And I go up here and I do the same thing. Okay. So I look at the context window and here you'll see in the context window a lot more by way of messages. There are more memory files as well. So it is already enriched with context. And I put the same prompt, which says, "Make a poster for our next live session," and the same details. And now we'll see what it did. So it loaded a skill firstly, which is fine. We'll cover skills, but a skill is just a custom set of instructions that are pulled into its context. Then it did a series of other steps and it pasted it in the desktop. So let's see what it pasted in the desktop. All right. Right off the bat, I can see that it's created a poster that is actually aligned with my brand kit and it has my company's logo. It's also cut it into the various different formats that we use for distribution. So we use LinkedIn event, LinkedIn post, WhatsApp, Instagram story only, and I can open up any one of them and see the difference. Okay. So here it's also found my image. It knows who I am. It knows that when we create live sessions, this is how we do it. We put this logo at the top. This is the exact color that we use for the free live session pill. This is how we use icons and this is what we typically add. So it did all of that because it had all the context.