# rgltr Examples

These examples demonstrate rgltr usage.

## Setup

```bash
pip install pydantic-ai rgltr
```

## Run

```bash
python examples/01_basic_tags_and_boundaries.py
...
```

## Remote MCP Example (Context7)

This example requires network access and the `mcp` dependencies used by PydanticAI.

```bash
python examples/06_mcp_remote_context7.py
```

## Notes

- Most examples use `TestModel` for deterministic behavior.
- `examples/07_builtin_tools_optional_governance.py` uses a real model because builtin tools are provider-specific. Set `RGLTR_MODEL` and the matching API key before running.
