Package com.rpl.agentorama
Interface AgentInvoke
public interface AgentInvoke
Handle representing a specific execution instance of an agent.
Agent invoke handles are used to track and interact with running agent
executions. They provide access to execution metadata and are used with
streaming, forking, and result retrieval methods.
Example:
AgentInvoke invoke = client.initiate("Hello world");
// Use invoke with streaming, forking, or result methods
String result = client.result(invoke);
-
Method Summary
Modifier and TypeMethodDescriptionGets the unique agent invoke ID for this execution.longGets the task ID for this agent execution.
-
Method Details
-
getTaskId
long getTaskId()Gets the task ID for this agent execution.- Returns:
- the task ID
-
getAgentInvokeId
UUID getAgentInvokeId()Gets the unique agent invoke ID for this execution.- Returns:
- the agent invoke ID
-