<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://mankind-technologies.github.io/ai-agent-patterns/blog</id>
    <title>AI Agent Patterns Blog</title>
    <updated>2024-01-01T00:00:00.000Z</updated>
    <generator>https://github.com/jpmonette/feed</generator>
    <link rel="alternate" href="https://mankind-technologies.github.io/ai-agent-patterns/blog"/>
    <subtitle>AI Agent Patterns Blog</subtitle>
    <icon>https://mankind-technologies.github.io/ai-agent-patterns/img/favicon.ico</icon>
    <entry>
        <title type="html"><![CDATA[Welcome to AI Agent Patterns]]></title>
        <id>https://mankind-technologies.github.io/ai-agent-patterns/blog/welcome</id>
        <link href="https://mankind-technologies.github.io/ai-agent-patterns/blog/welcome"/>
        <updated>2024-01-01T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[We're excited to launch AI Agent Patterns - a comprehensive collection of proven patterns for building AI agents that work in production environments.]]></summary>
        <content type="html"><![CDATA[<p>We're excited to launch <strong>AI Agent Patterns</strong> - a comprehensive collection of proven patterns for building AI agents that work in production environments.</p>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="why-ai-agent-patterns">Why AI Agent Patterns?<a href="https://mankind-technologies.github.io/ai-agent-patterns/blog/welcome#why-ai-agent-patterns" class="hash-link" aria-label="Direct link to Why AI Agent Patterns?" title="Direct link to Why AI Agent Patterns?">​</a></h2>
<p>Building AI agents is complex. Developers face challenges like:</p>
<ul>
<li><strong>Cost Control</strong>: How do you prevent runaway expenses from expensive tools?</li>
<li><strong>Reliability</strong>: What happens when tools fail or are unavailable?</li>
<li><strong>Performance</strong>: How do you balance speed, accuracy, and resource usage?</li>
<li><strong>Scalability</strong>: How do you build agents that work at scale?</li>
</ul>
<p>AI Agent Patterns provides battle-tested solutions to these challenges.</p>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="whats-included">What's Included<a href="https://mankind-technologies.github.io/ai-agent-patterns/blog/welcome#whats-included" class="hash-link" aria-label="Direct link to What's Included" title="Direct link to What's Included">​</a></h2>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="-comprehensive-documentation">📚 <strong>Comprehensive Documentation</strong><a href="https://mankind-technologies.github.io/ai-agent-patterns/blog/welcome#-comprehensive-documentation" class="hash-link" aria-label="Direct link to -comprehensive-documentation" title="Direct link to -comprehensive-documentation">​</a></h3>
<p>Each pattern includes:</p>
<ul>
<li>Clear problem statement</li>
<li>Detailed solution explanation</li>
<li>Working code examples</li>
<li>Real-world use cases</li>
<li>Best practices and pitfalls to avoid</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="-multi-library-support">🔧 <strong>Multi-Library Support</strong><a href="https://mankind-technologies.github.io/ai-agent-patterns/blog/welcome#-multi-library-support" class="hash-link" aria-label="Direct link to -multi-library-support" title="Direct link to -multi-library-support">​</a></h3>
<p>All patterns work across popular AI agent frameworks:</p>
<ul>
<li>OpenAI Agent SDK (TypeScript)</li>
<li>OpenAI Agent SDK (Python)</li>
<li>Pydantic AI</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_LWe7" id="-production-ready">🚀 <strong>Production Ready</strong><a href="https://mankind-technologies.github.io/ai-agent-patterns/blog/welcome#-production-ready" class="hash-link" aria-label="Direct link to -production-ready" title="Direct link to -production-ready">​</a></h3>
<p>Every pattern is:</p>
<ul>
<li>Tested in real applications</li>
<li>Designed for scalability</li>
<li>Includes monitoring considerations</li>
<li>Provides configuration options</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="featured-pattern-tool-budget">Featured Pattern: Tool Budget<a href="https://mankind-technologies.github.io/ai-agent-patterns/blog/welcome#featured-pattern-tool-budget" class="hash-link" aria-label="Direct link to Featured Pattern: Tool Budget" title="Direct link to Featured Pattern: Tool Budget">​</a></h2>
<p>Our first pattern, <strong>Tool Budget</strong>, addresses one of the most common challenges in AI agent development: controlling costs.</p>
<div class="language-typescript codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-typescript codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token keyword module" style="color:#00009f">import</span><span class="token plain"> </span><span class="token imports punctuation" style="color:#393A34">{</span><span class="token imports"> budget </span><span class="token imports punctuation" style="color:#393A34">}</span><span class="token plain"> </span><span class="token keyword module" style="color:#00009f">from</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">'./patterns/tool-budget'</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token keyword" style="color:#00009f">const</span><span class="token plain"> expensiveTool </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">budget</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">webScrapingTool</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"> </span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  maxTimes</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">3</span><span class="token plain"> </span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic">// Agent automatically learns to use the tool strategically</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg viewBox="0 0 24 24" class="copyButtonIcon_y97N"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg viewBox="0 0 24 24" class="copyButtonSuccessIcon_LjdS"><path fill="currentColor" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div>
<p>The pattern provides:</p>
<ul>
<li>Hard limits on expensive operations</li>
<li>Clear feedback to agents and users</li>
<li>Graceful degradation when limits are reached</li>
<li>Strategic decision-making capabilities</li>
</ul>
<p><a href="https://mankind-technologies.github.io/ai-agent-patterns/docs/patterns/tool-budget">Learn more about the Tool Budget Pattern →</a></p>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="whats-next">What's Next<a href="https://mankind-technologies.github.io/ai-agent-patterns/blog/welcome#whats-next" class="hash-link" aria-label="Direct link to What's Next" title="Direct link to What's Next">​</a></h2>
<p>What's next is what is next.</p>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="community--contributing">Community &amp; Contributing<a href="https://mankind-technologies.github.io/ai-agent-patterns/blog/welcome#community--contributing" class="hash-link" aria-label="Direct link to Community &amp; Contributing" title="Direct link to Community &amp; Contributing">​</a></h2>
<p>This project is open-source and community-driven. We welcome:</p>
<ul>
<li><strong>Bug Reports</strong>: Found an issue? Let us know!</li>
<li><strong>Feature Requests</strong>: Have an idea for a new pattern?</li>
<li><strong>Contributions</strong>: Share your own proven patterns</li>
<li><strong>Documentation</strong>: Help improve our examples and guides</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="getting-started">Getting Started<a href="https://mankind-technologies.github.io/ai-agent-patterns/blog/welcome#getting-started" class="hash-link" aria-label="Direct link to Getting Started" title="Direct link to Getting Started">​</a></h2>
<p>Ready to implement your first AI agent pattern?</p>
<ol>
<li><a href="https://mankind-technologies.github.io/ai-agent-patterns/docs/patterns/overview">Browse our patterns</a> based on your use case</li>
<li><a href="https://mankind-technologies.github.io/ai-agent-patterns/docs/patterns/tool-budget">Start with the Tool Budget Pattern</a></li>
<li><a href="https://mankind-technologies.github.io/ai-agent-patterns/docs/patterns/tool-budget">Explore working examples</a></li>
<li><a href="https://github.com/ai-agent-patterns/ai-agent-patterns" target="_blank" rel="noopener noreferrer">Join our community</a></li>
</ol>
<p>We're excited to see what you build with these patterns!</p>
<hr>
<p><em>Follow us for updates on new patterns and features. Have questions? Join our community discussions!</em></p>]]></content>
        <author>
            <name>AI Agent Patterns Team</name>
            <uri>https://github.com/ai-agent-patterns</uri>
        </author>
        <category label="ai" term="ai"/>
        <category label="agents" term="agents"/>
        <category label="patterns" term="patterns"/>
        <category label="announcement" term="announcement"/>
    </entry>
</feed>