nat.agent.react_agent.register_per_user_agent#
Attributes#
Classes#
Per-user version of ReAct Agent for use with per-user function groups like per_user_mcp_client. |
Functions#
|
Per-user ReAct Agent - each user gets their own isolated instance. |
Module Contents#
- logger#
- class PerUserReActAgentWorkflowConfig(/, **data: Any)#
Bases:
nat.agent.react_agent.register.ReActAgentWorkflowConfigPer-user version of ReAct Agent for use with per-user function groups like per_user_mcp_client. Each user gets their own agent instance with isolated state.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.
- async per_user_react_agent_workflow(
- config: PerUserReActAgentWorkflowConfig,
- builder: nat.builder.builder.Builder,
Per-user ReAct Agent - each user gets their own isolated instance.