Run the Textual application.
run_textual_app(
*,
agent: Pregel | None = None,
assistant_id: str | None = None,
backend: CompositeBackend | None = None,
auto_approve: bool = False,
cwd: str | Path | None = None,
thread_id: str | None = None,
initial_prompt: str | None = None,
checkpointer: BaseCheckpointSaver | None = None,
tools: list[Callable[..., Any] | dict[str, Any]] | None = None,
sandbox: SandboxBackendProtocol | None = None,
sandbox_type: str | None = None
) -> AppResult| Name | Type | Description |
|---|---|---|
agent | Pregel | None | Default: NonePre-configured LangGraph agent (optional) |
assistant_id | str | None | Default: NoneAgent identifier for memory storage |
backend | CompositeBackend | None | Default: NoneBackend for file operations |
auto_approve | bool | Default: FalseWhether to start with auto-approve enabled |
cwd | str | Path | None | Default: NoneCurrent working directory to display |
thread_id | str | None | Default: NoneOptional thread ID for session persistence |
initial_prompt | str | None | Default: NoneOptional prompt to auto-submit when session starts |
checkpointer | BaseCheckpointSaver | None | Default: NoneCheckpointer for session persistence (enables model hot-swap) |
tools | list[Callable[..., Any] | dict[str, Any]] | None | Default: NoneTools used to create the agent (for model hot-swap) |
sandbox | SandboxBackendProtocol | None | Default: NoneSandbox backend (for model hot-swap) |
sandbox_type | str | None | Default: NoneType of sandbox provider (for model hot-swap) |