BaseAsyncLlmAgentWithMemory
LLM-backed agent that remembers facts in a SharedWorkingMemory.
Before each turn the agent injects the current memory contents into the conversation as a system-style hint. After the turn, callers may use the returned response — for the Python reference the memory is updated from a structured-output field; the Kotlin port keeps the merge explicit so callers can pull the relevant block from a structured response themselves and pass it to mergeMemory (which is just a convenience wrapper around the memory's own merge).
Constructors
Properties
Functions
Run a single LLM turn with content appended as a user message. Returns the full LlmGatewayResponse so subclasses can inspect content, tool calls, and structured output.
Default implementation does nothing — override to emit follow-up events.