<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: isaac</title>
    <description>The latest articles on DEV Community by isaac (@gtesei).</description>
    <link>https://dev.to/gtesei</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3930355%2F030fed05-c0c1-433d-bc6c-8ed7743881d4.jpeg</url>
      <title>DEV Community: isaac</title>
      <link>https://dev.to/gtesei</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gtesei"/>
    <language>en</language>
    <item>
      <title>I sketched 29 agentic AI design patterns in a Da Vinci–style notebook (open source)</title>
      <dc:creator>isaac</dc:creator>
      <pubDate>Sun, 31 May 2026 20:56:18 +0000</pubDate>
      <link>https://dev.to/gtesei/i-sketched-29-agentic-ai-design-patterns-in-a-da-vinci-style-notebook-open-source-14o7</link>
      <guid>https://dev.to/gtesei/i-sketched-29-agentic-ai-design-patterns-in-a-da-vinci-style-notebook-open-source-14o7</guid>
      <description>&lt;p&gt;Spent the weekend turning every pattern in my agentic_design_patterns repo into a hand-drawn style diagram, using a sepia/parchment “bozza-scientifica” aesthetic — closer to a Leonardo da Vinci notebook page than a typical slide-style flowchart.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/gtesei/agentic_design_patterns" rel="noopener noreferrer"&gt;https://github.com/gtesei/agentic_design_patterns&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Curious to hear feedback. &lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>marmaid</category>
      <category>agents</category>
    </item>
    <item>
      <title>Turning OpenAPI Specs into Runtime LLM Tools in Pi</title>
      <dc:creator>isaac</dc:creator>
      <pubDate>Thu, 14 May 2026 03:12:34 +0000</pubDate>
      <link>https://dev.to/gtesei/turning-openapi-specs-into-runtime-llm-tools-in-pi-6n9</link>
      <guid>https://dev.to/gtesei/turning-openapi-specs-into-runtime-llm-tools-in-pi-6n9</guid>
      <description>&lt;p&gt;I built &lt;a href="https://github.com/gtesei/pi-openapi-tools?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;pi-openapi-tools&lt;/a&gt; — a Pi extension that ingests an OpenAPI/Swagger spec and dynamically registers one callable tool per API operation.&lt;/p&gt;

&lt;p&gt;Instead of hand-writing wrappers for every endpoint, you point Pi at a spec URL and immediately start calling generated tools.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;npm: &lt;a href="https://www.npmjs.com/package/pi-openapi-tools?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;pi-openapi-tools on npm&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Pi package: &lt;a href="https://pi.dev/packages/pi-openapi-tools?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;pi-openapi-tools on Pi&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/gtesei/pi-openapi-tools?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;Repository&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Why I built this&lt;/p&gt;

&lt;p&gt;Most API-agent integrations still require too much manual glue:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;mapping endpoints to functions&lt;/li&gt;
&lt;li&gt;defining parameter schemas&lt;/li&gt;
&lt;li&gt;maintaining naming consistency&lt;/li&gt;
&lt;li&gt;wiring auth/token handling&lt;/li&gt;
&lt;li&gt;repeating the same setup for every API&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That friction slows experimentation and makes agent tooling brittle.&lt;/p&gt;

&lt;p&gt;I wanted a runtime-first workflow:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;spec → generated tools → live API calls&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;What the extension does&lt;/p&gt;

&lt;p&gt;Given an OpenAPI or Swagger URL, pi-openapi-tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;generates one Pi tool per operation&lt;/li&gt;
&lt;li&gt;supports Swagger 2.0 and OpenAPI 3.x&lt;/li&gt;
&lt;li&gt;builds structured parameter schemas automatically&lt;/li&gt;
&lt;li&gt;resolves request bodies by declared media/content type&lt;/li&gt;
&lt;li&gt;handles path, query, and header parameters&lt;/li&gt;
&lt;li&gt;adds slash commands for managing generated toolsets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;prefix-scoped registrations (&lt;code&gt;/swagger-tools:list-prefixes&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;prefix cleanup (&lt;code&gt;/swagger-tools:remove-prefix&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;tool inspection (&lt;code&gt;/swagger-tools:describe&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;token/auth helpers (&lt;code&gt;/swagger-tools:auth&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;60-second quickstart&lt;/p&gt;

&lt;p&gt;Install:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pi &lt;span class="nb"&gt;install &lt;/span&gt;npm:pi-openapi-tools
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Generate tools from Petstore:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/swagger-tools https://petstore.swagger.io/v2/swagger.json --prefix pet
/swagger-tools:list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You’ll get generated tools like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;pet_getstoreorderbyid&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;pet_postuser&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;etc.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Implementation details that mattered&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Prefix-scoped additive registration&lt;br&gt;
Multiple API toolsets can coexist cleanly.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Stable naming + collision-safe dedupe&lt;br&gt;
Generated names are sanitized and safely deduplicated.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;No unregister API in Pi? Stub instead.&lt;br&gt;
Removed tools become non-executable guidance stubs rather than silently disappearing.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Content-type-aware serialization&lt;br&gt;
Request body handling follows declared media types (JSON, multipart, urlencoded, text, etc.).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Docs + walkthrough&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tutorial: &lt;a href="https://github.com/gtesei/pi-openapi-tools/blob/main/docs/swagger-petstore-tutorial.md?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;Petstore walkthrough&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Repo: &lt;a href="https://github.com/gtesei/pi-openapi-tools?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;GitHub repository&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;If you try it on large or messy specs, I’d especially love feedback on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;naming ergonomics&lt;/li&gt;
&lt;li&gt;auth edge cases&lt;/li&gt;
&lt;li&gt;request body/media handling&lt;/li&gt;
&lt;li&gt;discoverability in very large APIs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If this is useful, feel free to star the repo and share your API use case.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
