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)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Create an UnfoldingTool for agent process information.