Blog & Articles

Insights, tutorials, and best practices from my experience in software development, AI, and cloud technologies

All Posts

How to Build Adaptive Dialog Management in Microsoft Copilot Studio
Microsoft CopilotBlog
May 25, 20266 min read10

How to Build Adaptive Dialog Management in Microsoft Copilot Studio

Building multi-turn agents in Copilot Studio requires treating topics as complex dialogue trees that track variables and handle context changes, rather than treating them as simple intents. While generative answers handle unpredictable user questions well, structured question nodes with entity binding are necessary to track procedural steps like collecting data. To ensure your agent actually works before deployment, look beyond polished text and use multi-turn evaluation tools to verify that back-end tools and systems are executing correctly.

CopilotStudioConversationalAIAIAgents
Read More
How to Build a Copilot Studio Agent From Scratch (Without the Mistakes)
Microsoft CopilotArticle
May 22, 20268 min read53

How to Build a Copilot Studio Agent From Scratch (Without the Mistakes)

Building a custom agent in Copilot Studio looks easy on paper, but the real challenge lies in keeping your knowledge sources focused and keeping conversation topics broad so you don't overcomplicate things. It's best to rely on the built-in LLM for answering general questions, reserving structured topics strictly for actions like creating support tickets. Lastly, don't overlook hidden licensing costs and usage fees, and start with a small, testable prototype before scaling up.

CopilotStudioAIAgentsMicrosoft365
Read More
The Ultimate Guide to Compiling Hugging Face Models for Foundry Local
FoundryArticle
Mar 30, 20266 min read378

The Ultimate Guide to Compiling Hugging Face Models for Foundry Local

I spent a weekend getting Llama-3.2-1B from Hugging Face running on Foundry Local and honestly, it's not just download and go. You need Microsoft's Olive toolkit to convert models to ONNX format, and there are gotchas the docs don't warn you about like the missing inference_model.json that silently breaks everything, or cache directory confusion that'll waste your afternoon. It's more friction than something like llama.cpp, but if you need cross-hardware support on Windows with NPU/GPU/CPU flexibility, this is the proper path to learn.

Foundry LocalHugging Face ModelsONNX Model Optimization
Read More
Building Local-First Web Apps: Integrating the Foundry Local JS/TS SDK
FoundryArticle
Mar 23, 20265 min read403

Building Local-First Web Apps: Integrating the Foundry Local JS/TS SDK

Microsoft's Foundry Local now has a proper JS/TS SDK, and the best part is it uses the same OpenAI SDK pattern you already know — just pointed at localhost instead of the cloud. I've been testing it and for offline apps, privacy-heavy clients, or just saving API costs during development, it's a real time-saver. It's still preview though, model selection is small, and there are rough edges like orphaned processes if your app crashes. My honest take: use it for your dev loop and prototyping, but hold off on shipping it to production until it matures.

Read More
No-Cloud AI: A Beginner’s Roadmap to Foundry Local Development
FoundryArticle
Mar 16, 20264 min read426

No-Cloud AI: A Beginner’s Roadmap to Foundry Local Development

Microsoft quietly dropped Foundry Local, a tool that lets you run AI models right on your machine no Azure account, no API keys, no cloud bills. I've been using it for a few weeks and honestly, the setup is dead simple: one command install, pick a model, and you're chatting in your terminal. It's still in preview and the model catalog is limited, but for local development, air-gapped environments, or just prototyping without cloud headaches, it genuinely fills a gap nobody else was addressing properly.

Microsoft Foundry LocalLocal AI DevelopmentOn-Device LLM
Read More
What are Azure Machine Learning Pipelines? The Backbone of Modern MLOps
FoundryBlog
Mar 9, 20266 min read421

What are Azure Machine Learning Pipelines? The Backbone of Modern MLOps

Azure Machine Learning Pipelines aren't just for running scripts; they’re about turning messy ML workflows into reusable, modular components that actually save you time and money. By caching steps that haven't changed, you stop burning through your Azure budget on redundant data prep, while the component-based setup lets your team work on separate parts without stepping on each other's toes. Just a heads up: make sure you're moving to the v2 SDK now, as the old version is hitting its sunset sooner than you think.

Azure Machine LearningMLOpsPipeline Orchestration
Read More
Training Predictive Models with Azure ML Designer
FoundryArticle
Mar 2, 20265 min read501

Training Predictive Models with Azure ML Designer

Azure ML Designer is a solid entry point for visual learners or teams with zero coding experience, turning complex machine learning pipelines into simple drag-and-drop flowcharts. While it’s fantastic for quick prototypes and explaining models to stakeholders, it quickly hits a wall when you need to handle serious MLOps, version control, or automated retraining. It’s a great teaching tool, but for production-scale projects, you'll likely save more time and money by skipping the canvas and sticking to the Python SDK.

Azure Machine LearningNo-Code MLPredictive Modeling
Read More
The 2026 Guide to the Microsoft Foundry Tool Catalog
FoundryArticle
Feb 23, 20266 min read505

The 2026 Guide to the Microsoft Foundry Tool Catalog

Microsoft’s latest rebrand to "Foundry Tools" might be confusing, but it consolidates heavy hitters like Speech, Document Intelligence, and the new Content Understanding into a single, modular ecosystem. The real value lies in features like Voice Live for low-latency agents and automated PII redaction, though the overlapping capabilities between services can make choosing the right tool a bit of a headache. Just watch your budget closely, those "cheap" individual API calls for translation or data extraction can snowball into a massive monthly bill once you hit production scale.

Microsoft Foundry ToolsAzure AI ServicesDocument Intelligence
Read More
What is Foundry IQ? The Intelligence Layer of the Microsoft Ecosystem
FoundryArticle
Feb 16, 20266 min read459

What is Foundry IQ? The Intelligence Layer of the Microsoft Ecosystem

Microsoft Foundry IQ is essentially a "RAG-in-a-box" service that handles the messy plumbing of enterprise data, like chunking, embedding, and syncing permissions, so you don't have to. Its standout feature is the deep integration with Entra ID and Purview, ensuring your AI agents actually respect document access levels without a custom-built security layer. While it’s a massive time-saver for anyone deep in the Azure ecosystem, keep in mind it’s still in preview, so expect some "new platform" friction before it’s truly production-ready.

Microsoft Foundry IQRAG PipelineEnterprise AI
Read More