Skip to content

pyATR v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Aug 07:34
· 64 commits to main since this release
7c65e48

Python reference engine for Agent Threat Rules (Layer 1 regex detection).

Install:

pip install pyatr==0.3.0

Use:

from pyatr import ATREngine, AgentEvent
engine = ATREngine()
engine.load_rules_from_directory('rules')
matches = engine.evaluate(AgentEvent(content=user_input, event_type='llm_input'))

See python/README.md for full docs.