Agentic AI Day 3 - OpenRouter & Google Gemini Explained | Build Custom Haiku Agent (GIAIC Q4)
Welcome to **Day 3 of Agentic AI - GIAIC Quarter 4** Series!
In this video, we dive deep into advanced agent capabilities using OpenAI’s powerful **Agents SDK** — but this time, with a twist: we’re using the **Google Gemini model via OpenRouter** to build our own **Haiku-style AI Assistant** 🧠✨
---
### 📌 What You Will Learn in Day 3:
✅ What is **OpenRouter** and how it works in agentic workflows
✅ How to use **Google Gemini models (like gemini-pro & gemini-2.0-flash)** via OpenRouter or directly
✅ How to create a **.env** file to securely manage API keys
✅ How to configure Gemini in **three flexible ways**:
• Agent Level
• Run Level
• Global Level
✅ How to write step-by-step Python code to create your own **Haiku Agent**
✅ Full breakdown with examples and beginner-friendly explanation (in Roman Urdu)
---
### 📘 Topics Covered:
* OpenRouter vs OpenAI: What’s the difference?
* Setting up OpenRouter API for Gemini
* Configuring AsyncOpenAI client for non-OpenAI LLMs
* Agent creation using `openai-agents` SDK
* Making your AI respond only in Haikus (Poetry format 🤯)
* Debugging & common errors
* Real-time testing using `uv run main.py`
---
### 📥 PDF Download:
🔗 **Get the full PDF guide & code here (GitHub)**:
👉 [https://github.com/fatimaRiaz531/Agentic-AI/tree/main/deeply%20explain%20step%20by%20step%20in%20pdf]
---
### 🛠️ Tools Used:
* `openai-agents`
* `python-dotenv`
* `uv` (for dependency and project management)
* Google Gemini via OpenRouter
* Python (async/await)
---
### 🔗 Follow the Playlist:
Watch the full Agentic AI Series here 👉https://www.youtube.com/playlist?list=PL8lLSTqV6718RJ-payUq7lO6ZOFlH2snF
---
### 💬 Roman Urdu Overview:
Aaj ki video mein aapko step-by-step samjhaya gaya hai ke Google Gemini model ko OpenRouter ya directly kis tarah `openai-agents` SDK ke sath use karna hai. Har ek point ko deeply samjhaya gaya hai simple examples aur asaan language mein. Aap apna AI assistant bana sakti hain jo sirf haiku (poetry) mein jawab deta hai.
---
👉 Don't forget to **Like**, **Subscribe**, and **Share** with your GIAIC fellows!
#codewithfadhi #AgenticAI #OpenRouter #GoogleGemini #GIAICQ4 #HaikuAgent #PythonAI #AgentsSDK #GIAIC #FatimaCode #AIinUrdu #GeminiModel #OpenAI #openaiagents
Видео Agentic AI Day 3 - OpenRouter & Google Gemini Explained | Build Custom Haiku Agent (GIAIC Q4) канала Codewithfadhi
In this video, we dive deep into advanced agent capabilities using OpenAI’s powerful **Agents SDK** — but this time, with a twist: we’re using the **Google Gemini model via OpenRouter** to build our own **Haiku-style AI Assistant** 🧠✨
---
### 📌 What You Will Learn in Day 3:
✅ What is **OpenRouter** and how it works in agentic workflows
✅ How to use **Google Gemini models (like gemini-pro & gemini-2.0-flash)** via OpenRouter or directly
✅ How to create a **.env** file to securely manage API keys
✅ How to configure Gemini in **three flexible ways**:
• Agent Level
• Run Level
• Global Level
✅ How to write step-by-step Python code to create your own **Haiku Agent**
✅ Full breakdown with examples and beginner-friendly explanation (in Roman Urdu)
---
### 📘 Topics Covered:
* OpenRouter vs OpenAI: What’s the difference?
* Setting up OpenRouter API for Gemini
* Configuring AsyncOpenAI client for non-OpenAI LLMs
* Agent creation using `openai-agents` SDK
* Making your AI respond only in Haikus (Poetry format 🤯)
* Debugging & common errors
* Real-time testing using `uv run main.py`
---
### 📥 PDF Download:
🔗 **Get the full PDF guide & code here (GitHub)**:
👉 [https://github.com/fatimaRiaz531/Agentic-AI/tree/main/deeply%20explain%20step%20by%20step%20in%20pdf]
---
### 🛠️ Tools Used:
* `openai-agents`
* `python-dotenv`
* `uv` (for dependency and project management)
* Google Gemini via OpenRouter
* Python (async/await)
---
### 🔗 Follow the Playlist:
Watch the full Agentic AI Series here 👉https://www.youtube.com/playlist?list=PL8lLSTqV6718RJ-payUq7lO6ZOFlH2snF
---
### 💬 Roman Urdu Overview:
Aaj ki video mein aapko step-by-step samjhaya gaya hai ke Google Gemini model ko OpenRouter ya directly kis tarah `openai-agents` SDK ke sath use karna hai. Har ek point ko deeply samjhaya gaya hai simple examples aur asaan language mein. Aap apna AI assistant bana sakti hain jo sirf haiku (poetry) mein jawab deta hai.
---
👉 Don't forget to **Like**, **Subscribe**, and **Share** with your GIAIC fellows!
#codewithfadhi #AgenticAI #OpenRouter #GoogleGemini #GIAICQ4 #HaikuAgent #PythonAI #AgentsSDK #GIAIC #FatimaCode #AIinUrdu #GeminiModel #OpenAI #openaiagents
Видео Agentic AI Day 3 - OpenRouter & Google Gemini Explained | Build Custom Haiku Agent (GIAIC Q4) канала Codewithfadhi
Комментарии отсутствуют
Информация о видео
29 мая 2025 г. 10:22:51
00:17:48
Другие видео канала