{"slug": "from-zero-to-a-hosted-agent-install-the-foundry-dev-pack-and-ship-your-first-one", "title": "From Zero to a Hosted Agent: Install the Foundry Dev Pack and Ship Your First One", "summary": "Microsoft released the Foundry Dev Pack as generally available on November 18, a single install that bundles the Azure Developer CLI AI extension, the Foundry VS Code Toolkit, the Foundry Skill for coding agents, and Foundry Canvas, all sharing the same project files. The pack is free to install via winget, Homebrew or a curl script, but hosted agents run on Azure, so users need a subscription, a Foundry project with a deployed model, and regional model quota. A basic Python Agent Framework sample can be scaffolded, provisioned, run locally with the Agent Inspector, and deployed to Foundry Agent Service using azd ai agent commands.", "body_md": "Microsoft Ignite 2026 wraps up today, and the announcement I keep coming back to isn't a keynote demo — it's a setup tool. On November 18, Microsoft made the Foundry Dev Pack generally available: one install that puts the Microsoft Foundry developer tools on your machine.\n\nIf you've been following this week, you know the pattern: Tuesday I shared the free Learn path for building agents with Foundry. The Dev Pack is the step before that path — the part that usually eats an afternoon of installs and version mismatches.\n\nThe Dev Pack bundles four things, and they share the same project files, so you can move between them without starting over:\n\n`azd ai`)` azure.yaml`.\nTwo honest boundaries from Microsoft's own announcement: the pack doesn't install VS Code or the GitHub Copilot app themselves, and it doesn't install a programming language — you still need Python (3.13 or later for the samples) on your machine.\n\nWindows (PowerShell or terminal):\n\n```\nwinget install Microsoft.FoundryDevPack\n```\n\nmacOS:\n\n```\nbrew install --cask microsoft/foundry/devpack && foundry-devpack install\n```\n\nLinux:\n\n```\ncurl -fsSL https://aka.ms/foundry-devpack-install.sh | bash\n```\n\nThat's the whole setup. One command, then you're building instead of configuring.\n\nThe tools are free to install, but the agent itself runs on Azure, so be clear-eyed about the rest: you need an Azure subscription (students can start with the free Azure for Students offer), a Foundry project with a deployed model, and model quota in your region. Provisioning and model usage incur Azure charges — start local, deploy when you're ready, and check the cost in `azure.yaml` before you provision.\n\nMicrosoft's own walkthrough uses the basic Python Agent Framework sample. From an empty folder:\n\n```\nazd auth login\nazd ai agent init --template https://github.com/microsoft-foundry/foundry-samples/blob/main/samples/python/hosted-agents/agent-framework/responses/01-basic/azure.yaml --deploy-mode code --src .\nazd provision\nazd ai agent run\nazd ai agent invoke --local \"Write a haiku about deploying cloud applications.\"\nazd deploy\n```\n\nWhat each step does: `init` scaffolds the sample and writes the project config; `provision` creates the Azure resources declared in `azure.yaml` (review that file first — it declares the model deployment and resources you're about to create); `run` starts the agent locally and opens the Agent Inspector in your browser so you can chat with it; `invoke --local` sends it a prompt from the terminal; `deploy` packages your code and ships it to Foundry Agent Service as a hosted agent. After deploying, `azd ai agent invoke` (without --local) talks to the hosted version, `azd ai agent monitor --follow` streams its logs, and `azd ai agent doctor` diagnoses setup and permission problems.\n\nThis is the part I like most: the tools share project files. Scaffold the sample in the terminal, open the same folder in VS Code and debug it with F5 and the Agent Inspector, or hand the same project to your coding agent with the Foundry Skill and ask it to add a tool. Nothing to re-create, nothing to reconfigure.\n\nIf you're not sure where to start, start in the terminal — the commands above are the shortest path to a running agent. If you prefer a visual flow, the VS Code Toolkit is the same project with buttons. And if you want to design before you code, Foundry Canvas in the Copilot app is the guided route.\n\nOnce the sample is running, the next step is the hosted-agent quickstart on Microsoft Learn — it walks the same flow in full detail, including the Python SDK and .NET paths: [https://learn.microsoft.com/azure/foundry/agents/quickstarts/quickstart-hosted-agent?pivots=azd&wt.mc_id=studentamb_616890](https://learn.microsoft.com/azure/foundry/agents/quickstarts/quickstart-hosted-agent?pivots=azd&wt.mc_id=studentamb_616890)\n\nAnd if you want the concepts behind the commands, the free Learn path on developing AI agents with Foundry is still the best next read: [https://learn.microsoft.com/training/paths/develop-ai-agents-azure/?wt.mc_id=studentamb_616890](https://learn.microsoft.com/training/paths/develop-ai-agents-azure/?wt.mc_id=studentamb_616890)\n\nSetup was the boring part of building agents. As of this week, it's one command. The interesting part — what your agent actually does — is now the only hard bit left.\n\nWhat would you build first?", "url": "https://wpnews.pro/news/from-zero-to-a-hosted-agent-install-the-foundry-dev-pack-and-ship-your-first-one", "canonical_source": "https://dev.to/atrx07/from-zero-to-a-hosted-agent-install-the-foundry-dev-pack-and-ship-your-first-one-12g5", "published_at": "2026-11-20 01:38:00+00:00", "updated_at": "2026-11-20 01:43:00.954606+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-products"], "entities": ["Microsoft", "Microsoft Foundry", "Foundry Dev Pack", "Azure Developer CLI", "VS Code", "GitHub Copilot", "Foundry Agent Service", "Microsoft Ignite"], "also_reported_by": [], "takeaway": "The Foundry Dev Pack installs azd ai, the VS Code Toolkit, the Foundry Skill and Foundry Canvas against one shared project, so a single azd ai agent init/provision/run/deploy flow takes a Python 3.13+ sample from an empty folder to a hosted agent on Foundry Agent Service.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/from-zero-to-a-hosted-agent-install-the-foundry-dev-pack-and-ship-your-first-one", "markdown": "https://wpnews.pro/news/from-zero-to-a-hosted-agent-install-the-foundry-dev-pack-and-ship-your-first-one.md", "text": "https://wpnews.pro/news/from-zero-to-a-hosted-agent-install-the-foundry-dev-pack-and-ship-your-first-one.txt", "jsonld": "https://wpnews.pro/news/from-zero-to-a-hosted-agent-install-the-foundry-dev-pack-and-ship-your-first-one.jsonld"}}