agent tooling by microsoft
Azure.AI.Agents.Persistent (.NET) microsoft/azure-ai-agents-persistent-dotnet
Azure AI Agents Persistent SDK for .NET. Low-level SDK for creating and managing AI agents with threads, messages, runs, and tools.
What it changes View full report → Passed 22 of 22 test cases with the skill, and 10 of 22 without it.
Without skill 45%
With skill 100%
Checks it passed that the model alone missed Uses MicrosoftFabricToolDefinition. Uses PersistentAgentsClient to create the root client instance. Uses a polling delay of 500 milliseconds between status checks.and 12 more in the full report
12 fixed10 passed either way0 still failing0 broke
Pass-rate lift +55 pp
Tokens +91%
Agent turns 0%
Response time -48% Model gemini-3.6-flashMeasured 8/10/2026 v1 22 of 22 cases passed with skill
Use this skill Claude Code DecimalAI agent CLI & files
Save it into your project's skills folder. Claude Code picks it up in its next session.
curl -fsSL --create-dirs -o .claude/skills/microsoft-azure-ai-agents-persistent-dotnet/SKILL.md https://app.decimal.ai/s/microsoft-azure-ai-agents-persistent-dotnet/SKILL.md Copy command Copy SKILL.md
Want it pinned and updatable? pip install "decimalai>=0.15", then decimalai skills add microsoft-azure-ai-agents-persistent-dotnet, and start Claude Code with claude --plugin-dir "$(git rev-parse --show-toplevel)/.agents"
Linked stays up to date: your agents get the author's new versions automatically.
Editable copy is yours to change; the author's updates won't reach it.
Install linked skill Create editable copy
1 · One-time — install the CLI (
docs ↗ )
$ pip install "decimalai>=0.15"Copy
2 · Get the skill — writes .agents/skills/microsoft-azure-ai-agents-persistent-dotnet/ and pins it in .decimal/skills.lock
$ decimalai skills add microsoft-azure-ai-agents-persistent-dotnetCopy
Copy link Copy README badge Copy SKILL.md No CLI? Get the same file — curl · raw file $ curl -fsSL --create-dirs -o .claude/skills/microsoft-azure-ai-agents-persistent-dotnet/SKILL.md https://app.decimal.ai/s/microsoft-azure-ai-agents-persistent-dotnet/SKILL.mdCopy
Safety checks: 3 of 3 passed
Code scan Clean Intent Passed Content Clean
Overview Benchmark Contents Activity Versions 1 Ratings 0
See it in action One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
Prompt Which CLI command and package name should I run to install the low-level Azure AI persistent agents SDK into my .NET C# project?
What was checked, without and with the skill Checked Without skill With skill Runs dotnet add package Azure.AI.Agents.Persistent --prerelease. Missed Passed
Show both answers
What's inside The instructions your model reads when the skill loads.
SKILL.md 350 lines single file
Azure.AI.Agents.Persistent (.NET)
Low-level SDK for creating and managing persistent AI agents with threads, messages, runs, and tools.
Installation
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
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-id> # Required: Azure AI Search connection resource ID
AZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production
Authentication
using Azure.AI.Agents.Persistent;
using Azure.Identity;
var projectEndpoint = Environment.GetEnvironmentVariable("PROJECT_ENDPOINT");
// Local dev: DefaultAzureCredential. Production: set AZURE_TOKEN_CREDENTIALS=prod or AZURE_TOKEN_CREDENTIALS=<specific_credential>
var credential = new DefaultAzureCredential(
DefaultAzureCredential.DefaultEnvironmentVariableName
);
// Or use a specific credential directly in production:
// See https://learn.microsoft.com/dotnet/api/overview/azure/identity-readme?view=azure-dotnet#credential-classes
// var credential = new ManagedIdentityCredential();
PersistentAgentsClient client = new(projectEndpoint, credential);
When it activates Automatically, when a task matches.
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".
Track record Benchmark 22 / 22
test cases passed, vs 10 / 22 without
Adoption
Users 0
Times used 0 View activity → Safety and source details
SkillSafety ✓ 3 of 3 passed ✓ Code scan 15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/3/2026
View 15 scanner checks live_secret remote_code_execution reverse_shell data_exfiltration ssrf_metadata agent_snooping anti_refusal destructive_commands obfuscated_unicode unicode_homoglyph opaque_blob suspicious_url tool_overreach trigger_abuse prompt_injection_phrasing
✓ Intent Safe
LLM judge · does the skill do what it claims
✓ Content Clean
LLM judge · policy & harmful-content review
Source Imported microsoft / skills
.github/plugins/azure-sdk-dotnet/skills/azure-ai-agents-persistent-dotnet/SKILL.md
View on GitHub ↗ License MITImported 8/3/2026Version v1