<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# Implementing Threat Modeling Tools Comparison — API Reference

## agent.js CLI

```bash
node scripts/agent.js --action assess --input requirements.json
node scripts/agent.js --action compare
node scripts/agent.js --action score --input requirements.json
node scripts/agent.js --action report --input requirements.json --output report.json
```

## Tools Evaluated

| Tool | Type | Cost |
|------|------|------|
| Microsoft TMT | Desktop | Free |
| OWASP Threat Dragon | Web | Free |
| pytm | Code (Python) | Free |
| IriusRisk | SaaS | Paid |
| Threagile | Code (YAML) | Free |

## Requirements JSON Schema

```json
{
  "team_size": 10,
  "budget": "limited | moderate | enterprise",
  "cicd": "github_actions | gitlab_ci | jenkins",
  "priorities": ["automation", "cicd_integration"],
  "weights": {"automation": 0.25, "cicd_integration": 0.25}
}
```
