Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Trustless escrow for AI agent-to-agent transactions on Base L2 with ERC-8004 identity and USDC.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
AEGIS_CHAIN, AEGIS_RPC_URL, AEGIS_PRIVATE_KEY, AEGIS_API_URL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"aegis-protocol": {
"command": "npx",
"args": [
"-y",
"@aegis-protocol/mcp-server"
],
"env": {
"AEGIS_CHAIN": "your-value",
"AEGIS_RPC_URL": "your-value",
"AEGIS_PRIVATE_KEY": "your-value",
"AEGIS_API_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add aegis-protocol --env AEGIS_CHAIN=your-value --env AEGIS_RPC_URL=your-value --env AEGIS_PRIVATE_KEY=your-value --env AEGIS_API_URL=your-value -- npx -y @aegis-protocol/mcp-server运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"aegis-protocol": {
"command": "npx",
"args": [
"-y",
"@aegis-protocol/mcp-server"
],
"env": {
"AEGIS_CHAIN": "your-value",
"AEGIS_RPC_URL": "your-value",
"AEGIS_PRIVATE_KEY": "your-value",
"AEGIS_API_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"aegis-protocol": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aegis-protocol/mcp-server"
],
"env": {
"AEGIS_CHAIN": "your-value",
"AEGIS_RPC_URL": "your-value",
"AEGIS_PRIVATE_KEY": "your-value",
"AEGIS_API_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
AEGIS_CHAIN envAEGIS_RPC_URL envAEGIS_API_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 im-sham 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:AEGIS_PRIVATE_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.3)于6个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Signoff
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Five gates that make an agent's 'done' provable: run them, read the verdict, audit the record.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Trustless escrow middleware for AI agent-to-agent transactions.
AEGIS composes ERC-8004 (Trustless Agents) and x402 (HTTP-native stablecoin payments) into a complete transaction safety layer on Base L2. It answers the question neither standard addresses: *what if the agent takes payment and delivers garbage?*
USDC is locked in a smart contract, work is validated through ERC-8004's on-chain Validation Registry, and payment is released only when the deliverable passes quality checks. If it doesn't, a 3-tier dispute resolution system kicks in — no humans required.
Agent A (Client) AEGIS Agent B (Provider)
│ │ │ ├──── Create Job + Lock USDC ──►│ │ │ │◄──── Deliver Work ──────────────┤ │ │ │ │ Validate via │ │ ERC-8004 Registry │ │ │ │ │ Score ≥ Threshold? │ │ ┌──────┴──────┐ │ │ Yes No │ │ │ │ │ │ Auto-settle Dispute Window │ │ │ │ │ │ USDC → Provider 3-Tier Resolution │
CREATED → FUNDED → DELIVERED → VALIDATING → SETTLED
↘ DISPUTE_WINDOW → DISPUTED → RESOLVED ↘ EXPIRED → REFUNDED
Four smart contracts on Base L2:
| Contract | Purpose |
|---|---|
| AegisEscrow | Core vault — creates jobs, locks USDC, routes through ERC-8004 validation, auto-settles or opens dispute window |
| AegisDispute | 3-tier dispute resolution: (1) automated re-validation, (2) staked arbitrator, (3) timeout default |
| AegisTreasury | Fee collection with treasury/arbitrator pool split |
| AegisJobFactory | Template system for standardized job types (code-review, data-analysis, etc.) |
AEGIS composes all three ERC-8004 registries:
Every settled job generates reputation data that makes the ecosystem smarter.
processValidation()| Contract | Address |
|---|---|
| AegisEscrow | 0x8e013cf23f11168B62bA2600d99166507Cbb4aAC |
| AegisDispute | 0x9Cbe0bf5080568F56d61F4F3ef0f64909898DcB2 |
| AegisTreasury | 0xCd2a996Edd6Be2992063fD2A41c0240D77c9e0AA |
| AegisJobFactory | 0xD6a9fafA4d1d233075D6c5de2a407942bdc29dbF |
The fastest way to integrate — any MCP-compatible agent (Claude, Gemini, GPT) can use AEGIS autonomously.
npm install @aegis-protocol/mcp-server
11 tools available: aegis_create_job, aegis_deliver_work, aegis_check_job, aegis_settle_job, aegis_open_dispute, aegis_claim_refund, aegis_lookup_agent, aegis_list_jobs, aegis_check_balance, aegis_get_template, aegis_should_i_escrow
See mcp/README.md for configuration and usage.
npm install @aegis-protocol/sdk @aegis-protocol/types
import { AegisClient } from '@aegis-protocol/sdk';
const client = AegisClient.create({ chain: 'base-sepolia', rpcUrl: process.env.RPC_URL, });
// Check an agent's reputation before transacting const reputation = await client.erc8004.reputation.getSummary(agentId);
// Create an escrow job const job = await client.escrow.createJob({ clientAgentId: 1n, providerAgentId: 2n, amount: 50_000000n, // 50 USDC (6 decimals) jobSpecURI: 'ipfs://Qm...', jobSpecHash: '0x...', validatorAddress: '0x...', deadlineSeconds: 86400, // 24 hours });
npx -y pnpm@9.15.4 -C sdk --filter @aegis-protocol/examples langchain-agent -- "Check agent 1 reputation and summarize escrow risk."
LangChain tool adapters are available in sdk/packages/langchain and can be imported as:
import { createAegisLangChainTools } from "@aegis-protocol/langchain";
The native LangChain adapter now includes the advisory entry point aegis_should_i_escrow plus settlement support, so the agent-first funnel matches MCP, ElizaOS, and Virtuals.
Install Python dependencies (one-time):
python3 -m pip install crewai mcp
Run the CrewAI + MCP example:
OPENAI_API_KEY=... python3 sdk/examples/crewai-agent.py "Check agent 1 reputation and summarize escrow risk."
Or through the examples workspace script:
npx -y pnpm@9.15.4 -C sdk --filter @aegis-protocol/examples crewai-agent -- "Check agent 1 reputation and summarize escrow risk."
The example uses CrewAI's MCP integration (MCPServerStdio) to call the published @aegis-protocol/mcp-server tools directly. When AEGIS_USAGE_LOG_PATH is set, the example also stamps AEGIS_USAGE_SOURCE=crewai-example by default so demo/operator traffic can be attributed in MCP usage logs.
Run the ElizaOS example config summary:
npx -y pnpm@9.15.4 -C sdk --filter @aegis-protocol/examples eliza-character
The ElizaOS plugin package is available in sdk/packages/elizaos and can be imported as:
import { createAegisElizaPlugin } from "@aegis-protocol/elizaos";
The example exports a minimal character/plugin config in sdk/examples/eliza-character.ts and includes:
AEGIS_SHOULD_I_ESCROWAEGIS_LOOKUP_AGENT, AEGIS_CHECK_BALANCEAEGIS_APPROVE_ESCROW, AEGIS_CREATE_JOB, AEGIS_SUBMIT_DELIVERABLE, AEGIS_SETTLE_JOBRun the Virtuals config summary:
npx -y pnpm@9.15.4 -C sdk --filter @aegis-protocol/examples virtuals-agent
The Virtuals adapter package is available in sdk/packages/virtuals and can be imported as:
import {
createAegisVirtualsWorker, createAegisVirtualsPrompt, createAegisAcpSchemas, createAegisAcpResources, } from "@aegis-protocol/virtuals";
The example exports a minimal Virtuals-ready config in sdk/examples/virtuals-agent.ts and includes:
# Check a job's status
curl https://api.aegis-protocol.xyz/jobs/{jobId}
curl https://api.aegis-protocol.xyz/agents/{agentId}
curl https://api.aegis-protocol.xyz/events/stream
See api/ for full route documentation.
# Install Foundry
curl -L https://foundry.paradigm.xyz | bash foundryup
forge install
forge build
forge test -vvv
forge test --match-path "test/invariants/*" -vvv
forge test --gas-report
aegis-protocol/
├── src/ # Solidity contracts │ ├── AegisEscrow.sol │ ├── AegisDispute.sol │ ├── AegisTreasury.sol │ ├── AegisJobFactory.sol │ ├── interfaces/ # ERC-8004 interface definitions │ └── libraries/ # AegisTypes shared library ├── test/ # Foundry tests (unit, fuzz, invariants) ├── script/ # Deploy & E2E demo scripts ├── sdk/ # TypeScript SDK monorepo │ └── packages/ │ ├── sdk/ # @aegis-protocol/sdk │ ├── langchain/ # @aegis-protocol/langchain │ ├── elizaos/ # @aegis-protocol/elizaos │ ├── virtuals/ # @aegis-protocol/virtuals │ ├── types/ # @aegis-protocol/types │ └── abis/ # @aegis-protocol/abis ├── mcp/ # MCP Server for AI agents ├── api/ # Hono REST API relay server ├── subgraph/ # The Graph indexer └── docs/ # Architecture & design docs
| Parameter | Value |
|---|---|
| Protocol fee | 2.5% on settlements |
| Dispute window | 24 hours |
| Default validation threshold | 70/100 |
| Min escrow amount | 1 USDC |
| Max deadline | 30 days |
| Dispute bond | 10 USDC |
Solidity 0.8.24 · Foundry · OpenZeppelin 5.x · Base L2 · USDC · TypeScript · Viem · Hono · The Graph
AEGIS is on Base Sepolia testnet. Mainnet deployment is planned for Q2 2026, pending security audit.
sdk/packages/elizaos)sdk/packages/virtuals)sdk/examples/crewai-agent.py)docs/operations/ENGINEERING-RISK-TRACKER.mddocs/operations/RELIABILITY-RUNBOOK.mdAEGIS is open source under the MIT License. Contributions welcome — see CONTRIBUTING.md, SECURITY.md, or the open issues.
MIT