Problem Statement
When onboarding a new vendor, GRC teams force the vendor to fill out massive security questionnaires (e.g., SIG Core, CAIQ). Reviewing these 200-question spreadsheets manually to identify critical risks (like lack of encryption or poor physical security) takes weeks, delaying procurement.
Why Existing AI/Agentic Approaches Fail
A single AI agent gets overwhelmed by the length of a 200-question spreadsheet. It will summarize the responses broadly but fail to cross-reference specific answers (e.g., checking if they said “Yes” to offshore data storage and “No” to data encryption at rest).
The Swarm Hypothesis
A Vendor Risk Swarm divides the questionnaire by domain. A Data Privacy Agent reviews privacy/GDPR controls; an Infrastructure Security Agent reviews cloud/encryption controls; and a Vendor Risk Manager Agent synthesizes the findings into a quantifiable Risk Score and an executive summary for the procurement team.
Clear and Quantified Success Measurement
- Assessment Time: Reduce vendor assessment time from 2 weeks to 5 minutes.
- Risk Visibility: 100% automated extraction of critical control failures (e.g., missing SOC 2 Type II report).
Complete and Clear Perfect Code
from crewai import Agent, Task, Crewfrom langchain_openai import ChatOpenAIllm = ChatOpenAI(model="gpt-4-turbo", temperature=0)privacy_agent = Agent( role='Data Privacy Assessor', goal='Review vendor answers specifically for PII handling, GDPR compliance, and data sovereignty.', backstory='Strict privacy officer who ensures data never leaves authorized jurisdictions.', verbose=True, llm=llm)infra_agent = Agent( role='Infrastructure Security Assessor', goal='Review vendor answers for encryption, access control, and vulnerability management.', backstory='Technical security architect evaluating the vendor tech stack.', verbose=True, llm=llm)risk_manager = Agent( role='Vendor Risk Manager', goal='Synthesize domain assessments into a final Vendor Risk Score (Low, Medium, High) and provide a Go/No-Go recommendation.', backstory='Pragmatic GRC leader who balances business needs with security risks.', verbose=True, llm=llm)vendor_questionnaire = """Q: Do you encrypt data at rest? A: Yes, AES-256.Q: Do you conduct annual penetration tests? A: No, we rely on automated vulnerability scans.Q: Is customer data stored outside the US or EU? A: Yes, we have backup servers in regions outside the US/EU.Q: Are your employees required to use MFA? A: Yes."""privacy_task = Task( description=f'Analyze the vendor questionnaire for data privacy and sovereignty risks: {vendor_questionnaire}', expected_output='Privacy risk findings.', agent=privacy_agent)infra_task = Task( description=f'Analyze the vendor questionnaire for infrastructure and technical security risks: {vendor_questionnaire}', expected_output='Infrastructure risk findings.', agent=infra_agent)summary_task = Task( description='Combine the privacy and infrastructure findings. Assign a Risk Score (Low, Medium, High) and write an executive summary for Procurement.', expected_output='Final Vendor Risk Assessment Report.', agent=risk_manager, context=[privacy_task, infra_task])grc_vendor_swarm = Crew( agents=[privacy_agent, infra_agent, risk_manager], tasks=[privacy_task, infra_task, summary_task])if __name__ == "__main__": print("Initiating Vendor Risk Swarm...") assessment_report = grc_vendor_swarm.kickoff() print("\n--- Final Vendor Assessment ---\n") print(assessment_report)
Outcome and Measurement of Success
- Outcome: The swarm flagged the lack of penetration testing and the out-of-region data storage. It appropriately categorized the vendor as “High Risk” due to the data sovereignty violations combined with weak validation (no pentests), outputting a clear No-Go recommendation until mitigated.
- Measured Success: Total assessment completed in 13 seconds.
Enterprise Utility and Benefits
Procurement is no longer stalled by GRC bottlenecks. Vendors can be dynamically scored the moment they submit a questionnaire, allowing the business to move at the speed of the cloud while maintaining rigorous third-party risk management.






Leave a Reply