chat_agent
¶
SensAI top-level chat agent - delegates to the domain agents and replies in plain text.
ask_job_status_agent
async
¶
ask_job_status_agent(
ctx: RunContext[SensAIDeps], request: str
) -> JobStatus | None
Forward a job-status request to the job-status agent and return its answer.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ctx
|
RunContext[SensAIDeps]
|
The calling agent's run context - |
required |
request
|
str
|
The request to hand off, in natural language (e.g. "how far along is the job?" or "what happened on trial 12?"). |
required |
Returns:
| Type | Description |
|---|---|
JobStatus | None
|
The current job status, or None if no job is loaded. |
Source code in src/mujoco_mojo/utils/layers/dojo/sensai/chat_agent.py
ask_column_manifest_agent
async
¶
ask_column_manifest_agent(
ctx: RunContext[SensAIDeps], request: str
) -> ColumnManifest
Forward a signal-column request to the column-manifest agent and return its answer.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ctx
|
RunContext[SensAIDeps]
|
The calling agent's run context - |
required |
request
|
str
|
The request to hand off, in natural language (e.g. "what signals can I plot?"). |
required |
Returns:
| Type | Description |
|---|---|
ColumnManifest
|
The current column manifest. |
Source code in src/mujoco_mojo/utils/layers/dojo/sensai/chat_agent.py
ask_plot_config_agent
async
¶
ask_plot_config_agent(
ctx: RunContext[SensAIDeps], request: str
) -> PlotConfig | None
Forward a plot request to the plot-config agent and return its answer.
Use this for any request about the trial viewer plot: reading its current state, editing it (colors, axes, grid, signals, ...), or saving/loading/deleting it as a named profile.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ctx
|
RunContext[SensAIDeps]
|
The calling agent's run context - |
required |
request
|
str
|
The request to hand off, in natural language (e.g. "make the box_acc:y line red" or "save this as robotics/baseline"). |
required |
Returns:
| Type | Description |
|---|---|
PlotConfig | None
|
The resulting plot config (current, edited, saved, or loaded). |