← ClaudeAtlas

azure-ai-projects-tslisted

Build AI applications using Azure AI Projects SDK for JavaScript (@azure/ai-projects). Use when working with Foundry project clients, agents, connections, deployments, datasets, indexes, evaluations, or getting OpenAI clients.
aiskillstore/marketplace · ★ 329 · AI & Automation · score 82
Install: claude install-skill aiskillstore/marketplace
# Azure AI Projects SDK for TypeScript High-level SDK for Azure AI Foundry projects with agents, connections, deployments, and evaluations. ## Installation ```bash npm install @azure/ai-projects @azure/identity ``` For tracing: ```bash npm install @azure/monitor-opentelemetry @opentelemetry/api ``` ## Environment Variables ```bash AZURE_AI_PROJECT_ENDPOINT=https://<resource>.services.ai.azure.com/api/projects/<project> MODEL_DEPLOYMENT_NAME=gpt-4o ``` ## Authentication ```typescript import { AIProjectClient } from "@azure/ai-projects"; import { DefaultAzureCredential } from "@azure/identity"; const client = new AIProjectClient( process.env.AZURE_AI_PROJECT_ENDPOINT!, new DefaultAzureCredential() ); ``` ## Operation Groups | Group | Purpose | |-------|---------| | `client.agents` | Create and manage AI agents | | `client.connections` | List connected Azure resources | | `client.deployments` | List model deployments | | `client.datasets` | Upload and manage datasets | | `client.indexes` | Create and manage search indexes | | `client.evaluators` | Manage evaluation metrics | | `client.memoryStores` | Manage agent memory | ## Getting OpenAI Client ```typescript const openAIClient = await client.getOpenAIClient(); // Use for responses const response = await openAIClient.responses.create({ model: "gpt-4o", input: "What is the capital of France?" }); // Use for conversations const conversation = await openAIClient.conversations.create({ items: [{ type: "mess