PlaybookPulse
secure your data
The problem PlaybookPulse solves
The problem it solves
PlaybookPulse is an AI-powered incident response compliance auditing platform designed for security and DevOps teams.
During a live incident (like a security breach or a major outage), responders often work rapidly across multiple platforms—communicating in Slack, tracking tasks in Jira, and pushing code in GitHub. While teams usually have standard operating procedure (SOP) playbooks, ensuring that every required step was actually followed during the chaos of an incident is a massive challenge.
Post-incident compliance auditing is traditionally a highly manual, tedious process where auditors must read through hundreds of chat logs and ticket histories to verify adherence to frameworks like SOC 2, ISO 27001, or NIST.
PlaybookPulse automates this entire process. * Automated Data Aggregation: It automatically collects the "incident trail" across Slack, Jira, and GitHub.
- Intelligent Playbook Parsing: Using Anthropic's Claude 3.5 Sonnet, it parses your organization's plain-text incident response playbooks to extract structured, expected actions.
- Adherence Auditing: An AI Adherence Checker agent compares the actual actions taken (the trail) against the expected actions (the playbook).
- Compliance Mapping: Findings are automatically mapped directly to major regulatory frameworks (NIST SP 800-61, SOC 2 CC7, ISO 27001 A.16).
- Automated Reporting: It generates comprehensive PDF reports for stakeholders.
It drastically reduces the hours spent on manual post-incident reviews, minimizes human error in compliance audits, and gives security leaders immediate visibility into playbook adherence.
Challenges we ran into
Challenges I ran into
Building a multi-agent orchestration backend with asynchronous operations and LLM integrations presented several unique hurdles:
-
Handling Multi-Agent Concurrency & API Rate Limits: With five specialized agents (Orchestrator, Playbook Parser, Incident Trail, Adherence Checker, and Compliance Mapper) processing data simultaneously, I quickly ran into Anthropic Claude API rate limits.
How I got over it: I implemented aMAX_CONCURRENT_AGENTSenvironment throttle to control parallel execution. Additionally, I built robust automatic retry logic with exponential backoff directly into the Anthropic client wrapper to handleRateLimitExceptiongracefully without crashing the analysis pipeline. -
Unpredictable JSON Outputs from LLMs: Occasionally, the AI would return malformed JSON or wrap the requested JSON output in conversational text (e.g., "Here is your response..."), resulting in
json.JSONDecodeErrorexceptions during the adherence checking and compliance mapping phases.
How I got over it: I added resilient parsing logic that automatically handles JSON extraction (using regex to isolate JSON blocks) and implemented a graceful fallback mechanism to retry the prompt if parsing completely fails. -
Database Concurrency Issues (SQLite Locks): While testing the multi-agent system locally, the concurrent read/write operations from different agents occasionally caused
OperationalError: database is lockedlimitations with SQLite.
How I got over it: I abstracted the database layer using SQLAlchemy and migrated the production-ready configuration to PostgreSQL (postgresql+asyncpg://), which easily handles the concurrent connections required by the asynchronous agents. -
Managing Long-Running Asynchronous States & UX: Coordinating the retrieval of external data across Slack threads, Jira tickets, and GitHub commits—and then passing them through multiple LLM agents—takes time. Standard HTTP requests would time out or leave the user wondering if the system had stalled.
How I got over it: I shifted to an event-driven, real-time approach by implementing a WebSocket manager. The Orchestrator agent broadcasts real-time progress percentages, agent status updates, and live logs directly to the frontend client, using a custom heartbeat/ping-pong protocol to keep the connection alive.
Tracks Applied (1)
Best Use of Gemini API
Gemini

