Skip to Main Content

Gatekeeper is an auditable financial operations (FinOps) AI agent that moves authorization, policy enforcement, and auditability out of fragile LLM prompts and into the database layer. Built with MongoDB Atlas, LangChain (Groq), Voyage AI, and ElevenLabs, Gatekeeper ensures that autonomous customer-support and billing agents can never execute unauthorized, over-cap, or unverified financial mutations. When a customer support ticket or account action is submitted, LangChain and Groq extract structured intent using strict Zod schemas. Before any customer balance changes, Gatekeeper enforces two layers of protection: Human-in-the-Loop (HITL) & Identity Guardrails: Automatically pauses execution to require operator confirmation and mandatory audit reasoning on customer deductions (CHARGE_CUSTOMER), duplicate-charge amount discrepancies, unrecognized customer names, and account ID mismatches. Pre-Execution Policy Gate & Escalation Workflow: Enforces role-based permissions (support_tier_1, PIN-protected finance_lead, and untrusted_bot). Over-cap requests and new account onboardings from Tier-1 support are blocked before execution and routed to a PIN-protected finance_lead approval inbox. Every approved, blocked, escalated, and rolled-back action is recorded in an immutable audit ledger capturing who authorized it, what changed (pre_state to post_state balance deltas), and why (both LLM reasoning and operator audit notes). Operators can query the audit trail using hybrid natural-language and numeric search, trigger an emergency session kill-switch, or selectively roll back individual or batched transactions with mandatory rollback reasons and spoken ElevenLabs voice narration.

Team

More from Agents in Context Toronto: a MongoDB Hackathon

We simulate real world agent to agent systems built on MongoDB, Langchain (harnesses) ready for use in production to defend all systems. A swarm of real AI…

Legacy Siege project preview

suture is an incident-recovery agent that finishes the job even when its worker crashes mid-run. Cleaning up a leaked key takes a chain of writes across…

suture project preview

Venues play one playlist for everyone, and the apps that let guests shape the music keep their likes on view with no easy way to take them back. Musory: your…

Musory project preview

Robots are starting to learn from people, and fleets can share what one robot learns with every other robot. Nobody can yet answer three questions: who taught…

One Lesson project preview

Phylax Tower is a safety net for airport control towers. In March 2026 at LaGuardia, a jet was cleared to land, and two minutes later a fire truck was cleared…

Phylax Tower project preview

New hires hit the ground at light speed. New devs lose their first days juggling broken setup guides, each solving the same problems alone. Day One finishes…

Day One project preview