From the event: Mindstone Lisbon October AI MeetupBeyond Prompts: Skills and Agentic AI for Real Work
View event

Beyond Prompts: Skills and Agentic AI for Real Work

Beyond the Chatbot: The Promise of Agentic AI

So I'm here and some of you have not yet had that experience so I'm here to talk a little bit about that, of what is an agent, what are skills, what are tools, and then I'm here to demo something that I'm investing a lot, to give you a sense of what I feel about AI.

I no longer work, and I've never worked as much in my life. And if you're using AI on a daily basis, you kind of understand what I mean, which is most Most of the time, I'm just assigning stuff, goals that I want, and then AI does it for me. But at the same time, I'm here at a higher level managing all of this.

And if you've done this, you know there's a lot of challenge, context switching. Suddenly, you no longer know, where did I ask that? Or you forget, you ask for something, and then you figure it out. Oh, it's in a session. So it has its own challenges. But I don't think this is the challenge that society is facing right now.

I think the challenge that society is facing right now is that most people don't know what to do with AI. Most people don't have enough experience through this curve that most of us went along and now have this amazing powerful thing at their disposal and they go there and ask for a recipe. They still use it as a chat interface.

So I'm building something to help solve this. It's going to be an open source thing. I don't want to make any money out of it. I'm not even doing lead generation, nothing like that.

It's just that there's people like my wife. There's people like his grandmother. There's people like my friends who look at AI and still think it's just, oh, it's a chatbot. I ask a question, it says something to you and don't understand.

So what I'm building, and I'm going to demo that to you. So it's going to be my first live demo. It's still a work in progress. and if you if you've built products you know that this is I'm gonna fail because if you do your first live demo in a context like this of course it's gonna fail so take that into account when you judge me and I'm gonna it's a it's

essentially a product that interviews people to help them surface a skill that can be done with AI and then allow them to export it in a skill format I'll show show it in a moment.

How AI Agents Work

So AI agents. The difference between the conversational typical one -shot approach that we had until skills and tool carving was introduced with AI was essentially there was no loop. It was I ask a question, I get an answer back.

What agentic AI brings to the table is that the agent no longer has to reply immediately, he can do stuff, he can reason, he can call tools, one tool might be just doing a web search, checking a website, checking some API to see how the weather is.

So we can use these kind of tools, as you know, harnesses, which is the structure around an agent make different types of tools available we can install tools all of that and then it does that action it gets something back you read something the result goes back into his context and he reasons about it and decides if he needs to do anything else and he needs to use another tool or another skill and he does this loop until he feels that he's achieved whatever we asked him to achieve and when he does that that's when he finally replies to

So this example is quite a basic one, it's just, we give the agent a task like booking one hour meeting with Ana and João next week, and the agent, the first thing he thinks about is that he needs some free times, he reads my calendar, he checks that I'm free Tuesday and Wednesday, he doesn't know the other ones yet, so he repeats, then he checks the other

ones, reads their calendars, checks they're busy, no comment slots, still repeats, goes, widens to Thursday, reads all again, finds one, hasn't closed yet because the done definition is everyone is free and invites in and he sends the invite, asks me if he can, he sends, I say yes and it's done.

Tools, Goals, and Permission Controls

So it's more about giving the agent goals that he needs to use tools for and less about asking questions. It's more about getting him to do tasks and for him to do be able to do this he needs to use stuff tools tools are kind of the bread and butter of agents you can have

different types of tools some tools are kind of innocuous it's about reading it's about can I read that email can I access your calendar can I check those notes so those tools are kind of the ones that we say yes you can those ones don't need a lot of supervision and if you're like me you end up just saying allow all all the time for these type of tools which are non destructive tools tools that don't have an effect on the world for other types of tools we want

to be a little bit more careful delete can I delete this email that's something that you I want to keep permissions on and I want to make sure that the agent can only do it when I say yes you can request permission but I need to allow allow it.

If you're like me, I was here in January presenting Open CLAW, and the title of my talk was, An Agent Runs My Life, and I'm okay with that, because I don't have permissions on any tool. It's like, you can do whatever you want. That's the level of exposure I have to, that I expose my life to agents. But I don't recommend this to other people.

I recommend You have some control over the tools that you expose your agents particularly destructive tools like sending stuff deleting or paying for stuff

So tools can be read the weather in an API Check my email check book a meeting stuff like that So it's allowing the agent to perform actions on external systems

Skills: Teaching Agents Repeatable Methods

And then this one this one is the one that I'm going to be demoing and this one is the one that I think kind of unlocks a lot of possibilities.

Skills. Skills is what the name says. A skill it's a competence, it's a method of doing something, it's an operating procedure.

So skills are essentially a way for us to teach an AI agent to do something in a high quality and consistent way. way.

We've all been there. We're asking some help to ChatGPT or Claude doing a task and it keeps going towards this side and we keep nudging it to that side. No, no, I don't want you to do that that way, that way. And we keep doing this.

And then a couple of weeks after we go and do the same thing with him and he keeps going down again to the right and you're like, oh my god, I told him the last time. And essentially, a skill is a way to avoid this.

A skill is a way of teaching an AI agent how to perform a set of actions, a sequence of actions. Typically, they're quite formalized. So if it's about, let's say, book a meeting, first thing is check the calendars. Check for availability. If not, check the other days. if everyone is available book for everyone and then send an email so it's a sequence of steps and to a tool is as been formalized as a format by the all

the labs so you always have what's called the front matter which is the name and the description of the tool the skill you always have the name and the description of that skill that gets always pushed into the context of the the agent. So the agent, when he needs to send an email, he can see that there's a tool that's called Send Email and has a description that says, any time you need to send an email, use this skill. And then the instructions. The instructions are only read by the agent when he needs to. So we are not polluting the context window of the agent with a lot of tools.

Some people have hundreds of tools installed in their in their agents and if all the instructions were there it would just consume the context window and then in some cases tools can become skills can become quite complex and in some cases there's attachments there's pieces of code that you give the agent so we can run to perform an action there's examples there's templates so they can get quite complex here on the

Anatomy of a Well-Designed Skill

the right we have an example of a skill. This is kind of an onboarding skill to prepare the first week when someone is joining a company and the name is prepare first week.

The description says when someone new asks for a plan for their first days and these two elements are always injected in the context window of any session.

And then here below we have the steps that are are needed to achieve the goal. This is, of course, just a caricature.

It doesn't have the detail that a good skill should have, which should be precise in terms of describing the steps, of describing what never changes and what might change, because skills don't need to be completely strict and should allow the agent to make decisions.

And then, what does a good result, what does good look like, which is extremely important when we work with agents, explaining to them how we evaluate quality and then what it should never do so this is kind of the example of the quintessential example of what a skill is and now let's go to that

Live Demo: Turning Experience into an AI Skill

other thing that I was telling you about it's called method essentially because a skill is nothing more than that and what we're gonna see

here now is Jay. What you're going to see here now is that he's going to interview me to extract a skill out of me. So as I warned you, first live demo, be gentle.

So I need to put a code here. Just write it here. Okay.

And now I'm using GPT Live. It's a full duplex model from OpenAI that allows us to have a conversational interface with voice while the agent performs actions in the background.

If you use the live voice mode from ChatGPT, you know how this works. It's just I can speak to it. Let's see if we can listen to it fine.

I have one I have one so let's do let's do this one so the task is getting so I have an 11 year old son and regularly I use AI to create test materials for him to practice before he has an exam

and I see a draft on the canvas. Could you walk me through the last time you did it and what the project was?

So the last time we did it was this week. So the first thing I did was I called him to the room and I told him to just blurt out everything he remembered that he studied for that exam, that he was taught for that exam.

Understood, that helps. I'm staying with you.

So next I instructed CheckGPT to go search for more materials. So using that as a starting point, I told them, hey, go search for what is taught on this class on the sixth grade, first part of the year, and what do you think is going to come out in the test?

I see the canvas book. I'm hoping it comes back with some exercises that he found online with kind of the curriculum. So, I'm hoping that it brings more structure and diversity, so I can check with JJ. JJ is the name of my son.

What was that exam for? It was mathematics. I see that update. Okay, so it was for math. After you get that search result or set of materials, what do you do with it next?

Okay, so I muted myself, just to show you how it works. because you've seen until now I've having this conversation and what's happening is that the agent is extracting the steps to formalize the skill so right now the first step is has asked the kids what you remember what you think it's going to be on the test then the second step is use that as a starting point to ask chat GPT to go and and search for more stuff and it's not

It now asked me something that I don't recall anymore. Can you repeat the question, please?

So two different things. One is I asked him to create, I'm going to rush it a bit here. I asked him to create some PDFs that I can send with exercises. I don't like my kid to do digital stuff, kind of websites and all. So he creates some PDFs that we send to the Kindle scribe. And then JJ does the exercises there. And then he sends the exercises done back to my email, and I ask the agent to check what he did and to grade it and give feedback.

I see the canvas updated. When you get his answers back, how do you share them? So I expect him to now add those here. What do you ask it to check?

So I'm on a bit of a rush. Can you wrap it up? Can you just add the steps that I just mentioned here? Sure. I'll capture those steps, as you said. All right. I've captured that, and the canvas is updated.

One more thing before you go. It's not. How did you decide which research exercises should go into the PDF? I did it. Let's wrap it up for now. I just want you to do it as is for now. Is that OK with you? Sure. We'll pause here. We'll pick up from here next time.

Exporting a Reusable Study-Preparation Workflow

Okay, so it's updating the canvas, just for you to show. It's updating the canvas, and when everything is done, I can just click a Review and Export Candidate Scale. What I'll get is a folder, it's a zip file, with a scale, with an MD file. If you work with AI, you've grown accustomed to MD files. With an MD file, with some examples,

then I can just go to ChatGPT, WorkWallet, or any artists that support skills, include it there. And next time I need to do something with JJ, I can just launch that skill. And this process will just be done by the agent. It will prompt me for JJ's input. It will then search for stuff. It will then produce a PDF with exercises sent to the Kindle and expect to get back the results so we can give feedback.

Making Agentic AI Accessible to Everyone

So my goal with this product is to help normal people, people who are not in AI already, understand how they can transform the tasks that they do manually to a more augmented way of doing them with AI and agentic AI. Okay?

Thank you. Thank you, Ross.

Finished reading?