# collect_version_report

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/extras_info/collect_version_report)

Collect the offline version report used by `--version`, `/version`, and doctor.

## Signature

```python
collect_version_report() -> VersionReport
```

## Returns

`VersionReport`

A `VersionReport` bundling CLI and SDK version facts with the declared
`deepagents` requirement and whether the effective SDK version
satisfies it. Performs no network or subprocess calls.

---

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