<?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"><channel><title><![CDATA[Isha Tech Insights.]]></title><description><![CDATA[Isha Tech Insights.]]></description><link>https://isha-tech-insightshashnodedev.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 22:49:28 GMT</lastBuildDate><atom:link href="https://isha-tech-insightshashnodedev.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Playwright API Testing with TypeScript: A Beginner's Step-by-Step Guide]]></title><description><![CDATA[Learn Playwright API testing with TypeScript: set up a project, write GET and POST tests, check JSON responses and run reports in one framework.]]></description><link>https://isha-tech-insightshashnodedev.hashnode.dev/playwright-api-testing-with-typescript-a-beginner-s-step-by-step-guide</link><guid isPermaLink="true">https://isha-tech-insightshashnodedev.hashnode.dev/playwright-api-testing-with-typescript-a-beginner-s-step-by-step-guide</guid><category><![CDATA[playwright]]></category><category><![CDATA[API TESTING]]></category><category><![CDATA[TypeScript]]></category><category><![CDATA[Testing]]></category><category><![CDATA[automation]]></category><dc:creator><![CDATA[Isha Kumar Gupta]]></dc:creator><pubDate>Mon, 30 Nov 2026 08:02:55 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af458ce33970aecd3027325/b979e436-3f0d-4aee-b5d9-7bb5c931c66d.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Most testers know Playwright as a browser automation tool. But Playwright can also test <strong>APIs</strong>, with no browser, no Postman and no extra library. You can keep UI tests and API tests in one framework, in one language, with one report.</p>
<p>In this tutorial you'll set up Playwright and write your first API tests in TypeScript: GET, POST, checking the response body, and using a base URL.</p>
<h2>What you'll need</h2>
<ul>
<li><strong>Node.js</strong> (version 18 or later)</li>
<li><strong>VS Code</strong> (or any code editor)</li>
<li>Basic JavaScript or TypeScript knowledge</li>
</ul>
<p>We'll use the free practice API <strong>JSONPlaceholder</strong> (<code>https://jsonplaceholder.typicode.com</code>), so you don't need your own backend.</p>
<h2>Step 1: Create a Playwright project</h2>
<p>Open a terminal in an empty folder and run:</p>
<pre><code class="language-bash">npm init playwright@latest
</code></pre>
<p>Choose <strong>TypeScript</strong> when asked, and accept the defaults. Playwright creates a <code>tests</code> folder and a <code>playwright.config.ts</code> file.</p>
<h2>Step 2: Set a base URL</h2>
<p>Open <code>playwright.config.ts</code> and add a <code>baseURL</code> inside <code>use</code>, so you don't repeat the full address in every test:</p>
<pre><code class="language-ts">import { defineConfig } from '@playwright/test';

export default defineConfig({
  use: {
    baseURL: 'https://jsonplaceholder.typicode.com',
    extraHTTPHeaders: {
      Accept: 'application/json',
    },
  },
});
</code></pre>
<blockquote>
<p>Keep any other settings Playwright generated (like <code>projects</code> and <code>reporter</code>). Just add the <code>baseURL</code> and <code>extraHTTPHeaders</code> lines inside <code>use</code>.</p>
</blockquote>
<h2>Step 3: Write your first GET test</h2>
<p>Create a file <code>tests/api.spec.ts</code>:</p>
<pre><code class="language-ts">import { test, expect } from '@playwright/test';

test('GET a user returns 200 and correct data', async ({ request }) =&gt; {
  const response = await request.get('/users/1');

  expect(response.status()).toBe(200);

  const user = await response.json();
  expect(user).toHaveProperty('id', 1);
  expect(user.email).toContain('@');
});
</code></pre>
<p>The <code>request</code> fixture is Playwright's built-in HTTP client. It sends real API calls, with no browser involved.</p>
<h2>Step 4: Test a POST request</h2>
<p>Add a second test to the same file:</p>
<pre><code class="language-ts">test('POST creates a new post', async ({ request }) =&gt; {
  const response = await request.post('/posts', {
    data: {
      title: 'Learning Playwright API testing',
      body: 'API tests without Postman',
      userId: 1,
    },
  });

  expect(response.status()).toBe(201);

  const post = await response.json();
  expect(post.title).toBe('Learning Playwright API testing');
  expect(post).toHaveProperty('id');
});
</code></pre>
<blockquote>
<p>JSONPlaceholder is a fake API: it returns a success response but doesn't really save the data. That's perfect for practice.</p>
</blockquote>
<h2>Step 5: Check a list response</h2>
<p>APIs often return arrays. Here's how to check one:</p>
<pre><code class="language-ts">test('GET posts for a user returns a list', async ({ request }) =&gt; {
  const response = await request.get('/posts', {
    params: { userId: 1 },
  });

  expect(response.ok()).toBeTruthy();

  const posts = await response.json();
  expect(Array.isArray(posts)).toBe(true);
  expect(posts.length).toBeGreaterThan(0);

  for (const post of posts) {
    expect(post.userId).toBe(1);
  }
});
</code></pre>
<p><code>params</code> adds query parameters for you, so this calls <code>/posts?userId=1</code>.</p>
<h2>Step 6: Run the tests</h2>
<pre><code class="language-bash">npx playwright test tests/api.spec.ts
</code></pre>
<p>To see the HTML report:</p>
<pre><code class="language-bash">npx playwright show-report
</code></pre>
<p>You'll see each API test with its pass or fail status, the same way your UI tests are reported.</p>
<h2>Why use Playwright for API testing?</h2>
<ul>
<li><strong>One framework</strong> for UI and API tests: less setup, one report.</li>
<li><strong>Faster test setup:</strong> create test data through an API, then check it in the UI.</li>
<li><strong>CI/CD friendly:</strong> runs in Jenkins, GitHub Actions or Azure DevOps like any Playwright test.</li>
<li><strong>TypeScript support:</strong> autocomplete and type checks in VS Code.</li>
</ul>
<h2>What to learn next</h2>
<p>Once you're comfortable with these basics, try:</p>
<ol>
<li>Sending <strong>authentication headers</strong> (Bearer tokens)</li>
<li>Testing <strong>PUT, PATCH and DELETE</strong> requests</li>
<li><strong>Combining API and UI steps</strong> in one test: create data with an API call, then verify it on screen</li>
<li>Adding API tests to a <strong>CI/CD pipeline</strong></li>
<li>Using <strong>AI tools</strong> to generate test cases faster</li>
</ol>
<h2>Learn Playwright with live training</h2>
<p>If you want to go further, Isha Training Solutions runs live, hands-on <a href="https://ishatrainingsolutions.org/playwright-with-javascript-typescript.html"><strong>Playwright automation training with JavaScript and TypeScript</strong></a>, covering UI and API testing, the page object model, reporting, CI/CD and AI-assisted test creation, taught by working automation engineers.</p>
<p>You can also join a <a href="https://ishatrainingsolutions.org/events/"><strong>free live demo class</strong></a> to meet the trainer first.</p>
<p>📞 Call or WhatsApp: +91-9133190573</p>
]]></content:encoded></item><item><title><![CDATA[Build Your First MCP Server in Python: Connect Claude to Your Own Tools]]></title><description><![CDATA[A beginner-friendly, step-by-step guide to the Model Context Protocol, with working code]]></description><link>https://isha-tech-insightshashnodedev.hashnode.dev/build-your-first-mcp-server-in-python-connect-claude-to-your-own-tools</link><guid isPermaLink="true">https://isha-tech-insightshashnodedev.hashnode.dev/build-your-first-mcp-server-in-python-connect-claude-to-your-own-tools</guid><dc:creator><![CDATA[Isha Kumar Gupta]]></dc:creator><pubDate>Thu, 26 Nov 2026 10:37:40 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af458ce33970aecd3027325/6b0929d6-58fd-422c-8d2c-a2f0bf8cd109.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>AI assistants are great at answering questions, but out of the box they can't see <em>your</em> data or use <em>your</em> tools. That's the problem the <strong>Model Context Protocol (MCP)</strong> solves.</p>
<p>In this guide, we'll build a small MCP server in Python that gives Claude two new abilities: searching a course catalog and fetching course details. It takes about 15 minutes.</p>
<h2>What is MCP, in simple words?</h2>
<p>MCP is an open standard that lets AI applications connect to external tools and data in a consistent way.</p>
<p>Think of it like a <strong>USB port for AI</strong>:</p>
<ul>
<li>Your <strong>MCP server</strong> exposes tools (functions) and data.</li>
<li>An <strong>MCP client</strong> (for example, Claude Desktop or an AI coding tool) connects to it.</li>
<li>The AI decides when to call your tools, based on the user's question.</li>
</ul>
<p>You write the tool once, and any MCP-compatible app can use it.</p>
<h2>What we'll build</h2>
<p>A "course catalog" MCP server with two tools:</p>
<ol>
<li><code>search_courses(keyword)</code>: find courses matching a keyword</li>
<li><code>get_course_details(course_id)</code>: return details for one course</li>
</ol>
<h2>Prerequisites</h2>
<ul>
<li>Python 3.10 or later</li>
<li>Claude Desktop (to test the server with a real AI client)</li>
</ul>
<h2>Step 1: Install the MCP Python SDK</h2>
<pre><code class="language-bash">pip install "mcp[cli]"
</code></pre>
<h2>Step 2: Write the server</h2>
<p>Create a file called <code>server.py</code>:</p>
<pre><code class="language-python">from mcp.server.fastmcp import FastMCP

mcp = FastMCP("course-catalog")

# Sample data. In a real project this could come from a database or an API.
COURSES = {
    "fde-101": {
        "title": "Forward Deployed Engineering",
        "topics": ["Python", "FastAPI", "RAG", "AI agents", "Docker"],
        "duration_hours": 40,
    },
    "llm-test-201": {
        "title": "AI &amp; LLM Testing",
        "topics": ["LLM evaluation", "hallucination testing", "prompt injection", "pytest"],
        "duration_hours": 30,
    },
    "pw-301": {
        "title": "Playwright Automation",
        "topics": ["Playwright", "TypeScript", "API testing", "CI/CD"],
        "duration_hours": 30,
    },
}


@mcp.tool()
def search_courses(keyword: str) -&gt; str:
    """Search the course catalog by keyword in the title or topics."""
    keyword = keyword.lower()
    matches = []
    for course_id, course in COURSES.items():
        text = (course["title"] + " " + " ".join(course["topics"])).lower()
        if keyword in text:
            matches.append(f"{course_id}: {course['title']}")
    return "\n".join(matches) if matches else "No matching courses found."


@mcp.tool()
def get_course_details(course_id: str) -&gt; str:
    """Get the full details of a course by its ID, e.g. 'fde-101'."""
    course = COURSES.get(course_id)
    if course is None:
        return f"No course found with ID '{course_id}'."
    topics = ", ".join(course["topics"])
    return (
        f"{course['title']}\n"
        f"Topics: {topics}\n"
        f"Duration: {course['duration_hours']} hours"
    )


if __name__ == "__main__":
    mcp.run()
</code></pre>
<p><strong>What's happening here:</strong></p>
<ul>
<li><code>FastMCP("course-catalog")</code> creates the server and gives it a name.</li>
<li><code>@mcp.tool()</code> turns a normal Python function into a tool the AI can call.</li>
<li>The <strong>docstring</strong> matters: the AI reads it to decide <em>when</em> to use the tool. Write it clearly.</li>
<li><strong>Type hints</strong> (<code>keyword: str</code>) tell the AI what inputs the tool expects.</li>
</ul>
<h2>Step 3: Test it with the MCP Inspector</h2>
<p>Before connecting a real AI client, test your tools in the browser-based inspector:</p>
<pre><code class="language-bash">mcp dev server.py
</code></pre>
<p>Open the link it prints, click <strong>Tools</strong>, choose <code>search_courses</code>, enter <code>testing</code>, and run it. You should see the AI &amp; LLM Testing course in the result.</p>
<h2>Step 4: Connect it to Claude Desktop</h2>
<p>Open Claude Desktop's config file:</p>
<ul>
<li><strong>Windows:</strong> <code>%APPDATA%\Claude\claude_desktop_config.json</code></li>
<li><strong>macOS:</strong> <code>~/Library/Application Support/Claude/claude_desktop_config.json</code></li>
</ul>
<p>Add your server (use the <strong>full path</strong> to <code>server.py</code>):</p>
<pre><code class="language-json">{
  "mcpServers": {
    "course-catalog": {
      "command": "python",
      "args": ["C:/projects/mcp-demo/server.py"]
    }
  }
}
</code></pre>
<p>Restart Claude Desktop. Now try asking:</p>
<blockquote>
<p>"Which courses cover RAG? Give me the details of the best match."</p>
</blockquote>
<p>Claude will call <code>search_courses</code>, then <code>get_course_details</code>, and answer using <strong>your</strong> data.</p>
<h2>Common problems and fixes</h2>
<table>
<thead>
<tr>
<th>Problem</th>
<th>Fix</th>
</tr>
</thead>
<tbody><tr>
<td>Server doesn't appear in Claude Desktop</td>
<td>Check the JSON is valid and the path is the full, absolute path, then restart the app</td>
</tr>
<tr>
<td><code>python</code> not found</td>
<td>Use the full path to your Python executable in <code>"command"</code></td>
</tr>
<tr>
<td>Tool is never called</td>
<td>Improve the docstring so it clearly says what the tool does and when to use it</td>
</tr>
</tbody></table>
<h2>Where to go from here</h2>
<p>Once this works, you can:</p>
<ul>
<li>Replace the sample dictionary with a <strong>real database</strong> or REST API</li>
<li>Add tools that <strong>take actions</strong>, such as creating a ticket or sending a notification (add confirmation steps for anything risky)</li>
<li>Expose <strong>resources</strong> (read-only data like documents) alongside tools</li>
<li>Combine MCP with <strong>RAG</strong> so the AI can search your documents</li>
</ul>
<h2>Conclusion</h2>
<p>MCP turns your existing Python functions into tools any compatible AI assistant can use, with very little code. It's quickly becoming a core skill for AI engineers, Forward Deployed Engineers and anyone building AI features into real products.</p>
<hr />
<p><em>I work at Isha Training Solutions, where we teach building with Claude (API, tool use and MCP) in live online batches, including prep for Anthropic's Claude Certified Developer – Foundations exam:</em> <a href="https://ishatrainingsolutions.org/courses/claude-certified-developer-foundations-ccdv-f-live-training/"><em>https://ishatrainingsolutions.org/courses/claude-certified-developer-foundations-ccdv-f-live-training/</em></a></p>
]]></content:encoded></item><item><title><![CDATA[Forward Deployed Engineer (FDE): Role, Skills and Roadmap for 2026]]></title><description><![CDATA[Forward Deployed Engineer (FDE) is one of the fastest-growing job titles in AI. Here is what the role means, the skills you need, and how to get started…]]></description><link>https://isha-tech-insightshashnodedev.hashnode.dev/forward-deployed-engineer-fde-role-skills-and-roadmap-for-2026</link><guid isPermaLink="true">https://isha-tech-insightshashnodedev.hashnode.dev/forward-deployed-engineer-fde-role-skills-and-roadmap-for-2026</guid><dc:creator><![CDATA[Isha Kumar Gupta]]></dc:creator><pubDate>Wed, 18 Nov 2026 12:49:26 GMT</pubDate><content:encoded><![CDATA[<p><strong>Forward Deployed Engineer (FDE)</strong> is one of the fastest-growing job titles in AI. Here is what the role means, the skills you need, and how to get started.</p>
<h2><u>What Is a Forward Deployed Engineer?</u></h2>
<p>An FDE is a software engineer who works directly with customers to solve a real business problem, builds the solution, and deploys it in the customer's environment.</p>
<p>It combines three roles in one:</p>
<ul>
<li><strong>Developer</strong>: writes production code</li>
<li><strong>Consultant</strong>: understands the customer's problem</li>
<li><strong>DevOps engineer</strong>: deploys and supports the solution</li>
</ul>
<p>The title was made famous by Palantir. Today, AI companies and enterprises adopting AI hire FDEs to turn AI demos into working business systems.</p>
<h2><u>Why Is the FDE Role in Demand?</u></h2>
<p>Most companies want to use Generative AI but get stuck after the proof of concept. FDEs close that gap. They connect AI to company data, build reliable AI agents, test the output, and deploy it safely to production.</p>
<h2><u>Key Skills for an FDE</u></h2>
<table>
<thead>
<tr>
<th>Skill area</th>
<th>What to learn</th>
</tr>
</thead>
<tbody><tr>
<td>Programming</td>
<td>Python, FastAPI, Streamlit</td>
</tr>
<tr>
<td>AI basics</td>
<td>LLMs, prompt engineering</td>
</tr>
<tr>
<td>Company data</td>
<td>RAG, embeddings, vector databases</td>
</tr>
<tr>
<td>AI agents</td>
<td>LangChain, LangGraph, MCP</td>
</tr>
<tr>
<td>Quality and safety</td>
<td>DeepEval, RAGAS, Promptfoo, guardrails</td>
</tr>
<tr>
<td>Deployment</td>
<td>Docker, CI/CD, Azure cloud</td>
</tr>
<tr>
<td>Soft skills</td>
<td>Customer communication, problem solving</td>
</tr>
</tbody></table>
<h2><u>5-Step Roadmap to Become an FDE</u></h2>
<ol>
<li><strong>Learn Python and APIs.</strong> Build a few small FastAPI apps.</li>
<li><strong>Understand LLMs.</strong> Call an LLM API and practise prompt writing.</li>
<li><strong>Build a RAG app.</strong> Let users ask questions about a set of PDFs.</li>
<li><strong>Build an AI agent.</strong> Give it tools using LangChain or LangGraph.</li>
<li><strong>Deploy it.</strong> Use Docker, CI/CD and the cloud, then write it up as a portfolio project.</li>
</ol>
<h2><u>Who Can Become an FDE?</u></h2>
<p>Software developers, QA and automation testers with coding skills, DevOps and cloud engineers, and data professionals can all move into FDE roles. Testers have an extra advantage, because checking AI quality is a big part of the job.</p>
<h2><u>Learn FDE with Live Training</u></h2>
<p><a href="https://ishatrainingsolutions.org/">Isha Training Solutions</a> offers the <a href="https://ishatrainingsolutions.org/courses/forward-deployed-engineering-fde-building-practical-ai-applications-live-training/"><strong>Forward Deployed Engineer (FDE) Master Programme – Live Training</strong></a>, covering LLMs, RAG, AI agents, MCP, FastAPI, Docker, CI/CD, Azure deployment and AI evaluation.</p>
<ul>
<li>35+ hours of live, instructor-led training</li>
<li>1-year access to recordings</li>
<li>Hands-on, end-to-end projects</li>
<li>Course completion certificate</li>
<li>Free demo session available</li>
</ul>
<h2><u>FAQs</u></h2>
<p><strong>Do I need a machine learning background?</strong> No. FDEs mostly use existing AI models. Python, APIs and problem-solving matter more.</p>
<p><strong>Can a tester become an FDE?</strong> Yes. Learn Python first, then follow the roadmap above.</p>
<p><strong>How long does it take?</strong> With coding experience and a structured course, many professionals become job-ready in two to four months.</p>
<h2><u>Final Thoughts</u></h2>
<p>The FDE role sits where business needs meet AI, and demand is growing fast. Start with one end-to-end AI project, or <a href="https://ishatrainingsolutions.org/courses/forward-deployed-engineering-fde-building-practical-ai-applications-live-training/">book a free demo of our FDE Master Programme</a> to learn it hands-on.</p>
]]></content:encoded></item><item><title><![CDATA[AI Agent Engineering: A Practical Guide to Building Intelligent AI Agents with Python, LLMs, and MCP]]></title><description><![CDATA[Artificial Intelligence is evolving beyond traditional chatbots. AI agents can understand instructions, use external tools, interact with APIs, and…]]></description><link>https://isha-tech-insightshashnodedev.hashnode.dev/ai-agent-engineering-a-practical-guide-to-building-intelligent-ai-agents-with-python-llms-and-mcp</link><guid isPermaLink="true">https://isha-tech-insightshashnodedev.hashnode.dev/ai-agent-engineering-a-practical-guide-to-building-intelligent-ai-agents-with-python-llms-and-mcp</guid><dc:creator><![CDATA[Isha Kumar Gupta]]></dc:creator><pubDate>Wed, 11 Nov 2026 12:31:28 GMT</pubDate><content:encoded><![CDATA[<p>Artificial Intelligence is evolving beyond traditional chatbots. AI agents can understand instructions, use external tools, interact with APIs, and automate complex workflows.</p>
<h2>What Is AI Agent Engineering?</h2>
<p>AI Agent Engineering involves building intelligent applications using Large Language Models (LLMs), Python, APIs, tools, memory, and orchestration frameworks.</p>
<p>Unlike traditional chatbots, AI agents can perform multi-step tasks and interact with external systems.</p>
<h2>Key Technologies</h2>
<p>Some important technologies used in AI agent development include:</p>
<ul>
<li><strong>Python:</strong> Core programming language for AI development.</li>
<li><strong>LLMs:</strong> Power intelligent reasoning and language processing.</li>
<li><strong>LangChain:</strong> Helps develop LLM-powered applications.</li>
<li><strong>MCP:</strong> Connects AI applications with external tools and data.</li>
<li><strong>RAG:</strong> Enables applications to retrieve relevant information.</li>
<li><strong>FastAPI:</strong> Builds backend services and APIs.</li>
<li><strong>Docker:</strong> Supports application deployment.</li>
</ul>
<h2>Applications of AI Agents</h2>
<p>AI agents can be used for:</p>
<ul>
<li>Software development and code analysis.</li>
<li>Automated software testing.</li>
<li>Customer support automation.</li>
<li>Business process automation.</li>
<li>Data analysis and research.</li>
<li>Intelligent enterprise applications.</li>
</ul>
<h2>Skills to Become an AI Agent Engineer</h2>
<p>Start by learning Python, REST APIs, LLM integration, prompt engineering, LangChain, MCP, RAG, and application deployment.</p>
<p>Building practical projects is the best way to develop these skills.</p>
<h2>Learn AI Agents Engineering</h2>
<p>Want to develop practical AI agent development skills?</p>
<p>Explore the <a href="https://ishatrainingsolutions.org/courses/ai-agents-engineering-course-live-training/">AI Agents Engineering Course at Isha Training Solutions</a>.</p>
<p>Visit <a href="https://ishatrainingsolutions.org/">Isha Training Solutions</a> for more training programs in AI, Generative AI, automation testing, and performance engineering.</p>
<h2>Conclusion</h2>
<p>AI Agent Engineering is an exciting area of modern software development. Learning how to combine Python, LLMs, MCP, and RAG can help developers build intelligent applications that solve real-world problems.</p>
]]></content:encoded></item></channel></rss>