
AI Engineer | Agentic AI Developer | AI Automation | Eliminating Human Latency with Digital FTEs
Karachi Pkistan
Joined May 2025
- Tweets103
- Following576
- Followers9
- Likes270
I am attending The AI Sprint ⚡️ Want to join along? Register from here. hellopm.co/ai-sprint/?refer=…
8
Check out my Gig on Fiverr: create automation with mcp tools ,agents sdk and n8n fiverr.com/s/6YWAX4L
8
📌 Retrieval-Augmented Generation (RAG) – Dot Product Demo with NumPy
🔍 Want to know how a user's query finds the most relevant document in a vector database?
👇 Here’s a simple Python demo:
1
26
🚀 Just tested out Sentence Transformers with the all-MiniLM-L6-v2 model for generating semantic embeddings .It's incredibly lightweight and perfect for building vector-based search, RAG systems, and recommendation engines —
Here’s a quick example:
1
22
Understanding tracing in the OpenAI Agents SDK doesn't have to be complicated.
📌 Analogy: A trace is like a movie — it captures every scene (span) from start to end.
📌 Analogy: A span is like a scene in that movie — a focused snapshot of a single action.
1
10
Tracing is one of Mager feature in OpenAI agents sdk .
Here is the complete flowchart of the tracing workflow in OpenAI agents sdk
1
10
Here is a complete agent loop diagram .
Visualizing is the best way to learn and understand complex things.
1
8
🚀 Build AI Agents using OpenAI Agents SDK + Google Gemini API (in Colab)
Steps to get started:
!pip install -U openai openai-agents
Setup AsyncOpenAI with Gemini API key
Wrap Gemini in OpenAIChatCompletionsModel
Create your Agent(...)
Run via Runner.run_sync(...)
1
14






