Class AgentProcessTools

  • All Implemented Interfaces:

    
    public final class AgentProcessTools
    
                        

    Tools 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)
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final UnfoldingTool create() Create an UnfoldingTool for agent process information.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AgentProcessTools

        AgentProcessTools()
    • Method Detail