# AppResult

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/app/AppResult)

Result from running the Textual application.

## Signature

```python
AppResult(
    self,
    return_code: int,
    thread_id: str | None,
    session_stats: SessionStats = SessionStats(),
    update_available: tuple[bool, str | None] = (False, None),
)
```

## Constructors

```python
__init__(
    self,
    return_code: int,
    thread_id: str | None,
    session_stats: SessionStats = SessionStats(),
    update_available: tuple[bool, str | None] = (False, None),
) -> None
```

| Name | Type |
|------|------|
| `return_code` | `int` |
| `thread_id` | `str \| None` |
| `session_stats` | `SessionStats` |
| `update_available` | `tuple[bool, str \| None]` |


## Properties

- `return_code`
- `thread_id`
- `session_stats`
- `update_available`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/88c2b5cb874dc1d093acf54d2a967ba6e085c99b/libs/cli/deepagents_cli/app.py#L5503)