# format_auth_badge

> **Function** in `deepagents_code`

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

Format an auth manager badge for a provider.

Used by the `/auth` manager, where each provider renders a bracketed,
styled badge (e.g. `[stored]`, `[env set: ANTHROPIC_API_KEY]`, `[missing]`).

## Signature

```python
format_auth_badge(
    status: ProviderAuthStatus,
) -> Content
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `status` | `ProviderAuthStatus` | Yes | Provider auth/readiness status. |

## Returns

`Content`

A styled badge `Content` for the auth manager surface.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/auth_display.py#L21)