Generative AI models can produce text, code, images, and audio. Agents extend this by adding tool use, memory, and autonomous decision-making. Foundry provides a managed service for both.
| SDK | Package | Purpose |
|---|---|---|
| Projects | azure-ai-projects | Agent lifecycle, tools, memory |
| Inference | azure-ai-inference | LLM chat completions, embeddings |
| Search | azure-search-documents | Vector + keyword search |
| Identity | azure-identity | Authentication |
gpt-4o, Llama-3.1-70b)Microsoft provides starter repos on GitHub:
Azure-Samples/azure-ai-agent-sdk — Agent SDK samplesAzure-Samples/azure-ai-search-rag — RAG pipeline samplesAzure-Samples/azure-ai-gateway — AI Gateway samplesgpt-4o model from the Foundry model catalog. Note the endpoint URL and authentication method. Write a Python script that sends a test prompt to the endpoint.