azure-ai-projects-ts

Manage Azure AI Foundry projects with the TypeScript SDK.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-ai-projects-ts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-ai-projects-ts
Source: https://github.com/davidrrowley/CortexYouV3/tree/main/.agents/skills/azure-ai-projects-ts
Command: npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-ai-projects-ts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill documents how to use the @azure/ai-projects TypeScript SDK to remove friction when creating, configuring, and operating Azure AI Foundry projects by providing clear patterns for agents, connections, deployments, datasets, indexes, and evaluations.

Core Features & Use Cases

  • Project Client Setup: Authenticate with DefaultAzureCredential and instantiate AIProjectClient using AZURE_AI_PROJECT_ENDPOINT.
  • Agent Lifecycle: Create versioned agents, attach tools (code interpreter, file search, web search, functions), run agents via the OpenAI client, and clean up versions and conversations.
  • Connections & Deployments: Discover and retrieve project connections (with credentials), list and filter model deployments, and use connections to create direct SDK clients (OpenAI, Search).
  • Data & Evaluation Workflows: Upload datasets (files and folders), create and manage indexes, run built-in and custom evaluators, and poll for evaluation results.
  • Use Case: Build a reproducible RAG pipeline that uploads documents, indexes content, creates an agent using file_search, and evaluates output groundedness against a dataset.

Quick Start

Create an AIProjectClient with DefaultAzureCredential, list deployments in your project, and retrieve an OpenAI client for generating responses.

Frequently Asked Questions about azure-ai-projects-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Azure AI Foundry agents using TypeScript?

Manage Azure AI Foundry agents in TypeScript by using the AIProjectClient to create versioned agents, attach tools like code interpreter or file search, run them via the OpenAI client, and clean up conversations. Authentication requires DefaultAzureCredential and the AZURE_AI_PROJECT_ENDPOINT environment variable.

How do I run evaluations on Azure AI Foundry datasets?

Run evaluations on Azure AI Foundry datasets by uploading files or folders to your project, then executing built-in or custom evaluators and polling for results. This allows you to measure output groundedness against your uploaded data using the TypeScript SDK.

Can I use Azure AI Foundry connections to create OpenAI and Search clients?

Yes, you can discover and retrieve project connections including their credentials, then use those connections to instantiate direct SDK clients for OpenAI and Azure Search. This streamlines accessing external resources from your TypeScript application.

What environment variables are required to configure an Azure AI Projects client?

Configuring an Azure AI Projects client requires the AZURE_AI_PROJECT_ENDPOINT and MODEL_DEPLOYMENT_NAME environment variables. You must also satisfy authentication using DefaultAzureCredential before instantiating the client.

What is the best way to build a RAG pipeline with Azure AI Foundry in TypeScript?

Build a reproducible RAG pipeline in TypeScript by uploading documents, creating search indexes, and configuring an agent with file search capabilities. Use the SDK to evaluate the agent's output groundedness against a dataset for verified retrieval accuracy.