Class AgentScopeAgentExecutor

java.lang.Object
io.agentscope.core.a2a.server.executor.AgentScopeAgentExecutor
All Implemented Interfaces:
io.a2a.server.agentexecution.AgentExecutor

public class AgentScopeAgentExecutor extends Object implements io.a2a.server.agentexecution.AgentExecutor
Implementation of A2A AgentExecutor for AgentScope.

For Current Implementation, will create a new Agent for each request.

  • Constructor Details

  • Method Details

    • cancel

      public void cancel(io.a2a.server.agentexecution.RequestContext context, io.a2a.server.events.EventQueue eventQueue) throws io.a2a.spec.JSONRPCError
      Specified by:
      cancel in interface io.a2a.server.agentexecution.AgentExecutor
      Throws:
      io.a2a.spec.JSONRPCError
    • execute

      public void execute(io.a2a.server.agentexecution.RequestContext context, io.a2a.server.events.EventQueue eventQueue) throws io.a2a.spec.JSONRPCError
      Specified by:
      execute in interface io.a2a.server.agentexecution.AgentExecutor
      Throws:
      io.a2a.spec.JSONRPCError