microsoft/skills✦ 精选0°

azure-ai-agents-persistent-dotnet

仓库创建 2026年1月17日最近提交 20 天前SkillHot 收录 20 天前
▸ 精选理由

适合需要长期会话和状态管理的 agent 开发者。

▸ 风险提示

需要 Azure 订阅和凭据,可能访问外部服务。

这个 Skill 做什么

用于在 .NET 中创建和管理持久化 AI 代理、会话和工具的底层 SDK。

.NET 环境下的低阶 Persistent SDK,用来创建和管理持久化 AI 代理、线程、会话消息、运行记录及工具,支持 streaming 响应、function calling、文件搜索和 code interpreter。适合需要长期会话或多线程代理能力的 .NET 应用或服务端程序。特别之处是提供细粒度的 agent CRUD 与运行控制,并通过包和环境变量与 Azure 服务对接。

▸ 展开 SKILL.md 英文原文

Azure AI Agents Persistent SDK for .NET. Low-level SDK for creating and managing AI agents with threads, messages, runs, and tools. Use for agent CRUD, conversation threads, streaming responses, function calling, file search, and code interpreter. Triggers: "PersistentAgentsClient", "persistent agents", "agent threads", "agent runs", "streaming agents", "function calling agents .NET".

开发编程AzureAgentsDotnet通用
2.7k
Stars
304
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/microsoft/skills/main/.github/plugins/azure-sdk-dotnet/skills/azure-ai-agents-persistent-dotnet/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/microsoft/skills/main/.github/plugins/azure-sdk-dotnet/skills/azure-ai-agents-persistent-dotnet/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Azure.AI.Agents.Persistent (.NET)

Low-level SDK for creating and managing persistent AI agents with threads, messages, runs, and tools.

## Installation

```bash
dotnet add package Azure.AI.Agents.Persistent --prerelease
dotnet add package Azure.Identity
```

**Current Versions**: Stable v1.1.0, Preview v1.2.0-beta.8

## Environment Variables

```bash
PROJECT_ENDPOINT=https://<resource>.services.ai.azure.com/api/projects/<project>  # Required: Azure AI project endpoint
MODEL_DEPLOYMENT_NAME=gpt-4o-mini  # Required: model deployment name
AZURE_BING_CONNECTION_ID=<bing-connection-resource-id>  # Required: Bing connection resource ID
AZURE_AI_SEARCH_CONNECTION_ID=<search-connection-resource-
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有