<?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 Didier Sampaolo on Medium]]></title>
        <description><![CDATA[Stories by Didier Sampaolo on Medium]]></description>
        <link>https://medium.com/@dsampaolo?source=rss-97a41eab146c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*arH75gqnSvv_dP-uR5XqmQ.jpeg</url>
            <title>Stories by Didier Sampaolo on Medium</title>
            <link>https://medium.com/@dsampaolo?source=rss-97a41eab146c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 04:44:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dsampaolo/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[OpenAI Just Released a Practical Guide to Building Agents]]></title>
            <link>https://medium.com/@dsampaolo/openai-just-released-a-practical-guide-to-building-agents-59e9749167b2?source=rss-97a41eab146c------2</link>
            <guid isPermaLink="false">https://medium.com/p/59e9749167b2</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[lvl-up]]></category>
            <dc:creator><![CDATA[Didier Sampaolo]]></dc:creator>
            <pubDate>Wed, 23 Apr 2025 12:10:14 GMT</pubDate>
            <atom:updated>2025-04-23T12:10:34.810Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Translated from French — </em><a href="https://www.lvlup.fr/blog/openai-guide-pratique-agents"><em>Original article</em></a><em> by Didier Sampaolo, Founder &amp; CTO of </em><a href="https://lvlup.fr/"><em>LVLUP</em></a></p><p>OpenAI recently published a PDF titled <strong>“A Practical Guide to Building Agents”</strong>, which lays out a clear, structured approach to developing LLM-powered agents — especially within the OpenAI ecosystem. The document is a great starting point, with solid technical foundations and practical considerations, although the examples remain quite simple. Still, it’s a useful reference to kick off or structure your first agent-related projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MOM_IU7TUsj-mKrBs4SlWg.png" /></figure><h3>What Is an Agent, According to OpenAI?</h3><p>In OpenAI’s framework, an agent is an autonomous system that can carry out tasks on behalf of a user — interacting with tools, making decisions, and navigating real environments.</p><p>Unlike a basic chatbot, an agent reasons, acts, reassesses its state, and knows when to stop or escalate back to a human.</p><p>In practice, an agent:</p><ul><li>Makes decisions using reasoning loops like ReAct or Chain-of-Thought.</li><li>Calls external tools (APIs, internal functions).</li><li>Can learn from mistakes — or at least attempt self-correction.</li><li>Passes control back to the user when uncertain or stuck.</li></ul><p>It’s autonomous — but not magical.</p><p>You have to manage expectations. Agents rely on LLMs, which are powerful but fallible. You need to define what they’re supposed to do, what tools they’re allowed to use, and where their boundaries are. The guide makes this very clear: agents need precise instructions, robust guardrails, and the ability to fail gracefully.</p><h3>A Key Distinction: Model ≠ Agent</h3><p>The guide reminds us to <strong>separate the agent from the LLM</strong> that powers it.</p><p>The <strong>agent</strong> is the logic, the controller, the decision engine.<br> The <strong>model</strong> is a component — powerful, but swappable.</p><p>This distinction is crucial. It helps future-proof your architecture and lets you optimize cost and performance by selecting the right model for the right job.</p><h3>Operational Questions to Ask</h3><p>While the concept might seem abstract, the framework helps structure real-world use cases. Ask yourself:</p><ul><li>What should the agent do?</li><li>Which tools can it access?</li><li>What does success look like?</li><li>When should a human step back in?</li></ul><p>👉 The agent isn’t just a tool — it’s a <strong>participant in a system</strong>.</p><h3>When Is an Agent the Right Choice?</h3><p>The guide highlights three situations where classic automation struggles, and agents can shine:</p><ol><li><strong>Complex decision-making</strong></li><li><strong>Hard-to-maintain business rules</strong></li><li><strong>Unstructured input</strong> (natural language, documents, tickets, etc.)</li></ol><p>Agents thrive in gray areas — where traditional workflows break down under ambiguity or constant change.</p><p>But they come with trade-offs: uncertainty, error margins, and oversight requirements.</p><h3>Don’t Agentify Everything</h3><p>A key takeaway: <strong>not everything needs to be an agent</strong>.</p><p>If a task is simple, repetitive, or mission-critical, stick to standard automation. Agents are best where exceptions dominate the rulebook and humans are overloaded.</p><p>Often, the smart move is to <strong>augment</strong> existing systems — not replace them.</p><h3>Core Components of an Agent</h3><p>OpenAI outlines three essential components:</p><ol><li><strong>The Model</strong> — the LLM that reasons, interprets, and outputs.</li><li><strong>The Tools</strong> — APIs, databases, scripts the agent can act on.</li><li><strong>The Instructions</strong> — clear directives, constraints, and tone.</li></ol><p>👉 Think of an agent as:<br> 🧠 Brain (model)<br> 🛠️ Hands (tools)<br> 📜 Mission (instructions)</p><p>The balance between the three is what makes an agent stable and useful.</p><h3>Orchestrating Agents: Single vs Multi-Agent Systems</h3><p>There are two main architectures:</p><h3>1. The Single Agent</h3><p>A simple, all-in-one agent handling everything.</p><p>✅ Easy to build<br> ⚠️ Harder to scale or debug</p><h3>2. Multi-Agent Systems</h3><p>Specialized agents collaborating — either with a central manager, or through distributed communication.</p><p>✅ Modular, reusable, parallel<br> ⚠️ More complex to manage</p><p>👉 Architecture is a <strong>product decision</strong>, not just a technical one.</p><h3>Inter-Agent Communication: Google’s A2A Protocol</h3><p>Google’s A2A protocol (Agent-to-Agent) aims to standardize communication between agents from different frameworks. It introduces:</p><ul><li>A public agent.json file</li><li>HTTP server for agent methods</li><li>Structured messaging and task updates</li><li>Streaming or push notifications</li></ul><p>🔗 <a href="https://github.com/">Check out A2A on GitHub</a></p><p>This is early-stage, but promising — like REST or GraphQL were for APIs.</p><h3>Guardrails and Security</h3><p>Autonomous agents can cause real damage if left unchecked.</p><p>The guide emphasizes <strong>defensive design</strong>:</p><ul><li><strong>Content filters</strong> (moderation APIs)</li><li><strong>PII detection</strong></li><li><strong>Tool risk scoring</strong></li><li><strong>Output format validation</strong></li><li><strong>Full logging</strong></li><li><strong>Human-in-the-loop supervision</strong></li></ul><p>A good agent fails safely and predictably — not silently and catastrophically.</p><h3>Best Practices for Building Agents</h3><p>The final part of the guide includes solid engineering tips:</p><ul><li><strong>Start with powerful models</strong> to prototype</li><li><strong>Write precise, testable instructions</strong></li><li><strong>Build modular, reusable tools</strong></li><li><strong>Stack multiple guardrails</strong></li><li><strong>Test edge cases extensively</strong></li><li><strong>Version everything</strong>: instructions, tools, behavior</li><li><strong>Validate with real users</strong></li><li><strong>Deploy progressively</strong> (canary, A/B)</li></ul><p>👉 In short: <strong>treat agents like real software systems</strong>. With structure, logs, tests, and governance.</p><h3>Final Thoughts</h3><p>Agents aren’t hype — they’re a real opportunity to solve <strong>messy, complex problems</strong> where traditional automation falls short.</p><p>At <a href="https://lvlup.fr/">LVLUP</a>, we design <strong>usable, auditable, business-aligned agents</strong>. Whether you’re exploring, prototyping, or scaling up — we can help you level up.</p><p>📬 <em>Want to talk about building your first agent? Just drop me a line: didier@lvlup.fr</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59e9749167b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>