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 config: NodeConfig
Link copied to clipboard
open override val description: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val inputSchema: Schema?
Link copied to clipboard

Returns true if this agent supports streaming responses.

Link copied to clipboard
override val name: String
Link copied to clipboard
open override val outputSchema: Schema?
Link copied to clipboard
open override val requiresAllPredecessors: Boolean
Link copied to clipboard
open override val rerunOnResume: Boolean
Link copied to clipboard
open override val stateSchema: Schema?
Link copied to clipboard
Link copied to clipboard
open override val waitForOutput: Boolean

Functions

Link copied to clipboard
fun run(context: Context, nodeInput: Any?): Flow<Event>
Link copied to clipboard
fun runAsync(parentContext: InvocationContext): Flow<Event>
Link copied to clipboard
open override fun runNode(context: Context, nodeInput: Any?): Flow<Any?>