GenericAgentEnvironment
class GenericAgentEnvironment(agentId: String, logger: KLogger, toolRegistry: ToolRegistry) : AIAgentEnvironment(source)
Represents base agent environment with generic abstractions.
Functions
Link copied to clipboard
Executes a tool call and returns its result.
Link copied to clipboard
suspend fun AIAgentEnvironment.executeTools(toolCalls: List<Message.Tool.Call>): List<ReceivedToolResult>
Executes a batch of tool calls within the AI agent environment and processes their results.
Link copied to clipboard
Reports a problem that occurred within the environment.