dataclass
AgentConfig
beam_agents.core.transform.AgentConfig
AgentConfig(provider_factory: 'Callable[[], LLMClient]', *, decode: 'Decode | None' = None, activation_timeout_s: 'float' = 30.0, ttl_ms: 'int' = 3600000, cancel_grace_s: 'float' = 5.0, hitl_policy: 'HitlPolicy' = <factory>, tool_registry: 'ToolRegistry' = <factory>, intents_to: 'str | None' = None, traces_to: 'str | None' = None, errors_to: 'str | None' = None, snapshots_to: 'str | None' = None, sink_resolver: 'SinkResolver' = <factory>, longterm_memory: 'str | None' = None, compactor: 'Compactor | None' = <factory>, summarizer: 'Summarizer | None' = None, on_expire: 'ExpireHook | None' = None, batch_policy: 'BatchPolicy' = <BatchPolicy.NONE: 'none'>, max_batch_size: 'int | None' = None, max_wait_ms: 'int | None' = None, max_buffered_events: 'int | None' = None, max_tokens_per_activation: 'int | None' = None) -> NoneDocstring
Immutable, self-validating RunAgent configuration.
Bundles the provider factory, the runtime knobs, and the optional sink
URIs. Validation runs in __post_init__, so a misconfigured value raises
ValueError at the construction site — before any pipeline exists.
Members
22 declared on AgentConfig
Introspected from the class itself. A member with no docstring is shown as having none rather than described from its name.
activation_timeout_s
field
activation_timeout_s: float
No docstring.
batch_policy
field
batch_policy: BatchPolicy
No docstring.
cancel_grace_s
field
cancel_grace_s: float
No docstring.
compactor
field
compactor: Compactor | None
No docstring.
decode
field
decode: Decode | None
No docstring.
errors_to
field
errors_to: str | None
No docstring.
hitl_policy
field
hitl_policy: HitlPolicy
No docstring.
intents_to
field
intents_to: str | None
No docstring.
longterm_memory
field
longterm_memory: str | None
No docstring.
max_batch_size
field
max_batch_size: int | None
No docstring.
max_buffered_events
field
max_buffered_events: int | None
No docstring.
max_tokens_per_activation: int | None
No docstring.
max_wait_ms
field
max_wait_ms: int | None
No docstring.
on_expire
field
on_expire: ExpireHook | None
No docstring.
provider_factory
field
provider_factory: Callable[[], LLMClient]
No docstring.
sink_resolver
field
sink_resolver: SinkResolver
No docstring.
snapshots_to
field
snapshots_to: str | None
No docstring.
summarizer
field
summarizer: Summarizer | None
No docstring.
tool_registry
field
tool_registry: ToolRegistry
No docstring.
traces_to
field
traces_to: str | None
No docstring.
ttl_ms
field
ttl_ms: int
No docstring.
batch_settings
method
batch_settings(self) -> 'BatchSettings | None'
The resolved batching bounds, or
NoneunderBatchPolicy.NONE.Recomputed rather than cached: the dataclass is frozen with slots, and the resolution is three comparisons over integers on a path that runs at pipeline construction, not per element.