# LaunchNameScreen

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/launch_init/LaunchNameScreen)

First-step onboarding screen that asks for the user's name.

Dismissal values:

- Non-empty stripped/title-cased name when the user submits one.
- `""` when the user submits an empty input (continue, but skip name memory).
- `None` when the user dismisses with Escape (skip remaining onboarding).

## Signature

```python
LaunchNameScreen(
    self,
    *,
    continue_screen: Screen[Any] | None = None,
    on_continue: Callable[[str], None] | None = None,
    on_continue_failed: Callable[[str], None] | None = None,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `continue_screen` | `Screen[Any] \| None` | No | Optional screen to switch to after submitting a name. (default: `None`) |
| `on_continue` | `Callable[[str], None] \| None` | No | Optional callback invoked with the submitted name before switching to `continue_screen`. (default: `None`) |
| `on_continue_failed` | `Callable[[str], None] \| None` | No | Optional callback invoked with the submitted name when switching to `continue_screen` fails. (default: `None`) |

## Extends

- `ModalScreen[str | None]`

## Constructors

```python
__init__(
    self,
    *,
    continue_screen: Screen[Any] | None = None,
    on_continue: Callable[[str], None] | None = None,
    on_continue_failed: Callable[[str], None] | None = None,
) -> None
```

| Name | Type |
|------|------|
| `continue_screen` | `Screen[Any] \| None` |
| `on_continue` | `Callable[[str], None] \| None` |
| `on_continue_failed` | `Callable[[str], None] \| None` |


## Properties

- `AUTO_FOCUS`
- `BINDINGS`
- `CSS`

## Methods

- [`compose()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/launch_init/LaunchNameScreen/compose)
- [`on_mount()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/launch_init/LaunchNameScreen/on_mount)
- [`on_input_submitted()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/launch_init/LaunchNameScreen/on_input_submitted)
- [`action_skip()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/launch_init/LaunchNameScreen/action_skip)
- [`action_cancel()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/launch_init/LaunchNameScreen/action_cancel)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/tui/widgets/launch_init.py#L60)