- Step1: Install SecGPT with pip install secgpt
- Step2: Define your security profile in a YAML file with rules and policies
- Step3: Import SecGPT and initialize the SecGPT client in your Python code
- Step4: Attach SecGPT middleware to your LLM pipeline (e.g., LangChain)
- Step5: Configure desired modules (injection detection, adversarial simulation, compliance checks)
- Step6: Run your application and review generated security reports for any violations