org.llm4s.agent.AgentContext
See theAgentContext companion object
Bundles cross-cutting execution parameters for Agent methods.
Replaces the separate debug, tracing, and traceLogPath parameters that appeared on every run overload before v0.3.0. Pass AgentContext.Default when none of these concerns are needed.
Value parameters
- debug
-
Enables verbose INFO-level debug logging of every state-machine transition, tool argument, and LLM response via SLF4J.
- traceLogPath
-
Path to write a markdown execution trace after each step; useful for post-run inspection without a full tracing backend.
- tracing
-
Optional tracer; spans are emitted for each LLM call, tool execution, and state update. Use org.llm4s.trace.Tracing implementations such as
ConsoleTracingorTraceCollectorTracingto capture spans.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article