<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dua Fatima khan on Medium]]></title>
        <description><![CDATA[Stories by Dua Fatima khan on Medium]]></description>
        <link>https://medium.com/@duafatima64648?source=rss-6969a025c6ae------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_KfxDLiECCAissEj7j6zOA.png</url>
            <title>Stories by Dua Fatima khan on Medium</title>
            <link>https://medium.com/@duafatima64648?source=rss-6969a025c6ae------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 09:51:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@duafatima64648/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AI Is Your Genie, Not Your Mind Reader]]></title>
            <link>https://medium.com/@duafatima64648/ai-is-your-genie-not-your-mind-reader-3d9542fe3611?source=rss-6969a025c6ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d9542fe3611</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Dua Fatima khan]]></dc:creator>
            <pubDate>Thu, 13 Aug 2026 08:48:55 GMT</pubDate>
            <atom:updated>2026-08-13T09:14:32.661Z</atom:updated>
            <content:encoded><![CDATA[<p>Every few weeks, someone complains that AI “just doesn’t get it.” They typed a request, got back something flat or generic or beside the point, and concluded the technology is overhyped.</p><p>But the thing nobody tells them is that the machine did exactly what it was asked. The problem was never the model. It was the ask.</p><h3>Genies Don’t Guess</h3><p>A genie doesn’t intuit your deepest wish. It executes your exact words and if you’re careless with your wording, you get a technically correct answer that solves nothing you actually wanted. Ask for “a million bucks” and you might get buried under literal bucks.</p><p>AI works the same way. It has no access to your intent, your context, your half-formed idea of what “good” looks like. It only has your words. Vague in, vague out. Specific in, something close to magic out.</p><p>This isn’t a bug. It’s the entire nature of the interaction. The model isn’t withholding understanding from you it’s mirroring exactly the clarity you brought to the table.</p><h3>The Skill Nobody’s Teaching</h3><p>what’s strange?? everyone’s racing to adopt AI, and almost nobody is training the one skill that actually determines whether it’s useful knowing how to ask.</p><p>Research on large language models has found that a large share of the performance gains people attribute to “better AI” don’t come from the model at all. They come from better prompts. Same model, same weights, wildly different output, purely because someone learned how to phrase a request with precision.</p><p>That should unsettle you a little. It means the ceiling on what these tools can do for you isn’t set by OpenAI or Anthropic or Google. It’s set by you… by how well you can translate a fuzzy idea in your head into language a machine can act on.</p><p>That’s not a technical skill. It’s closer to a writing skill, a thinking skill, dressed up in a technical costume.</p><h3>Why This Actually Matters?</h3><p>Think about what happens when two people use the exact same AI tool. One gets a paragraph of mush. The other gets something that reads like it was written by someone who actually understood the assignment. They worked on the same model with same access but got completely different outcome.</p><p>The gap isn’t talent, and it isn’t luck. It’s specificity.</p><p>It’s knowing what to include, what to leave out, what context the machine needs that a human wouldn’t. It’s treating the prompt not as a search query, but as a brief the way you’d brief a sharp new hire on day one, except this hire has read most of the internet and forgets everything the second the conversation ends.</p><p>Once you start seeing prompting this way, the whole relationship with AI changes. It stops feeling like a black box you’re gambling with and starts feeling like a collaborator you’re directing.</p><h3>The Real Shift</h3><p>The most useful thing you can do with AI right now isn’t finding the “best” model. It’s getting sharper at asking. Because the tools will keep changing better models, new interfaces, fresh features every quarter but the ability to think clearly enough to phrase a precise request? That travels with you, model to model, tool to tool.</p><p>We spent years teaching people how to search the internet well. We’re now in the early, messy years of teaching people how to <em>talk</em> to intelligence itself.</p><p>That’s a stranger, more interesting problem than it sounds and most people haven’t even noticed they’re being tested on it every time they open a chat window.</p><p>The genie was always listening. The only question is whether you know what to say.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d9542fe3611" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Specs-Driven Development?]]></title>
            <link>https://medium.com/@duafatima64648/what-is-specs-driven-development-90fc47035537?source=rss-6969a025c6ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/90fc47035537</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[tech-education]]></category>
            <dc:creator><![CDATA[Dua Fatima khan]]></dc:creator>
            <pubDate>Wed, 21 Jan 2026 20:57:11 GMT</pubDate>
            <atom:updated>2026-01-21T20:57:11.667Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A gentle guide to building software clearly, even with AI</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/0*3E037iF-7bgTK88K.png" /></figure><h3>Let’s start with a simple story</h3><p>Imagine you want to build a <strong>house</strong>.</p><p>Before anyone brings bricks, cement, or tools, someone sits down and draws a plan. The plan shows where the rooms will be, how many windows there are, where the doors go, and how strong the walls should be.</p><p>No one starts building before this plan exists.</p><p>In software, that plan is called a <strong>specification</strong>, and building software by following that plan is called <strong>Specs-Driven Development</strong>.</p><h3>What does “specs” really mean?</h3><p>Specs is short form of <strong>specifications</strong>.</p><p>Specifications are written instructions that explain what a system should do and how it should behave. They are not code. They are explanations written so clearly that anyone on the team can understand them.</p><p>Specs answer simple but important questions:</p><ul><li>What is this feature?</li><li>Who will use it?</li><li>What should happen when something goes wrong?</li></ul><p>When specs are clear, the software becomes clear.</p><h3>So the Question is that what is Specs-Driven Development?</h3><p><strong>Specs-Driven Development (SDD)</strong> is a way of building software where the specs come first.</p><p>Instead of starting with code and figuring things out later, we first agree on the behavior of the system. Once everyone understands the plan, we write the code to match it.</p><p>In this approach, the code is not the decision-maker. The specs are.</p><h3>Why building without specs causes problems</h3><p>Now imagine building that house without a plan.</p><p>One worker adds an extra window. Another moves a wall. Someone else changes the roof. The house may stand, but it will feel wrong, confusing, and unsafe.</p><p>This is what happens in software when there are no specs. Developers guess. Features grow randomly. Bugs appear not because people are careless, but because there was no shared understanding.</p><p>Specs-Driven Development exists to prevent this confusion.</p><h3>A simple software example</h3><p>Let’s say we are building a login system.</p><p>With Specs-Driven Development, we first write something like this in simple language:<br>A user enters an email and password. If both are correct, the user logs in. If they are wrong, an error message appears. Passwords must be at least eight characters long.</p><p>Once this is written and agreed on, writing the code becomes much easier. The developer is no longer guessing. They are following instructions.</p><h3>Why Specs-Driven Development matters even more with AI</h3><p>Today, we do not only work with humans. We also work with <strong>AI tools</strong>.</p><p>AI is powerful, but it cannot read minds, it’s like your genie. <br>It understands instructions. When instructions are unclear, AI fills the gaps with guesses.</p><p>Specs-Driven Development gives AI the same house plan we give humans. It tells AI exactly what to build and what to avoid. This makes AI output more accurate, more consistent, and more trustworthy.</p><p>Clear specs turn AI into a helpful builder instead of a confused one.</p><h3>Where frameworks like SpecKit Plus come in</h3><p>Writing specs is good, but managing them well is even better.</p><p>A <strong>Specs-Driven Development framework</strong> helps teams write specs in a structured and repeatable way. This is what <strong>SpecKit Plus</strong> does.</p><p>SpecKit Plus provides a clear format for specs so they do not become messy notes. It ensures that everyone writes specs in the same language and structure. Most importantly, it treats specs as the single source of truth.</p><p>When specs change, everything else follows.</p><h3>SpecKit Plus and AI working together</h3><p>SpecKit Plus is especially useful in AI-driven development.</p><p>Because the specs are structured, AI can read them clearly. From the same spec, AI can help generate code, tests, or documentation. Humans and AI both follow the same plan.</p><p>This keeps the system stable, even as it grows.</p><p>One plan. One truth. Many outputs.</p><h3>How this changes teamwork</h3><p>With Specs-Driven Development and SpecKit Plus, teams work more peacefully.</p><p>Frontend developers, backend developers, testers, and AI tools all rely on the same specs. Work can happen in parallel without confusion. Fewer misunderstandings mean fewer rewrites.</p><p>The project grows, but the clarity stays.</p><h3>Why beginners should learn this early</h3><p>Learning Specs-Driven Development early teaches you how to think clearly before you code. It helps you explain ideas simply and build systems that do not fall apart as they grow.</p><p>It also prepares you for a future where working with AI is normal, not special.</p><h3>A final thought</h3><p>A house built without a plan may stand, but it will never feel right.<br>Software is the same.</p><p>Specs-Driven Development is not about slowing down. It is about building with confidence. With clear specs, you build once and build well.</p><p>Write the plan first.<br>Then build the house.</p><blockquote>If you’re here and you read this blog till the end, don’t forget to follow me for more simple, clear, and informative blogs in the future.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90fc47035537" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is OpenRouter and LiteLLM?]]></title>
            <link>https://medium.com/@duafatima64648/what-is-openrouter-and-litellm-a2eca39c7e9c?source=rss-6969a025c6ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2eca39c7e9c</guid>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai-agents-review]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[open-router]]></category>
            <category><![CDATA[litellm]]></category>
            <dc:creator><![CDATA[Dua Fatima khan]]></dc:creator>
            <pubDate>Wed, 09 Jul 2025 18:18:53 GMT</pubDate>
            <atom:updated>2025-07-09T18:18:53.404Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to <strong>Ilm Code Class Seven!</strong><br> In the last class, we learned how an agent thinks step by step using its “Agent Step Path.”</p><p>Today, we will understand two important tools that help us work with different AI models easily: <strong>OpenRouter</strong> and <strong>LiteLLM</strong>.</p><h3>Why do we need these tools?</h3><p>When we build AI agents, we often want to use different models. For example:</p><ul><li>Sometimes we want to use OpenAI’s GPT-4.</li><li>Sometimes we might want Gemini or other models.</li></ul><p>Switching between these models and managing them can be difficult. Tools like OpenRouter and LiteLLM make this process much easier and smoother.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Z-oOnjpSLGa2ZozlckcNg.jpeg" /></figure><h3>What is OpenRouter?</h3><p><strong>OpenRouter</strong> is like a big “traffic controller” for AI models.<br> It helps you connect your code to many different AI models without writing separate code for each one.</p><p>For example:</p><ul><li>You write one simple connection using OpenRouter.</li><li>Behind the scenes, OpenRouter sends your request to the model you choose.</li></ul><p>This makes it easy to try or switch between different AI models, or even combine them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RD9DG5Xvqy3wBPQiDeC9TA.jpeg" /></figure><h3>What is LiteLLM?</h3><p><strong>LiteLLM</strong> is a lightweight, simple library that lets you use many different language models with a single, easy interface.</p><p>Instead of learning each model’s special settings or API, LiteLLM gives you one common way to talk to all of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KGQcG748rXWYPAQZAA82bQ.jpeg" /></figure><h3>Why are these tools helpful?</h3><ul><li>You can switch between different AI providers without rewriting your code.</li><li>You can test which model works best for your project.</li><li>You can save time and reduce errors.</li></ul><h3>Simple example</h3><p>Imagine you are building an AI agent.<br> At first, you use GPT-4, but later you want to test Gemini or Claude.</p><p>With OpenRouter or LiteLLM, you do not need to change all your code. You just update a small setting or choose a new model, and your agent starts working with the new one easily.</p><h3>When to use OpenRouter or LiteLLM?</h3><ul><li><strong>OpenRouter</strong> is best when you want to manage multiple models from different providers and control routing (like a smart switch).</li><li><strong>LiteLLM</strong> is great if you want one simple library that supports many models out of the box, with easy setup.</li></ul><h3>One line summary</h3><blockquote><em>OpenRouter and LiteLLM make it easy to use different AI models in your projects without writing new code each time.</em></blockquote><h3>This was Ilm Code Class Seven</h3><p>Follow our WhatsApp channel and Medium for updates.<br> If you enjoyed this class, please comment and share it with your friends.</p><p>Warm Regards,<br> <strong>Dua Fatima</strong><br> <em>Founder of IlmCode</em></p><p>#AgenticAI #OpenAI #AIForBeginners #IlmCode #OpenRouter #LiteLLM #AIAgents #LearnAI</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2eca39c7e9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding an Agent’s Step-by-Step Thinking (Agent Step Path)]]></title>
            <link>https://medium.com/@duafatima64648/understanding-an-agents-step-by-step-thinking-agent-step-path-d44019c39eed?source=rss-6969a025c6ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/d44019c39eed</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai-agents-review]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[learning-aid]]></category>
            <dc:creator><![CDATA[Dua Fatima khan]]></dc:creator>
            <pubDate>Fri, 04 Jul 2025 14:02:50 GMT</pubDate>
            <atom:updated>2025-07-04T14:02:50.673Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to <strong>Ilm Code Class Six!</strong><br> In the last class, you wrote your first “Hello Agent” code and saw how your agent can reply like a smart assistant.</p><p>Today, we will go deeper and learn how an agent actually thinks before giving you an answer or doing a task. This is called the <strong>Agent Step Path</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*13o2_jiAaE3OwigSCtQXaw.jpeg" /></figure><h3>Why do agents need a step path?</h3><p>A smart agent does not just give random replies.<br> It follows a clear thinking path:</p><ol><li>Understand what you want.</li><li>Plan how to reach that goal.</li><li>Take action step by step.</li><li>Check if everything is correct.</li><li>Share the final answer or result.</li></ol><p>This path acts like a small map inside the agent’s mind.</p><h3>Simple example</h3><p>Imagine you tell your agent:<br> “Plan a one-day trip to Lahorefor me.”</p><p>Here is how the agent might think:</p><ul><li>Step 1: Understand the goal — you want a one-day trip to Lahore.</li></ul><p>Step 2: Check which day you want to go.</p><ul><li>Step 3: Find transport options — train, bus, or car rental.</li><li>Step 4: Find places to visit.</li><li>Step 5: Suggest food options — local restaurants or cafés.</li><li>Step 6: Make a final schedule from morning to night.</li></ul><p>Instead of jumping directly to a result, it carefully thinks through these small steps.</p><h3>How does this help?</h3><ul><li>It helps the agent handle big or complex tasks in an organized way.</li><li>It reduces mistakes because each step is clear.</li><li>It gives you custom results that match your needs.</li><li>It makes it easier to fix problems if something does not work.</li></ul><h3>The step path in code</h3><p>When coding with the OpenAI Agents SDK, this thinking path is included inside the agent’s logic using functions or instructions.</p><p>You tell your agent:</p><ul><li>Which steps to follow.</li><li>When to use tools.</li><li>When to ask you more questions.</li><li>When to stop and return an answer.</li></ul><p>This makes your agent feel more like a real assistant and not just a simple chatbot.</p><h3>One line summary</h3><blockquote><em>An Agent Step Path means the clear, step-by-step thinking process an agent uses to understand, plan, act, and reply in a smart and careful way.</em></blockquote><h3>This was Ilm Code Class Six</h3><p><strong><em>If you have any queries ask me in the comments below.</em></strong></p><p>Follow our WhatsApp channel and Medium to keep learning.<br>If you enjoyed this class, please comment and share it with your friends.</p><p>Warm Regards,<br> <strong>Dua Fatima</strong><br> <em>Founder of IlmCode</em></p><p>#AgenticAI #OpenAI #AIForBeginners #IlmCode #AgentStepPath #AIAgents #LearnAI</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d44019c39eed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Writing Your First “Hello Agent” Code — Step-by-Step Beginner Guide]]></title>
            <link>https://medium.com/@duafatima64648/writing-your-first-hello-agent-code-step-by-step-beginner-guide-8643948c2919?source=rss-6969a025c6ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/8643948c2919</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[Dua Fatima khan]]></dc:creator>
            <pubDate>Fri, 04 Jul 2025 13:32:02 GMT</pubDate>
            <atom:updated>2025-07-04T13:32:02.009Z</atom:updated>
            <content:encoded><![CDATA[<h3>Writing Your First “Hello Agent” Code — Step-by-Step Beginner Guide</h3><p>Welcome to <strong>Ilm Code Class Five!</strong><br> In the last class, we learned about the OpenAI Agents SDK and how it acts as a toolbox to build smart AI agents.</p><p>Today, we’ll finally get hands-on and <strong>write our first real agent code</strong>!</p><p>Don’t worry if you’re new — this guide is designed to be super easy and clear, so you understand every step and <em>why</em> we do it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LXckkl2gL0oTdryuT3chTw.jpeg" /></figure><h3>Prerequisites</h3><p>Before we start, you’ll need;</p><ul><li>Basic knowledge of Python (just basics)</li><li>Python installed on your system (version 3.9 or above recommended)</li></ul><h3>Step 1: Set up your project</h3><p>We will use a tool called <strong>uv</strong>, which is a fast Python package manager.<br> It helps you create a virtual environment and manage packages easily.</p><p>To start, open your terminal and run:</p><pre>uv init hello_agent</pre><p>This command creates a new folder named <strong>hello_agent</strong> and sets up a virtual environment inside it.</p><p>Now, go into your new folder:</p><pre>cd hello_agent</pre><p>Next, add the necessary packages:</p><pre>uv add openai-agents python-dotenv</pre><h3>Step 2: Add your API key safely</h3><p>Create a file named .env in your project folder (hello_agent ) and add:</p><pre>GEMINI_API_KEY=&quot;your_gemini_key_here&quot;</pre><p>This file keeps your key hidden and secure.</p><h3>Step 3: Write your agent code</h3><p>Create a file named main.py and copy this code into it:</p><pre>import os<br>from dotenv import load_dotenv<br>from agents import Agent, Runner, OpenAIChatCompletionsModel, AsyncOpenAI<br>from agents.run import RunConfig</pre><pre># Load your environment variables<br>load_dotenv()<br>api_key = os.getenv(&quot;GEMINI_API_KEY&quot;)<br>if not api_key:<br>    raise RuntimeError(&quot;KEY NOT FOUND&quot;)</pre><pre># Create Gemini client to handle requests<br>external_client = AsyncOpenAI(<br>    api_key=api_key,<br>    base_url=&quot;https://generativelanguage.googleapis.com/v1beta/openai/&quot;,<br>)</pre><pre># Set up your model<br>model = OpenAIChatCompletionsModel(<br>    model=&quot;gemini-2.0-flash&quot;,<br>    openai_client=external_client,<br>)</pre><pre># Configure how your agent will run<br>configs = RunConfig(<br>    model=model,<br>    model_provider=external_client,<br>    tracing_disabled=True,<br>)</pre><pre># Define your agent’s behavior<br>agent = Agent(<br>    name=&quot;SomeOne&quot;,<br>    instructions=&quot;You are a friendly and fun buddy who uses casual words and keeps answers short and easy to understand.&quot;,<br>    model=model,<br>)</pre><pre># Start the agent and send a message<br>runner = Runner.run_sync(<br>    agent,<br>    &quot;Hello, how are you?&quot;,<br>    run_config=configs,<br>)</pre><pre># Print the agent&#39;s reply<br>print(runner.final_output)</pre><h3>Step 4: Run your agent</h3><p>In your terminal, run:</p><pre>uv run main.py</pre><p>You’ll see your agent reply to your message directly in the console — congratulations! 🎉</p><h3>Why do we use each part?</h3><ul><li><strong>dotenv and </strong><strong>.env file</strong>: Keeps your API key private and easy to manage.</li><li><strong>AsyncOpenAI client</strong>: Connects your code to Gemini easily (without writing HTTP requests yourself).</li><li><strong>Model setup</strong>: Chooses which Gemini model to use.</li><li><strong>RunConfig</strong>: Controls how the agent runs (logging, model, etc.).</li><li><strong>Agent</strong>: Defines your assistant’s personality and style.</li><li><strong>Runner.run_sync</strong>: Starts the agent, sends your message, and shows the response.</li></ul><p>That’s it! You’ve now learned how to build and run your <strong>first real AI agent</strong> using Gemini and the OpenAI Agents SDK.</p><p>You didn’t just copy code you also learned <em>why</em> each part exists, so you can customize and build your own agents confidently.</p><h3>This was Ilm Code Class Five.</h3><p>If you’ve have any query ask me in the Comments</p><p>Follow our WhatsApp channel and Medium for more classes. If you enjoyed this one, leave a comment and share it with friends who want to learn AI too!</p><p>Warm Regards,<br> <strong>Dua Fatima</strong><br> <em>Founder of IlmCode</em></p><p>#AgenticAI #OpenAI #AgentsSDK #AIForBeginners #IlmCode #HelloAgent #LearnAI</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8643948c2919" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Intro to OpenAI Agents SDK — The Brain Behind Smart AI Agents]]></title>
            <link>https://medium.com/@duafatima64648/intro-to-openai-agents-sdk-the-brain-behind-smart-ai-agents-3ad8fe402a41?source=rss-6969a025c6ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ad8fe402a41</guid>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[artificially-intelligent]]></category>
            <category><![CDATA[openai-sdk]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Dua Fatima khan]]></dc:creator>
            <pubDate>Fri, 04 Jul 2025 13:16:40 GMT</pubDate>
            <atom:updated>2025-07-04T13:16:40.565Z</atom:updated>
            <content:encoded><![CDATA[<h3>Intro to OpenAI Agents SDK — The Brain Behind Smart AI Agents</h3><p>Welcome to <strong>Ilm Code Class Four!</strong><br> In our last classes, we talked about what Agentic AI is, how it’s different from chatbots, and what a swarm of agents means.</p><p>Today, we’re going to learn about something really exciting: the <strong>OpenAI Agents SDK</strong>, the special toolkit that helps us actually build these smart AI agents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FpcCChyWhqalxEmN_KIscA.jpeg" /></figure><h3>What is an SDK?</h3><p>SDK stands for <strong>Software Development Kit</strong>.<br> You can think of it like a big <strong>toolbox for developers</strong>.</p><p>Instead of making every single tool yourself (like creating your own hammer or screwdriver), you get everything ready-made so you can build your project faster and with less effort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CojZOk9ssmDBV5ktOcBI3w.jpeg" /></figure><h3>What is the OpenAI Agents SDK?</h3><p>The <strong>OpenAI Agents SDK</strong> is a toolkit created by OpenAI.<br> It helps you build advanced AI agents using their powerful language models (like GPT-4o).</p><p>With this SDK, you can easily:</p><ul><li>Create agents that can understand instructions and act on them.</li><li>Connect agents with different tools (like web search, file analysis, or other apps).</li><li>Give agents memory so they can remember important details.</li><li>Control the entire “lifecycle” of an agent — from starting a task to completing it.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PZqNlboMRUjRqmWCm7UzmA.jpeg" /></figure><h3>Why is it important?</h3><p>Before this SDK, building an agent was difficult and time-consuming. You had to do everything manually: planning, connecting to tools, adding memory, and so on.</p><p>But now, with the OpenAI Agents SDK:</p><ul><li>You don’t need to start from scratch.</li><li>You can focus on your ideas and what you want the agent to do, instead of worrying about setup.</li><li>You can easily make your agent more powerful and useful by adding new tools and features.</li></ul><h3>What can you build with it?</h3><p>There are so many possibilities! You can build agents that:</p><ul><li>Help with research and write summaries.</li><li>Plan trips or events from start to finish.</li><li>Act as personal study or work assistants, keeping track of your tasks.</li><li>Create business or productivity tools customized for your needs.</li></ul><h3>A simple example</h3><p>Imagine you want to make a personal assistant that can:</p><ul><li>Check today’s weather.</li><li>Suggest what clothes you should wear.</li><li>Add missing items to your shopping list.</li></ul><p>With the OpenAI Agents SDK, you can connect all these steps together, and your agent can do everything smoothly — without you having to ask each question one by one.</p><h3>One line summary</h3><blockquote><em>The OpenAI Agents SDK is like a ready-made toolbox that helps you build smart AI agents who can think, use tools, remember, and act for you.</em></blockquote><p>This was Ilm Code Class Four.<br>Follow our WhatsApp channel and Medium to keep learning with us. If you enjoyed this class, leave a comment and share it with a friend who wants to learn about AI too!</p><p>Warm Regards,<br> <strong>Dua Fatima</strong><br> <em>Founder of IlmCode</em></p><p>#AgenticAI #OpenAI #AgentsSDK #AIForBeginners #IlmCode #AIAgents #FutureOfAI #LearnAI</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ad8fe402a41" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is a Swarm of Agents? A Simple Guide to the Future of AI Teams]]></title>
            <link>https://medium.com/@duafatima64648/what-is-a-swarm-of-agents-a-simple-guide-to-the-future-of-ai-teams-e3f84ae39827?source=rss-6969a025c6ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3f84ae39827</guid>
            <category><![CDATA[future-of-ai]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[Dua Fatima khan]]></dc:creator>
            <pubDate>Wed, 02 Jul 2025 13:52:12 GMT</pubDate>
            <atom:updated>2025-07-02T13:52:12.583Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to <strong>Ilm Code Class Three!</strong><br> In our last class, we talked about the difference between a simple chatbot and an autonomous agent. Today, we will learn about a new and exciting idea: a <strong>swarm of agents</strong>.</p><h3>What does “swarm” mean?</h3><p>In nature, you might have seen how birds fly together in a group, or how ants and bees work together. They move in a team, help each other, and finish big tasks without needing one leader to tell each one what to do.</p><p>This group movement and teamwork is called a <em>swarm</em>.</p><p>When we use the same idea in AI, we call it a <strong>swarm of agents</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*I_vbRNZKRPd4FzjYMih-Pw.png" /></figure><h3>What is a swarm of agents?</h3><p>A swarm of agents means <strong>many smart AI agents working together like a team</strong>.<br> Instead of one agent doing everything alone, different agents divide the work and help each other.</p><p>Each agent has its own job, but they also share information and learn from each other. Together, they finish tasks faster and in a smarter way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZDA50OgtpfZoDNy6Qx7I5A.jpeg" /></figure><h3>How does it work?</h3><p>A swarm of agents can:</p><ul><li>Break a big problem into smaller pieces.</li><li>Assign each piece to different agents.</li><li>Work on these pieces at the same time (in parallel).</li><li>Share progress with each other and combine results to finish the task.</li></ul><p>This teamwork makes the system more powerful and flexible.</p><h3>A simple example</h3><p>Imagine you want to start a new business and you need to do a lot of research.</p><p>With a <strong>single agent</strong>, it might take a long time to:</p><ul><li>Study the market.</li><li>Check legal rules.</li><li>Find funding options.</li><li>Plan marketing.</li></ul><p>But with a <strong>swarm of agents</strong>, each agent can handle one task:</p><ul><li>One agent studies the market.</li><li>One agent checks legal steps.</li><li>One agent looks for funding.</li><li>One agent makes a marketing plan.</li></ul><p>They all finish their parts quickly and share everything to create a full, detailed business plan for you.</p><h3>Why is a swarm useful?</h3><ul><li>It saves time because agents work together.</li><li>It gives better results because each agent focuses on one small part.</li><li>It is more flexible because it can handle big and complex problems.</li></ul><h3>Where can we use a swarm of agents?</h3><ul><li>Research and writing large reports.</li><li>Planning big events or conferences.</li><li>Managing smart city services like traffic, waste, and energy.</li><li>Advanced healthcare systems that need many small tasks handled at once.</li></ul><h3>One line summary</h3><blockquote><em>A swarm of agents means a team of AI agents working together to solve problems faster and better than one agent alone.</em></blockquote><p>This was IlmCode Class 3.<br>In the next class, we will learn <strong>how agents use tools and why it is important for them to become even smarter</strong>.</p><p>Follow our WhatsApp channel and Medium to continue your learning journey. If you enjoyed this class, leave a comment and share it with your friends!</p><p>Warm Regards,<br> <strong>Dua Fatima</strong><br> <em>Founder of IlmCode</em></p><p>#AgenticAI #OpenAI #AIForBeginners #IlmCode #AIAgents #FutureOfAI #LearnAI</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3f84ae39827" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference Between Chatbot and Autonomous Agent]]></title>
            <link>https://medium.com/@duafatima64648/difference-between-chatbot-and-autonomous-agent-4cab237b08d2?source=rss-6969a025c6ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cab237b08d2</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[chatbots]]></category>
            <dc:creator><![CDATA[Dua Fatima khan]]></dc:creator>
            <pubDate>Mon, 30 Jun 2025 19:00:40 GMT</pubDate>
            <atom:updated>2025-06-30T19:00:40.030Z</atom:updated>
            <content:encoded><![CDATA[<h4>Welcome to <strong>Ilm Code Class Two!</strong><br> In our first class, we learned what Agentic AI is and why it is important.<br> Today, we will understand the key difference between a simple chatbot and an autonomous agent.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xjjkG4O4j9xg18ZExUtq8Q.jpeg" /></figure><h3>What is a chatbot?</h3><p>A chatbot is a computer program that talks to you through text or voice.<br> It can answer questions, give you information, or help you in a simple way.</p><p>Most chatbots work in a very basic way:</p><ul><li>You ask a question.</li><li>They find a matching reply from a set of pre-written answers or generate a text response.</li><li>They usually do not remember past chats.</li><li>They cannot perform tasks on their own.</li></ul><p>Chatbots are great for small tasks like answering FAQs, telling you the weather, or guiding you through a website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LqcLjwedOqt_pWUSlzV05w.png" /></figure><h3>What is an autonomous agent?</h3><p>An autonomous agent is much more advanced.<br> It is not just about replying; it can act like a smart helper who can make decisions and do work for you.</p><p>An autonomous agent can:</p><ul><li>Understand your main goal.</li><li>Plan different steps to achieve that goal.</li><li>Use different tools and sources of information.</li><li>Remember past information and use it when needed.</li><li>Work continuously without needing instructions for every step.</li></ul><h3>Example to understand better</h3><p>Imagine you want help planning your studies.</p><p>A chatbot might say, “Here are some study tips.”<br> An autonomous agent will create a full study plan for you, set reminders, suggest resources, and even adjust your schedule if you fall behind.</p><h3>Why does this difference matter?</h3><p>In the coming years, people will not want just answers — they will want real help that saves time and reduces effort.<br> Autonomous agents can do complex tasks, think ahead, and give you solutions instead of just information.</p><p>This is why learning about agents today is so important. It prepares you for creating smarter applications that people will actually need and love.</p><h3>One line summary</h3><blockquote><em>A chatbot gives you answers, but an autonomous agent gives you solutions and completes tasks for you.</em></blockquote><p><em>This was </em><strong><em>Ilm Code Class Two.</em></strong><em><br> Follow our WhatsApp channel and Medium to continue your learning journey, and leave a comment if you found this helpful!</em></p><p>Warm Regards,<br> <strong>Dua Fatima</strong><br> <em>Founder of IlmCode</em></p><p>#AgenticAI #OpenAI #AIForBeginners #IlmCode #AIAgents #FutureOfAI #LearnAI</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cab237b08d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Agentic AI? The Future of Smart, Independent AI Explained Simply]]></title>
            <link>https://medium.com/@duafatima64648/what-is-agentic-ai-the-future-of-smart-independent-ai-explained-simply-bfc36f8bd673?source=rss-6969a025c6ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfc36f8bd673</guid>
            <category><![CDATA[sdk]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[future-technology]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[Dua Fatima khan]]></dc:creator>
            <pubDate>Sun, 29 Jun 2025 19:30:06 GMT</pubDate>
            <atom:updated>2025-06-29T19:30:06.502Z</atom:updated>
            <content:encoded><![CDATA[<h4>Welcome to 𝐈𝐥𝐦 𝐂𝐨𝐝𝐞 𝐂𝐥𝐚𝐬𝐬 𝐎𝐧𝐞! In this first class, we will learn what <strong>Agentic AI</strong> really means, why it is <em>important</em>, and how it is changing the <em>future of technology.</em></h4><h3>What is Agentic AI?</h3><p>Agentic AI is a new type of artificial intelligence that can act like a real helper. Instead of only giving text replies, it can <strong>think, plan, and take action by itself</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/298/1*8iP5tLPOTyPXW116Z6uSrQ.jpeg" /></figure><h3>How is it different from normal AI?</h3><p>Most AI systems (like simple chatbots) only answer when you ask something. They do not remember what you said before, and they cannot do tasks on their own.</p><p>But Agentic AI is different. It can:</p><ul><li>Understand your goal.</li><li>Make a plan to reach that goal.</li><li>Do tasks by itself step by step.</li><li>Remember important things to help in future tasks.</li><li>Use tools (like searching the web, doing calculations, or controlling apps).</li></ul><h3>Simple example</h3><p>Imagine you want to plan a trip.</p><ul><li>A normal chatbot can tell you, “Here are some places to visit.”</li><li>An Agentic AI can plan your whole trip, find tickets, book hotels, and create a travel schedule — <strong>all by itself</strong>, without you asking each small question.</li></ul><h3>Why do we call it “Agentic”?</h3><p>We say “Agentic” because this AI acts like an <em>agent</em>. An agent is someone who can think and act on your behalf.</p><p>Agentic AI can work for you without needing detailed instructions all the time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EF5oXfvxy2u8ROXkRBbIsQ.png" /></figure><h3>Why is it important?</h3><p>In the future, most smart applications will not just answer your questions they will <strong>complete tasks for you</strong>, manage your work, and even make decisions to save your time.</p><p>Learning Agentic AI now will help you become ready for the next generation of intelligent apps and jobs.</p><h3>One line summary</h3><blockquote><em>Agentic AI means AI that can plan, remember, use tools, and work for you like a personal assistant not just answer your questions.</em></blockquote><p>📢 <em>This was </em><strong><em>Ilm Code Class One</em></strong><em>. In the next class, we will explore how Agentic AI thinks and plans in detail. Follow our WhatsApp channel and Medium to continue your learning journey and don’t forget to </em><strong><em>comment and like</em></strong><em> if you enjoyed it!</em></p><p>Warm Regards,<br><strong>Dua Fatima</strong><br><em>~Founder of IlmCode</em></p><p><em>#AgenticAI #OpenAI #AIForBeginners #IlmCode #AIAgents #FutureOfAI #LearnAI</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfc36f8bd673" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Master FastAPI: How to Use Path and Query Parameters Like a Pro]]></title>
            <link>https://medium.com/@duafatima64648/master-fastapi-how-to-use-path-and-query-parameters-like-a-pro-5c71e2e3bb47?source=rss-6969a025c6ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c71e2e3bb47</guid>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[parameter]]></category>
            <dc:creator><![CDATA[Dua Fatima khan]]></dc:creator>
            <pubDate>Wed, 14 May 2025 09:46:09 GMT</pubDate>
            <atom:updated>2025-05-14T09:46:09.935Z</atom:updated>
            <content:encoded><![CDATA[<h3>Using Parameters with Endpoints in FastAPI</h3><p>When building APIs, flexibility is important. One of the best ways to make your API dynamic is by using <strong>parameters</strong> in your endpoints. Parameters allow your users to send input through the URL, and your API can respond with relevant results.</p><p>In this post, we’ll explore how to work with <strong>Path Parameters</strong> and <strong>Query Parameters</strong> in FastAPI. These are essential tools for filtering and retrieving specific data.</p><h3>What Are Path and Query Parameters?</h3><p>FastAPI allows you to extract values from the URL in two main ways:</p><h3>1. Path Parameters</h3><p>These are <strong>part of the URL path</strong> itself. They are commonly used to get a specific resource by its ID or name.</p><p>Example:</p><pre>/crew_path/1</pre><p>Here, 1 is the path parameter.</p><h3>2. Query Parameters</h3><p>These appear <strong>after the </strong><strong>? in a URL</strong>, and multiple values can be joined using &amp;.</p><p>Example:</p><pre>/crew_query/member?crew_id=1</pre><p>In this case, crew_id=1 is the query parameter.</p><h3>Example: Path Parameter Endpoint</h3><p>Let’s say we have a small database of crew members and we want to retrieve a specific member by their ID.</p><pre>from fastapi import FastAPI</pre><pre>app = FastAPI()</pre><pre>crew = [<br>    {&quot;id&quot;: 1, &quot;name&quot;: &quot;Cosmo&quot;, &quot;role&quot;: &quot;Captain&quot;},<br>    {&quot;id&quot;: 2, &quot;name&quot;: &quot;Alice&quot;, &quot;role&quot;: &quot;Engineer&quot;},<br>    {&quot;id&quot;: 3, &quot;name&quot;: &quot;Bob&quot;, &quot;role&quot;: &quot;Scientist&quot;}<br>]</pre><pre>@app.get(&quot;/crew_path/{crew_id}&quot;)<br>def read_crew_member_by_path(crew_id: int):<br>    for member in crew:<br>        if member[&quot;id&quot;] == crew_id:<br>            return member<br>    return {&quot;message&quot;: &quot;Crew member not found&quot;}</pre><h3>How It Works:</h3><ul><li>@app.get(&quot;/crew_path/{crew_id}&quot;) defines an endpoint with a path parameter.</li><li>FastAPI automatically converts crew_id to an integer (int).</li><li>The function checks the crew list and returns the matching member.</li></ul><p>To test it:</p><pre>localhost:8000/crew_path/1</pre><h3>Example: Query Parameter Endpoint</h3><p>We can achieve the same result using a query parameter instead:</p><pre>@app.get(&quot;/crew_query/member&quot;)<br>def read_crew_member_by_query(crew_id: int):<br>    for member in crew:<br>        if member[&quot;id&quot;] == crew_id:<br>            return member<br>    return {&quot;message&quot;: &quot;Crew member not found&quot;}</pre><h3>How It Works:</h3><ul><li>@app.get(&quot;/crew_query/member&quot;) defines an endpoint.</li><li>crew_id is taken from the query string.</li><li>It performs the same check as the path-based version.</li></ul><p>To test it:</p><pre>localhost:8000/crew_query/member?crew_id=1</pre><h3>Path vs Query Parameters: When to Use What?</h3><p>Feature Path Parameter Query Parameter Format /resource/{id} /resource?key=value Use Case Specific item access Filtering, optional values Flexibility Less flexible More flexible Readability Clean and readable Can become messy with many parameters REST Best Practice Good for hierarchical resources Good for filters and searches</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c71e2e3bb47" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>