azure-ai-agents-persistent-java

Manage persistent AI agents and threaded conversations in Java with the Azure AI Agents Persistent SDK.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a low-level Java SDK to create, run, and manage persistent AI agents, threads, messages, runs, and tools so applications can maintain long-lived agent state, handle tool invocations, and stream responses reliably.

Core Features & Use Cases

  • Persistent Agent Lifecycle: create, list, update, and delete agents with configurable models, instructions, and tool integrations.
  • Threaded Conversations & Runs: start threads, post messages, create runs, poll or stream run events, and handle run statuses including required tool actions.
  • Tools, Files & Vector Stores: integrate code interpreter and function tools, upload files, create vector stores, and enable file search within agent workflows.
  • Use Case: Build a Math Tutor or Research Assistant that reuses agent state across sessions, executes code or functions, and returns streamed responses to users.

Quick Start

Create a PersistentAgentsClient with DefaultAzureCredential, create an agent with tools and instructions, open a thread, post a user message, start a run, and poll or stream until the run completes.

Frequently Asked Questions about azure-ai-agents-persistent-java

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

FAQPage Schema
How do I manage persistent AI agents in Java?

You manage persistent AI agents in Java using the Azure AI Agents Persistent SDK to handle agent lifecycle, threaded conversations, and tool invocations. This client maintains long-lived agent state and streams run events reliably across sessions.

How do I stream run events for Azure AI agents in Java?

Stream run events for Azure AI agents in Java by creating a run on an active thread and polling or streaming until completion. The SDK handles run statuses, required tool actions, and delivers streamed responses back to your application.

Can I use DefaultAzureCredential with the Azure AI Agents Persistent Java client?

Yes, you can use DefaultAzureCredential to authenticate the Azure AI Agents Persistent Java client. The SDK supports both DefaultAzureCredential and AzureKeyCredential for setting up synchronous and asynchronous client operations.

What's the best way to handle tool invocations and file uploads for Azure AI agents in Java?

The best way to handle tool invocations and file uploads for Azure AI agents in Java is using the Azure AI Agents Persistent SDK. It integrates code interpreter and function tools, manages file uploads, and enables vector store file search within workflows.

Does the Azure AI Agents Java SDK support threaded conversations and vector store integration?

Yes, the Azure AI Agents Java SDK supports threaded conversations and vector store integration. You can start threads, post messages, create runs, and enable file search within agent workflows by creating and linking vector stores.