# is_yolo_switcher_enabled

> **Function** in `deepagents_code`

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

Return whether Shift+Tab may enter unrestricted YOLO mode.

Resolves the `startup.yolo_switcher` option from env/`config.toml`,
defaulting to enabled. When disabled, the interactive cycle stays Manual /
Auto only (or Manual alone when Auto is ineligible). Sessions already in
YOLO (for example via `--yolo`) can still leave it with Shift+Tab.

## Signature

```python
is_yolo_switcher_enabled() -> bool
```

---

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