π PeroAI β Multi-Agent GenAI Firewall on AWS
PeroAI is a multi-agent governance system that detects, explains, rewrites, and audits user prompts to ensure enterprise safety and compliance in GenAI applications.
Built for the AWS + Impetus GenAI Hackathon, PeroAI tackles the growing need for trust and governance in LLM usage by combining smart UX and a Lambda-based architecture.
π‘ Inspiration
As GenAI becomes embedded in enterprise workflows, it introduces risk: jailbreaks, privacy leaks, unsafe prompts. Enterprises need guardrailsβnot just LLMs.
PeroAI was inspired by this problem. It aims to be a smart firewall between users and AI, enforcing safe, ethical, and compliant use of LLMs like Claude and GPT.
βοΈ What It Does
- β Detects harmful or sensitive content in prompts
- π§ Explains policy violations in plain language
- βοΈ Rewrites unsafe prompts using Amazon Bedrock (Claude v2)
- π Logs every interaction for audit/compliance in MCP format
- π§© Runs on AWS Lambda with optional Step Function orchestration
π How We Built It
β Frontend
- Next.js + React UI to input prompts and show results
- Ready for API integration with Bedrock + Lambda
- Clean UX with optional 3D avatar interface
π§ Backend (In Progress)
- Designed multi-agent system with four Lambda agents:
GuardAgentβ detects violationsPolicyAgentβ explains themRewriteAgentβ rewrites using ClaudeAuditAgentβ logs using MCP
- Uses Amazon Bedrock, DynamoDB, and AWS Lambda
π§ͺ Demo Flow
- User types a prompt
- Prompt is analyzed and passed through agent checks
- Unsafe prompts are rewritten using Claude
- All actions logged securely and traceably
π Folder Structure
Built With
- nextjs
- python
Log in or sign up for Devpost to join the conversation.