You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: User agent simulation for multi-turn episodes #985
Environment authors want to evaluate and train agents in realistic multi-turn conversations with simulated users. Today, they lack clear guidance and infra on how to do this.
Desired User Experience
As an environment author, I can configure a simulated user and run multi-turn episodes through standard Gym workflows. I can inspect:
the assistant trajectory, including its observations, responses, and tool calls
the user-agent trajectory, including its observations, responses, and tool calls
an ordered episode trajectory interleaving both participants, tool results, state changes, and termination
Design Considerations
Possible implementation patterns include:
Coupled multi-turn agent: One agent orchestrates assistant and user turns and references a separate user model server. tau2_agent currently demonstrates this pattern.
Decoupled multi-agent orchestration: Assistant and user simulators use independently pluggable agent harnesses under a shared orchestration contract.
User feedback demonstrated interest in both patterns, but more uncertainty on how to implement the multi-agent pattern. The implementation should explicitly resolve:
Where turn orchestration lives.
How participants observe state changed by user actions.
How tools are exposed to the user simulator.
How termination and maximum-turn limits are represented.
The scope should also clarify the architecture for integration with NeMo User Sim and produce a shared artifact how to leverage shared infra and benefits from both code bases.
changed the title [-]Reference multi-turn agent server with LLM user model[/-][+]feat: reference multi-turn agent server with LLM user model[/+]on Apr 2, 2026
Could you add a proposal for the sequence diagram on responsibilities for the Agent Scaffolding on the different turns and different steps on the environment from the Agent side?
Also what is the orchestration mechanism between the user_model and the agent side? Is the user_model responsible for only one message or more than one in each turn?
Also, this could be seen (depending on the use case) as a particular case of multi-agent scenario. I think your opened questions about tool calling from the user_model only make sense if we are actually talking about about a multi-agent scenario, isn't it? If we are still thinking about a single-agent and multi-turn, where we are really trying to simulate the conversation with a human, then maybe the tool calling doesn't make much sense correct?
In the single-agent multi-turn the Agent Scaffolding doing the orchestration would be responsible to update the context of the conversation and the user_model doesn't have access necessarily to anything environment related
changed the title [-]feat: reference user agent simulation for multi-turn sessions[/-][+]feat: user agent simulation for multi-turn sessions[/+]on Aug 31, 2026
Activity
[-]Reference multi-turn agent server with LLM user model[/-][+]feat: reference multi-turn agent server with LLM user model[/+]ffrujeri commentedon Apr 7, 2026
Could you add a proposal for the sequence diagram on responsibilities for the Agent Scaffolding on the different turns and different steps on the environment from the Agent side?
Also what is the orchestration mechanism between the user_model and the agent side? Is the user_model responsible for only one message or more than one in each turn?
ffrujeri commentedon Apr 7, 2026
Also, this could be seen (depending on the use case) as a particular case of multi-agent scenario. I think your opened questions about tool calling from the user_model only make sense if we are actually talking about about a multi-agent scenario, isn't it? If we are still thinking about a single-agent and multi-turn, where we are really trying to simulate the conversation with a human, then maybe the tool calling doesn't make much sense correct?
In the single-agent multi-turn the Agent Scaffolding doing the orchestration would be responsible to update the context of the conversation and the user_model doesn't have access necessarily to anything environment related
[-]feat: reference multi-turn agent server with LLM user model[/-][+]feat: reference user agent simulation[/+][-]feat: reference user agent simulation[/-][+]feat: reference user agent simulation for multi-turn sessions[/+]1 remaining item
[-]feat: reference user agent simulation for multi-turn sessions[/-][+]feat: user agent simulation for multi-turn sessions[/+][-]feat: user agent simulation for multi-turn sessions[/-][+][feat] user agent simulation for multi-turn sessions[/+][-][feat] user agent simulation for multi-turn sessions[/-][+]feat: User agent simulation for multi-turn episodes[/+]feat(agent): allow session-owned tool execution (NVIDIA-NeMo#4111)
feat(nemo-user-sim): add materialized-row runtime (NVIDIA-NeMo#3800)