<?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 Salman Faraj on Medium]]></title>
        <description><![CDATA[Stories by Salman Faraj on Medium]]></description>
        <link>https://medium.com/@salman.faraj06?source=rss-80817284ea8b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZoSRIV8aUY1EpqFSvWnrGA.png</url>
            <title>Stories by Salman Faraj on Medium</title>
            <link>https://medium.com/@salman.faraj06?source=rss-80817284ea8b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 02:16:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@salman.faraj06/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[Unprompted #01 :The End-of-History Illusion]]></title>
            <link>https://medium.com/@salman.faraj06/unprompted-01-the-end-of-history-illusion-5f232fa4a01b?source=rss-80817284ea8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f232fa4a01b</guid>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[decision-making]]></category>
            <category><![CDATA[personality]]></category>
            <category><![CDATA[cognitive-psychology]]></category>
            <dc:creator><![CDATA[Salman Faraj]]></dc:creator>
            <pubDate>Mon, 10 Aug 2026 15:44:12 GMT</pubDate>
            <atom:updated>2026-08-10T15:44:12.255Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l7t7pVm55OO2NFnLDA0zzw.png" /></figure><p>I came across a website called <a href="https://www.unprompted.cool/">Unprompted</a> that gives you a random topic, 10 minutes to research it, and then asks you to speak about it.</p><p>My first topic was <strong>The End-of-History Illusion.</strong></p><p>I had absolutely no idea what that meant. Turns out, it’s a pretty interesting bias in how we think about ourselves.</p><p>We can look back five or ten years and clearly see how much we’ve changed in terms of our personality, interests, values, ambitions, even the people we want around us.</p><p>Yet when we imagine ourselves five or ten years from now, we somehow assume that the person we are today is more or less the finished version.</p><p><strong>We accept that our past self changed, but struggle to imagine our current self changing.</strong></p><p>Researchers studying this found the same pattern across people of different ages. People reported considerable change in their past, while consistently expecting much less change in their future.</p><p>The paper suggest that this is likely because most people believe that their personalities are attractive, their values are admirable, their preferences are wise and having reached that state they may be reluctant to entertain the possibility of change. People also like to believe that they know themselves well and the possibility of future change may threaten that belief</p><p>What interested me wasn’t the bias itself, but what it means for the decisions we make.</p><p>We choose careers based on what interests us today. We make financial decisions based on what we value today. We choose lifestyles, relationships and long-term commitments while imagining that our future self will want roughly the same things. Of course, we can’t avoid making decisions for our future selves. But maybe the mistake is designing a future that only works if we don’t change.</p><p>I’m 22. When I think about who I was at 17 or 18, quite a lot has already changed. It would be strange to believe that somehow now I’ve reached the final version.</p><p>So perhaps the better question isn’t:</p><p><strong>“What will I want in ten years?”</strong></p><p>Maybe it’s:</p><p><strong>“How much room does this decision give the person I’ll become?”</strong></p><h3>Further reading</h3><p>If this idea interests you, these were the two pieces I found most useful while exploring it:</p><p><strong>The original research paper : <em>The End of History Illusion</em></strong><br> Jordi Quoidbach, Daniel T. Gilbert &amp; Timothy D. Wilson. Published in <em>Science</em> in 2013. The paper covers the experiments behind the idea and some possible explanations for why we underestimate how much we’ll change. <br><a href="https://midus.wisc.edu/wp-content/uploads/2024/04/1256.pdf"> Read the paper</a></p><p><strong>An introspective take : <em>What is The End of History Illusion? And What Can We Do About It?</em></strong><br>Gaurav Krishnan takes the research beyond the psychology itself and looks at what it could mean for the decisions we make around careers, partners, interests and the lives we build for our future selves. <br> <a href="https://medium.com/@gaurav_krishnan/d4842f1effff">Read the article on Medium</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f232fa4a01b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Passing the Torch: The Research Tools, Workflows, and Strategies That Helped Me Complete My FYP]]></title>
            <link>https://medium.com/@salman.faraj06/passing-the-torch-the-research-tools-workflows-and-strategies-that-helped-me-complete-my-fyp-f1c5f1860791?source=rss-80817284ea8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1c5f1860791</guid>
            <category><![CDATA[research]]></category>
            <category><![CDATA[final-year-projects]]></category>
            <dc:creator><![CDATA[Salman Faraj]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 15:43:10 GMT</pubDate>
            <atom:updated>2026-06-18T18:35:27.710Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HDVzhkASA-Ij8RW-DNtECA.png" /></figure><h3>A guide for the next batch of students from someone who has just crossed the finish line.</h3><p>A few years ago, my seniors handed down advice, resources, and lessons that helped me navigate my Final Year Project. Now that I have completed mine, it feels only right to do the same for the juniors who are about to begin their journey.</p><p>One thing has changed significantly since then: AI.</p><p>Whether we like it or not, AI has become part of the modern student toolkit. The reality is that many lecturers, researchers, and industry professionals use these tools every day. The advantage does not come from simply using AI. It comes from knowing how to use it properly.</p><p>This article is not about getting AI to do your FYP for you. It is about using AI to work smarter, learn faster, and focus your energy where it matters most. Every output should be reviewed, understood, and refined. If you cannot explain something during your viva, then it does not matter whether AI wrote it or you did.</p><p>With that out of the way, here are the tools, workflows, and strategies that genuinely helped me throughout my FYP journey.</p><h3>Phase 0: Selecting a Strong Research Idea</h3><p>Before you even begin searching for tools, writing proposals, or building prototypes, you need to spend serious time selecting the right idea.</p><p>This is where many students go wrong.</p><p>A common mistake is starting with the question:</p><blockquote><em>“What software application can I build?”</em></blockquote><p>That often leads to basic CRUD applications, dashboards, management systems, or tools that may be useful, but do not always provide a strong research contribution.</p><p>For an FYP, especially if you want your project to stand out, I would suggest starting differently.</p><p>Instead of beginning with an application idea, start with a <strong>research domain</strong>.</p><p>Pick an area that genuinely interests you. For example:</p><ul><li>Federated learning</li><li>Natural language processing</li><li>Explainable AI</li><li>Computer vision</li><li>Privacy-preserving machine learning</li><li>Human-computer interaction</li><li>Cybersecurity</li><li>Recommender systems</li><li>Healthcare AI</li><li>Educational technology</li></ul><p>The important thing is to choose a domain that you are willing to read about, think about, and struggle with for several months.</p><p>Once you have selected a domain, start reading papers in that core research space. Do not rush to build something immediately. At this stage, your goal is to understand what researchers are currently discussing.</p><p>Look for patterns across papers:</p><ul><li>What problems keep appearing?</li><li>What limitations do authors repeatedly mention?</li><li>What future work do they suggest?</li><li>What assumptions do existing solutions make?</li><li>Where do current methods fail?</li><li>What areas seem underexplored?</li><li>What problems are important but not fully solved?</li></ul><p>This helps you identify gaps in the <strong>research domain</strong> first, instead of jumping directly into a random problem domain.</p><p>For example, suppose you choose Explainable AI, also known as XAI. As you read more papers, you may come across gaps such as:</p><ul><li>Lack of standardization in XAI methods</li><li>Difficulty evaluating the quality of explanations</li><li>Need for conversational explainable AI</li><li>Lack of user-centered explanations</li><li>Weak explainability in high-stakes domains</li><li>Poor alignment between technical explanations and human understanding</li></ul><p>Once you identify these kinds of gaps, compare them across multiple papers. A strong research gap should not come from only one paper. Ideally, you should see similar concerns, limitations, or open problems appearing across several sources.</p><p>After that, speak to people who understand the space.</p><p>Try to discuss your idea with at least four or five relevant people. These could be lecturers, supervisors, researchers, industry professionals, postgraduate students, or domain experts.</p><p>Ask them questions such as:</p><ul><li>Do you think this is a meaningful research gap?</li><li>Would solving this be considered a strong contribution?</li><li>Is this problem already solved in another way?</li><li>Is the scope realistic for an FYP?</li><li>Can this be implemented within the available time?</li><li>What risks should I be aware of?</li><li>What would make this work stronger?</li></ul><p>This step is important because not every gap is worth solving for an FYP. Some gaps are too broad. Some are too theoretical. Some require data or resources you may not have. Some may be interesting but impossible to evaluate properly within your timeline.</p><p>Once you have a strong research gap, then you can think about the application domain for your proof of concept.</p><p>For example, if your research area is XAI, you could explore how your proposed solution applies in:</p><ul><li>Healthcare</li><li>Finance</li><li>Education</li><li>Customer service</li><li>Recruitment</li><li>Legal technology</li></ul><p>You can then read papers such as XAI in healthcare, XAI in finance, or XAI in education to understand the domain-specific challenges. This makes your contribution stronger because you are not just building an application. You are applying a research solution to a meaningful real-world context.</p><p>The key lesson is this:</p><blockquote><em>Do not start with the app. Start with the research gap.</em></blockquote><p>A good FYP is not just about building something that works. It is about showing that you understood a problem, studied existing work, identified a meaningful gap, proposed a solution, and evaluated it properly.</p><h3>Phase 1: Finding Research That Actually Matters</h3><p>One of the biggest challenges at the beginning of an FYP is identifying relevant research without getting overwhelmed by hundreds of papers.</p><h3>Consensus</h3><p>Consensus acts like a research-focused AI assistant that searches academic literature. One of its biggest strengths is helping you discover review papers.</p><p>If you are unfamiliar with review papers, they are essentially papers where researchers have already analyzed and summarized dozens of studies within a specific area. Instead of reading 30 separate papers immediately, you can often start with one high-quality review paper and quickly understand the research landscape.</p><p>This becomes especially useful when identifying research gaps, something your supervisor will almost certainly ask about.</p><p>However, do not rely only on the summary. Use Consensus to discover useful papers, then read the actual papers yourself.</p><h3>Semantic Scholar</h3><p>Once you have identified key areas through Consensus, Semantic Scholar helps you dive deeper.</p><p>Use it to:</p><ul><li>Find highly cited papers</li><li>Explore related research</li><li>Follow citation networks</li><li>Understand technical details in greater depth</li><li>Identify influential authors and research groups</li></ul><p>Think of Consensus as the helicopter view and Semantic Scholar as the ground-level exploration.</p><p>Consensus helps you understand the broader landscape. Semantic Scholar helps you investigate specific papers, methods, and connections in more detail.</p><h3>Phase 2: Managing Your Research</h3><p>Finding papers is only half the battle. Organizing them properly saves countless hours later.</p><h3>Zotero</h3><p>If there is one tool every FYP student should install early, it is Zotero.</p><p>It is free, powerful, and makes managing research papers significantly easier. You can organize papers into collections, tag them, annotate them, and import references directly.</p><p>No more searching through random folders at 2 AM trying to remember where you saved a paper.</p><p>An especially useful workflow is connecting Zotero to Claude using MCP. This allows you to interact with your own research library conversationally, helping you compare findings and locate information quickly.</p><p>The important distinction is that AI is not replacing your reading. It is helping you navigate your reading more efficiently.</p><h3>Excel and XMind</h3><p>As your literature review grows, patterns begin to emerge.</p><p>I found it useful to first map papers in Excel using columns such as:</p><ul><li>Paper title</li><li>Year</li><li>Research theme</li><li>Method used</li><li>Dataset used</li><li>Key findings</li><li>Limitations</li><li>Suggested future work</li><li>Research gaps</li></ul><p>This makes it much easier to compare papers instead of reading them in isolation.</p><p>After that, I moved the main insights into XMind to create visual concept maps.</p><p>This process forces you to synthesize information instead of simply collecting it, which ultimately leads to a stronger literature review chapter.</p><p>A literature review should not feel like a list of paper summaries. It should show that you understand how the research area has developed, where the limitations are, and why your project is necessary.</p><h3>Phase 3: Understanding What You Are Reading</h3><p>Collecting papers means very little if you do not truly understand them.</p><h3>NotebookLM</h3><p>NotebookLM became one of my favorite learning tools.</p><p>You can upload:</p><ul><li>Research papers</li><li>Notes</li><li>Project documents</li><li>Draft reports</li><li>Supervisor feedback</li></ul><p>Then you can interact with them as if you have a personal tutor dedicated to your project.</p><p>The podcast feature is surprisingly useful. Being able to listen to discussions about your own research while commuting can help reinforce concepts naturally.</p><p>For viva preparation, upload your report and ask NotebookLM to quiz you. You will quickly discover areas where your understanding needs improvement.</p><p>You can ask questions such as:</p><ul><li>What are the weaknesses of my proposed solution?</li><li>What questions might an examiner ask?</li><li>Which sections of my report need stronger justification?</li><li>What assumptions have I made?</li><li>What parts of my methodology are unclear?</li></ul><p>This is extremely helpful, but again, do not accept everything blindly. Use it as a learning assistant, not as the final authority.</p><h3>Claude and ChatGPT</h3><p>Claude and ChatGPT are excellent for:</p><ul><li>Explaining difficult concepts</li><li>Brainstorming ideas</li><li>Reviewing drafts</li><li>Clarifying technical topics</li><li>Improving structure and flow</li><li>Generating possible viva questions</li><li>Helping you understand code or algorithms</li></ul><p>The key is treating their outputs as drafts rather than final answers.</p><p>Use them to accelerate learning, not replace learning.</p><p>A good practice is to ask AI to explain concepts at different levels. For example:</p><ul><li>Explain this like I am new to the topic.</li><li>Explain this at undergraduate research level.</li><li>Explain the mathematical intuition.</li><li>Explain the limitations of this method.</li><li>Give me possible counterarguments.</li></ul><p>This helps you build real understanding instead of just collecting polished paragraphs.</p><h3>Phase 4: Creating Professional Diagrams</h3><p>Diagrams can significantly improve the quality and professionalism of your report when done correctly.</p><p>A strong diagram can explain something in seconds that would otherwise take several paragraphs.</p><h3>Mermaid</h3><p>Mermaid is perfect for:</p><ul><li>Workflows</li><li>Process diagrams</li><li>Taxonomies</li><li>High-level system overviews</li><li>Simple architecture diagrams</li></ul><p>It is fast, text-based, and easy to modify.</p><h3>PlantUML</h3><p>PlantUML is ideal for:</p><ul><li>Use case diagrams</li><li>Activity diagrams</li><li>Sequence diagrams</li><li>Component diagrams</li><li>Class diagrams</li></ul><p>The outputs look professional and are well suited for academic reports, especially for software engineering projects.</p><h3>Diagrams by Mingrammer</h3><p>For students working on software engineering, cloud computing, DevOps, or system architecture projects, Diagrams by Mingrammer allows you to generate infrastructure diagrams using actual technology icons.</p><p>It produces visuals that closely resemble diagrams used in professional engineering environments.</p><p>This is especially useful when your FYP includes cloud architecture, microservices, deployment pipelines, or distributed systems.</p><h3>XMind</h3><p>XMind is excellent for:</p><ul><li>Literature review structures</li><li>Mind maps</li><li>Concept relationships</li><li>Research planning</li><li>Organizing chapters and themes</li></ul><p>It is especially useful early in the project when your ideas are still evolving.</p><h3>Manual Drawing</h3><p>Not every diagram should be AI-generated.</p><p>Rich pictures, stakeholder maps, conceptual diagrams, and certain problem-framing visuals often benefit from human creativity and intentional design decisions.</p><p>AI can assist with structure and ideas, but sometimes the final layout is best done manually.</p><p>A diagram should not just look good. It should make your explanation easier to understand.</p><h3>The Diagram Workflow That Worked for Me</h3><p>Regardless of the tool, I found this workflow consistently effective:</p><ol><li>Gather the relevant context from your notes, report, or codebase.</li><li>Select the appropriate diagramming tool.</li><li>Generate an initial draft using AI.</li><li>Refine and improve the output.</li><li>Render and polish the final version.</li></ol><p>The fourth step is crucial.</p><p>The first output is rarely the final answer.</p><p>AI-generated diagrams often need correction, restructuring, and simplification. You need to check whether the relationships are accurate, whether the labels make sense, and whether the diagram actually supports your explanation.</p><p>A polished diagram should feel intentional, not auto-generated.</p><h3>Do Not Ignore Citation Management</h3><p>Future you will thank present you for setting up Zotero from day one.</p><p>Zotero can automatically generate citations and bibliographies with minimal effort.</p><p>Waiting until the final week to organize references is a mistake many students make exactly once.</p><p>Citation management also helps you avoid accidental plagiarism. When you are reading many papers, it becomes easy to forget where an idea came from. Keeping your references organized from the beginning makes your writing cleaner, more ethical, and less stressful.</p><h3>A Practical Research Workflow I Recommend</h3><p>If I had to summarize the full workflow, it would look like this:</p><ol><li>Choose a research domain that genuinely interests you.</li><li>Read review papers to understand the broader landscape.</li><li>Use Semantic Scholar to find important and related papers.</li><li>Track papers, methods, limitations, and future work in Excel or Zotero.</li><li>Identify repeated gaps across multiple papers.</li><li>Validate those gaps with supervisors, lecturers, researchers, or domain experts.</li><li>Decide whether the gap is meaningful, feasible, and evaluable.</li><li>Choose an application domain only after the research gap is clear.</li><li>Build a proof of concept that demonstrates your proposed solution.</li><li>Evaluate your work properly and explain its contribution clearly.</li></ol><p>This approach gives your project a much stronger foundation.</p><p>Instead of saying:</p><blockquote><em>“I built an application for this problem.”</em></blockquote><p>You can say:</p><blockquote><em>“I identified a gap in this research area, validated its importance, proposed a solution, implemented a proof of concept, and evaluated the results.”</em></blockquote><p>That is a much stronger research story.</p><h3>A Final Word About AI</h3><p>If there is one message I want to pass on to the next batch, it is this:</p><blockquote><em>AI is a tool, not a substitute for understanding.</em></blockquote><p>The strongest students are not necessarily the ones who avoid AI entirely. They are the ones who use it responsibly.</p><p>Use it to:</p><ul><li>Learn faster</li><li>Research smarter</li><li>Organize better</li><li>Communicate more clearly</li><li>Explore ideas</li><li>Review your own weaknesses</li><li>Prepare for your viva</li></ul><p>But never outsource your understanding.</p><p>When you sit in front of your supervisor or examiner during your viva, the answers need to come from you.</p><p>Review every output.</p><p>Question every recommendation.</p><p>Understand every decision.</p><p>That is the difference between using AI effectively and relying on it blindly.</p><p>My seniors passed valuable knowledge to me, and this is my attempt to pass some of it forward to you.</p><p>Good luck with your FYP.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1c5f1860791" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Set Up Zotero MCP Locally in ChatGPT (Step-by-Step Guide)]]></title>
            <link>https://medium.com/@salman.faraj06/how-to-set-up-zotero-mcp-locally-in-chatgpt-step-by-step-guide-7972046da35c?source=rss-80817284ea8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/7972046da35c</guid>
            <dc:creator><![CDATA[Salman Faraj]]></dc:creator>
            <pubDate>Tue, 28 Apr 2026 06:00:10 GMT</pubDate>
            <atom:updated>2026-04-28T06:00:10.184Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1BbSeotu3hzt9eG5hrYgjA.png" /></figure><p>If you live in Zotero, you’ve probably wished ChatGPT could browse your library, pull metadata, summarize papers, search by tags, and even do semantic search across your collection.</p><p>That’s exactly what <strong>zotero-mcp</strong> does: it runs a small MCP (Model Context Protocol) server on your computer, then you connect ChatGPT to it using <strong>Developer Mode</strong> and a secure HTTPS tunnel. (<a href="https://github.com/54yyyu/zotero-mcp?utm_source=chatgpt.com">GitHub</a>)</p><p>This guide assumes <strong>you’re starting from zero</strong>.</p><h3>What you’ll build</h3><ol><li>Install zotero-mcp</li><li>Enable Zotero’s local API</li><li>(Optional) Enable semantic search (free/local embeddings or API-based embeddings)</li><li>Run the MCP server locally</li><li>Expose it over HTTPS with Cloudflare Quick Tunnel</li><li>Add it to ChatGPT Developer Mode and start prompting</li></ol><p>Why the tunnel? ChatGPT Developer Mode expects a <strong>remote MCP server over the internet</strong> (HTTPS). A tunnel makes your local server reachable without deploying it to a cloud host. (<a href="https://platform.openai.com/docs/guides/developer-mode">OpenAI Platform</a>)</p><h3>Requirements</h3><ul><li><strong>Zotero Desktop</strong> installed</li><li><strong>Python 3.10+</strong> (<a href="https://github.com/54yyyu/zotero-mcp?utm_source=chatgpt.com">GitHub</a>)</li><li>ChatGPT account with <strong>Developer Mode</strong> access (availability depends on your plan/workspace) (<a href="https://platform.openai.com/docs/guides/developer-mode">OpenAI Platform</a>)</li></ul><h3>Step 1: Enable Zotero’s local API</h3><p>Open Zotero → Settings/Preferences → <strong>Advanced</strong> → enable the option that allows other apps to communicate with Zotero on your computer.</p><p>The project’s troubleshooting notes specifically call out this toggle as required for local access. (<a href="https://github.com/54yyyu/zotero-mcp?utm_source=chatgpt.com">GitHub</a>)</p><p>Keep Zotero running while you use the MCP server.</p><h3>Step 2: Install zotero-mcp</h3><p>The repo recommends installing via <strong>uv</strong> (isolated tool install). (<a href="https://github.com/54yyyu/zotero-mcp?utm_source=chatgpt.com">GitHub</a>)</p><h3>Option A (recommended): Install with uv</h3><pre>brew install uv<br>uv tool install &quot;git+https://github.com/54yyyu/zotero-mcp.git&quot;<br>zotero-mcp setup</pre><h3>Option B: Install with pip</h3><pre>pip install git+https://github.com/54yyyu/zotero-mcp.git<br>zotero-mcp setup</pre><h3>Step 3: Configure semantic search (choose 1, 2, or 3)</h3><p>During zotero-mcp setup (or later), you can enable semantic search and pick an embedding model. The README lists three options: (<a href="https://github.com/54yyyu/zotero-mcp?utm_source=chatgpt.com">GitHub</a>)</p><ol><li><strong>Default (all-MiniLM-L6-v2)</strong> — free, runs locally</li><li><strong>OpenAI</strong> — better quality, requires an API key</li><li><strong>Gemini</strong> — better quality, requires an API key</li></ol><p>If you want to configure semantic search separately:</p><pre>zotero-mcp setup --semantic-config-only</pre><p>Build the semantic index (required for semantic search)</p><p>Metadata-only (fast):</p><pre>zotero-mcp update-db</pre><p>Full text (slower, more comprehensive):</p><pre>zotero-mcp update-db --fulltext</pre><p>Check status:</p><pre>zotero-mcp db-status</pre><h3>Step 4: Start the MCP server locally</h3><p>Run the server using <strong>streamable HTTP</strong> (this is a supported protocol for ChatGPT Developer Mode). (<a href="https://platform.openai.com/docs/guides/developer-mode">OpenAI Platform</a>)</p><pre>zotero-mcp serve --transport streamable-http --host 127.0.0.1 --port 8000</pre><p>You should see it running and listening locally.</p><h3>Step 5: Expose it over HTTPS (Cloudflare Quick Tunnel)</h3><p>Cloudflare Quick Tunnels let you publish a local server to a temporary HTTPS URL with one command — no account required for quick tunnels. (<a href="https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/do-more-with-tunnels/trycloudflare/">Cloudflare Docs</a>)</p><p>Install and run:</p><pre>brew install cloudflare/cloudflare/cloudflared<br>cloudflared tunnel --url http://localhost:8000</pre><p>Cloudflare will print something like:</p><pre>https://your-random-name.trycloudflare.com</pre><p>Your MCP endpoint will be:</p><pre>https://your-random-name.trycloudflare.com/mcp</pre><p>Keep <strong>both</strong> processes running:</p><ul><li>Terminal A: zotero-mcp serve ...</li><li>Terminal B: cloudflared tunnel ...</li></ul><h3>Step 6: Add it to ChatGPT Developer Mode</h3><h3>Enable Developer Mode</h3><p>Go to ChatGPT Settings → Apps (or Connectors) → Advanced settings → <strong>Developer mode</strong>. (<a href="https://platform.openai.com/docs/guides/developer-mode">OpenAI Platform</a>)</p><h3>Create an app / connector from your MCP server</h3><p>In Developer Mode, create a new app pointing to your tunnel URL:</p><ul><li><strong>MCP Server URL:</strong> <a href="https://your-random-name.trycloudflare.com/mcp">https://your-random-name.trycloudflare.com/mcp</a></li><li><strong>Authentication:</strong> choose <strong>No authentication</strong> (zotero-mcp is typically run without OAuth locally)</li></ul><p>ChatGPT Developer Mode supports <strong>SSE and streaming HTTP</strong>, and lets you connect a remote MCP server like this. (<a href="https://platform.openai.com/docs/guides/developer-mode">OpenAI Platform</a>)</p><h3>Step 7: Try prompts that actually use the tools</h3><p>Once enabled in a chat, try:</p><ul><li>“List my Zotero collections.”</li><li>“Search my Zotero library for ‘transformer’ (limit 10).”</li><li>“Show recently added papers.”</li><li>“Semantic search for ‘diffusion models in medical imaging’ (top 10).”</li></ul><p>If you’re using semantic search for the first time, run:</p><ul><li>“Update my Zotero semantic search database.” (calls the server’s update tool)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7972046da35c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Rules to Reasoning: Architecting the Modern Customer Service Agent]]></title>
            <link>https://medium.com/emojot-engineering/from-rules-to-reasoning-architecting-the-modern-customer-service-agent-c4a9ff753af8?source=rss-80817284ea8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4a9ff753af8</guid>
            <category><![CDATA[saas]]></category>
            <category><![CDATA[llm-agent]]></category>
            <category><![CDATA[conversational-ai]]></category>
            <category><![CDATA[customer-experience]]></category>
            <category><![CDATA[product-engineering]]></category>
            <dc:creator><![CDATA[Salman Faraj]]></dc:creator>
            <pubDate>Sun, 25 Jan 2026 07:36:26 GMT</pubDate>
            <atom:updated>2026-01-25T07:48:26.571Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X2tTrx0MX7r-NFkl9eXN2A.png" /></figure><p>In late 2024, we encountered a problem that was quietly killing our client’s conversion rates: latency.</p><p>We were working with a hotel that was receiving a high volume of inbound inquiries across WhatsApp and Instagram. Potential guests were asking simple questions like “How much is the buffet?” or “Do you have rooms available?” Yet the hotel’s small team could not keep up.</p><p>By the time a human agent replied an hour later, the lead was cold. The customer had already moved on and booked elsewhere.</p><p>The client had explored existing chatbot solutions, but they were disappointed. Most of what the market offered were rigid, rule-based decision trees. Systems that asked users to press numbers, follow scripts, and adapt their language to the machine instead of the other way around.</p><p>We realized the client did not need a better script. They needed reasoning.</p><p>Here is a retrospective on the architectural decisions, the prototyping patterns, and the shift from deterministic to probabilistic engineering that defined this project.</p><p><strong>The Limits of Rule-Based Systems</strong></p><p>Our early technical research involved analyzing more than ten platforms in the customer support automation space. A clear pattern emerged.</p><p>Most systems were built on what I call the “If-This-Then-That trap.”</p><p>These platforms worked well for structured interactions such as “Press 1 for Sales” or “Press 2 for Support.” But they broke down in the face of real human behavior. Customers do not follow scripts. They reply to stories. They send screenshots. They ask vague questions like “Is this available?” or “How much?” without context.</p><p>If a customer sent an image of a buffet promotion and asked whether it was available that night, a rule-based system had no reliable way to respond.</p><p>We concluded that the problem was not automation. It was understanding.</p><p>What we needed was not a chatbot, but a conversational agent. An architecture where intent detection, context retrieval, and response generation were decoupled, allowing the system to reason over a business knowledge base rather than follow a pre-written path.</p><h3>The Prototype as a Specification</h3><p>In agile development, we talk about shortening the feedback loop. Rather than writing a lengthy Product Requirement Document (PRD), we opted for an executable prototype.</p><p>Using n8n, I mapped an initial conversational flow and connected a basic LLM-powered agent to a WhatsApp endpoint. This allowed us to simulate a realistic “happy path” interaction in real time.</p><p>The prototype validated that generic questions could be answered accurately and quickly. But more importantly, it revealed a missing dimension in the system design: observability.</p><p>Answering the customer was only half the solution. The business also needed visibility. Conversations had to be treated as stateful objects that could be tracked, categorized, escalated, and analyzed.</p><p>This realization fundamentally shaped the architecture that followed.</p><p>To align engineering and product thinking, I created a high-fidelity UI prototype using generative UI tools, specifically Lovable AI. This was not just design work. It was feature engineering through interface modeling.</p><p>By visualizing conversation states, human handoff points, and analytics views, we gave the frontend and backend teams a shared mental model of the system before full implementation began.</p><h3>Integration Boundaries and the “Meta” Challenge</h3><p>A core principle of modern system design is managing dependencies. For CSA, our external dependencies were significant: the Meta ecosystem (WhatsApp, Instagram, Messenger).</p><p>Integrating with these platforms is non-trivial due to the strictness of their APIs and webhooks. We couldn’t afford latency; a conversational agent that thinks for ten seconds breaks the illusion of conversation.</p><p>While I initiated the feasibility study with a personal developer account, the heavy lifting of becoming a <strong>Meta Technology Provider</strong> was led by my colleague Saranga. For a deep dive into the technical specifics of that integration, I recommend reading<a href="https://medium.com/@dev_90291/how-emojot-became-a-meta-technology-provider-aa09d29bc119"> Saranga’s retrospective here</a>.</p><p>From an architectural perspective, this integration forced discipline. We had to design event-driven pipelines that could process messages, invoke AI reasoning, apply business logic, and respond within tight time bounds, without losing context across sessions.</p><h3>From Deterministic to Probabilistic Engineering</h3><p>The most significant shift in this project was not technical. It was conceptual.</p><p>Traditional software is <strong>deterministic</strong>: Input A always leads to Output B.</p><p>AI systems are <strong>probabilistic</strong>: Input A <em>likely</em> leads to Output B, but might occasionally hallucinate Output C.</p><p>Deployment to production (initially for Radisson Hotels) exposed us to these realities. We had to build guardrails around the model to handle:</p><ul><li><strong>Context Overload:</strong> Ensuring the model prioritized recent, relevant tokens over older, stale data.</li><li><strong>Hallucination Management:</strong> restricting the model to strictly infer answers from the provided business knowledge base (RAG pattern).</li><li><strong>The “Human Handoff”:</strong> Designing a fail-safe state where the AI gracefully degrades and transfers control to a human agent when confidence scores drop.</li></ul><p>In this architecture, AI was never treated as an authority. It was treated as an assistant operating within well-defined boundaries, backed by deterministic workflows when needed.</p><h3>The Road Ahead: Agents &amp; MCPs</h3><p>We are just scratching the surface. The first version of CSA proved that AI can handle the noise of customer service. The next version is about <strong>action</strong>.</p><p>We are currently exploring <strong>Model Context Protocol (MCP)</strong> integrations. Imagine CSA not just <em>answering</em> a question about a reservation, but reaching into the hotel’s booking engine and <em>modifying</em> the reservation in real-time, authenticated and secure.</p><p>Looking back, from that first n8n test to seeing our product <a href="https://www.dailymirror.lk/business-news/Radisson-trio-introduces-AI-powered-guest-experience/273-319618">live in the press</a>, the journey has been a masterclass in modern product development.</p><p>It’s not enough to wrap an API wrapper around a model. You have to build the workflow, the safety, and the visibility around it. That’s where the value lies.</p><p><em>I am incredibly grateful to the Emojot leadership for trusting me to drive the product engineering side of this solution. We are building the future of experience management, one conversation at a time.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4a9ff753af8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/emojot-engineering/from-rules-to-reasoning-architecting-the-modern-customer-service-agent-c4a9ff753af8">From Rules to Reasoning: Architecting the Modern Customer Service Agent</a> was originally published in <a href="https://medium.com/emojot-engineering">Emojot Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ 10x Your Productivity (and Income) as a Developer — Using Free AI Tools and Agents That…]]></title>
            <link>https://medium.com/@salman.faraj06/10x-your-productivity-and-income-as-a-developer-using-free-ai-tools-and-agents-that-831d84fa2604?source=rss-80817284ea8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/831d84fa2604</guid>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agency]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Salman Faraj]]></dc:creator>
            <pubDate>Sat, 29 Mar 2025 16:50:09 GMT</pubDate>
            <atom:updated>2025-03-29T16:50:09.729Z</atom:updated>
            <content:encoded><![CDATA[<h3>🚀 10x Your Productivity (and Income) as a Developer — Using Free AI Tools and Agents That Actually Work</h3><p>Let me start this off by saying something bold:</p><blockquote><strong><em>You don’t need a big budget or fancy setups to become insanely productive as a software developer — and yes, even make money doing it.</em></strong></blockquote><p>In this post, I’ll walk you through my exact tech stack, routine, and AI agent-powered tools that help me code faster, automate tasks, build beautiful websites, and deliver high-value projects… most of the time, <em>for free</em>.</p><p>Whether you’re a freelancer, student, or even running your own small agency — this is for you.</p><h3>Landing Pages &amp; Frontend Without the Heavy Lifting</h3><p>For quick marketing websites or landing pages, I use a few <strong>freemium goldmines</strong> that are just <em>too good not to share</em>:</p><ul><li><a href="https://loveable.dev/"><strong>Loveable.dev</strong></a> — Generate emotional, high-converting UI for dashboards &amp; landing pages.</li><li><a href="https://v0.dev/"><strong>v0.dev</strong></a> — Prompt-based React component builder by Vercel.</li><li><a href="https://bolt.new/"><strong>bolt.new</strong></a> — Insanely good for polished frontend layouts and flows.</li></ul><p>With the right prompts, these can give you UI/UX quality that’s good enough to sell for <strong>LKR 70,000+</strong> in Sri Lanka (and even more abroad). And these aren’t “placeholder” sites — they’re client-ready with some tweaks.</p><h3>Code with AI Agents — Not Just Copilots</h3><p>If you’re a Mac user, meet my daily IDE:</p><blockquote><strong><em>TRAE</em></strong><em> — A Cursor IDE alternative with free, unlimited access to powerful models like </em><strong><em>Claude Sonnet 3.5</em></strong><em> and limited access to </em><strong><em>3.7</em></strong><em>. Perfect for serious dev work.</em></blockquote><p>For everyone else:</p><blockquote><strong><em>VS Code + Cline Extension</em></strong><em> — Your free alternative to Cursor. Offers generous free limits and access to models like </em><strong><em>Claude</em></strong><em>, </em><strong><em>Gemini</em></strong><em>, and others.</em></blockquote><p>With <strong>Cline</strong>, I’ve connected it to <strong>MCP tools</strong> that plug into my real workflow:</p><ul><li><strong>Google Drive MCP Server</strong> → Fetch client assets</li><li><strong>Figma MCP Server</strong> → Turn designs into code</li><li><strong>GitHub MCP Server</strong> → Push updates and track deployments</li><li><strong>Puppeteer MCP</strong> → Scrape, simulate user flows</li><li><strong>Brave Search MCP</strong> → Research contextually</li></ul><p>It’s not just prompting code snippets — <strong>it automates my dev lifecycle</strong>.</p><h3>From Prompt to Production — Real Projects, Real Income</h3><p>Let me give you a quick win from the field:</p><p>For an advanced client project that’s already shipped, I use my <strong>connected MCP agents</strong> to handle new feature requests. Since they have repo access and project memory, all I do is describe the feature → AI implements → I review → Done.</p><p>Simple features. Quick turnarounds. More value. Faster income.</p><h3>Want to Build Mobile Apps? Try This.</h3><p>Even if you’ve never touched mobile dev before:</p><blockquote><strong><em>a0.dev</em></strong><em> lets you build full React Native mobile apps with just prompts.</em></blockquote><p>Some of these apps — built with a bit of learning and polish — can <strong>easily sell for 70K+</strong> in local or niche markets. Think MVPs, internal tools, event apps, etc.</p><h3>Automate Like a Pro (Even Without Coding Skills)</h3><p>This one’s my secret weapon: <strong>n8n</strong>.</p><ul><li>I self-hosted an instance (almost free)</li><li>Built automation for clients</li><li>Made recurring revenue from automation solutions</li></ul><blockquote><em>🔗 </em>Want a step-by-step walkthrough of how I use n8n to automate real-world workflows?<em><br> </em><a href="https://medium.com/@salman.faraj06/automating-the-mundane-workflow-automation-with-n8n-e3c097f29ff1"><em>Check out my detailed blog here</em></a></blockquote><p>For lower-scale clients or experimentation, <strong>Make.com</strong>’s free tier also works beautifully.</p><p>You can literally automate anything — from reminders, CRM updates, form workflows to AI pipelines.</p><p>And if you’re into where this is all headed?</p><blockquote><em>🔗 </em>Explore the rise of AI agents and what they mean for developers like us<em><br> </em><a href="https://medium.com/@salman.faraj06/from-static-ai-to-dynamic-collaboration-the-rise-of-ai-agents-and-their-transformative-potential-49393d4d0954"><em>The future is now — full blog here</em></a></blockquote><h3>✨ Final Thoughts: Leverage AI, Don’t Just Watch It</h3><p>We’re living in a time where you can <em>literally</em> build full-stack websites, mobile apps, and automation solutions <strong>without spending a single dollar</strong> — if you know what tools to stack and how to use them.</p><p>The future of dev isn’t just coding — it’s being the <em>conductor of tools that build the future for you.</em></p><p>And hey — if you’re reading this, you’re already halfway there.</p><p>Want me to drop a full tutorial or walkthrough for any of these tools? Let me know in the comments. Or shoot me a DM — I’d be happy to help.</p><p><strong>Stay curious. Stay productive. Build cool things.</strong></p><p>— Salman Faraj</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=831d84fa2604" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Model Context Protocol— A New Era of Concurrent AI Processing]]></title>
            <link>https://medium.com/@salman.faraj06/model-context-protocol-a-new-era-of-concurrent-ai-processing-f8b132b47c44?source=rss-80817284ea8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8b132b47c44</guid>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[model-context-protocol]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Salman Faraj]]></dc:creator>
            <pubDate>Mon, 10 Mar 2025 17:48:14 GMT</pubDate>
            <atom:updated>2025-03-10T17:48:14.667Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*Q8snJ-TviVDW0bVdPcWupw.jpeg" /></figure><p><strong>Imagine if an AI system could plug into any database, application, or live data stream as easily as a laptop connects to Wi-Fi.</strong> That vision is at the heart of Anthropic’s MCP, which informally stands for <strong>Massively Concurrent Processing</strong> — officially known as the <strong>Model Context Protocol (MCP)</strong>. This technology is positioning itself as a game-changer in how AI models interact with data and scale their capabilities. In this blog, we’ll explore what MCP is and how it works, its transformative impact on AI development (from training efficiency to scalability), and real-world use cases across various industries. The tone here will mix technical depth with big-picture insights, so whether you’re a developer, AI researcher, or business leader, you’ll find both useful details and visionary ideas. Let’s dive in.</p><h3>General Overview: What is MCP and How Does It Work?</h3><p>At its core, <strong>MCP is an open standard that enables AI systems to connect with external data sources in a universal, streamlined way</strong>​ <a href="https://www.anthropic.com/news/model-context-protocol#:~:text=Model%20Context%20Protocol">anthropic.com</a></p><p>In simpler terms, it provides a common language and protocol for AI models (like large language models) to <strong>communicate with databases, cloud apps, knowledge bases, and other tools in real time</strong>. Developers can set up <strong>MCP servers</strong> exposing their data (e.g. documents, CRM records, code repositories), and AI <strong>MCP clients</strong> (like an AI assistant or agent) can query these servers to fetch or update information. This happens through a straightforward client-server architecture: AI <strong>hosts</strong> (the AI applications) establish secure, one-to-one connections to various <strong>MCP servers</strong> that act as connectors to data sources​.</p><p>The result is a two-way highway between AI and data — <strong>AI can pull in fresh context or facts when formulating responses, and it can also write or trigger actions back to those systems as needed</strong>.</p><p><strong>A helpful analogy is to think of MCP as the “USB-C port” for AI systems</strong>​</p><p>Just like the USB-C standard lets many devices (phones, laptops, cameras) use the same plug to exchange power and data, MCP defines a <em>single universal interface</em> so that <strong>any AI model can plug into any data source or tool</strong>. Without MCP, integrating an AI model with each new database or service has been cumbersome — every integration needed custom code and bespoke APIs. It’s as if AI models were stuck using dozens of incompatible cables and adapters to talk to different systems.</p><p>Even the most advanced AI today often operates in isolation, <strong>“trapped behind information silos” with custom pipelines for each data source, making truly connected AI hard to scale​</strong></p><p>MCP eliminates that fragmentation by standardizing how context and data are shared. With MCP, an AI doesn’t need to have all knowledge baked into its neural weights; instead, it can <strong>concurrently tap into many external resources on the fly</strong> — hence the idea of <em>massively concurrent</em> processing of information.</p><p>In practice, using MCP might look like this:</p><p>Suppose you have an AI coding assistant. Via MCP, it could simultaneously fetch your company’s internal coding style guide, recent GitHub commits, open Jira tickets, and relevant documentation from a wiki <strong>all at once</strong> as it helps you write code. All those context pieces come through a unified protocol, neatly organized for the model to use. This design means <strong>developers build against one standard interface</strong> rather than writing new integrations for every tool. Anthropic has open-sourced MCP, providing SDKs and even pre-built connectors (MCP servers) for popular services like Google Drive, Slack, GitHub, databases, etc., so developers can plug those into their AI solutions with minimal effort​</p><p>The <strong>MCP client will maintain context</strong> across these sources, so the AI can carry information from one query to the next (for example, remembering a file it fetched from Google Drive when answering a related question from Slack) — creating a fluid, context-rich experience. In short, MCP functions as the <strong>connective tissue between AI and the world of data</strong>, letting them speak to each other seamlessly.</p><h3>How MCP Will Reshape AI Development</h3><p>MCP represents a shift from <strong>monolithic, pre-trained models</strong> to <strong>AI that thrives in an interconnected ecosystem</strong>. With this approach, AI doesn’t need to be massive; <strong>it just needs to be connected</strong>. Instead of building AI systems that struggle to keep up with changing knowledge, MCP ensures they can <strong>stay accurate and useful by plugging directly into live data sources</strong>.</p><p>For AI developers, <strong>this means less time spent on retraining and more focus on making AI truly useful in production</strong>. For businesses, MCP provides <strong>a scalable, efficient way to integrate AI into operations without constant maintenance hassles</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8b132b47c44" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating the Mundane: Workflow Automation with n8n]]></title>
            <link>https://medium.com/@salman.faraj06/automating-the-mundane-workflow-automation-with-n8n-e3c097f29ff1?source=rss-80817284ea8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3c097f29ff1</guid>
            <category><![CDATA[workflow-automation]]></category>
            <category><![CDATA[n8n]]></category>
            <category><![CDATA[n8n-workflow-automation]]></category>
            <dc:creator><![CDATA[Salman Faraj]]></dc:creator>
            <pubDate>Sat, 01 Feb 2025 06:27:38 GMT</pubDate>
            <atom:updated>2025-02-01T06:27:38.654Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*auVU-uL1uUBAIrye7_iFDQ.png" /></figure><h3>What is n8n?</h3><p>n8n is an open-source workflow automation tool that allows you to connect various apps and services with minimal effort. Unlike traditional automation platforms that often come with hefty price tags, n8n offers flexibility, scalability, and the best part — it’s free to self-host.</p><p>With n8n, you can create workflows that trigger actions based on specific events, integrate APIs, process data, and automate tasks without writing complex code.</p><h3>My First n8n Automation Project</h3><p>As I’m still learning n8n, I wanted to put my knowledge to the test with a real-world problem rather than following typical YouTube tutorial projects. So, I picked a task from my daily work routine that could genuinely benefit from automation — generating client account summaries.</p><h3>The Problem: Keeping Everyone on the Same Page with Client Account Summaries</h3><p>Working in a SaaS company’s customer success team, each of us focuses on a specific set of clients. This often leads to situations where team members aren’t always up-to-date with account details outside their own portfolio. As a result, not everyone is on the same page regarding the overall client health and key updates.</p><p>That’s when I thought, “What if we could automatically generate and share account summaries with the entire team?” This way, everyone stays informed about all clients without having to manually track updates or rely on individual reports.</p><h3>Building the Automation Workflow</h3><p>Here’s how I tackled the problem using n8n:</p><h4>1. Google Sheets Trigger 📊</h4><p>I started with a <strong>Google Sheets Trigger</strong>. This node listens for any updates or new entries in our client data sheet. The trigger ensures that the workflow kicks off automatically whenever there’s a change.</p><h4>2. OpenAI for Smart Summarization 🧠</h4><p>Next, I integrated the <strong>OpenAI Message Model</strong>. This node processes the raw data from the sheet and generates a concise, well-structured summary of the client’s account status. Instead of manually analyzing rows of data, I let AI do the heavy lifting.</p><pre><br>You are in charge of client invoices. Your job is to take incoming<br>information regarding invoices and generate a professional email summary<br>that will be sent to the team.<br><br>The email should include:<br><br>Invoice Number<br>Date Issued<br>Due Date<br>Customer Name<br>Amount<br>Status (Paid, Pending, Overdue, etc.)<br>Payment Date (if applicable)<br>Account Health (Healthy, At Risk, Churned, etc.)<br>Subscription Plan<br>Renewal Date<br>Relevant Notes<br><br>Highlight any overdue or at-risk accounts. Format the email clearly with<br>bullet points or a short table, and ensure it&#39;s concise yet informative.<br>End the email with a sign-off from the Customer Success Team.</pre><h4>3. Gmail for Instant Updates 📧</h4><p>Finally, I connected <strong>Gmail</strong> to send the summarized report directly to my team’s inboxes. The email includes key metrics, client health status, and action items — everything needed to stay on top of client accounts.</p><p>The entire workflow looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*9GSKuyNVlagPY0_8d2J9Gw.jpeg" /><figcaption>final workflow</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cDRUE6DjB2za9V40fA4Psg.jpeg" /><figcaption>google sheet sample for account details</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j4G3Zb8IDwLJ71MROzBAOw.jpeg" /><figcaption>sample email received once triggered</figcaption></figure><h3>Final Thoughts</h3><p>n8n isn’t just another automation tool — it’s a productivity booster that empowers you to focus on meaningful work. Whether you’re in customer success, marketing, or product development, there’s always a process you can automate.</p><p>This wasn’t a highly technical implementation, but if anyone’s interested in a more detailed technical tutorial or blog post on how to set this up, feel free to reach out. I’d be happy to create one once I’ve learned more about n8n’s capabilities.</p><p><em>Got questions about n8n or automation workflows? Drop them in the comments</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3c097f29ff1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Agents and Their Transformative Potential]]></title>
            <link>https://medium.com/@salman.faraj06/from-static-ai-to-dynamic-collaboration-the-rise-of-ai-agents-and-their-transformative-potential-49393d4d0954?source=rss-80817284ea8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/49393d4d0954</guid>
            <category><![CDATA[llm-agent]]></category>
            <category><![CDATA[crew-ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[rags]]></category>
            <dc:creator><![CDATA[Salman Faraj]]></dc:creator>
            <pubDate>Mon, 25 Nov 2024 06:50:01 GMT</pubDate>
            <atom:updated>2024-11-25T07:15:36.523Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*lJ2GEZlj4tijkP2pao4CgA.png" /></figure><p><strong>A Journey Beyond Traditional Models</strong></p><p>As someone deeply fascinated by technology, I often marvel at the leaps AI has made in recent years. We’ve gone from basic automation to incredibly powerful models capable of understanding and generating human-like responses. Yet, while experimenting with these models, I noticed a recurring pattern: they’re brilliant but often limited by the way we interact with them.</p><p>Think about it — most AI systems work in a straightforward loop. You provide a prompt, and they give you an answer. Want to refine it? You rephrase your input, prompt again, and repeat. While this works great for isolated tasks, it feels like constantly giving instructions to an assistant who has no memory or initiative.</p><p>This is where the idea of <strong>AI agents</strong> comes into play. Recently, I stumbled upon this concept while learning about frameworks like CrewAI. But instead of talking about the tool, let’s dive into the <em>concept</em> — why AI agents matter and how they take us beyond the boundaries of traditional AI models.</p><h3>The Problem with Conventional AI Models</h3><p>Most AI models, as powerful as they are, don’t collaborate or adapt dynamically. They respond to our input in isolation. For example:</p><ol><li>You ask it to summarize an article — it does.</li><li>You ask it to rewrite that summary — it does.</li><li>You ask for a detailed analysis — it does.</li></ol><p>Each step is fine, but the model doesn’t “connect the dots” between these requests unless explicitly instructed. It doesn’t think ahead or proactively adapt its approach to a bigger picture.</p><p>For simple tasks, this isn’t a problem. But what if you’re dealing with something complex, like planning a multi-step project, solving intricate problems, or managing long-term workflows? That’s when it becomes clear: traditional models aren’t enough.</p><p>Speaking of workflows, tools like <a href="https://emojot.com/#workflow-management">Emojot’s Workflow Management</a> showcase how technology can revolutionize business process automation and experience management, streamlining even the most intricate processes seamlessly.</p><h3>What Are AI Agents, and Why Do They Matter?</h3><p>AI agents are like taking the best parts of AI and supercharging them with <strong>autonomy</strong>, <strong>collaboration</strong>, and <strong>contextual understanding</strong>. Unlike traditional models, agents can:</p><ul><li><strong>Take on roles</strong>: Imagine having an agent that acts like a researcher, another as a planner, and yet another as a decision-maker. Each one focuses on its “role,” just like a human team.</li><li><strong>Work collaboratively</strong>: These agents share information and build on each other’s outputs. One agent might gather data, another analyzes it, and a third decides how to act on it — all without constant human intervention.</li><li><strong>Make autonomous decisions</strong>: Instead of waiting for every prompt, they can assess a situation, weigh options, and decide the next steps based on their “training” and context.</li></ul><h3>What Happens When We Integrate RAG with AI Agents?</h3><p>Now, let’s talk about something even more exciting: combining <strong>Retrieval-Augmented Generation (RAG)</strong> with AI agents.</p><p>For those unfamiliar, RAG is a powerful technique that enhances AI models by connecting them to external knowledge bases. Instead of relying solely on their training data, these models can retrieve up-to-date and domain-specific information from external sources, enriching their responses.</p><p>Imagine integrating RAG into an AI agent system like CrewAI. Here’s what that could look like:</p><ol><li><strong>Dynamic Knowledge Access</strong>: Agents wouldn’t just rely on their static understanding — they could query external knowledge bases in real-time, ensuring their decisions and outputs are informed by the latest and most relevant information.</li><li><strong>Role-Specific Knowledge Retrieval</strong>: Each agent could access different databases or datasets tailored to their specific role. For example, a strategist agent might pull market trends, while a researcher agent focuses on scientific publications.</li><li><strong>Continuous Learning Loop</strong>: Agents could adapt and refine their tasks as they retrieve more information, making their collaboration smarter and more efficient.</li><li><strong>Enhanced Problem Solving</strong>: Tackling complex tasks would no longer be limited by the agents’ initial knowledge base. They could retrieve missing pieces of the puzzle as they go.</li></ol><h3>Why This Integration Matters</h3><p>The combination of RAG and AI agents bridges two critical gaps:</p><ul><li><strong>Knowledge limitation</strong>: AI agents no longer operate within the confines of their initial training data.</li><li><strong>Contextual adaptation</strong>: By dynamically retrieving information, agents can better respond to evolving scenarios and complex, multi-step problems.</li></ul><p>For instance, in a real-world scenario like managing disaster relief efforts, agents could retrieve up-to-date weather forecasts, resource availability, and logistical constraints in real-time. They could then collaborate seamlessly to develop and adjust plans on the fly — something traditional models simply can’t do.</p><h3>My Reflections</h3><p>Exploring AI agents has been like discovering a missing piece of the AI puzzle. Combining them with capabilities like RAG makes their potential even more exciting. It’s not just about smarter technology — it’s about creating systems that can learn, adapt, and collaborate in ways that feel truly transformative.</p><p>We’re moving toward AI systems that don’t just react but genuinely partner with us to solve challenges. If you’ve ever felt limited by traditional AI tools, exploring concepts like AI agents and their integration with RAG might just open up a world of possibilities.</p><p>What do you think about the future of AI agents and RAG? Are there any scenarios where you see their combined potential making a difference?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49393d4d0954" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding the React Component Lifecycle and the useEffect Hook]]></title>
            <link>https://medium.com/@salman.faraj06/understanding-the-react-component-lifecycle-and-the-useeffect-hook-d471c918f11c?source=rss-80817284ea8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/d471c918f11c</guid>
            <category><![CDATA[useeffect]]></category>
            <category><![CDATA[react-component-lifecycle]]></category>
            <category><![CDATA[reactjs]]></category>
            <dc:creator><![CDATA[Salman Faraj]]></dc:creator>
            <pubDate>Thu, 06 Jun 2024 13:44:35 GMT</pubDate>
            <atom:updated>2024-06-06T13:44:35.981Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*isfBXMmURA3jAHMitA5Z5Q.png" /></figure><p>In this article, we’ll break down the React component lifecycle into simple, easy-to-understand terms. Whether you’re a complete beginner or looking to solidify your understanding, this guide will provide you with the foundational knowledge you need to navigate and utilize React’s lifecycle methods effectively.</p><h3>What is the React Component Lifecycle?</h3><p>The term “lifecycle” in React refers to the different phases a component goes through from its creation to its destruction. There are three main stages in the React component lifecycle:</p><ol><li><strong>Mounting</strong>: This is when a component first appears on the screen.</li><li><strong>Updating</strong>: This occurs when the component’s UI changes due to a state or prop change , like the text in a message or the colour of a button.</li><li><strong>Unmounting</strong>: This is when the component is removed from the screen.</li></ol><h3>Introducing the useEffect Hook</h3><p>The useEffect hook is one of the most crucial hooks in React. It allows you to perform side effects in your function components, such as fetching data, directly interacting with the DOM, and more. Essentially, it lets you run some code at specific points in the component lifecycle. such as:</p><ul><li>Running code when a component mounts.</li><li>Running code when a component updates.</li><li>Running code when a component unmounts.</li></ul><pre>import { useEffect } from &#39;react&#39;;<br><br>useEffect(() =&gt; {<br>  console.log(&#39;Runs this logic when the component mounted&#39;);<br><br>  // Cleanup function runs when the component unmounts<br>  return () =&gt; {<br>    console.log(&#39;Runs this logic when the component unmounted&#39;);<br>  };<br>}, []);</pre><h3>Responding to Updates</h3><p>You can also use useEffect to respond to updates. By adding dependencies to the array, the effect will run whenever the specified state or prop changes:</p><pre>useEffect(() =&gt; {<br>  console.log(&#39;Text state updated:&#39;, text);<br>}, [text]);</pre><h3>Practical Example with useEffect</h3><p>Let’s apply useEffect to our previous example. In the Text component, we&#39;ll log messages at different lifecycle stages:</p><pre><br>import React, { useState, useEffect } from &#39;react&#39;;<br><br>function Text() {<br>  const [text, setText] = useState(&#39;&#39;);<br><br>  useEffect(() =&gt; {<br>    console.log(&#39;Text component mounted&#39;);<br><br>    return () =&gt; {<br>      console.log(&#39;Text component unmounted&#39;);<br>    };<br>  }, []);<br><br>  useEffect(() =&gt; {<br>    console.log(&#39;Text state updated:&#39;, text);<br>  }, [text]);<br><br>  return (<br>    &lt;div&gt;<br>      &lt;input<br>        type=&quot;text&quot;<br>        value={text}<br>        onChange={(e) =&gt; setText(e.target.value)}<br>      /&gt;<br>      &lt;h1&gt;{text}&lt;/h1&gt;<br>    &lt;/div&gt;<br>  );<br>}<br><br>export default Text;<br><br></pre><h3>Use Case: Fetching Data from an API</h3><p>Suppose you’re building a weather app. When the app starts, you want to fetch the current weather data from an API and display it.</p><p>When the weather component mounts, you fetch the weather data from an API and set it in the state. This ensures that the data is loaded and displayed as soon as the component appears on the screen.</p><p>if the user changes the location for which they want to see the weather, you need to fetch the new weather data for the updated location. useEffect can be configured to run whenever certain dependencies (like props or state variables) change. This allows you to react to updates efficiently.</p><p>When the location prop changes, you fetch the weather data for the new location and update the state accordingly. This ensures the weather data displayed is always relevant to the current location.</p><p>If your weather app uses a WebSocket connection to get real-time weather updates, you need to close this connection when the component is no longer needed to free up resources and prevent memory leaks. useEffect can return a cleanup function that runs when the component unmounts. This function can clean up resources like subscriptions, event listeners, or network connections.</p><p>When the weather component is about to unmount, the cleanup function closes the WebSocket connection. This ensures that there are no open connections wasting resources when the component is not in use.</p><h3>Why This Is Helpful</h3><p>Understanding and managing these lifecycle stages with useEffect is crucial for several reasons:</p><ol><li><strong>Efficient Data Fetching</strong>: Ensures data is fetched at the right time, avoiding unnecessary network requests and improving performance.</li><li><strong>Responsive Updates</strong>: Reacts to changes in props or state, ensuring that the UI always reflects the most current data or configuration.</li><li><strong>Resource Management</strong>: Cleans up resources when a component is no longer needed, preventing memory leaks and improving application stability.</li></ol><p>By using useEffect, you can handle side effects in a clean, declarative manner, making your React components more predictable and easier to maintain. This modern approach aligns well with functional component design, promoting a more functional and streamlined coding style.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d471c918f11c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Comprehensive Guide to Using the TypeScript-Based Trending Component Library Aceternity UI with…]]></title>
            <link>https://medium.com/@salman.faraj06/a-comprehensive-guide-to-using-the-typescript-based-trending-component-library-aceternity-ui-with-50618402b91b?source=rss-80817284ea8b------2</link>
            <guid isPermaLink="false">https://medium.com/p/50618402b91b</guid>
            <dc:creator><![CDATA[Salman Faraj]]></dc:creator>
            <pubDate>Sun, 31 Mar 2024 15:27:47 GMT</pubDate>
            <atom:updated>2024-03-31T15:27:47.821Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Comprehensive Guide to Using the TypeScript-Based Trending Component Library Aceternity UI with React.js and Vite</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lj_GIgNGbipZI__aICEz2g.png" /></figure><p>The world of web development is a constant dance of innovation. New libraries and frameworks emerge, promising to streamline development and elevate UI and UX. Among these is Aceternity UI, a TypeScript-based component library that’s gaining attention with its focus on smooth animations and 3D components.</p><p>This guide will show you how to use Aceternity UI on React.js. We’ll walk you through everything, step-by-step, from setting up your project to using Aceternity UI’s components and working with TypeScript annotations. By the end, you’ll be able to use Aceternity UI to build awesome React apps!</p><ol><li>Create a New React Project with Vite:</li></ol><p>Begin by initializing a new React project using Vite. Create a new folder and open the terminal, navigate to your folder and execute the following command:</p><pre>npm create vite@latest</pre><p>2. Set Up Tailwind CSS:</p><p>After creating your React project with Vite, the next step is to integrate Tailwind CSS. Refer to the Tailwind CSS documentation for additional configurations.</p><pre><br>npm install -D tailwindcss postcss autoprefixer<br>npx tailwindcss init -p<br><br></pre><p>3. Custom Tailwind Configuration for Aceternity UI:</p><p>Copy and paste the following code into your tailwind.config.js file:</p><pre>/** @type {import(&#39;tailwindcss&#39;).Config} */<br>import defaultTheme from &quot;tailwindcss/defaultTheme&quot;;<br>import colors from &quot;tailwindcss/colors&quot;;<br>import flattenColorPalette from &quot;tailwindcss/lib/util/flattenColorPalette&quot;;<br>module.exports = {<br>  content: [<br>    &quot;./app/**/*.{js,ts,jsx,tsx,mdx}&quot;,<br>    &quot;./pages/**/*.{js,ts,jsx,tsx,mdx}&quot;,<br>    &quot;./components/**/*.{js,ts,jsx,tsx,mdx}&quot;,<br>    &quot;./src/**/*.{js,ts,jsx,tsx,mdx}&quot;,<br>  ],<br>  darkMode: &quot;class&quot;,<br>  theme: {<br>    extend: {},<br>  },<br>  plugins: [addVariablesForColors],<br>  <br>};<br><br><br>function addVariablesForColors({ addBase, theme }) {<br>  let allColors = flattenColorPalette(theme(&quot;colors&quot;));<br>  let newVars = Object.fromEntries(<br>    Object.entries(allColors).map(([key, val]) =&gt; [`--${key}`, val])<br>  );<br><br>  addBase({<br>    &quot;:root&quot;: newVars,<br>  });<br>}</pre><p>4. Setting Up Utilities:</p><p>Create a utils folder under the src directory. Inside this folder, add a new file named cn.js (src/utils/cn.js) and paste the following code:</p><pre>import {clsx} from &quot;clsx&quot;;<br>import {twMerge} from &quot;tailwind-merge&quot;;<br><br>export function cn(...inputs) {<br>    return twMerge(clsx(inputs));<br>}</pre><p>5. Organizing and Implementing the Components:</p><p>Next, create a components folder under the src directory. Inside this components folder, create a subfolder named ui. This is where we&#39;ll store the source code for the Aceternity UI components.</p><p><strong>Let’s illustrate how to integrate one of the Aceternity UI components, the Sticky Scroll Reveal.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-Bjqz5G9eHq8kZAV793RVA.png" /></figure><p>Copy the provided TypeScript-based component code, paste the code into ChatGPT or any other generative AI tool you prefer and ask to remove all TypeScript annotations and convert the code to regular React JSX syntax. Once ChatGPT provides the converted code, review it to ensure accuracy. Then, you can use the converted React JSX code in your project.</p><p>Create a file named sticky-scroll-reveal.jsx within the ui folder and paste the code into it. Make sure to update the file path to</p><pre>import { cn } from &quot;../../utils/cn&quot;;</pre><p>Next, create a new folder inside the components directory and give it any name you prefer. This folder will contain the child components of your components. You can access the code for these components by clicking the code button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qp4ttUoa4eURFQXmmtgd3g.png" /></figure><p>Copy the provided code and paste it into a new .jsx file within the designated folder; this component will be called from App.jsx, and remember to convert any TypeScript annotations if present.</p><p>I named the file as scroll.jsx, and the code will look something like this:</p><pre>import React from &quot;react&quot;;<br>import { StickyScroll } from &quot;../ui/sticky-scroll-reveal&quot;;<br><br>const content = [<br>  {<br>    title: &quot;Collaborative Editing&quot;,<br>    description:<br>      &quot;Work together in real time with your team, clients, and stakeholders. Collaborate on documents, share ideas, and make decisions quickly. With our platform, you can streamline your workflow and increase productivity.&quot;,<br>    content: (<br>      &lt;div className=&quot;h-full w-full bg-[linear-gradient(to_bottom_right,var(--cyan-500),var(--emerald-500))] flex items-center justify-center text-white&quot;&gt;<br>        Collaborative Editing<br>      &lt;/div&gt;<br>    ),<br>  },<br>  {<br>    title: &quot;Real time changes&quot;,<br>    description:<br>      &quot;See changes as they happen. With our platform, you can track every modification in real time. No more confusion about the latest version of your project. Say goodbye to the chaos of version control and embrace the simplicity of real-time updates.&quot;,<br>    content: (<br>      &lt;div className=&quot;h-full w-full  flex items-center justify-center text-white&quot;&gt;<br>        &lt;img<br>          src=&quot;/linear.webp&quot;<br>          width={300}<br>          height={300}<br>          className=&quot;h-full w-full object-cover&quot;<br>          alt=&quot;linear board demo&quot;<br>        /&gt;<br>      &lt;/div&gt;<br>    ),<br>  },<br>  {<br>    title: &quot;Version control&quot;,<br>    description:<br>      &quot;Experience real-time updates and never stress about version control again. Our platform ensures that you&#39;re always working on the most recent version of your project, eliminating the need for constant manual updates. Stay in the loop, keep your team aligned, and maintain the flow of your work without any interruptions.&quot;,<br>    content: (<br>      &lt;div className=&quot;h-full w-full bg-[linear-gradient(to_bottom_right,var(--orange-500),var(--yellow-500))] flex items-center justify-center text-white&quot;&gt;<br>        Version control<br>      &lt;/div&gt;<br>    ),<br>  },<br>  {<br>    title: &quot;Running out of content&quot;,<br>    description:<br>      &quot;Experience real-time updates and never stress about version control again. Our platform ensures that you&#39;re always working on the most recent version of your project, eliminating the need for constant manual updates. Stay in the loop, keep your team aligned, and maintain the flow of your work without any interruptions.&quot;,<br>    content: (<br>      &lt;div className=&quot;h-full w-full bg-[linear-gradient(to_bottom_right,var(--cyan-500),var(--emerald-500))] flex items-center justify-center text-white&quot;&gt;<br>        Running out of content<br>      &lt;/div&gt;<br>    ),<br>  },<br>];<br>function StickyScrollRevealDemo() {<br>  return (<br>    &lt;div className=&quot;p-10 &quot;&gt;<br>      &lt;StickyScroll content={content} /&gt;<br>    &lt;/div&gt;<br>  );<br>}<br><br>export default StickyScrollRevealDemo;</pre><p>6. Integrating the StickyScroll Component in App.jsx</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qkoeMaQZDSNt2CzPSsdRGQ.png" /></figure><p>7. Install the Dependencies and Run the Application</p><p>Run the following command in your terminal:</p><pre>npm i framer-motion clsx tailwind-merge<br>npm run dev</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qWjxX2auDv3wnY0Ew9R1sw.png" /></figure><p>By following these steps, you’ll have successfully installed the required dependencies and launched your React.js application integrated with Aceternity UI components</p><p>Remember, you can follow these same steps to integrate any other Aceternity UI component into your project. Experiment, customize, and explore the vast possibilities offered by Aceternity UI to enhance the functionality and aesthetics of your web applications.</p><p><a href="https://twitter.com/hashtag/framermotion">#framermotion</a> <a href="https://twitter.com/hashtag/nextjs">#nextjs</a> <a href="https://twitter.com/hashtag/tailwindcss">#tailwindcss</a> <a href="https://twitter.com/hashtag/techinnovation">#techinnovation</a> <a href="https://ui.aceternity.com/">https://ui.aceternity.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50618402b91b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>