<?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 Zeynep Kose on Medium]]></title>
        <description><![CDATA[Stories by Zeynep Kose on Medium]]></description>
        <link>https://medium.com/@zeynep.developer?source=rss-e911e553b423------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qacGxErPiuFi6iNv5prISg.jpeg</url>
            <title>Stories by Zeynep Kose on Medium</title>
            <link>https://medium.com/@zeynep.developer?source=rss-e911e553b423------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 18:19:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zeynep.developer/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[How LLM Evaluation Differs from Traditional ML Testing]]></title>
            <link>https://medium.com/@zeynep.developer/how-llm-evaluation-differs-from-traditional-ml-testing-2014d5d19f8c?source=rss-e911e553b423------2</link>
            <guid isPermaLink="false">https://medium.com/p/2014d5d19f8c</guid>
            <dc:creator><![CDATA[Zeynep Kose]]></dc:creator>
            <pubDate>Mon, 07 Jul 2025 17:10:38 GMT</pubDate>
            <atom:updated>2025-07-07T17:10:38.136Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Why tracing, evals, and guardrails are the foundation of real-world AI products</em></blockquote><p>If you’re building with large language models (LLMs), understanding how to evaluate them isn’t optional — it’s essential. And no, it’s not the same as evaluating traditional machine learning models.</p><p>Let me walk you through it, the same way I’d explain it live.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JjId2huZLiREm0k_uV_ORg.png" /></figure><h3>1. ML Evals Are Static, LLM Evals Are Open-Ended</h3><p>In traditional ML, you train on one part of a static dataset and evaluate on another. You track metrics like accuracy or loss. Clean, numeric, deterministic.</p><p>With LLMs? Totally different game.</p><p>You’re not looking for one “correct” answer — you’re dealing with language. That means a <em>range</em> of valid outputs. Tone, style, factuality, helpfulness — these all matter.</p><p><strong>TL;DR:</strong> Traditional ML cares about correctness. LLM evals care about usefulness.</p><h3>2. LLMs Require Human Judgment — Sometimes From Other LLMs</h3><p>In classical ML, everything is measured automatically. You write the test, the system passes or fails. Done.</p><p>LLMs? Not so simple.</p><p>We often use <em>human-in-the-loop</em> evaluation to judge whether an answer is helpful, respectful, insightful, etc. Sometimes we even use another model as a judge — what we call <strong>LLM-as-a-judge</strong>.</p><p>It’s subjective. It’s messy. But it’s closer to what users actually care about.</p><h3>3. ML Evals Are Model-Centric. LLM Evals Are User-Centric.</h3><p>ML benchmarks like MMLU or HELM are great — but they’re designed to test the model <em>in isolation</em>.</p><p>But LLMs today are live in production. They’re talking directly to users, writing code, drafting emails, assisting agents. They’re not R&amp;D anymore — they’re features.</p><p>This shift means your evaluation has to consider <strong>real usage data</strong> and <strong>user experience</strong>.</p><p>One researcher put it perfectly:</p><blockquote><em>“You have to think of LLMs like DevOps problems now, not just research problems.”</em></blockquote><h3>4. Tracing Is Where Evaluation Starts</h3><p>Before you can evaluate anything, you have to understand what’s happening under the hood.</p><p>That’s where <strong>tracing</strong> comes in.</p><p>Tracing tools (like LangSmith or OpenAI’s built-in trace viewer) let you inspect the raw inputs and outputs:</p><ul><li>What was the actual prompt?</li><li>What context was included?</li><li>What did the model respond with?</li><li>How long did it take?</li><li>How many tokens did it use?</li></ul><p>Without this, you’re just guessing why something failed. With tracing, you get visibility — and that informs what you should be measuring in your evals.</p><h3>5. Guardrails Enforce Policy, In Real-Time</h3><p>Finally, let’s talk <strong>guardrails</strong>.</p><p>LLMs are powerful — but they’re unpredictable. Guardrails are like runtime safety nets:</p><ul><li>Block harmful or off-topic responses</li><li>Enforce tone or factuality rules</li><li>Add structure or validation to outputs</li></ul><p>And you can integrate them directly into your testing and CI workflows.</p><p>Think of them as unit tests for behavior.</p><h3>Real Example: ChatGPT Got Too Agreeable</h3><p>OpenAI once pushed an update to ChatGPT that made it overly agreeable. It started telling users “you’re right!” — even when they were clearly wrong.</p><p>Why?</p><p>Because the model had been trained using RLHF — reinforcement learning from human feedback — and testers tend to upvote responses that agree with them.</p><p>The result? A polite, agreeable assistant… that stopped thinking critically.</p><p>OpenAI rolled it back — fast.</p><p>The lesson? <strong>You have to measure the right things, not just popular things.</strong></p><h3>Final Thoughts: You’re Not Building a Demo. You’re Building a Product.</h3><p>If you’re working with LLMs, stop thinking like you’re training a model.</p><p>Start thinking like you’re shipping a user-facing feature.</p><p>That means:</p><ul><li>You need <strong>tracing</strong> to see what’s really going on</li><li>You need <strong>evals</strong> to define what “good” means for your users</li><li>You need <strong>guardrails</strong> to protect your product</li></ul><p>If you can measure it, you can improve it.<br> If you can trace it, you can fix it.<br> If you can guard it, you can trust it.</p><p>Let’s build something real.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2014d5d19f8c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Why MCPs (Model Context Protocol) are a Game-Changer for Agent Ecosystems]]></title>
            <link>https://medium.com/@zeynep.developer/why-mcps-model-context-protocol-are-a-game-changer-for-agent-ecosystems-d161fc124624?source=rss-e911e553b423------2</link>
            <guid isPermaLink="false">https://medium.com/p/d161fc124624</guid>
            <dc:creator><![CDATA[Zeynep Kose]]></dc:creator>
            <pubDate>Sun, 29 Jun 2025 18:45:44 GMT</pubDate>
            <atom:updated>2025-06-29T18:45:44.017Z</atom:updated>
            <content:encoded><![CDATA[<p>As we scale up agent-based applications, we quickly realize a recurring pain: <strong>too many integrations</strong>, built over and over again — Stripe, Notion, Jira, Gmail, you name it.</p><p>Here’s the issue:</p><ul><li>Every agent needs tools.</li><li>Every tool is often a handcrafted integration.</li><li>Multiply that by every agent in your system → You get the classic <strong>M × N problem</strong>.</li></ul><p>At first, we tried giving agents OpenAPI specs — after all, that’s how humans work with APIs. But OpenAPI docs are:</p><ul><li>Too detailed 🧱</li><li>Too long ⏳</li><li>Built for human filtering, not LLM reasoning 🧠</li></ul><p>Agents don’t skim. They read <strong>everything</strong> in their context window — which is limited and expensive. This leads to inefficiency and poor decisions.</p><p>💡 That’s where <strong>MCP servers</strong> come in.</p><p>Instead of flooding agents with raw APIs, MCPs expose <strong>curated tools</strong>, described in natural language, with clear instructions and use cases. They let agents discover and invoke just what they need — when they need it.</p><p>In this model:</p><ul><li><strong>Your app acts as a host application</strong>, which connects your agent to external capabilities through MCP.</li><li>MCP clients connect to external MCP servers</li><li>Agents can access and reason over tools directly, as part of their context window.</li><li><strong>MCP clients allow agents to dynamically discover available tools — no static prompt engineering required.</strong></li></ul><p>Think of it like plug-and-play capabilities for AI. No more hardcoding integrations into every agent. Just compose workflows with modular tools, exposed cleanly by MCPs.</p><p>This is context management done right. It’s efficient, scalable, and designed with agent-first principles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ObUYeREOz0DxXsfx" /></figure><p>This diagram shows how an agent, running inside a <strong>host application</strong> (like Cursor or a Next.js app), connects to external tools using <strong>MCP (Model Context Protocol)</strong>.</p><ul><li>The <strong>agent</strong> uses <strong>MCP clients</strong> to discover and call tools hosted on <strong>MCP servers</strong>.</li><li>Each client connects to one server and exposes tools in natural language — not raw APIs.</li><li>This setup lets agents reason and act without hardcoded integrations.</li></ul><p>📌 <strong>Note:</strong><br>Apps like Cursor are <strong>hosts</strong>, not clients. MCP clients are lightweight connectors inside the host.</p><p>#AI #Agents #MCP #LLM #DeveloperTools #OpenAI #ContextManagement #IntegrationStrategy #DevInfra</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d161fc124624" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>