# EntityResolutionGuardMiddleware

> **Class** in `deepagents`

📖 [View in docs](https://reference.langchain.com/python/deepagents/profiles/harness/_nvidia_nemotron_3_ultra/EntityResolutionGuardMiddleware)

Send Ultra3 back once when it finalizes with unresolved or mis-bound IDs.

## Signature

```python
EntityResolutionGuardMiddleware()
```

## Extends

- `AgentMiddleware`

## Properties

- `name`
- `state_schema`

## Methods

- [`before_model()`](https://reference.langchain.com/python/deepagents/profiles/harness/_nvidia_nemotron_3_ultra/EntityResolutionGuardMiddleware/before_model)
- [`abefore_model()`](https://reference.langchain.com/python/deepagents/profiles/harness/_nvidia_nemotron_3_ultra/EntityResolutionGuardMiddleware/abefore_model)
- [`after_agent()`](https://reference.langchain.com/python/deepagents/profiles/harness/_nvidia_nemotron_3_ultra/EntityResolutionGuardMiddleware/after_agent)
- [`aafter_agent()`](https://reference.langchain.com/python/deepagents/profiles/harness/_nvidia_nemotron_3_ultra/EntityResolutionGuardMiddleware/aafter_agent)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/c6c340d47d2013a2e7b7230698f73977b7de6756/libs/deepagents/deepagents/profiles/harness/_nvidia_nemotron_3_ultra.py#L1447)