Dev & Engineering ✓ Microsoft · Official

Azure AI Persistent Agents for Java

Guides Java developers through building and managing Azure AI agents with persistent threads, messages, runs, and tools.

47/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
javaazure-aipersistent-agentsazure-sdk
+2mavenmanaged-identity

What does this skill do, and when should you use it?

This skill is for the Azure AI Agents Persistent SDK for Java and focuses on its low-level API. It covers client construction, authentication, agent and thread lifecycle, message creation, run polling, response retrieval, and cleanup. It also explains sync versus async clients, run-status handling, and HTTP error capture. It fits Azure Java projects that need direct control over persistent agent workflows.

Guides a coding agent to add the Maven dependency, read PROJECT_ENDPOINT, MODEL_DEPLOYMENT_NAME, and Azure credential environment variables, and build a PersistentAgentsClient. It demonstrates creating agents and threads, adding user messages, starting runs, polling every 500 milliseconds, listing responses, handling RequiresAction, Failed, and Cancelled statuses, and deleting threads and agents.

Good fit
  • A Java developer needs a persistent agent that can be reused across sessions in an Azure AI project.
  • A backend engineer needs to implement a workflow built from threads, messages, and agent runs.
  • A team needs to authenticate with DefaultAzureCredential or managed identity.
  • A high-concurrency Java service needs to evaluate PersistentAgentsAsyncClient for improved throughput.
  • A developer needs run polling, failure handling, and resource cleanup around agent operations.

How do you install this skill?

Before you use it
  • Verify that azure-ai-agents-persistent beta.1 matches the documented APIs and add skill-specific compile and integration tests before relying on the examples.
  • Before creating, uploading, running, or deleting cloud resources or files, clarify authorization scope, data flow, file sensitivity, cost impact, and recovery options.
  • Add polling timeouts, cancellation, retry/backoff behavior, and complete abnormal-state handling; do not execute high-impact external tools without confirmation.
  • Chinese guidance and mainland-China network reachability are not established; users must verify access to Azure services, dependency repositories, and documentation.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
Install first
  • Java
  • com.azure:azure-ai-agents-persistent:1.0.0-beta.1

Install the collection with npx skills add microsoft/skills, then select the required skill in the wizard. Add this Maven dependency to the Java project: <dependency><groupId>com.azure</groupId><artifactId>azure-ai-agents-persistent</artifactId><version>1.0.0-beta.1</version></dependency>. The source does not document a command for selecting this exact skill path directly.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-java/skills/azure-ai-agents-persistent-java" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Use PersistentAgentsClient to create a Java persistent agent with a thread, user message, run polling, and response retrieval.
  • persistent agents java
  • agent threads java
  • agent runs java

After installation, prompt the coding agent: “Use PersistentAgentsClient to create a Java persistent agent with a thread, user message, run polling, and response retrieval.” Supported trigger phrases include “PersistentAgentsClient”, “persistent agents java”, “agent threads java”, “agent runs java”, and “streaming agents java”. Set PROJECT_ENDPOINT and MODEL_DEPLOYMENT_NAME; when using DefaultAzureCredential, also set AZURE_TOKEN_CREDENTIALS=prod.

What are this skill's strengths and limitations?

Pros
  • Covers the full low-level workflow from agent creation through cleanup.
  • Documents both synchronous and asynchronous clients.
  • Includes authentication, run-status, and HTTP error-handling examples.
  • Provides copyable Maven and Java snippets.
Limitations
  • It is low-level SDK guidance rather than a high-level framework or complete application template.
  • The source does not specify a Java version, build configuration details, or a test suite.
  • The examples use version 1.0.0-beta.1, a beta release.
  • Users must provide the Azure project endpoint, model deployment, and credentials.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure AI Persistent Agents for Java this page ✓ Microsoft · Official 47 · Use with care ★ 2.7k 3mo ago MIT
Azure Identity for TypeScript ✓ Microsoft · Official 57 · Use with care ★ 2.7k 3mo ago MIT
Azure Identity for Java ✓ Microsoft · Official 51 · Use with care ★ 2.7k 3mo ago MIT
Azure Identity for .NET ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT
Azure Identity for Rust ✓ Microsoft · Official 45 · Not recommended ★ 2.7k 3mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
47/ 100 5-point scale 2.4 / 5
1Trust13 / 25 · 2.6/5

The skill recommends DefaultAzureCredential and places endpoint, model, and credential configuration in environment variables. No credential theft, covert exfiltration, malware, or other red-line risk is visible. However, creating, uploading, running, and deleting cloud resources has external effects, while least-privilege guidance, user confirmation, data-flow disclosure, sensitive-file handling, rollback, and pre-action checks are absent, so points are deducted.

2Reliability7 / 20 · 1.8/5

Installation, authentication, sync/async clients, threads, messages, runs, streaming, and error paths are documented, including several run states. However, there is no skill-specific execution or test evidence, polling lacks timeout and cancellation controls, tool-call handling is incomplete, and compatibility with the beta dependency is unverified. Static calibration therefore limits the score and further deductions apply.

3Adaptability9 / 15 · 3.0/5

The trigger phrases, Java SDK target, and main scenarios are reasonably clear, covering persistent agents, threads, messages, runs, streaming, and tools. Boundaries, non-fit cases, input/output contracts, false-trigger conditions, and Chinese-language guidance are not defined, and use assumes an Azure project, model deployment, and reachable cloud environment, so points are deducted.

4Convention9 / 15 · 3.0/5

The documentation is readable and layered, with installation, environment variables, authentication, workflow, best practices, error handling, and references. It includes MIT licensing, author, and version metadata. However, the dependency is beta.1 despite the 1.0.0 metadata, and there is no skill-specific changelog, maintenance owner, update path, known-limitations section, FAQ, or complete prerequisite documentation, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

The examples cover many common SDK operations and provide useful implementation patterns with clear marginal value over starting manually. They are not statically verified, may require missing imports or version adjustments, and leave polling, tool execution, and response selection for engineering work. The result is therefore a useful starting point rather than directly deliverable output, so points are deducted.

6Verifiability3 / 10 · 1.5/5

Maven, GitHub source, and official documentation links are provided, and the repository shows generic CI and harness infrastructure. However, no skill-specific tests, acceptance results, or third-party execution evidence are supplied, so compilation and runtime behavior cannot be confirmed from the static material and only limited credit is justified.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Is this skill suitable for projects that do not use the Azure AI Agents Persistent SDK?
No. It specifically targets `com.azure:azure-ai-agents-persistent` and the PersistentAgentsClient API.
Which Azure settings are required?
PROJECT_ENDPOINT and MODEL_DEPLOYMENT_NAME are required. AZURE_TOKEN_CREDENTIALS=prod is also required when using DefaultAzureCredential.
Does the skill automatically run agents or deploy Azure resources?
The source only documents coding guidance and examples for the Java SDK; it does not state that the skill automatically deploys resources or executes runs.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

★ 2.7k FS 57 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Java

Configure secure Microsoft Entra ID authentication for Java applications using Azure SDKs.

★ 2.7k FS 51 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for .NET

Guides .NET applications in authenticating Azure SDK clients with Microsoft Entra ID.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Rust

Configure Microsoft Entra ID authentication for Azure SDK clients written in Rust.

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for Java

Helps Java applications detect harmful text and images and manage custom blocklists.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure SMS for Java

Send Azure Communication Services SMS from Java with per-recipient results and delivery tracking.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Anomaly Detector for Java

A practical Java skill for building univariate and multivariate time-series anomaly detection with Azure AI Anomaly Detector.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for Java

Guides Java apps in centralizing settings, feature flags, and release snapshots.

★ 2.7k FS 43 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Foundry Projects for .NET

Guides .NET developers through Foundry project, agent, and evaluation operations.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Log Ingestion for Java

Guides Java applications in sending structured custom logs to Azure Monitor through DCRs.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

★ 2.7k FS 60 Recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Java

Query Azure Monitor logs and resource metrics from Java applications.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Projects for TypeScript

Practical TypeScript guidance for building Azure AI Foundry applications with project clients, agents, tools, and evaluations.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Persistent Agents for .NET

A practical .NET playbook for building and operating Azure AI persistent agents.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Batch Java Job Orchestration

Run and manage large-scale parallel and HPC workloads on Azure from Java.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Grid for Java

A practical Java SDK guide for publishing, consuming, and handling Azure Event Grid events.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Java

A practical Java playbook for building file and streaming workflows on Azure Blob Storage.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Communication Chat for Java

A practical Java SDK guide for building Azure real-time chat threads, messaging, and participant workflows.

★ 2.7k FS 44 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Search for TypeScript

Build TypeScript search apps with vector, hybrid, and semantic retrieval patterns.

★ 2.7k FS 50 Use with care 3mo ago

Related skills