# format_known_extras

> **Function** in `deepagents_code`

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

Render the installable extras grouped by category as plain text.

Drives the no-argument `/install` slash-command help so users can
discover valid extras without consulting `pyproject.toml`. Sourced from
the category frozensets above, so it stays in sync with `KNOWN_EXTRAS`
automatically.

## Signature

```python
format_known_extras() -> str
```

## Returns

`str`

Multi-line string with one labeled line per category, each listing
its extras alphabetically.

---

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