# OptionKind

> **Class** in `deepagents_code`

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

How an option's raw env/TOML value is coerced to a typed value.

All kinds flow through `resolve_scalar`. The scalar kinds (`BOOL`,
`BOOL_PRESENCE`, `INT`, `FLOAT`, `STR`) are coerced inline by
`_coerce_env`/`_coerce_toml`. `LOG_LEVEL_DELEGATE`, `SHELL_LIST_DELEGATE`,
`SKILLS_DIRS_DELEGATE`, `PTC_DELEGATE`, and `STARTUP_MODE_DELEGATE` defer to
bespoke parsers (their semantics — dynamic debug fallback, colon-split Path
resolution, comma + `recommended`/`all` sentinels, and the PTC/startup-mode
allowlists — do not compress into a generic coercion). `THEME_DELEGATE` is
resolved separately at the top of `resolve_scalar` and never reaches the
inline coercers. `STRUCTURED` marks user-defined tables that the scalar
resolver only passes through for display.

## Signature

```python
OptionKind()
```

## Extends

- `Enum`

## Properties

- `BOOL`
- `BOOL_PRESENCE`
- `INT`
- `FLOAT`
- `STR`
- `LOG_LEVEL_DELEGATE`
- `SHELL_LIST_DELEGATE`
- `SKILLS_DIRS_DELEGATE`
- `PTC_DELEGATE`
- `CURSOR_STYLE_DELEGATE`
- `STARTUP_MODE_DELEGATE`
- `THEME_DELEGATE`
- `STRUCTURED`

---

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