# is_update_available

> **Function** in `deepagents_cli`

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

Check whether a newer version of deepagents-cli is available.

When the installed version is a pre-release (e.g. `0.0.35a1`),
pre-release versions on PyPI are included in the comparison so alpha
testers are notified of newer alphas and the eventual stable release.
Stable installs only compare against stable PyPI releases.

## Signature

```python
is_update_available(
    *,
    bypass_cache: bool = False,
) -> tuple[bool, str | None]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `bypass_cache` | `bool` | No | Skip the cache and always hit PyPI. (default: `False`) |

## Returns

`tuple[bool, str | None]`

A `(available, latest)` tuple.

`available` is `True` when the PyPI version is strictly newer than
the installed version; `latest` is the version string (or `None`
when the check fails).

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4869645403fe9ce57df6067417fdefc6bf509fe0/libs/cli/deepagents_cli/update_check.py#L177)