<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lua on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/lua/</link><description>Recent content in Lua on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 17 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/lua/index.xml" rel="self" type="application/rss+xml"/><item><title>Your First AI Pack: Understanding .aip Files and Basic Agents</title><link>https://ai-blog.noorshomelab.dev/aipack-guide-2026/first-ai-pack-aip-files/</link><pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/aipack-guide-2026/first-ai-pack-aip-files/</guid><description>&lt;p&gt;Welcome to Chapter 3! If you&amp;rsquo;ve ever wanted to build your own intelligent agent and share it with others, you&amp;rsquo;re in the right place. In this chapter, we&amp;rsquo;re taking the crucial step from setting up our environment to creating our very first AI agent using AIPack.&lt;/p&gt;
&lt;p&gt;This chapter is your hands-on introduction to the core components of AIPack: the &lt;code&gt;.aip&lt;/code&gt; file format and the structure of basic multi-stage markdown agents. We&amp;rsquo;ll start with the simplest possible agent and gradually add more functionality, ensuring you understand each piece before moving on. By the end, you&amp;rsquo;ll not only have a working agent but also a solid mental model for how AIPack organizes and executes AI workflows.&lt;/p&gt;</description></item><item><title>Building Multi-Stage Markdown Agents for Complex Workflows</title><link>https://ai-blog.noorshomelab.dev/aipack-guide-2026/multi-stage-markdown-agents/</link><pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/aipack-guide-2026/multi-stage-markdown-agents/</guid><description>&lt;h2 id="building-multi-stage-markdown-agents-for-complex-workflows"&gt;Building Multi-Stage Markdown Agents for Complex Workflows&lt;/h2&gt;
&lt;p&gt;Welcome back, future AI architect! In the previous chapter, we explored the foundational elements of AIPack and how &lt;code&gt;.aip&lt;/code&gt; files package your AI agents. Now, we&amp;rsquo;re ready to tackle a core challenge in AI agent development: managing complexity.&lt;/p&gt;
&lt;p&gt;Real-world problems rarely have simple, one-step solutions. Imagine an AI agent tasked with reviewing code, fixing bugs, and then writing documentation. Trying to cram all these responsibilities into a single, massive prompt often leads to chaotic outputs, missed steps, and frustrated users. This is where &lt;strong&gt;multi-stage markdown agents&lt;/strong&gt; come in. They allow us to break down a grand challenge into a series of smaller, more manageable steps, just like a seasoned engineer breaks down a large software project.&lt;/p&gt;</description></item><item><title>Adding Logic and Control Flow with Lua in AIPack</title><link>https://ai-blog.noorshomelab.dev/aipack-guide-2026/lua-logic-control-flow/</link><pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/aipack-guide-2026/lua-logic-control-flow/</guid><description>&lt;h2 id="introduction-beyond-static-prompts"&gt;Introduction: Beyond Static Prompts&lt;/h2&gt;
&lt;p&gt;So far, you&amp;rsquo;ve learned how to define multi-stage AI agents using markdown within AIPack. These agents are powerful for sequential tasks, but what happens when your agent needs to make a decision? What if it needs to retry an action or branch its behavior based on an AI model&amp;rsquo;s output or an external condition? Pure markdown, while excellent for prompt templating, lacks the dynamic control flow needed for truly intelligent and resilient agents.&lt;/p&gt;</description></item><item><title>Agent Composition and Reusable Skills: Building Modular Agents</title><link>https://ai-blog.noorshomelab.dev/aipack-guide-2026/agent-composition-reusable-skills/</link><pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/aipack-guide-2026/agent-composition-reusable-skills/</guid><description>&lt;h2 id="from-single-agents-to-orchestrated-intelligence"&gt;From Single Agents to Orchestrated Intelligence&lt;/h2&gt;
&lt;p&gt;Imagine you have an AI agent that&amp;rsquo;s brilliant at writing code, but it struggles with debugging, or another agent that&amp;rsquo;s fantastic at summarizing documents but can&amp;rsquo;t generate new content. In the real world, complex problems rarely fit neatly into a single, isolated task. This is where &lt;strong&gt;agent composition&lt;/strong&gt; comes in – the art of combining multiple specialized AI agents to tackle larger, more intricate challenges.&lt;/p&gt;</description></item><item><title>Context Control and Large Codebases: Managing Agent Memory</title><link>https://ai-blog.noorshomelab.dev/aipack-guide-2026/context-control-large-codebases/</link><pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/aipack-guide-2026/context-control-large-codebases/</guid><description>&lt;h2 id="introduction-the-agents-memory-challenge"&gt;Introduction: The Agent&amp;rsquo;s Memory Challenge&lt;/h2&gt;
&lt;p&gt;Imagine trying to have a productive conversation with someone who constantly forgets what you just said or only remembers a tiny fragment of your shared history. Frustrating, right? This is the core challenge AI agents face: managing their &amp;ldquo;memory&amp;rdquo; or, more technically, their &lt;em&gt;context&lt;/em&gt;. For an AI agent to perform complex tasks, especially within a sprawling project like a large codebase, it needs to access and process relevant information efficiently without getting overwhelmed.&lt;/p&gt;</description></item><item><title>Debugging, Optimization, and Production Readiness for AI Packs</title><link>https://ai-blog.noorshomelab.dev/aipack-guide-2026/debugging-optimization-production/</link><pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/aipack-guide-2026/debugging-optimization-production/</guid><description>&lt;p&gt;Building an AI agent that works perfectly in a controlled environment is one thing. Getting it to reliably perform, handle edge cases, and run efficiently in real-world production workflows? That&amp;rsquo;s where the true engineering challenge begins. This chapter dives into the critical aspects of transforming your experimental AI Packs into robust, production-ready systems.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;ll explore essential debugging techniques, strategies for optimizing agent performance and cost, and best practices for ensuring your agents are stable, observable, and maintainable. By the end of this chapter, you&amp;rsquo;ll have a solid understanding of how to make your AIPack agents resilient enough for daily, mission-critical tasks, preparing them for the demands of large-scale, complex problems.&lt;/p&gt;</description></item><item><title>Best Practices for Building and Sharing Production AI Packs</title><link>https://ai-blog.noorshomelab.dev/aipack-guide-2026/best-practices-production-packs/</link><pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/aipack-guide-2026/best-practices-production-packs/</guid><description>&lt;h2 id="introduction-to-production-ready-ai-packs"&gt;Introduction to Production-Ready AI Packs&lt;/h2&gt;
&lt;p&gt;Moving from an experimental AI agent that works on your local machine to a robust, reliable, and shareable &amp;ldquo;AI Pack&amp;rdquo; ready for production workflows introduces a new set of challenges and considerations. This isn&amp;rsquo;t just about getting an agent to respond; it&amp;rsquo;s about ensuring it performs consistently, handles errors gracefully, is maintainable over time, and can be easily shared and deployed by others.&lt;/p&gt;
&lt;p&gt;In this chapter, we&amp;rsquo;ll dive deep into the best practices that transform your AIPack projects from prototypes into production-grade solutions. We&amp;rsquo;ll cover everything from architectural design patterns to efficient context management, robust error handling, and strategies for effective sharing. By the end, you&amp;rsquo;ll have a clear understanding of how to build AI Packs that stand up to the demands of real-world use cases.&lt;/p&gt;</description></item><item><title>AIPack Zero-to-Mastery Guide</title><link>https://ai-blog.noorshomelab.dev/aipack-guide-2026/</link><pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/aipack-guide-2026/</guid><description>&lt;p&gt;Embark on a comprehensive journey to master AIPack, the cutting-edge platform for AI-assisted software engineering. This guide covers everything from initial setup and configuration to building, deploying, and sharing sophisticated AI Packs for real-world production workflows. Explore AIPack architecture, multi-stage agents, Lua logic, provider integrations, and advanced techniques for debugging, optimization, and agent composition.&lt;/p&gt;</description></item><item><title>AIPack: Building Production-Ready AI Agents</title><link>https://ai-blog.noorshomelab.dev/guides/aipack-zero-to-mastery-guide/</link><pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/guides/aipack-zero-to-mastery-guide/</guid><description>&lt;p&gt;Building reliable and shareable AI agents for real-world production tasks can feel complex. How do you manage agent logic, integrate with various AI models, and ensure your agents can handle intricate, multi-step workflows, especially when dealing with large codebases? This guide introduces you to AIPack, an open-source agentic runtime designed to simplify this entire process.&lt;/p&gt;
&lt;h3 id="why-aipack-matters-for-your-projects"&gt;Why AIPack Matters for Your Projects&lt;/h3&gt;
&lt;p&gt;AIPack provides a structured way to define, execute, and distribute AI agents. It&amp;rsquo;s not just about running prompts; it&amp;rsquo;s about orchestrating sophisticated, multi-stage agent behaviors that can tackle complex problems like automated code generation, intelligent debugging, or even cloud infrastructure management. By using AIPack, you gain:&lt;/p&gt;</description></item></channel></rss>