Metadata-Version: 2.4
Name: GuardianLayer
Version: 2.0.0
Summary: Prevent infinite loops for AI agents
Author: Michael
License: MIT
Project-URL: Homepage, https://github.com/your-org/GuardianLayer
Project-URL: Repository, https://github.com/your-org/GuardianLayer
Project-URL: Issue Tracker, https://github.com/your-org/GuardianLayer/issues
Keywords: ai,loop,guardian,meta-cognition,agent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiosqlite>=0.19.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: structlog>=22.0.0; extra == "dev"
Requires-Dist: sphinx>=5.0.0; extra == "dev"
Requires-Dist: sphinx-rtd-theme>=1.2.0; extra == "dev"
Requires-Dist: pre-commit>=2.20.0; extra == "dev"
Dynamic: license-file

# GuardianLayer

[![PyPI](https://img.shields.io/pypi/v/GuardianLayer.svg)](https://pypi.org/project/GuardianLayer/)
[![Tests](https://github.com/your-org/GuardianLayer/actions/workflows/ci.yml/badge.svg)](https://github.com/your-org/GuardianLayer/actions)
[![Docs](https://img.shields.io/badge/docs-Sphinx-blue)](https://your-docs-url)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

Library to prevent infinite loops in AI systems.

## Installation
Install the package from PyPI:

```bash
pip install GuardianLayer
```

(If you are installing a development copy from source:)
```bash
git clone https://github.com/your-org/GuardianLayer.git
cd GuardianLayer
pip install -e '.[dev]'
```

## Usage
```python
from GuardianLayer import LoopDetector

detector = LoopDetector()
result = detector.check({"tool": "search", "query": "test"})

if result[0]:  # If loop detected
    print(f"Loop: {result[1]}")
```

Notes:
- Package name on PyPI and the import name are both `GuardianLayer`.
- Example CLI/HTTP endpoints (if your project exposes any) and docs are available via the repository and the `docs/` folder — update the links above after you publish the docs or host them (ReadTheDocs / GitHub Pages).

## License

MIT
