🏆 PHL EDU WITH AI • AI Agents Series — Final Part 5/5
AI Agent A to Z
مکمل عملی گائیڈ
Complete Practical Guide — Build, Test & Deploy
بنانا — آزمانا — چلانا — سیریز کا سب سے طاقتور حصہ!
Build — Test — Deploy — The most powerful part of the series!
🔨Build
🧪Test
🚀Deploy
✅Series Complete
🎉 سیریز مکمل — آپ تیار ہیں!
🏆 آپ نے یہ سفر مکمل کیا!
🏆 You Completed This Journey!
پانچوں حصے پڑھنے والے آپ صرف 5% لوگوں میں سے ہیں جو AI Agents کو واقعی سمجھتے ہیں۔ اب عملی سیکھنے کا وقت ہے!
By reading all five parts, you are among the 5% of people who truly understand AI Agents. Now it’s time for practical learning!
آپ کہاں سے شروع کریں؟ — اپنی سطح چنیں
Where Should You Start? — Choose Your Level
Beginner Level
آسان / EasyAgentGPT، Claude AI — بس مقصد لکھیں اور دیکھیں۔ Coding صفر!
AgentGPT, Claude AI — just write your goal and watch. Zero coding!
ابھی شروع کریں →Intermediate Level
درمیانہ / Mediumn8n، Make.com — Visual drag-and-drop workflows۔ تھوڑی practice چاہیے!
n8n, Make.com — Visual drag-and-drop workflows. Needs some practice!
n8n آزمائیں →Advanced Level
مشکل / AdvancedCrewAI، LangChain — Python coding ضروری۔ پیشہ ور developers کے لیے!
CrewAI, LangChain — Python coding required. For professional developers!
CrewAI دیکھیں →راستہ 1: AgentGPT — ابتدائیوں کا A to Z (10 منٹ)
Path 1: AgentGPT — Beginner A to Z (10 Minutes)
A
🌐 ویب سائٹ کھولیں / Open Website
Browser میں agentgpt.reworkd.ai کھولیں۔ کوئی account نہیں چاہیے — فوری شروع!
Open agentgpt.reworkd.ai in browser. No account needed — start immediately!
B
✍️ Agent Name + Goal لکھیں
مثال / Example Goal:
Name: My MDCAT Study Agent
Goal: Research the top 10 hardest Biology topics in MDCAT Pakistan and create a priority study list with estimated study hours for each topic.
C
▶️ Deploy کریں / Click Deploy
Deploy Agent بٹن دبائیں اور دیکھیں Agent خود سوچنا، سرچ کرنا اور کام مکمل کرنا شروع کرتا ہے!
Press Deploy Agent and watch the agent start thinking, searching and completing tasks on its own!
D
📋 نتیجہ محفوظ کریں / Save Results
نتائج کو copy کریں یا download کریں۔ مبارک ہو — آپ نے پہلا AI Agent چلا لیا! 🎉
Copy or download the results. Congratulations — you’ve run your first AI Agent! 🎉
راستہ 2: n8n سے WhatsApp AI Agent بنائیں
Path 2: Build WhatsApp AI Agent with n8n
یہ ایک مکمل عملی مثال ہے — WhatsApp پر پیغام آئے تو AI Agent خود جواب دے! یہ پاکستانی کاروباروں کے لیے بہت مفید ہے۔
This is a complete practical example — when a WhatsApp message arrives, the AI Agent automatically replies! Very useful for Pakistani businesses.
1
📥 n8n Cloud Account بنائیں
n8n.io → Start Free → Gmail سے Login → Dashboard کھولیں
n8n.io → Start Free → Login with Gmail → Open Dashboard
2
➕ نیا Workflow بنائیں
+ New Workflow → Blank → Canvas کھل جائے گا۔ یہاں آپ nodes drag & drop کریں گے۔
+ New Workflow → Blank → Canvas will open. Here you’ll drag & drop nodes.
3
🔔 Webhook Trigger لگائیں
+ → Webhook → Method: POST → URL copy کریں۔ یہ آپ کا WhatsApp سننے والا دروازہ ہے!
+ → Webhook → Method: POST → Copy URL. This is your WhatsApp listening gateway!
// آپ کا Webhook URL کچھ ایسا ہو گا:
https://your-n8n.app.n8n.cloud/webhook/abc123
4
🤖 AI Agent Node جوڑیں
+ → AI → AI Agent → System Prompt لکھیں:
// System Prompt مثال:
You are a helpful customer service agent for a Pakistani clothing store.
Answer customer queries in Urdu and English.
Be polite, helpful and concise.
If you don’t know the answer, say: “میں آپ کو جلد ہی جواب دوں گا”
5
📤 WhatsApp Reply Node
+ → Respond to Webhook → یا WhatsApp Business API node۔ AI کا جواب واپس بھیجیں!
+ → Respond to Webhook → or WhatsApp Business API node. Send the AI’s reply back!
6
🧪 Test کریں / Test It
“Test Workflow” بٹن → خود پیغام بھیج کر دیکھیں → کام کرے تو “Activate” کریں!
Click “Test Workflow” → Send a test message → If it works, click “Activate”!
🎉 آپ کا WhatsApp AI Agent تیار ہے! اب یہ 24/7 کام کرے گا۔
🎉 Your WhatsApp AI Agent is ready! Now it will work 24/7.
راستہ 3: CrewAI — Multi-Agent Team بنائیں
Path 3: CrewAI — Build Multi-Agent Team
⚠️ نوٹ: یہ advanced راستہ ہے۔ Python کی بنیادی معلومات ضروری ہے۔ اگر coding نہیں آتی تو پہلے راستہ 1 یا 2 مکمل کریں!
⚠️ Note: This is an advanced path. Basic Python knowledge required. If you don’t know coding, complete Path 1 or 2 first!
1
📦 Install کریں / Install
pip install crewai crewai-tools openai
2
🤖 Agents Define کریں
# research_agent.py
from crewai import Agent, Task, Crew# Agent 1: Researcher
researcher = Agent(
role=”MDCAT Research Specialist”,
goal=”Find the most important biology topics for MDCAT Pakistan”,
backstory=”Expert in Pakistani medical education system”,
verbose=True
)# Agent 2: Writer
writer = Agent(
role=”Content Writer”,
goal=”Write clear study notes in Urdu and English”,
backstory=”Expert educational content creator”,
verbose=True
)
3
📋 Tasks بنائیں
# Tasks assign کریں
research_task = Task(
description=”Find top 10 MDCAT Biology topics with difficulty level”,
agent=researcher,
expected_output=”List of 10 topics with importance rating”
)writing_task = Task(
description=”Write 2-page study notes for each topic”,
agent=writer,
expected_output=”Complete study notes in Urdu/English”
)
4
🚀 Crew چلائیں / Run Crew
# Crew بنائیں اور چلائیں
crew = Crew(
agents=[researcher, writer],
tasks=[research_task, writing_task],
verbose=True
)result = crew.kickoff()
print(result)
✅ دونوں Agents مل کر کام کریں گے اور مکمل study notes تیار کریں گے!
✅ Both agents will work together and prepare complete study notes!
Agent کو ٹیسٹ کیسے کریں؟
How to Test Your Agent?
| ٹیسٹ / Test | کیا چیک کریں / What to Check | کامیابی کی علامت / Success Sign |
|---|---|---|
| 🎯 Accuracy Test | کیا جواب درست ہے؟ Is the answer correct? | 90%+ accuracy |
| ⚡ Speed Test | جواب کتنے وقت میں آیا؟ How fast is the response? | under 10 seconds |
| 🔄 Edge Case Test | عجیب سوال پر کیا ہوتا ہے؟ What happens with unusual questions? | Graceful handling |
| 💾 Memory Test | پرانی بات یاد ہے؟ Does it remember past context? | Context maintained |
| 🛡️ Safety Test | غلط سوالات کو سنبھالتا ہے؟ Handles inappropriate questions? | Politely refuses |
💡 Testing کا اصول: کم از کم 20 مختلف سوالات سے ٹیسٹ کریں — آسان، مشکل اور عجیب سبھی۔ جب 18/20 درست ہوں تو deploy کریں!
💡 Testing Rule: Test with at least 20 different questions — easy, hard and unusual ones. When 18/20 are correct, then deploy!
Agent کو Deploy کریں — دنیا کو دکھائیں!
Deploy Your Agent — Show It to the World!
| Platform | کیسے Deploy کریں / How to Deploy | قیمت / Cost | بہترین / Best For |
|---|---|---|---|
| ☁️ n8n Cloud | Activate بٹن → URL شیئر کریں Click Activate → Share URL | مفت / Free | Automation |
| 🤗 HuggingFace Spaces | Code upload → Space بنائیں Upload code → Create Space | مفت / Free | AI Apps |
| 🔮 Railway.app | GitHub connect → Auto deploy Connect GitHub → Auto deploy | $5/mo | Full Apps |
| ⚡ Vercel | GitHub connect → ایک کلک Connect GitHub → One click | مفت / Free | Web Apps |
آپ کی AI Agent Checklist — مکمل کریں!
Your AI Agent Checklist — Complete It!
AgentGPT پر پہلا Agent چلایا
Ran first agent on AgentGPT
Claude AI سے MDCAT سوال پوچھا
Asked MDCAT question to Claude AI
n8n account بنایا
Created n8n account
پہلا n8n workflow بنایا
Created first n8n workflow
Agent کو 20 سوالوں سے ٹیسٹ کیا
Tested agent with 20 questions
Agent deploy کیا
Deployed agent
Fiverr/Upwork profile بنایا
Created Fiverr/Upwork profile
پہلا پیڈ project مکمل کیا 💰
Completed first paid project 💰
🌟 آخری بات: AI Agents سیکھنا ایک سفر ہے منزل نہیں۔ ہر دن کچھ نیا سیکھیں، ہر ہفتے ایک نئی چیز بنائیں۔ 6 مہینوں میں آپ وہاں ہوں گے جہاں آج صرف 1% لوگ ہیں!
🌟 Final Word: Learning AI Agents is a journey, not a destination. Learn something new every day, build something new every week. In 6 months, you’ll be where only 1% of people are today!
📚 AI Agents مکمل سیریز — تمام حصے
📚 Complete AI Agents Series — All Parts
📖 MDCAT Vocabulary Series
📖 MDCAT Vocabulary Series
🎮 MDCAT پریکٹس گیمز
🎮 MDCAT Practice Game Levels
🔗 مفید لنکس
🔗 Useful Links
🏆 آخری اور سب سے اہم ہدایات
🏆 Final and Most Important Tips
آج ہی AgentGPT کھولیں اور پہلا Agent چلائیں — اسی لمحے سے آپ کا AI سفر شروع ہو گا۔ کل پر مت ڈالیں!
Open AgentGPT today and run your first agent — your AI journey starts at that very moment. Don’t postpone to tomorrow!
غلطیوں سے نہ ڈریں — AI Agent بھی پہلی بار غلطیاں کرتا ہے، آپ بھی کریں گے۔ لیکن ہر غلطی آپ کو بہتر بناتی ہے!
Don’t fear mistakes — AI Agents make mistakes too. So will you. But every mistake makes you better!
یہ پوری سیریز اپنے دوستوں، ساتھیوں اور خاندان کے ساتھ شیئر کریں۔ علم بانٹنا سب سے بڑی سرمایہ کاری ہے!
Share this complete series with friends, colleagues and family. Sharing knowledge is the greatest investment!
آنے والا دور AI Agents کا ہے — اور آپ نے آج خود کو اس دور کے لیے تیار کر لیا۔ Team PHL EDU WITH AI آپ کے ساتھ ہے!
The future belongs to AI Agents — and today you’ve prepared yourself for that future. Team PHL EDU WITH AI is with you!
✦ Team : PHL EDU WITH AI ✦





Salam sir. Maine apke es sseries ke madad se n8n or make.com py free agent banaya hay jo mery laptop main use ho raha hay. Shukriya sir
برادر نعیم حسین
یہ سر نہی میڈیم ہیں
میڈیم کو شکریہ بولیں