BaseRemoteA2AAgent

abstract class BaseRemoteA2AAgent(name: String, val description: String = "", subAgents: List<BaseAgent> = emptyList(), beforeAgentCallbacks: List<BeforeAgentCallback> = emptyList(), afterAgentCallbacks: List<AfterAgentCallback> = emptyList()) : BaseAgent

Abstract base class for Remote A2A Agents. Marker base class for remote agent implementations.

Constructors

Link copied to clipboard
constructor(name: String, description: String = "", subAgents: List<BaseAgent> = emptyList(), beforeAgentCallbacks: List<BeforeAgentCallback> = emptyList(), afterAgentCallbacks: List<AfterAgentCallback> = emptyList())

Types

Link copied to clipboard
class AgentCardResolutionError(message: String, cause: Throwable? = null) : RuntimeException

Exception thrown when the agent card cannot be resolved.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val description: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns true if this agent supports streaming responses.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun runAsync(parentContext: InvocationContext): Flow<Event>