AegisMesh

AegisMesh: Trust your AI, but verify its network

Visit Repo
AegisMesh banner

About

## The problem it solves

**AegisMesh SOC Dashboard**

### 🛡️ What is AegisMesh?

AegisMesh is a **Zero-Trust AI Security Gateway** and Security Operations Center (SOC) designed specifically for enterprise autonomous AI systems.

### 🚨 The Problem It Solves

As AI agents become increasingly autonomous, they need to make outbound network requests to APIs, databases, and third-party services to do their jobs. This introduces severe security vulnerabilities: * **Data Exfiltration:** An agent could accidentally or maliciously leak sensitive enterprise data to unauthorized endpoints. * **Lack of Visibility:** It's incredibly difficult to track exactly what APIs and services an autonomous agent is communicating with in real-time. * **Unauthorized Actions:** Agents might attempt to execute unauthorized commands or access restricted resources if they are compromised (e.g., via prompt injection). Traditional network security tools are not built to handle the dynamic, rapid, and autonomous nature of modern AI agents.

### 💡 What People Use It For

* **Real-Time Interception:** It intercepts and analyzes *every* network request made by an AI agent before it reaches the target. It applies zero-trust verification on every single connection with <50μs latency. * **SOC Dashboard Monitoring:** Provides security teams with a centralized, real-time dashboard to visualize threats, monitor agent activity, and manage security alerts. * **Immutable Audit Trails:** Uses Multi-Region AWS Aurora DSQL to log every single agent action with microsecond precision and 99.999% durability for compliance and forensics. * **Policy Enforcement:** Allows teams to set strict boundaries on what an AI agent can and cannot do on the network.

### 🔒 How It Makes Existing Tasks Easier and Safer * **Confident AI Deployments:** Enterprises can deploy powerful, autonomous AI agents knowing they are heavily sandboxed by network-level guardrails. It prevents agents from "going rogue." * **Proactive Threat Blocking:** Because it intercepts requests in real-time, it blocks malicious or unauthorized API calls *before* they happen, rather than just sending an alert after the damage is done. * **Simplified Compliance:** Instead of scraping disparate logs to figure out what an AI did, security teams get a unified, highly durable distributed SQL audit log of all agent interactions. * **Centralized Control:** Security operations teams get a "single pane of glass" to enforce global access policies across thousands of deployed AI agents simultaneously.

## Challenges we ran into

### 1. Frontend: 60FPS with 3D Tilt Cards and Background Particles The landing page design calls for a highly dynamic, "alive" background with floating particles and interactive 3D tilt cards.

**The Hurdle:**

Initially, if you try to track the mouse position using React's `useState` for the 3D tilt cards while simultaneously animating dozens of background particles using Framer Motion or JS intervals, the browser's main thread gets choked. The layout thrashing causes massive FPS drops, making the "premium" enterprise dashboard feel sluggish.

**The Solution:**

I had to strictly separate how these animations were handled to bypass the React render cycle: * **For the 3D Cards:** Instead of using React state (`useState`), I used Framer Motion's `useMotionValue`, `useTransform`, and `useSpring`. When the user moves their mouse over the card, we update the motion values directly. This updates the DOM nodes via CSS transforms without triggering a single React re-render. * **For the Particles:** I completely abandoned JS-based animation for the particles. In `hero-section.tsx`, I generate an array of static particle configurations once, and then inject a raw CSS `@keyframes` block (`aegis-float`). The browser's GPU handles the particle drift independently of the React lifecycle, ensuring the main thread is kept entirely free.

### 2. Backend: Database Connections in Serverless (Aurora DSQL) AegisMesh claims to intercept requests with `<50μs` latency while simultaneously logging every action to AWS Aurora DSQL for compliance.

**The Hurdle:**

In our `app/api/gateway/route.ts`, we are using the `@aws/aurora-dsql-node-postgres-connector` which handles AWS IAM authentication under the hood via the `@aws-sdk/dsql-signer`. However, creating a brand new database connection (`client.connect()`), executing an insert query, and then tearing it down (`client.end()`) on *every single incoming API request* inside a Next.js serverless route introduces massive latency—way more than 50 microseconds. It completely bottlenecks the gateway.

**The Solution:**

While the initial prototype code proves the IAM-signed connection works, to handle production volume, we have to move away from per-request connections. 1. **Connection Pooling:** Instead of instantiating `new AuroraDSQLClient()` inside the `POST` handler, we move the client instantiation to the global scope of the Node/Edge runtime so the connection pool is preserved across warm lambda invocations. 2. **Asynchronous Logging:** To ensure the gateway responds instantly, we shouldn't `await` the Aurora DSQL insert before returning the response. The security policy check happens synchronously, but the audit log insert is decoupled and fired off asynchronously (or pushed to a fast queue like Redis/SQS) so the `NextResponse` can return to the agent in milliseconds while the DB write happens in the background.

Screenshots

AegisMesh screenshot 1AegisMesh screenshot 2

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Agent-Verify

Trust layer for AI agents: ENS identity, on-chain execution proof, and decentralized storage.