> ## Documentation Index
> Fetch the complete documentation index at: https://askmarvin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# llm

> Utility functions for LLM completions using Pydantic AI.

# `marvin.engine.llm`

Utility functions for LLM completions using Pydantic AI.

## Constants

### `T`

```python theme={null}
T = TypeVar('T')
```

## Functions

### `AgentMessage`

```python theme={null}
def AgentMessage(content: str) -> ModelResponse
```

### `SystemMessage`

```python theme={null}
def SystemMessage(content: str) -> ModelRequest
```

### `UserMessage`

```python theme={null}
def UserMessage(content: str | Sequence[UserContent]) -> ModelRequest
```

***

**Parent Module:** [`engine`](marvin-engine)
