Dev & Engineering ✓ Microsoft · Official javaazure-aipersistent-agentsazure-sdkmavenmanaged-identity

Azure AI Persistent Agents for Java

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

FollowSkills review · FSRS-2.0
Not recommended
47/ 100 5-point scale 2.4 / 5
Trust13 / 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.

Reliability7 / 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.

Adaptability9 / 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.

Convention9 / 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.

Effectiveness6 / 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.

Verifiability3 / 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.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
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.
See the full review method →

What it does & when to 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.

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

Pros & cons

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 to install

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.

How to use

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.

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 Python

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

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

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

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

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.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills