# GoalStatusPanel

> **Class** in `deepagents_code`

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

Keep the current goal and lifecycle state visible above the input.

## Signature

```python
GoalStatusPanel(
    self,
    *,
    id: str | None = None,
)
```

## Extends

- `Static`

## Constructors

```python
__init__(
    self,
    *,
    id: str | None = None,
) -> None
```

| Name | Type |
|------|------|
| `id` | `str \| None` |


## Properties

- `display`

## Methods

- [`set_goal()`](https://reference.langchain.com/python/deepagents-code/tui/widgets/goal_status/GoalStatusPanel/set_goal)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/tui/widgets/goal_status.py#L16)