Skip to content

feat(agents): add risk scenario generator agent with CRML/QBER support#1

Merged
SnehanjanTC merged 1 commit into
mainfrom
feature/risk-scenario-agent
Mar 20, 2026
Merged

feat(agents): add risk scenario generator agent with CRML/QBER support#1
SnehanjanTC merged 1 commit into
mainfrom
feature/risk-scenario-agent

Conversation

@SnehanjanTC

Copy link
Copy Markdown
Owner

Adds a new risk_scenario domain agent that takes a domain as input, gathers public intelligence, and generates calibrated CRML cyber risk scenarios using FAIR-style (Poisson + Lognormal) and QBER-style (Hierarchical Gamma-Poisson + Mixture) models.

Includes 3 @zak_tool functions (fetch_domain_intel, generate_crml_scenario, validate_crml_scenario), deterministic + LLM ReAct execution modes, YAML template, CLI scaffold support, and 43 unit tests.

Add a new ZAK agent (risk_scenario domain) that generates CRML cyber risk
scenarios from domain intelligence. The agent fetches company homepage data,
analyzes industry/tech stack, and produces schema-valid CRML YAML scenarios
using FAIR-style (poisson+lognormal) and QBER-style (hierarchical_gamma_poisson
+mixture) risk models.

New files:
- zak/agents/risk_scenario/ (agent, tools, __init__)
- agent_templates/risk_scenario.yaml
- tests/unit/test_risk_scenario.py (43 tests)

Also fixes all ruff lint errors and reduces mypy strict-mode errors from
116 to 0 across the entire codebase.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@SnehanjanTC SnehanjanTC force-pushed the feature/risk-scenario-agent branch from 7d2dd6a to 8fc5a99 Compare March 20, 2026 12:58
@SnehanjanTC SnehanjanTC merged commit 7ac965d into main Mar 20, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant