Installation
Via pip
From source
git clone https://github.com/locface/AgentSec.git
cd AgentSec
pip install -e .
Development install
Docker
docker build -t agentsec .
docker run --rm -v $(pwd):/scan agentsec scan /scan
Verify
You should see:
Usage: agentsec [OPTIONS] COMMAND [ARGS]...
AgentSec — security scanner for AI agent configs.
Commands:
scan Scan a directory for security risks in AI agent configurations.