# CLIContext

> **Class** in `deepagents_cli`

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

Runtime context passed via `context=` to the LangGraph graph.

Carries per-invocation overrides that `ConfigurableModelMiddleware`
reads from `request.runtime.context`.

## Signature

```python
CLIContext()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    model: str | None,
    model_params: dict[str, Any],
)
```

| Name | Type |
|------|------|
| `model` | `str \| None` |
| `model_params` | `dict[str, Any]` |


## Properties

- `model`
- `model_params`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a827cddf72d72e4b17921b8eb445a3bfb0511cb4/libs/cli/deepagents_cli/_cli_context.py#L15)