{"slug": "kdnuggets-weekly-roundup-week-of-july-13-2026", "title": "KDnuggets Weekly Roundup: Week of July 13, 2026", "summary": "KDnuggets published its weekly roundup for July 13-17, 2026, featuring articles on Python design patterns, LLM optimization, SQL projects, Git worktrees for AI, structured generation with Outlines, local AI agent frameworks, YouTube channels for AI learning, Gemini CLI tools, free agentic AI resources, and Pi Coding Agents. The roundup highlights practical techniques for reducing LLM latency and costs, building data portfolios, and orchestrating AI agents locally.", "body_md": "# KDnuggets Weekly Roundup: Week of July 13, 2026\n\nStop Using If-Else Chains: Use the Registry Pattern in Python Instead • 5 Real-World SQL Projects to Build Your Data Portfolio • 10 YouTube Channels Keeping You Ahead in AI • Structured Language Model Generation with Outlines\n\n**🐍 Stop Using If-Else Chains: Use the Registry Pattern in Python Instead**\n\nKanwal Mehreen · Python · July 15, 2026\n\nLong conditional chains hinder extensibility in Python by violating the Open/Closed Principle, making code brittle when new options are introduced. The Registry Pattern solves this by replacing hardcoded dispatch logic with a central lookup table where components register themselves dynamically. Implementing this pattern allows system behavior to be driven by configuration, resulting in more maintainable and easily extensible pipelines.\n\n➡️ **12 Ways to Reduce LLM Latency and Inference Costs in Production**\n\nKanwal Mehreen · Language Models · July 14, 2026\n\nReducing LLM latency and inference costs in production requires optimizing workflow design by minimizing token usage, employing model routing for specific tasks, implementing multi-layered caching strategies, and managing context budgets rather than relying solely on larger contexts or aggressive batching.\n\n➡️ **5 Real-World SQL Projects to Build Your Data Portfolio**\n\nAbid Ali Awan · SQL · July 13, 2026\n\nBuilding a strong data portfolio requires executing real-world SQL projects across domains like customer churn, data warehousing, sales analysis, banking segmentation, and healthcare to demonstrate the ability to clean data, model systems, and derive actionable business insights.\n\n➡️ **Git Worktrees for AI Development**\n\nShittu Olumide · Programming · July 17, 2026\n\nGit worktrees provide an essential infrastructure layer that enables multiple AI agents to operate simultaneously on a single repository by creating isolated workspaces, eliminating the risk of file collisions and context loss during parallel development.\n\n➡️ **Structured Language Model Generation with Outlines**\n\nIván Palomares Carrascosa · Language Models · July 13, 2026\n\nThe Outlines library introduces deterministic certainty into LLM output generation by masking syntactically illegal tokens, enabling practitioners to reliably obtain strictly structured outputs like JSON by enforcing specific constraints during inference.\n\n➡️ **7 Python Frameworks for Orchestrating Local AI Agents**\n\nShittu Olumide · Artificial Intelligence · July 15, 2026\n\nSeven Python frameworks provide the necessary orchestration layers for building, coordinating, and running secure, cost-effective AI agents directly on local infrastructure.\n\n➡️ **10 YouTube Channels Keeping You Ahead in AI**\n\nVinod Chugani · Artificial Intelligence · July 16, 2026\n\nA curated selection of ten YouTube channels provides comprehensive, high-quality educational content spanning machine learning theory, deep learning implementation, paper analysis, LLM application development, and industry trend tracking for accelerating professional AI knowledge.\n\n➡️ **Getting Started with Conductor for Gemini CLI**\n\nShittu Olumide · Programming · July 14, 2026\n\nConductor introduces Context-Driven Development to resolve context issues in AI coding by persisting project specifications and architectural context in repository files, enabling agents to generate accurate code based on established project constraints across sessions.\n\n➡️ **5 FREE Resources on Agentic AI**\n\nNahla Davies · Artificial Intelligence · July 17, 2026\n\nA curated set of free resources provides a structured path for practitioners to move beyond building agent demos by integrating hands-on framework experience, theoretical foundations in multi-agent systems, orchestration patterns, and essential evaluation techniques.\n\n➡️ **Working with Pi Coding Agents**\n\nShittu Olumide · Programming · July 16, 2026\n\nPi Coding Agents advocates for a minimalist architectural approach by explicitly documenting the features it omits, arguing that reducing built-in complexity and injected context leads to more efficient and cost-effective agentic workflows.", "url": "https://wpnews.pro/news/kdnuggets-weekly-roundup-week-of-july-13-2026", "canonical_source": "https://www.kdnuggets.com/kdnuggets-weekly-roundup-2026-07-13", "published_at": "2026-07-18 13:00:05+00:00", "updated_at": "2026-07-18 13:32:29.685227+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "ai-agents", "developer-tools", "machine-learning"], "entities": ["KDnuggets", "Kanwal Mehreen", "Abid Ali Awan", "Shittu Olumide", "Iván Palomares Carrascosa", "Vinod Chugani", "Nahla Davies", "Gemini"], "alternates": {"html": "https://wpnews.pro/news/kdnuggets-weekly-roundup-week-of-july-13-2026", "markdown": "https://wpnews.pro/news/kdnuggets-weekly-roundup-week-of-july-13-2026.md", "text": "https://wpnews.pro/news/kdnuggets-weekly-roundup-week-of-july-13-2026.txt", "jsonld": "https://wpnews.pro/news/kdnuggets-weekly-roundup-week-of-july-13-2026.jsonld"}}