azure-ai-agents-persistent-dotnet

Create and manage persistent Azure AI agents with threads, messages, and tools in .NET.

2.9k|323|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/microsoft/skills --skill azure-ai-agents-persistent-dotnet-microsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-ai-agents-persistent-dotnet
Source: https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-dotnet/skills/azure-ai-agents-persistent-dotnet
Command: npx skills add https://github.com/microsoft/skills --skill azure-ai-agents-persistent-dotnet-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Azure AI Agents Persistent SDK for .NET provides a low-level interface to create and manage persistent agents with threads, messages, runs, and tools. It enables programmatic agent orchestration across conversations, workflow execution, and tool integration.

Core Features & Use Cases

  • Create and administer PersistentAgentsClient-based agents to handle multi-turn conversations with structured tooling
  • Manage agent lifecycle components: Administration, Threads, Messages, Runs, Files, and VectorStores
  • Support function calling, file search, vector storage, and streaming updates for dynamic agent behavior
  • Typical scenarios include building tutoring assistants, code copilots, and workflow automations that persist state across sessions

Quick Start

Create a new Persistent Agent using your model deployment and start a thread to begin conversations.

Frequently Asked Questions about azure-ai-agents-persistent-dotnet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build persistent agents in .NET that maintain state across sessions?

You build persistent agents in .NET by using the PersistentAgentsClient to create agents, threads, and messages. This orchestrates multi-turn conversations and workflow execution while maintaining state across sessions.

Can I integrate vector stores and function calling into a .NET AI agent?

Yes, you can integrate vector stores and function calling into a .NET AI agent. The SDK supports structured tooling including file search, vector storage, and function calls to enable dynamic agent behavior.

What is the best way to manage multi-turn conversations with an AI assistant in C#?

The best way to manage multi-turn conversations in C# is through the agent lifecycle components: Threads and Messages. These allow you to structure, persist, and retrieve conversational context across runs.

Do I need Azure AI Agents to run workflows with file search in a dotnet application?

You need Azure AI Agents to run workflows with file search in a dotnet application if you require persistent state and low-level orchestration. It provides the administration, run, and file management components needed.

How do I stream updates for an AI agent run in C#?

You stream updates for an AI agent run in C# by using the SDK's streaming updates feature. This provides real-time, dynamic feedback during agent execution and workflow processing.