Package ai.acolite.agentsdk.examples
Class RunContextExample
java.lang.Object
ai.acolite.agentsdk.examples.RunContextExample
RunContextExample demonstrates the three primary use cases of RunContext: 1. User Context Storage
- Passing application data to tools 2. Usage Tracking - Accumulating token costs across API calls
3. Tool Approval Management - Controlling which tools can execute
This example shows the basic patterns without requiring a real agent or API calls.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RunContextExample
public RunContextExample()
-
-
Method Details
-
main
-