# ThreadUrlLookupState

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/non_interactive/ThreadUrlLookupState)

Best-effort background LangSmith thread URL lookup state.

Thread safety: the background thread sets `url` then calls `done.set()`.
Consumers must check `done.is_set()` before reading `url`.

## Signature

```python
ThreadUrlLookupState(
    self,
    done: threading.Event = threading.Event(),
    url: str | None = None,
)
```

## Constructors

```python
__init__(
    self,
    done: threading.Event = threading.Event(),
    url: str | None = None,
) -> None
```

| Name | Type |
|------|------|
| `done` | `threading.Event` |
| `url` | `str \| None` |


## Properties

- `done`
- `url`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a9e6e4f7ad7fe161dd9affc3d74bb19784aca70b/libs/cli/deepagents_cli/non_interactive.py#L204)