Skip to main content

Safe local incident simulations for AI agents, MCP tools, and agent-generated code.

Project description

ai-incident-lab

Languages: English | 中文

Runnable incident simulations for AI agents, MCP tools, and agent-generated code.

Status

v0.2.1 - safe-local scenario CLI, bundled scenario pack, and first-run init flow.

Purpose

Create safe local workshops and regression scenarios that make Safe Agent Operations concrete.

First Production Surface

Local-only incident scenarios mapped to X-One tools, expected findings, cleanup steps, and reviewer lessons.

After PyPI publication:

python3 -m pip install xone-ai-incident-lab
ai-incident-lab init --output ai-incident-scenarios
ai-incident-lab list --scenarios ai-incident-scenarios
ai-incident-lab validate --scenarios ai-incident-scenarios
ai-incident-lab render --scenarios ai-incident-scenarios --format markdown --output ai-incident-runbook.md
ai-incident-lab render --scenarios ai-incident-scenarios --format json --output ai-incident-runbook.json

After Homebrew tap update:

brew install x-one-ai/tap/ai-incident-lab
ai-incident-lab --version

For local development:

python3 -m pip install -e '.[dev]'
python3 -m pytest tests -q
ai-incident-lab validate --scenarios scenarios

Required Evidence

  • scenario README
  • safe reproduction steps
  • expected finding mapping
  • cleanup instructions
  • teaching notes

Scenario Contract

Scenarios use ai-incident-lab.scenario.v1 and must remain safe-local. They are review exercises, not exploit kits or runtime protection.

Non-Goals

  • no real exploit kit
  • no hosted sandbox first
  • no unsafe secret-bearing fixtures

OPT Operating Model

This project references the shared One Person Team workflow through ops/opt-overlay.md. Project-specific constraints live under ops/constraints, and evolvable local skills live under ops/skills.

Blocked Inputs

Inputs that require user or real-world data are recorded in ../x-one-skipped-inputs.md and should not block foundation work.

Docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xone_ai_incident_lab-0.2.1.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xone_ai_incident_lab-0.2.1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file xone_ai_incident_lab-0.2.1.tar.gz.

File metadata

  • Download URL: xone_ai_incident_lab-0.2.1.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xone_ai_incident_lab-0.2.1.tar.gz
Algorithm Hash digest
SHA256 39728d0b1f948f91badd4227d8a50082d8f107f53058dbee8b9e0fe1805316c5
MD5 9c97713123b08dceb670cf1f74e6a3e1
BLAKE2b-256 46d3f7985ca3e79de47f60af205c956db47a41bf41a29cde03cc168aabf57ab5

See more details on using hashes here.

Provenance

The following attestation bundles were made for xone_ai_incident_lab-0.2.1.tar.gz:

Publisher: publish.yml on X-One-AI/ai-incident-lab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xone_ai_incident_lab-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for xone_ai_incident_lab-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ed4da35ec38fa501be677097206bf29d44b5e0c9eafea61b34804ca7d5cf1b0d
MD5 25b156d999b1157fb00d091f427d81bc
BLAKE2b-256 3163b50bac3ef8b0dcaf7537e2bbeb89b75895653c63decffbf311f460e09314

See more details on using hashes here.

Provenance

The following attestation bundles were made for xone_ai_incident_lab-0.2.1-py3-none-any.whl:

Publisher: publish.yml on X-One-AI/ai-incident-lab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page