# default_unix_socket_path

> **Function** in `deepagents_code`

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

Return the default per-process Unix socket path.

Prefers `XDG_RUNTIME_DIR` (per-user, tmpfs-backed, auto-cleaned on
logout) and falls back to the system temp dir when the runtime
directory is unset.

## Signature

```python
default_unix_socket_path() -> Path
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/0412009c5441bef8d75a427e1da8909e33ab5b56/libs/code/deepagents_code/event_bus.py#L329)