# canonical_fingerprint

> **Function** in `deepagents_code`

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

Fingerprint `value` with the canonical workspace serialization.

## Signature

```python
canonical_fingerprint(
    value: object,
) -> str
```

## Returns

`str`

The SHA-256 hex digest of the canonical JSON encoding.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/workspace.py#L198)