Skip to main content

AI Agents

OpenMetadata represents an AI agent in three related ways. Choose the interface that matches the task. AI Studio agents and cataloged AI Applications aren’t the same resource. An integration can create both and relate operational activity to the cataloged application through the agent reference in each execution record.

Agent Execution Endpoints

The list endpoint accepts agentId, startTs, endTs, and limit. Required create fields are agent, agentId, timestamp, and status. Valid statuses are Running, Success, Failed, Timeout, Cancelled, and PartialSuccess.

Record an Execution

REST API
The v2.0 Python and Java core SDKs have no typed Agent Execution client. Use the REST API to write or query execution records.

Invoke an AI Studio Agent

Install the Python AI SDK with pip install data-ai-sdk, then configure AI_SDK_HOST and AI_SDK_TOKEN.
Python AI SDK
For persona and agent creation, TypeScript and Java examples, streaming, and multi-turn conversations, see the AI SDK guide.