Run the Textual CLI interface (async version).
Starts a LangGraph server in a subprocess and connects the TUI to it via the
langgraph-sdk client.
run_textual_cli_async(
assistant_id: str,
*,
auto_approve: bool = False,
sandbox_type: str = 'none',
sandbox_id: str | None = None,
sandbox_setup: str | None = None,
model_name: str | None = None,
model_params: dict[str, Any] | None = None,
profile_override: dict[str, Any] | None = None,
thread_id: str | None = None,
resume_thread: str | None = None,
initial_prompt: str | None = None,
initial_skill: str | None = None,
mcp_config_path: str | None = None,
no_mcp: bool = False,
trust_project_mcp: bool | None = None
) -> AppResult| Name | Type | Description |
|---|---|---|
assistant_id* | str | Agent identifier for memory storage |
auto_approve | bool | Default: FalseWhether to auto-approve tool usage |
sandbox_type | str | Default: 'none'Type of sandbox ("none", "agentcore", "modal", "runloop", "daytona", "langsmith") |
sandbox_id | str | None | Default: NoneOptional existing sandbox ID to reuse. |
sandbox_setup | str | None | Default: NoneOptional path to setup script to run in the sandbox after creation. |
model_name | str | None | Default: NoneOptional model name to use |
model_params | dict[str, Any] | None | Default: NoneExtra kwargs from These override config file values. |
profile_override | dict[str, Any] | None | Default: NoneExtra profile fields from Merged on top of config file profile overrides. |
thread_id | str | None | Default: NoneThread ID for the session.
|
resume_thread | str | None | Default: NoneRaw resume intent from
Resolved asynchronously inside the TUI. |
initial_prompt | str | None | Default: NoneOptional prompt to auto-submit when session starts |
initial_skill | str | None | Default: NoneOptional skill name to invoke when the session starts. |
mcp_config_path | str | None | Default: NoneOptional path to MCP servers JSON configuration file. Merged on top of auto-discovered configs (highest precedence). |
no_mcp | bool | Default: FalseDisable all MCP tool loading. |
trust_project_mcp | bool | None | Default: NoneControls project-level stdio server trust.
|