Aegis-ZK
On-chain trust verification for AI agent tools. Agents query skill attestations, audit levels, and risk scores before running third-party MCP servers, so you know what's safe before you execute.
README
<p align="center"> <img src="files/aegis-banner-og-1200x630.png" alt="AEGIS Protocol" width="600" /> </p>
<h1 align="center">AEGIS Protocol</h1>
<p align="center"> On-chain zero-knowledge skill attestation for AI agents on Base </p>
<p align="center"> <a href="https://www.npmjs.com/package/@aegisaudit/sdk"><img src="https://img.shields.io/npm/v/@aegisaudit/sdk?label=sdk&color=FF3366" alt="SDK version" /></a> <a href="https://www.npmjs.com/package/@aegisaudit/mcp-server"><img src="https://img.shields.io/npm/v/@aegisaudit/mcp-server?label=mcp-server&color=FF3366" alt="MCP Server version" /></a> <a href="https://aegisprotocol.tech"><img src="https://img.shields.io/badge/website-aegisprotocol.tech-FF3366" alt="Website" /></a> <img src="https://img.shields.io/badge/license-MIT-blue" alt="License" /> </p>
What is AEGIS?
AEGIS is a protocol for verifiable AI agent skill attestation. Auditors evaluate AI agent skills, generate zero-knowledge proofs of their assessment, and submit the results on-chain to the AEGIS Registry on Base. Anyone can query, verify, and dispute these attestations — creating a trustless reputation layer for AI agents.
How it works:
- A developer registers a skill definition (what the agent claims to do)
- An auditor evaluates the skill and generates a ZK proof of their assessment
- The attestation (proof + result) is submitted on-chain to the AEGIS Registry
- Anyone can verify the proof on-chain or dispute a fraudulent attestation
How to Use
AEGIS is a trust verification layer for AI agent skills — it does not execute skills. Use it to check whether a skill has been audited before you run it.
import { AegisClient } from '@aegisaudit/sdk';
const aegis = new AegisClient({ chainId: 84532 });
// 1. Discover registered skills
const skills = await aegis.listAllSkills();
// 2. Check attestations for a skill
const attestations = await aegis.getAttestations(skills[0].skillHash);
// 3. Verify the ZK proof on-chain
const trusted = await aegis.verify(skills[0].skillHash, 0);
// 4. If trusted → execute the skill using the publisher's own SDK/API
The typical integration flow:
- Query AEGIS — is this skill registered? Has it been audited?
- Verify the proof — is the audit cryptographically valid?
- Check the stake — how much ETH did the auditor risk on this assessment?
- Execute the skill — get the code from the skill publisher (not from AEGIS) and run it
See the SDK README for a full integration guide with audit levels.
Architecture
aegis/
├── packages/
│ ├── sdk/ # @aegisaudit/sdk — TypeScript client library
│ ├── mcp-server/ # @aegisaudit/mcp-server — MCP tools for AI agents
│ ├── contracts/ # Solidity smart contracts (Foundry)
│ ├── circuits/ # Noir ZK circuits (Barretenberg)
│ └── cli/ # Command-line interface
├── apps/
│ └── web/ # Frontend — React + Vite + Three.js
└── scripts/ # Deployment & seed scripts
Quick Start
git clone https://github.com/aegis-zk/aegisprotocol.git
cd aegis
pnpm install
pnpm build
Requires Node.js 20+ and pnpm 9+.
Packages
| Package | Description | npm |
|---|---|---|
@aegisaudit/sdk |
TypeScript SDK for querying and interacting with the AEGIS Registry | |
@aegisaudit/mcp-server |
MCP server exposing AEGIS as tools for Claude, Cursor, and other AI agents |
Deployed Contracts
| Contract | Network | Address |
|---|---|---|
| AegisRegistry | Base Sepolia | 0x851CfbB116aBdd50Ab899c35680eBd8273dD6Bba |
Tech Stack
- Language — TypeScript, Solidity, Noir
- Blockchain — Base L2 (Ethereum rollup)
- ZK Proofs — Noir circuits compiled with Barretenberg (BB.js)
- Smart Contracts — Foundry (forge)
- Client — viem
- AI Integration — Model Context Protocol (MCP)
- Frontend — React 19, Vite, Three.js, wagmi
- Build — Turborepo, pnpm workspaces, tsup
Links
- Website — aegisprotocol.tech
- SDK — npmjs.com/package/@aegisaudit/sdk
- MCP Server — npmjs.com/package/@aegisaudit/mcp-server
- GitHub — github.com/aegis-zk/aegisprotocol
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.