# PathState

> **Class** in `deepagents_code`

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

Whether a probed path exists, is absent, or could not be read.

A `StrEnum` so the value serializes directly to JSON without a custom
encoder.

## Signature

```python
PathState()
```

## Extends

- `StrEnum`

## Properties

- `EXISTS`
- `MISSING`
- `UNREADABLE`

---

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