AI Agents 101

Human vs AI UFC Matchup

In partnership with

Hey folks,

In the Red corner, we have humans!
They take 9 months to come into existence.
And then another 20 years to be capable of handling complex jobs.

In the Blue corner, we have AI Agents.
Born and ready to deploy in less than 30 minutes!

Who wins? Well…that depends on the task.

One thing is certain though.
AI Agents have increased my team’s productivity by leaps and bounds.

An AI agent I created last week processed 47 customer support tickets, assigned them to the right teams, and drafted personalized responses.

All while I was making coffee. Cool stuff right?

The best part?

I didn't hire a developer or spend thousands on consultants. I built this AI Agent myself in 27 minutes using tools anyone can access.

A digital employee that can think, remember and get things done.

And the potential and possibilities for AI Agents are endless.

Yeah, I know you are curious to know how to build one.

Don’t worry, I will give you a step by step tutorial. And a little giveaway too!

Let's get right into it!

My tryst with AI agents

But Vaibhav, Amazon does not sell flight tickets right?

Exactly. The AI Agent can visit websites and help users make purchases, so that you never leave Amazon.

So naturally, I went down a rabbit hole to learn how to build one myself.

Let’s learn how you can build one too…

Your 30-minute AI agent blueprint

Step 1: Initial Setup (3 minutes)

Go to replit.com and create a free account.

Click "Create Repl" and choose "Python."

Name it "My First AI Agent."

But what is Replit, Vaibhav?

It’s simply a coding platform that works in your browser. No downloads, no setup headaches.

Step 2: Install your AI agent toolkit (3 minutes)

Now there are many ways you can create AI Agents. I tested AutoGen and CrewAI.

Based on my experience:

  • AutoGen (Microsoft): Better for complex multi-agent systems

  • CrewAI: Easier for beginners, great templates

For this tutorial, we're using CrewAI because you can literally copy-paste and go.

First, we need to install it:

In the Replit console (the black box at the bottom), type this:

pip install crewai openai

Press Enter and wait 30 seconds.

Step 3: Get your AI "brain" connected (2 minutes)

You need an OpenAI API key (this is how your agent gets smart). Simple process:

  1. Go to platform.openai.com.

  2. Sign up (if you haven’t already).

  3. Click "API Keys" in the sidebar.

  4. Click "Create new secret key."

  5. Copy that long string of characters.

  6. Now come back to Replit and head over to Replit "Secrets" by typing "Secrets" in the search bar on the left.

This should cost you maybe $2-5 per month unless you're processing thousands of requests.

In Replit, click the lock icon on the left sidebar and add:

  • Key: OPENAI_API_KEY

  • Value: [paste your key here]

Step 4: Build your first agent (10 minutes)

Here's where the magic happens. Copy and paste the code in this doc into your Replit main file.

Okay Vaibhav.

What does this code do in plain English?

Quite a lot….

You just need to hit the green "Run" button and watch your agent work.

Step 5: How to make it actually useful (10 minutes)

The agent above is cool, but let's make it solve real problems. Here are 3 examples of modifications you can make(in the code):

Just swap out those lines, and you have a completely different AI employee!

Step 6: Connect it to the real world (little advanced but doable)

Yeah that’s not it. You can do a lot more with your just created AI baby Agent.

You can add integrations like:

And a lot more…

I’ll be honest. This step requires a bit more setup, but there are tons of tutorials on YouTube.

Simply search for "CrewAI Gmail integration," and you'll find step-by-step guides.

If you hate coding (I get it), some other options to explore are:

  • Use n8n.io - A visual workflow builder. Drag, drop, connect. No code required.

  • Use Zapier's AI features - They’re building AI agent functionality into their platform.

  • Hire someone on Fiverr- Show them this tutorial and pay $50-100 to have it built for you.

  • Use ChatGPT - Literally paste this tutorial into ChatGPT and ask it to help you troubleshoot any issues.

What you'll have after 30 minutes:

  • A working AI agent that understands your business context

  • The ability to modify it for different use cases

  • A foundation to build more complex automations

  • Bragging rights at your next team meeting

Want me to build one for your business?

I'm feeling generous (and slightly obsessed with this stuff).

Drop your details here and tell me:

  1. What repetitive task is killing your team's productivity?

  2. What tools/systems are you currently using?

I'll build a custom AI agent template for the few responses chosen through a randomised draw of lots.

Just promise me you won't ask for an AI agent that does your laundry. Even I have limits.

Existential crisis of the week

After building the agent, I just realized something.

My AI agent is better at customer service than most customer service reps I've encountered.

It's always patient, never has a bad day, remembers every previous interaction, and responds faster than humanly possible.

When AI becomes genuinely better at "human" jobs like empathy and communication...

Are we building our replacements, or are we building tools that make us superhuman?

P.S. — My AI agent just processed 12 more tickets while I was writing this. It's getting scary good.

Reply to this newsletter and let me know your thoughts.

Until next time,
Vaibhav 🤝

PS: If you read till here, you might find this interesting

#AD

Marketing ideas for marketers who hate boring

The best marketing ideas come from marketers who live it.

That’s what this newsletter delivers.

The Marketing Millennials is a look inside what’s working right now for other marketers. No theory. No fluff. Just real insights and ideas you can actually use—from marketers who’ve been there, done that, and are sharing the playbook.

Every newsletter is written by Daniel Murray, a marketer obsessed with what goes into great marketing. Expect fresh takes, hot topics, and the kind of stuff you’ll want to steal for your next campaign.

Because marketing shouldn’t feel like guesswork. And you shouldn’t have to dig for the good stuff.