Package com.embabel.agent.tools.process
Class AgentProcessTools
-
- All Implemented Interfaces:
public final class AgentProcessToolsTools for accessing information about the current agent process.
This is an UnfoldingTool that exposes sub-tools for:
Status: current state, running time, process ID
Budget: limits and remaining capacity
Cost: current spend, token usage, models used
History: actions taken so far
Tools: tool usage statistics
Uses AgentProcess.get to access the current process.
Example usage:
val tools = AgentProcessTools().create() // Add to an agentic tool SimpleAgenticTool("assistant", "...") .withTools(tools)
-
-
Constructor Summary
Constructors Constructor Description AgentProcessTools()
-
Method Summary
Modifier and Type Method Description final UnfoldingToolcreate()Create an UnfoldingTool for agent process information. -
-
Method Detail
-
create
final UnfoldingTool create()
Create an UnfoldingTool for agent process information.
-
-
-
-