<?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 Mahad Akbar on Medium]]></title>
        <description><![CDATA[Stories by Mahad Akbar on Medium]]></description>
        <link>https://medium.com/@mahad.akbar.1?source=rss-bd8674ba6f4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nGYDf7yPMprpFJhg_8uD5g.jpeg</url>
            <title>Stories by Mahad Akbar on Medium</title>
            <link>https://medium.com/@mahad.akbar.1?source=rss-bd8674ba6f4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 04:45:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mahad.akbar.1/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[I Built an AI-Powered PR Code Reviewer — And You Can Use It for Free]]></title>
            <link>https://medium.com/@mahad.akbar.1/i-built-an-ai-powered-pr-code-reviewer-and-you-can-use-it-for-free-d4bbe4760c05?source=rss-bd8674ba6f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4bbe4760c05</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[codereviewtips]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Mahad Akbar]]></dc:creator>
            <pubDate>Wed, 13 May 2026 16:23:51 GMT</pubDate>
            <atom:updated>2026-05-19T16:04:04.291Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tr8gEjSCFZUSf4eFtRtyWA.jpeg" /></figure><h3>The Problem Nobody Talks About</h3><p>Code reviews are supposed to be the last line of defence before bad code ships. In practice? They’re a bottleneck reviewers are distracted, overloaded, or just don’t have the full context of the ticket the PR was written against.</p><p>You approve code not because it’s good, but because you’ve already reviewed six others today and this one <em>looks fine</em>.</p><p>That gap between what a review <em>should</em> catch and what actually gets caught is what this tool is built to close.</p><h3>What I Built</h3><p><strong>AI PR Reviewer</strong> is an open-source, single-page web app that connects to GitHub via OAuth, takes a pull request URL, and generates a structured, context-aware code review using an LLM.</p><p>It’s not a linter wrapper. It doesn’t just check formatting. It actually <em>reads</em> the diff the way a senior engineer would and if you give it the ticket, it checks whether the code actually does what it was supposed to do.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FszkcKdzyDcE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DszkcKdzyDcE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FszkcKdzyDcE%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/429a9da94040ed57e80b2aa69afd77ba/href">https://medium.com/media/429a9da94040ed57e80b2aa69afd77ba/href</a></iframe><h3>How It Works</h3><p>The flow is intentionally simple:</p><ol><li><strong>Sign in with GitHub</strong> — OAuth, no token storage hacks</li><li><strong>Paste your PR URL</strong> — the app fetches the diff and metadata</li><li><strong>Optionally add your ticket details</strong> — Jira, Linear, Notion, whatever — just paste the text</li><li><strong>Optionally add custom instructions</strong> — “focus on SQL injection risks” or “this is a payment flow, be strict”</li><li><strong>Get a structured review</strong> — analysis, suggestions, risk alerts, and a verdict</li></ol><h3>With ticket context:</h3><p>The LLM reviews the code <em>and</em> checks whether the implementation actually fulfils the requirement. Missing an edge case from the acceptance criteria? It’ll flag it. Ticket says pagination is required but the endpoint returns all records? Caught.</p><h3>Without ticket context:</h3><p>Falls back to best-practice analysis security violations, code smells, architectural concerns, naming, test coverage gaps, error handling, the works.</p><h3>The LLM Architecture Decision</h3><p>This is the part worth calling out separately.</p><p>Most AI tools hard-code a single provider and you’re stuck with it. I built this with a <strong>provider-agnostic LLM client </strong>one file, one interface. Switching from OpenAI to Anthropic to Groq is a one-line change in your .env</p><pre># .env<br>LLM_PROVIDER=groq   # or openai, or whatever comes next</pre><p>The client abstraction lives in a single file. You swap the provider there, and nothing else in the app changes. This is the right way to build AI tooling don’t let a vendor lock your architecture.</p><p><strong>Currently supported:</strong></p><ul><li>OpenAI (GPT-4o, GPT-5, etc.)</li><li>Groq (via groq-sdk) free tier available, blazing fast inference</li></ul><h3>Why Groq Changes the Equation</h3><p>Most developers won’t pay for OpenAI API access just to review PRs. Fair.</p><p><a href="https://console.groq.com/keys">GroqCloud</a> gives you <strong>free API keys</strong> with generous limits, running models like llama-3.3-70b-versatile at speeds that feel instant. For code review workloads, it&#39;s more than enough.</p><p>This means you can run this tool <strong>completely free </strong>GitHub OAuth is free, Groq is free, the app is self-hosted. Zero recurring cost.</p><h3>Setting It Up (Step by Step)</h3><h3>1. Clone the Repo</h3><pre>git clone https://github.com/YOUR_USERNAME/ai-pr-reviewer<br>cd ai-pr-reviewer<br>npm install</pre><h3>2. Create a GitHub OAuth App</h3><p>This is how the app gets permission to read your PRs.</p><ol><li>Go to <strong>GitHub → Settings → Developer Settings → OAuth Apps</strong></li><li>Click <strong>“New OAuth App”</strong></li><li>Fill in:</li></ol><ul><li><strong>Application name</strong>: AI PR Reviewer (or anything)</li><li><strong>Homepage URL</strong>: <a href="http://localhost:3000/">http://localhost:3000</a></li><li><strong>Authorization callback URL</strong>: <a href="http://localhost:3000/auth/github/callback">http://localhost:3000/auth/github/callback</a></li></ul><ol><li>Click <strong>Register application</strong></li><li>Copy the <strong>Client ID</strong></li><li>Click <strong>Generate a new client secret</strong> and copy it</li></ol><p>These go into your .env as GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET.</p><h3>3. Get Your LLM API Key</h3><p><strong>Option A — Groq (Free)</strong></p><ol><li>Go to <a href="https://console.groq.com/keys">console.groq.com/keys</a></li><li>Sign up or log in</li><li>Click <strong>Create API Key</strong></li><li>Copy the key → GROQ_API_KEY in your .env</li><li>Set LLM_PROVIDER=groq and GROQ_MODEL=llama-3.3-70b-versatile</li></ol><p><strong>Option B — OpenAI (Paid)</strong></p><ol><li>Go to <a href="https://platform.openai.com/api-keys">platform.openai.com/api-keys</a></li><li>Create a new secret key</li><li>Copy it → OPENAI_API_KEY in your .env</li><li>Set LLM_PROVIDER=openai and OPENAI_MODEL=gpt-4o</li></ol><h3>4. Configure Your .env</h3><p>Copy .env.example to .env and fill in your values:</p><pre>PORT=3000<br>APP_BASE_URL=http://localhost:3000<br><br>GITHUB_CLIENT_ID=your_github_client_id<br>GITHUB_CLIENT_SECRET=your_github_client_secret<br><br># Set to: groq OR openai<br>LLM_PROVIDER=groq<br><br># Groq (free tier)<br>GROQ_API_KEY=your_groq_api_key<br>GROQ_MODEL=llama-3.3-70b-versatile<br><br># OpenAI (if using openai provider)<br>OPENAI_API_KEY=your_openai_api_key<br>OPENAI_MODEL=gpt-4o</pre><h3>5. Run It</h3><pre>npm run dev</pre><p>Open http://localhost:3000, sign in with GitHub, and you&#39;re live.</p><h3>What the Review Output Looks Like</h3><p>The output is structured not a wall of text. You get:</p><ul><li><strong>Summary</strong> — what the PR does, in plain English</li><li><strong>Ticket Compliance</strong> — does the code actually fulfil the requirement? (only when ticket is provided)</li><li><strong>Code Quality Analysis</strong> — architecture, readability, naming, patterns</li><li><strong>Security Findings</strong> — injection risks, auth issues, exposed secrets, unsafe operations</li><li><strong>Risk Alerts</strong> — high-impact changes that need extra scrutiny</li><li><strong>Specific Suggestions</strong> — actionable, line-level recommendations</li><li><strong>Overall Verdict</strong> — approve / request changes / needs discussion</li></ul><p>This is the output a good senior engineer would give — if they had infinite time and zero distraction.</p><h3>Who This Is For</h3><p><strong>Solo developers</strong> — you don’t have a team to review your code. Now you do.</p><p><strong>Small teams</strong> — your reviewers are busy. Pre-screen PRs before they hit the queue.</p><p><strong>Tech leads</strong> — catch regressions, security issues, and requirement mismatches before they become incidents.</p><p><strong>Open source maintainers</strong> — external contributions need scrutiny. AI gives you a first pass before you spend your Saturday reading someone else’s code.</p><h3>Why Open Source?</h3><p>Simple: this category of tooling should be in everyone’s hands, not locked behind a $49/seat enterprise plan.</p><p>The code is open. The architecture is clean. You can fork it, extend it, point it at your own LLM, add Slack notifications, integrate it into your CI pipeline whatever you need.</p><p>If it’s useful to you, contribute back. That’s the deal.</p><h3>What’s Coming</h3><p>This is v1. What’s on the roadmap:</p><ul><li><strong>CI/CD integration</strong> — run the review automatically on every PR via GitHub Actions</li><li><strong>Multi-file context</strong> — pull in related files for deeper analysis, not just the diff</li><li><strong>Inline GitHub comments</strong> — post review findings directly on the PR</li><li><strong>SaaS version</strong> — hosted, team accounts, review history, analytics</li><li><strong>More LLM providers</strong> — Anthropic Claude, Gemini, local models via Ollama</li></ul><p>The provider-agnostic client makes the last point trivial. That’s the whole point of building it that way.</p><h3>Try It</h3><p><strong>GitHub:</strong> <a href="https://github.com/MahadAkbar/Code-Review-App">https://github.com/MahadAkbar/Code-Review-App</a></p><p><strong>Free path:</strong> Groq API key → no credit card, no billing, no nonsense.</p><p>If you build with it, break it, or have ideas open an issue. The whole point is for this to get better.</p><p><em>Built with Node.js, GitHub OAuth, and a single-file LLM client that doesn’t care which AI you’re paying for.</em></p><p><strong>Tags:</strong> open-source code-review developer-tools AI github groq llm typescript productivity</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4bbe4760c05" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integrating Large Language Models (LLMs) into Your Node.js Project: A Practical Guide]]></title>
            <link>https://medium.com/@mahad.akbar.1/integrating-large-language-models-llms-into-your-node-js-project-a-practical-guide-c8f5c5eccc3a?source=rss-bd8674ba6f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8f5c5eccc3a</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[openai]]></category>
            <dc:creator><![CDATA[Mahad Akbar]]></dc:creator>
            <pubDate>Mon, 12 Jan 2026 14:12:45 GMT</pubDate>
            <atom:updated>2026-01-12T14:12:45.757Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4P2VnCmlutEdQUKXRrDVpA.png" /></figure><p>Artificial Intelligence is no longer just for tech giants. With large language models (LLMs) like OpenAI’s GPT-4o, even small to mid-sized projects can benefit from AI-powered text generation. In this article, we’ll explore <strong>how you can integrate LLMs into a Node.js project</strong>, specifically in a management system that generates text-based reports.</p><h3>What is an LLM?</h3><p>A Large Language Model (LLM) is an AI system trained on massive amounts of text data. It can understand natural language, generate human-like text, summarise content, answer questions, and even write code. In a management system, LLMs can automate tasks like:</p><ul><li>Generating <strong>weekly or monthly reports</strong> from project data.</li><li>Summarizing <strong>task updates</strong> from multiple team members.</li><li>Drafting <strong>emails or notifications</strong> automatically.</li></ul><p>Think of it as a super-smart assistant that can process language and provide insights instantly.</p><h3>How to Integrate LLMs in Node.js</h3><p>We’ll use <strong>OpenAI</strong> as an example provider and <strong>GPT-4o</strong> as our model. The integration involves:</p><ol><li>Installing the OpenAI SDK.</li><li>Configuring your API key.</li><li>Creating a function that sends requests to the model and receives responses.</li></ol><h3>Step 1: Install the OpenAI SDK</h3><pre>npm install openai</pre><h3>Step 2: Set Up Your API Key</h3><p>Create a .env file in your project root:</p><pre>OPENAI_API_KEY=your_api_key_here</pre><p>Load it in your Node.js app:</p><pre>require(&#39;dotenv&#39;).config();<br>const { OpenAI } = require(&#39;openai&#39;);<br><br>const client = new OpenAI({<br>  apiKey: process.env.OPENAI_API_KEY,<br>});</pre><h3>Choosing the Right Model</h3><p>OpenAI offers multiple models. GPT-4o is currently <strong>powerful, cost-effective, and versatile</strong>. When selecting a model, consider:</p><ul><li><strong>Complexity of tasks:</strong> GPT-4o can handle long, nuanced reports better than GPT-3.5.</li><li><strong>Cost vs speed:</strong> Higher-end models are more expensive and slightly slower.</li><li><strong>Token limits:</strong> Longer prompts require models that can process more tokens.</li></ul><h3>Understanding Key Parameters</h3><p>When sending a request, you’ll encounter several parameters. Knowing how to use them ensures accurate results.</p><h3>1. Temperature</h3><ul><li>Controls <strong>creativity vs consistency</strong>.</li><li>0 = deterministic (less creative, more factual).</li><li>1 = more creative, sometimes unpredictable.</li></ul><pre>const response = await client.chat.completions.create({<br>  model: &quot;gpt-4o&quot;,<br>  messages: [{ role: &quot;user&quot;, content: &quot;Generate a project summary for last week.&quot; }],<br>  temperature: 0.5,<br>});</pre><h3>2. Roles</h3><ul><li><strong>user</strong>: the person asking something.</li><li><strong>system</strong>: sets the behaviour or tone (e.g., “You are a professional report assistant”).</li><li><strong>assistant</strong>: the AI itself, usually populated automatically.</li></ul><pre>messages: [<br>  { role: &quot;system&quot;, content: &quot;You are a report assistant that writes professional summaries.&quot; },<br>  { role: &quot;user&quot;, content: &quot;Create a weekly status report from the following data...&quot; }<br>]</pre><h3>3. Modes / Response Types</h3><p>Some models allow <strong>text, code, or structured outputs</strong>. For reports, use <strong>text mode</strong>. In future projects, you might explore <strong>JSON mode</strong> to parse structured data easily.</p><h3>Minimal Reusable Function for Report Generation</h3><p>Here’s a Node.js function that can be used globally in your project:</p><pre>async function generateReport(prompt, temperature = 0.5) {<br>  try {<br>    const response = await client.chat.completions.create({<br>      model: &quot;gpt-4o&quot;,<br>      messages: [<br>        { role: &quot;system&quot;, content: &quot;You are a report assistant that writes clear, professional summaries.&quot; },<br>        { role: &quot;user&quot;, content: prompt },<br>      ],<br>      temperature,<br>    });<br><br>    return response.choices[0].message.content;<br>  } catch (error) {<br>    console.error(&quot;Error generating report:&quot;, error.message);<br>    throw error;<br>  }<br>}<br><br>// Usage example:<br>(async () =&gt; {<br>  const report = await generateReport(&quot;Generate a weekly project summary for the following tasks...&quot;);<br>  console.log(report);<br>})();</pre><p>This function abstracts all the complexity — just pass a prompt, and it returns the AI-generated report.</p><h3>Pitfalls and How to Handle Them</h3><p>Using LLMs isn’t always smooth. Here’s what you need to watch out for:</p><h3>1. Hallucinations</h3><ul><li>Models sometimes <strong>make up facts</strong>.</li><li><strong>Solution:</strong> Keep prompts <strong>data-driven</strong>, include clear context, and <strong>verify critical information</strong>.</li></ul><h3>2. Cost and Token Limits</h3><ul><li>Every request costs money based on <strong>tokens</strong> (prompt + response).</li><li><strong>Solution:</strong> Limit prompt size, avoid unnecessary context, and consider batching requests.</li></ul><h3>3. API Rate Limits</h3><ul><li>OpenAI can reject requests if too many come in at once.</li><li><strong>Solution:</strong> Implement <strong>retry logic</strong> and exponential backoff.</li></ul><h3>4. Unclear Instructions</h3><ul><li>Vague prompts lead to inconsistent reports.</li><li><strong>Solution:</strong> Use <strong>system role</strong> to set clear rules and examples.</li></ul><h3>5. Sensitive Data</h3><ul><li>Don’t send confidential data to external APIs unless compliant.</li><li><strong>Solution:</strong> Mask or anonymise data if needed.</li></ul><h3>6. Error Handling</h3><ul><li>Network failures, invalid requests, or key issues can happen.</li><li><strong>Solution:</strong> Wrap API calls in try/catch and log errors meaningfully.</li></ul><h3>Final Thoughts</h3><p>Integrating an LLM into a Node.js project doesn’t need to be complex. By understanding <strong>model choice, parameters, roles, and pitfalls</strong>, you can leverage AI to generate meaningful, professional text reports automatically. The reusable function approach ensures that <strong>anywhere in your management system</strong>, you can generate summaries without rewriting code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8f5c5eccc3a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond Traditional AI: Unlocking the Power of Agentic AI and Conditional Agents]]></title>
            <link>https://medium.com/@mahad.akbar.1/beyond-traditional-ai-unlocking-the-power-of-agentic-ai-and-conditional-agents-446d5d3fe7a8?source=rss-bd8674ba6f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/446d5d3fe7a8</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai-tools]]></category>
            <dc:creator><![CDATA[Mahad Akbar]]></dc:creator>
            <pubDate>Mon, 10 Nov 2025 12:01:23 GMT</pubDate>
            <atom:updated>2025-11-10T12:01:23.466Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve been following AI trends lately, you’ve probably heard a new buzzword floating around: <strong>Agentic AI</strong>. It’s being hailed as the next big leap in artificial intelligence — one that could make machines not just <em>smart</em>, but <em>truly autonomous</em>.</p><p>But what does that really mean? How is it different from the AI models we already use every day — like ChatGPT, Copilot, or Google Gemini? And why are researchers and businesses suddenly so excited about it?</p><p>Let’s break it down in simple terms.</p><h3>What Is Agentic AI?</h3><p><strong>Agentic AI</strong> refers to a new generation of AI systems that can <strong>take initiative</strong>, <strong>make decisions</strong>, and <strong>perform tasks on their own</strong> — almost like digital assistants with minds of their own.</p><p>Unlike traditional AI, which waits for human input and gives a single response, Agentic AI can <strong>plan, act, and adapt</strong> dynamically to achieve a goal. Think of it as an AI that doesn’t just answer your question — it <strong>figures out what needs to be done</strong>, then goes out and <strong>does it</strong>.</p><p>For example:</p><ul><li>A traditional AI can tell you the best way to plan your trip.</li><li>An Agentic AI can actually <strong>book your flight, reserve a hotel, and send you a weather update</strong> before you leave.</li></ul><p>It’s the difference between <em>a helpful guide</em> and <em>a proactive assistant</em>.</p><h3>How Agentic AI Works (Without the Jargon)</h3><p>Under the hood, Agentic AI combines a few key ingredients:</p><p><strong>Reasoning</strong> — The AI can break a goal into smaller tasks and decide what steps to take next.</p><p><strong>Memory</strong> — It remembers what it’s done before, learns from results, and improves over time.</p><p><strong>Tool use</strong> — It can interact with external systems, like APIs or apps, to complete tasks.</p><p><strong>Feedback loops</strong> — It evaluates whether its actions worked and adjusts its strategy if needed.</p><p>Imagine you tell an AI agent: <strong>“Help me grow my YouTube channel.”</strong></p><p>Instead of giving tips, it might:</p><ul><li>Analyze your existing videos.</li><li>Compare them to trending topics.</li><li>Suggest new ideas.</li><li>Even generate scripts or schedule uploads automatically.</li></ul><p>This ability to <em>act, assess, and adjust</em> makes Agentic AI far more dynamic than the traditional question-answer model we’ve seen so far.</p><h3>How Agentic AI Differs from Traditional AI</h3><p>Let’s make this simple:</p><p>FeatureTraditional AIAgentic AI<strong>Main role</strong>Responds to user promptsActs on goals and executes tasks<strong>Memory</strong>Short-term (mostly within a single chat)Long-term and context-aware<strong>Decision-making</strong>Based on direct inputBased on goals, rules, and changing context<strong>Autonomy</strong>PassiveProactive<strong>Interaction</strong>One-time responseContinuous planning and action</p><p>In short, <strong>traditional AI is reactive</strong>, while <strong>Agentic AI is proactive</strong>.</p><h3>What Are Conditional Agents in Agentic AI?</h3><p>A core part of Agentic AI is the concept of <strong>Conditional Agents</strong> — smaller, specialized agents that act based on specific <em>conditions</em> or <em>triggers</em>.</p><p>Think of them as <strong>mini-AIs inside the bigger AI</strong>, each trained to handle particular tasks when certain conditions are met.</p><h4>Example:</h4><p>Imagine you have an AI personal assistant that manages your daily schedule.</p><ul><li>One conditional agent could activate when your meeting time approaches — to remind you and summarize your notes.</li><li>Another could trigger when your inbox crosses 100 unread emails — to automatically prioritize important ones.</li><li>A third could handle urgent messages when you’re traveling.</li></ul><p>Each conditional agent knows <em>when</em> to act, <em>what</em> to do, and <em>when to stop</em>, working together seamlessly.</p><p>In other words, Conditional Agents make Agentic AI <strong>modular and context-aware</strong>, allowing it to handle complex workflows intelligently.</p><h3>Agentic AI vs. RAG Models: What’s the Difference?</h3><p>You may have heard about <strong>RAG (Retrieval-Augmented Generation)</strong> — a popular approach used in many modern AI systems, including enterprise chatbots and knowledge assistants.</p><p><strong>RAG</strong> works by combining:</p><ul><li>A <strong>retriever</strong>, which fetches the most relevant data (like documents or articles).</li><li>A <strong>generator</strong>, which uses that data to produce an informed response.</li></ul><p>RAG is great for <strong>knowledge-based tasks</strong>, such as answering company policy questions or summarizing research papers.</p><p>However, <strong>Agentic AI takes it a step further</strong>:</p><ul><li>Instead of just retrieving and generating answers, it can <strong>take actions based on that information</strong> — calling APIs, writing emails, or updating systems.</li><li>It can also <strong>chain multiple steps together</strong> (like researching, summarizing, and then executing).</li></ul><h4>Comparison Snapshot:</h4><p>AspectRAGAgentic AI<strong>Purpose</strong>Retrieve and generate knowledgePlan and act on goals<strong>Autonomy</strong>LimitedHigh<strong>Memory</strong>Usually short-termLong-term, iterative<strong>Complex tasks</strong>Not idealExcellent for multi-step workflows<strong>Best for</strong>Information retrievalIntelligent automation</p><p>In short:</p><ul><li><strong>RAG = Smart librarian</strong> (finds the best info).</li><li><strong>Agentic AI = Smart assistant</strong> (finds, understands, and acts).</li></ul><p>Neither is “better” overall — RAG is ideal for data-driven answers, while Agentic AI shines in <strong>action-driven environments</strong>.</p><h3>Real-World Applications of Agentic AI</h3><p>Agentic AI isn’t just theoretical. It’s already transforming how people and businesses operate.</p><p>Here are some examples:</p><ol><li><strong>Personal productivity:</strong> AI agents that schedule meetings, respond to emails, and plan your day.</li><li><strong>Customer support:</strong> Agents that handle full support cases — not just replies, but ticket management and escalation.</li><li><strong>Business automation:</strong> Finance agents that reconcile payments, update records, and flag anomalies automatically.</li><li><strong>Software development:</strong> Coding agents that debug, refactor, and deploy updates intelligently.</li><li><strong>Research and content creation:</strong> Agents that analyze data, generate insights, and even draft reports or blog posts.</li></ol><p>For individuals, Agentic AI means more <em>free time</em> and <em>fewer repetitive tasks</em>.<br> For businesses, it means <em>faster operations</em>, <em>reduced costs</em>, and <em>smarter decisions</em>.</p><h3>Why Agentic AI Is Gaining Attention</h3><p>The reason Agentic AI is creating such a buzz is simple: it represents <strong>the next step toward true machine autonomy</strong>.</p><p>We’ve reached a point where large language models (LLMs) are extremely capable — but limited by their passivity. Agentic AI builds on top of LLMs, giving them structure, context, and the ability to act in the real world.</p><p>It’s the foundation for <strong>AI ecosystems</strong> where multiple agents collaborate — imagine your “AI marketing team” or “AI product research group,” each agent working in sync.</p><h3>Challenges and Misconceptions</h3><p>Like any emerging technology, Agentic AI has its hurdles:</p><ul><li><strong>Control and safety:</strong> Giving AI autonomy means ensuring it doesn’t act in unintended ways.</li><li><strong>Complexity:</strong> Designing and managing multi-agent systems isn’t trivial.</li><li><strong>Trust:</strong> Users need transparency on how agents make decisions.</li><li><strong>Misconception:</strong> Many people assume Agentic AI is “sentient” — it’s not. It doesn’t <em>feel</em> or <em>think</em> like a human; it just follows logical reasoning patterns with more independence.</li></ul><p>The goal isn’t to replace humans but to <strong>extend human capability</strong> — automating the repetitive, so we can focus on the creative.</p><h3>The Bottom Line: Why You Should Care</h3><p>Agentic AI is reshaping how we think about artificial intelligence.<br>Instead of waiting for our commands, machines can now <strong>collaborate</strong>, <strong>plan</strong>, and <strong>act</strong> with purpose.</p><p>It’s not just another AI upgrade — it’s a new way of working with technology.<br>In the coming years, we’ll see Agentic AI embedded in everything from virtual assistants to enterprise software, quietly running behind the scenes to make life simpler, smarter, and more efficient.</p><p><strong>The future isn’t just AI that <em>talks</em> — it’s AI that <em>does</em>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=446d5d3fe7a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How ChatGPT can replace IT Employees?]]></title>
            <link>https://medium.com/@mahad.akbar.1/how-chatgpt-can-replace-it-employees-8534de41856a?source=rss-bd8674ba6f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/8534de41856a</guid>
            <category><![CDATA[future]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Mahad Akbar]]></dc:creator>
            <pubDate>Tue, 07 Feb 2023 12:49:06 GMT</pubDate>
            <atom:updated>2023-02-07T12:52:31.617Z</atom:updated>
            <content:encoded><![CDATA[<p>We need to find another ways of earning rather than the quick or online ways, like graphic designing, article writing etc.</p><p>So lets start to read this and learn more.</p><blockquote><strong><em>What is ChatGPT?</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WO5Ls4lW7xwiScOw9DHo8g.jpeg" /></figure><p>ChatGPT is a product of <strong>OpenAI</strong>. <a href="https://openai.com/">OpenAI</a> is an organization which is an AI research and deployment company and there main motive is to provide the benefits to all humanity with artificial intelligence.</p><p>The CEO of OpenAI is <a href="https://en.wikipedia.org/wiki/Sam_Altman"><strong>Sam Altman</strong></a>, he started this organization in 2015, before OpenAI, he was the president of Y-Combinator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*hF42Hw3uJ51f7efPL247Pw.jpeg" /><figcaption>Sam Altman</figcaption></figure><p>However, Sam Altman got the credit to introduce the OpenAI to the world. But the interesting fact is OpenAI also founded by the tech giants. Now you can read the all the names of the tech giants who provide funding and their time to introduce OpenAI. They are also known as founder of OpenAI.</p><ol><li><a href="https://en.wikipedia.org/wiki/Elon_Musk">Elon Musk</a> (Tesla’s CEO, Twitter’s Owner)</li><li><a href="https://en.wikipedia.org/wiki/Amazon_Web_Services">Amazon Web Services</a></li><li><a href="https://en.wikipedia.org/wiki/Infosys">Infosys</a></li><li><a href="https://en.wikipedia.org/wiki/Peter_Thiel">Peter Theil</a> (Co-founder of PayPal)</li></ol><p>Later <a href="https://en.wikipedia.org/wiki/Microsoft">Microsoft</a> also invests 10 Billion USD in OpenAI</p><p>In 2015, OpenAI start the product named ChatGPT, the basic idea of the project was to build the smart Artificial Intelligence Chatbot, that will provide the answer very specifically to the answer and the best or accurate one. There journey of this product was completed in November 2022. They said that there are still many more that will come and they also launched ChatGPT plus for their customers.</p><p>Before ChatGPT they also launched Dall-e and then Dall-e 2. An AI that produce images on your command, for example.</p><p>We can provide text to OpenAI and they will create the image that even doesn’t exist.</p><pre>response = openai.Image.create(<br>  prompt=&quot;a koala dunking a basketball&quot;,<br>  n=1,<br>  size=&quot;1024x1024&quot;<br>)<br>image_url = response[&#39;data&#39;][0][&#39;url&#39;]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/341/1*1b9DuVHMxf71XI3dTe02cA.jpeg" /><figcaption>a koala dunking a basketball</figcaption></figure><blockquote><em>So now lets read, </em><strong><em>what ChatGPT can do?</em></strong></blockquote><p>ChatGPT is an AI Robot that answers users at its best. Currently company claims that this chatbot have the data but not all the real world data yet. In future they will provide all real world data to train there models of Artificial Intelligence.</p><p>There are many examples of ChatGPT, but lets read only the beginner level and easy to understand. As we discuss earlier about Dall-e 2 that it can produce imaginary or fantasy images on our command, same like it ChatGPT can do our homework easily. ChatGPT can do our assignments. For example, One of my friend, gives a task to ChatGPT to apply in Pakistan’s big tech companies with his resume and ChatGPT have to create cover letter for each company. It did it, but the amazing part is that he get the Interview call from 2 companies. Now that’s interesting. Same like for recruiting, there are many other software that picks the best resume that fulfill the criteria for vacancy. Now ChatGPT can easily replace them to select the best candidate on criteria.</p><p>ChatGPT can write articles plagiarism free, with just topic we provide to it. And many more ChatGPT can do. Here is an example for it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_6HPLBbyOKcn2rSqVu_IyA.png" /></figure><p>With that kind of examples, ChatGPT can easily replace us. Like there no need of article writers. When ChatGPT provides us plagiarism free content. in few seconds.</p><p>It also can write code, yes it can easily replace those who created it, the scary thing. There are many examples we just need to provide it our requirement to code and it will do it for us, not just new code it can also found the error in our code and solution for it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*9q4yptzIuC_646KKPI5Icg.png" /></figure><p>Just look at these examples, and think can it replace us easily or not? ChatGPT can do code, can write articles, can create UI design for web. Now we need to think about us.</p><blockquote><strong><em>How ChatGPT works?</em></strong></blockquote><p>Its knows as “<strong>RLHF</strong>”, <strong>R</strong>einforcement<strong> L</strong>earning<strong> H</strong>uman<strong> F</strong>eedback.</p><p><strong>The Times</strong> Newspaper in UK describes ChatGPT as “<strong>Stunningly Lifelike controversial Language System</strong>” and mentioned ChatGPT as <strong>“World’s first truly useful chatbot”</strong>.</p><p>ChatGPT can improve itself, or we can say that we provide information to ChatGPT to improve with real life data. It means that ChatGPT improving it self with the answers or questions we provide it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PHdxDY3dhEAES45tD8aS2w.jpeg" /></figure><p>The above diagram explains that, the data we provide to it. Its used it as training data an train their model with supervised learning. New results come after new training every time, or we can say that results are getting better after more accurate data to train the model.</p><p>So that’s it for today, this was the very basic information about ChatGPT and OpenAI. If you learn something new than follow me for more information and news about tech. Thank you very much.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8534de41856a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Python? Why Python?]]></title>
            <link>https://medium.com/@mahad.akbar.1/what-is-python-why-python-53e4097bbe33?source=rss-bd8674ba6f4------2</link>
            <guid isPermaLink="false">https://medium.com/p/53e4097bbe33</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[python-web-developer]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[djang]]></category>
            <dc:creator><![CDATA[Mahad Akbar]]></dc:creator>
            <pubDate>Wed, 01 Feb 2023 13:29:09 GMT</pubDate>
            <atom:updated>2023-02-01T13:33:05.733Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Readers,</p><p>Today we will discuss about the one of the most popular programming language in world, yup you read it right, Its “<strong>Python</strong>”</p><blockquote><strong><em>First of all What is Python?</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5YZOGBGmjgdVi5btesIO_Q.jpeg" /></figure><h3><strong>Introduction Of Python:</strong></h3><p>Python is a widely-used, interpreted, object-oriented, and high-level programming language with dynamic semantics, used for general-purpose programming. It’s everywhere, and people use numerous Python-powered devices on a daily basis. Python is very user friendly programming language because of its easy syntax that is very similar to basic English language that explain code itself.</p><p>When we are discussing about the origin of python, how can we forgot the father or founder of Python.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/246/1*UNoUPRPQ4ms2uBN4UKwefg.jpeg" /></figure><p>Python was created by <a href="https://gvanrossum.github.io/"><strong>Guido van Rossum</strong></a>, and first released on February 20, 1991. While you may know the python as a large snake, the name of the Python programming language comes from an old BBC television comedy sketch series called <em>Monty Python’s Flying Circus</em>.</p><p>As we all know that, when python was launched, it’s not completed. Many of the components of python were created by many programmers, mostly of them are anonymous but they participated and add their skills in this programming language. The fast it grows that’s shows there are very enthusiasts that love their work and not just they work great, they also make a mark of their passion towards python community.</p><p>Somehow, Python is not owned by anyone or any cooperation. Its an open source project, which is maintained by a non-profit membership organization <a href="https://www.python.org/psf-landing/"><strong>Python Software Foundation</strong></a><strong>.</strong> This organization is currently responsible to developing, improving, expanding, and popularizing the Python language and its environment.</p><blockquote><strong><em>Why is Python?</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f13qfkUcM8ncbBxmb0qSgQ.jpeg" /></figure><p>Python is one of the most popular language now days and there are many reasons why it is very popular, so if anyone ask you <strong>Why python is popular? </strong>now you have answer for it. so, lets read it.</p><p><strong>Easy Syntax:</strong> Python have very easy syntax, as we already discussed that python’s syntax is very similar to English language, that&#39;s make it very easy to understand even you have no experience of coding.</p><blockquote>e.g. Declaration or Initialization of variables are very easy, no need to define the type of variable just initialize it with some value and its automatically get the type</blockquote><pre>var_num = 1<br>var_float = 2.0015<br>var_str = &quot;new_string&quot;</pre><p><strong>Efficient, versatile and Reliable: </strong>Python is very efficient and applicability to a wide range of use cases. It makes productivity more effective.</p><p><strong>Mature and Supportive Python Community: </strong>As we read earlier that python have very strong community and its supportive organization that makes it more mature day by day.</p><p><strong>Libraries and Frameworks: </strong>Python have very wide range of libraries that helps developers to code more easily and with best practices. <a href="https://pypi.org/project/pip/"><strong>PIP</strong></a> is one of the best package manager in python with wide range of libraries. Now lest read about frameworks, python’s more famous frameworks are <a href="https://www.djangoproject.com/"><strong>Django</strong></a> and <a href="https://flask.palletsprojects.com/en/2.2.x/"><strong>Flak</strong></a>. Django is very awesome framework with many built-in files that helps to create a web application on a big or medium scale. For small scale of project or web application Flask is the best opportunity.</p><p><strong>Big data, Machine Learning and Cloud Computing: </strong>The wait is finally over, now lets read about the very popular and best reason why you learn python. Python is very effective language with a lot of tools or libraries in <strong>Machine Learning</strong> and <strong>Data Science</strong>. Now days Data Analytics are the much needed part of every company that helps to check their growth and analysis, python provide great tools that helps to analyze the data. This reason is also the enough why we use python, because this makes python a very much popular now days. As we all know that the future is all about <strong>Artificial Intelligence</strong>, python is the key to work on AI.</p><p>If I have to wrote about just AI and Python, than this article will never end, but that’s the beginner level information about python</p><p>Follow for more Discussion. Thank you very much for your time to read this. And don’t forgot to clap it and spread this to your friends.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53e4097bbe33" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>