agentById

abstract suspend fun agentById(id: String): AIAgent<Input, Output>?(source)

Retrieves an AI agent based on its unique identifier.

Return

The AI agent associated with the specified ID, or null if no agent is found.

Parameters

id

The unique identifier of the AI agent to retrieve.