Week 9: Let's build an AI Agent –?Part 1
Christian Moser
Leading the Agentic AI Revolution | Partner & Chief Digital Experience at Zühlke | President of UX Schweiz | Transforming Industries as Thought Leader, Author & Keynote Speaker
Hi and welcome back to an exciting week 9 on my journey into a cybernetic life! After raving so much about the potential and capabilities of agentic AI and AI agents, it's time to put it to the test. So, I thought: why not build our own AI agent?
Does this make sense? Probably not—buying is usually a better choice than building—but in this case, it's all about learning. I want to run an experiment: can we create an AI agent that builds its own community on LinkedIn? One that autonomously decides when and what to post and even responds to comments from the community? Let's find out!
But before we start, here are the AI news of the week:
Need-to-know AI News of the week
What are AI Agents vs. agentic workflows?
In our experiment, we aim to build a true AI agent. To avoid confusion, let's clarify the distinction between agentic workflows and true AI agents, as these terms are often misused.
We want to move beyond static workflows and build an AI agent that thinks, adapts, and acts independently.
Let's start with the fundamental idea
Before we start building, it's always a good idea to have a plan. The goal of our experiment is to create a LinkedIn community—entirely managed by an autonomous AI agent. Here's how it could work:
After completing these steps, I set up a loop that periodically prompts the LLM (for example, every 5 to 30 minutes), allowing it to determine if any actions are necessary to achieve the goal and to execute them accordingly.
Let's build the AI Agent using AI
Since we're on the topic, we also want to use AI to develop our AI agent. As I mentioned last week, I hardly write code myself anymore because it's so convenient. I mostly use the chat in my IDE to tell CoPilot what to do. Even when only a single line needs changing, I often prefer writing a prompt instead of editing it myself – probably out of habit and curiosity. ??
My goal is to develop this AI agent entirely through prompts, with minimal hands-on coding. For this, I use VSCode with GitHub Co-Pilot Chat, which runs GPT-4 in the background and generates solid, high-quality code.
We are ready to build
Next week, we will start developing the AI agent. Until then, I will request access to the Community Management API and set up the GitHub repository. So stay tuned –?exciting things are coming next week!
Already 1'500 subscribers! Help me grow the community
Do you like my newsletter? Then please help me spread the word and grow the community. My goal is to reach 2'000 subscribers before the snow is entirely melted away!
?? Re-post this article
?? Invite your colleagues to subscribe
?? Comment your wishes for future editions!
I wish you a successful agentic week!
?? Christian
husband | father | musician | nerd stuff | duality
1 周this is exactly the kind of thing that gets me fired up. true AI agents are where things get wild. love the idea of a self-sustaining linkedin presence. curious to see how it handles keeping context without just repeating itself. excited to see where this goes!
Love this :-)
Expertly crafted solutions customers trust ??
1 周This sounds fun. Every week it gets more interesting. I am curious about two things: ? How will you know/define that the agent is doing a good job? ? What are the costs involved in building your first AI Agent?