# AppMessage

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/widgets/messages/AppMessage)

Widget displaying an app message.

## Signature

```python
AppMessage(
    self,
    message: str | Content,
    **kwargs: Any = {},
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `message` | `str \| Content` | Yes | The system message as a string or pre-styled `Content`. |
| `**kwargs` | `Any` | No | Additional arguments passed to parent (default: `{}`) |

## Extends

- `Static`

## Constructors

```python
__init__(
    self,
    message: str | Content,
    **kwargs: Any = {},
) -> None
```

| Name | Type |
|------|------|
| `message` | `str \| Content` |


## Properties

- `auto_links`
- `DEFAULT_CSS`

## Methods

- [`on_click()`](https://reference.langchain.com/python/deepagents-cli/widgets/messages/AppMessage/on_click)

---

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