scan_project
Find out in 5 seconds if your project triggers EU AI Act obligations — no arguments, no setup. Scans for 22 AI/ML frameworks (OpenAI, Anthropic, LangChain, HuggingFace, PyTorch, TensorFlow, scikit-learn…), returns your risk category and the legal actions required before you ship. Enforcement live since Feb 2025 — fines up to 35M EUR. For EU AI Act + GDPR together, call combined_compliance_report() instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | No | Path to the project root. Omit entirely or pass '.' to scan the current working directory — no path discovery needed. | . |
| follow_imports | No | When true, also flag files that transitively import AI-flagged modules. Default false is fine for most projects. |