<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/azure-developer-cli-azd-run-and-test-ai-agents-locally-with-azd-1prgvqwuk" -->

---
title: Azure Developer CLI (azd): Run and test AI agents...
description: The Azure Developer CLI (azd) now supports running and testing AI agents locally via two new commands in the azure.ai.agents extension (v0.1.14-preview). `azd...
canonical: https://daily.dev/posts/azure-developer-cli-azd-run-and-test-ai-agents-locally-with-azd-1prgvqwuk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Azure Developer CLI (azd): Run and test AI agents locally with azd | daily.dev
og:description: The Azure Developer CLI (azd) now supports running and testing AI agents locally via two new commands in the azure.ai.agents extension (v0.1.14-preview). `azd...
og:url: https://daily.dev/posts/azure-developer-cli-azd-run-and-test-ai-agents-locally-with-azd-1prgvqwuk
og:image: https://api.daily.dev/og/posts/1prgvqWuk.png
og:image:alt: Azure Developer CLI (azd): Run and test AI agents locally with azd
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Azure Developer CLI (azd): Run and test AI agents locally with azd

**[DevBlogs](https://daily.dev/sources/devblogs)** · 2 min read · 3 upvotes · 0 comments

## Summary

The Azure Developer CLI (azd) now supports running and testing AI agents locally via two new commands in the azure.ai.agents extension (v0.1.14-preview). `azd ai agent run` starts an agent locally with automatic dependency detection for Python, Node.js, and other project types. `azd ai agent invoke` sends messages to either a local or remote Azure AI Foundry agent endpoint. Session identifiers persist across invocations for multi-turn conversations, keeping the entire development loop in the terminal without needing to switch to a cloud portal.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devblogs.microsoft.com/azure-sdk/azd-ai-agent-run-invoke>

## Similar posts on daily.dev

- [Microsoft Foundry extension for Azure Developer CLI is generally available](https://daily.dev/posts/microsoft-foundry-extension-for-azure-developer-cli-is-generally-available-lqbrnbmp1) · DevBlogs · 1 upvotes · 0 comments
- [Azure Developer CLI \(azd\) July 2026](https://daily.dev/posts/azure-developer-cli-azd-july-2026-vf7bbu4ha) · DevBlogs · 0 upvotes · 0 comments
- [From code to cloud: Deploy an AI agent to Microsoft Foundry in minutes with azd](https://daily.dev/posts/from-code-to-cloud-deploy-an-ai-agent-to-microsoft-foundry-in-minutes-with-azd-68bdbsc0i) · DevBlogs · 1 upvotes · 0 comments
- [Agents CLI in Agent Platform: create to production in one CLI](https://daily.dev/posts/agents-cli-in-agent-platform-create-to-production-in-one-cli-ys15owrhx) · Google Developers · 0 upvotes · 0 comments
- [agents-cli: Ship AI agents on Google Cloud, driven by your coding agent](https://daily.dev/posts/agents-cli-ship-ai-agents-on-google-cloud-driven-by-your-coding-agent-td6gxadns) · Product Hunt · 5 upvotes · 0 comments

---

Tags: [#azure](https://daily.dev/tags/azure), [#ai-agents](https://daily.dev/tags/ai-agents)

[View this post on daily.dev](https://daily.dev/posts/azure-developer-cli-azd-run-and-test-ai-agents-locally-with-azd-1prgvqwuk)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Azure Developer CLI (azd): Run and test AI agents locally with azd","url":"https://daily.dev/posts/azure-developer-cli-azd-run-and-test-ai-agents-locally-with-azd-1prgvqwuk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/azure-developer-cli-azd-run-and-test-ai-agents-locally-with-azd-1prgvqwuk"},"datePublished":"2026-03-20T02:50:10.295Z","dateModified":"2026-03-20T02:50:34.014Z","description":"The Azure Developer CLI (azd) now supports running and testing AI agents locally via two new commands in the azure.ai.agents extension (v0.1.14-preview). `azd...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b1eeb1e181de2bb1e068052eacc79fa8?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b1eeb1e181de2bb1e068052eacc79fa8?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"DevBlogs","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"DevBlogs","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/8f68b453325f482ebeb73fb780092713","url":"https://daily.dev/sources/devblogs"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/azure-developer-cli-azd-run-and-test-ai-agents-locally-with-azd-1prgvqwuk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"azure,ai-agents","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DevBlogs","item":"https://daily.dev/sources/devblogs"},{"@type":"ListItem","position":3,"name":"Azure Developer CLI (azd): Run and test AI agents locally with azd"}]}
```

