Technical & DevelopmentIntermediate
azure-ai-projects-java
AI Foundry project management
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/microsoft/skills --skill azure-ai-projects-javanpx skills add https://github.com/microsoft/skills --skill azure-ai-projects-javaOr paste this URL into your assistant to install:
Overview
What This Skill Does
Java SDK for Azure AI Foundry that manages project resources like connections, datasets, indexes, and evaluations through a typed client hierarchy. Each resource type gets its own sub-client built from a shared AIProjectClientBuilder.
Application
When to use this Skill
- Configuring integration settings for custom agent workflows.
- Optimizing query execution and response latency in production.
- Developing clean, standard-compliant implementations for enterprise services.
- Troubleshooting connection timeouts and authentication handshakes.
- Monitoring API rate limits and execution pipelines programmatically.
Documentation
Show Skills.md file
Azure AI Projects SDK for Java
High-level SDK for Azure AI Foundry project management with access to connections, datasets, indexes, and evaluations.
Installation
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-projects</artifactId>
<version>1.0.0-beta.1</version>
</dependency>
Environment Variables
PROJECT_ENDPOINT=https://<resource>.services.ai.azure.com/api/projects/<project> # Required for project configuration
AZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production
Authentication
import com.azure.ai.projects.AIProjectClientBuilder;
import com.azure.core.credential.TokenCredential;
import com.azure.identity.AzureIdentityEnvVars;
import com.azure.identity.DefaultAzureCredentialBuilder;
import com.azure.identity.ManagedIdentityCredentialBuilder;
TokenCredential credential = new DefaultAzureCredentialBuilder()
.requireEnvVars(AzureIdentityEnvVars.AZURE_TOKEN_CREDENTIALS)
.build();
// Or use a specific credential directly in production:
// See https://learn.microsoft.com/java/api/overview/azure/identity-readme?view=azure-java-stable#credential-classes
// TokenCredential credential = new ManagedIdentityCredentialBuilder().build();
AIProjectClientBuilder builder = new AIProjectClientBuilder()
.endpoint(System.getenv("PROJECT_ENDPOINT"))
.credential(credential);
Lines 1 - 41 of 155
Recommendations
Explore other random skills
TechnicalIntermediate
sentry-workflow
End-to-end Sentry workflow: fix production issues and review code with Sentry context
TechnicalIntermediate
sentry-code-review
Review code changes using Sentry issue and trace context
TechnicalIntermediate
sentry-fix-issues
Find and fix Sentry issues with stack trace, breadcrumb, and trace context via MCP