# print_usage_table

> **Function** in `deepagents_cli`

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

Print a model-usage stats table to a Rich console.

When the session spans multiple models each gets its own row with a
totals row appended; single-model sessions show one row.

## Signature

```python
print_usage_table(
    stats: SessionStats,
    wall_time: float,
    console: Console,
) -> None
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `stats` | `SessionStats` | Yes | Cumulative session stats. |
| `wall_time` | `float` | Yes | Total wall-clock time in seconds. |
| `console` | `Console` | Yes | Rich console for output. |

---

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