# is_langsmith

> **Function** in `deepagents_code`

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

Return whether `name` is the LangSmith tracing service.

Centralizes the identity check so the LangSmith-specific branches (project
field instead of a base URL, tracing auto-enable) share one definition
rather than scattering `== LANGSMITH_SERVICE` comparisons.

## Signature

```python
is_langsmith(
    name: str,
) -> bool
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/7794b61a6e76230e8c7a49bdce808b3728305914/libs/code/deepagents_code/model_config.py#L2210)