TechEx Intelligent Enterprise Solutions Hackathon 2026 Track 1: Agent Security & AI Governance | Prize Pool: $10,000
PolicyForge lets enterprise security teams write AI agent security policies in plain English. Gemini 2.0 Flash converts them to Lobster Trap YAML enforcement rules — no YAML knowledge needed.
- Policy Editor → Type: "Block any agent that tries to read patient SSN or medical records"
- Generate → Gemini creates a Lobster Trap YAML rule in ~2 seconds
- Activate → Policy enforced immediately
- Attack Demo → Fire "PII Exfiltration" attack → See
BLOCKwith 95% risk score - Dashboard → Blocked count increments, audit trail updates live
- Compliance Report → Generate HIPAA report → Download .md
┌─────────────────────────────────────┐
│ PolicyForge UI (Next.js 15) │
│ Dashboard | Editor | Demo | Report│
└──────────────┬──────────────────────┘
│ REST API
┌──────────────▼──────────────────────┐
│ PolicyForge API (FastAPI) │
│ Gemini 2.0 Flash | SQLite │
└──────────────┬──────────────────────┘
│ Policy YAML + Proxy
┌──────────────▼──────────────────────┐
│ Veea Lobster Trap (Port 8080) │
│ Deep Prompt Inspection Proxy │
│ YAML Policy Enforcement │
└─────────────────────────────────────┘
| Layer | Technology |
|---|---|
| Frontend | Next.js 15 (App Router), TypeScript, Tailwind CSS |
| Backend | Python + FastAPI, uv |
| AI | Google Gemini 2.0 Flash |
| Security | Veea Lobster Trap (MIT) |
| Database | SQLite via SQLModel |
| Deploy | Vercel (frontend) + Railway (backend) |
- Python 3.11+ with uv
- Node.js 18+
- Google Gemini API key (free at aistudio.google.com)
cd backend
cp .env.example .env
# Add your GEMINI_API_KEY to .env
uv run uvicorn app.main:app --reload --port 8000cd frontend
npm install
npm run devcd lobstertrap
docker compose upSet MOCK_LOBSTERTRAP=false in backend/.env to use real enforcement.
GEMINI_API_KEY=your_key_here
LOBSTERTRAP_URL=http://localhost:8080
MOCK_LOBSTERTRAP=true # false = real Lobster Trap enforcement
DATABASE_URL=sqlite:///./policyforge.db
CORS_ORIGINS=http://localhost:3000| Method | Path | Description |
|---|---|---|
POST |
/api/policies/generate |
NL → YAML via Gemini |
POST |
/api/policies/save |
Save + activate policy |
GET |
/api/policies |
List all policies |
DELETE |
/api/policies/{id} |
Deactivate policy |
GET |
/api/audit/logs |
Recent audit events |
GET |
/api/audit/metrics |
Dashboard metrics |
GET |
/api/audit/report?standard=HIPAA |
Compliance report |
GET |
/api/demo/attacks |
Available attack types |
POST |
/api/demo/attack |
Fire a test attack |
- Event: TechEx Intelligent Enterprise Solutions Hackathon
- Track: Track 1 — Agent Security & AI Governance
- Powered by: Veea Lobster Trap + Google Gemini
- Team: Muhammad Yaseen
- Deadline: May 19, 2026 "# policyforge"