← 返回
AI智能 中文

Agent Passport

Enforcement and accountability layer for AI agents. Bring your own identity (did:key, did:web, SPIFFE, OAuth, did:aps). Gateway enforcement boundary, monoton...
AI 代理执行与问责层,支持自带身份(did:key、did:web、SPIFFE、OAuth、did:aps),网关执行边界单调递增。
aeoess aeoess 来源
AI智能 clawhub v5.9.2 7 版本 99935.6 Key: 无需
★ 0
Stars
📥 1,553
下载
💾 20
安装
7
版本
#latest

概述

Agent Passport System

When to use this skill

  • Agent needs cryptographic identity (Ed25519 passport)
  • Delegate authority between agents with scope, spend limits, depth controls
  • Revoke access: one call kills all downstream delegations
  • Run agent commerce with 5-gate checkout (passport, delegation, merchant, spend)
  • Coordinate multi-agent tasks (assign, evidence, review, deliver)
  • Track data contributions with Merkle proofs
  • Encrypt agent-to-agent communication (E2E, forward secrecy)
  • Score agent trust (Bayesian reputation, passport grades 0-3)
  • Enforce values compliance (8 principles, graduated enforcement)
  • Found institutions with charters, offices, approval policies

Install

npm install agent-passport-system        # SDK: /core subpath is the curated default
npm install agent-passport-system-mcp    # MCP server: APS_PROFILE=essential is the default
go get github.com/aeoess/agent-passport-go@v0.2.0-alpha.1   # Go SDK, byte-parity subset (passport, delegation, attribution, completion, in-toto, values)

Minimal SDK import (lead with the curated essentials):

import {
  createPassport, createDelegation,
  evaluateIntent, commercePreflight, generateKeyPair
} from 'agent-passport-system/core'

Minimal MCP install (essential profile is the default; APS_PROFILE=full for all 150 tools):

npx agent-passport-system-mcp

Remote MCP (zero install): https://mcp.aeoess.com/sse

Core workflow

1. Create identity → returns passport + keypair

npx agent-passport join --name my-agent --owner alice

Output: .passport/agent.json with Ed25519 keypair, signed passport, values attestation. Treat like an SSH key.

2. Delegate authority → returns signed delegation

npx agent-passport delegate --to <publicKey> --scope web_search,commerce --limit 500 --depth 1 --hours 24

Output: signed delegation with scope, spend limit, max depth, expiry. Authority can only narrow at each transfer.

3. Record work → returns signed receipt

npx agent-passport work --scope web_search --type research --result success --summary "Found 3 sources"

Output: Ed25519-signed receipt traceable to a human through the delegation chain.

4. Prove contributions → returns Merkle proof

npx agent-passport prove --beneficiary alice

Output: Merkle root + inclusion proofs. 100K receipts provable with ~17 hashes.

MCP tools (150 total on v3.2.1)

Setup: npx agent-passport-system-mcp setup (auto-configures Claude Desktop + Cursor)

Identity & trust (12 tools):

generate_keys, identify, issue_passport, verify_issuer, verify_passport, create_principal, endorse_agent, get_passport_grade, list_issuance_records, get_behavioral_sequence, verify_endorsement, revoke_endorsement

Delegation & revocation (5):

create_delegation, verify_delegation, revoke_delegation, sub_delegate, create_v2_delegation

Commerce & wallets (4):

commerce_preflight, get_commerce_spend, request_human_approval, create_checkout

Coordination (11):

create_task_brief, assign_agent, accept_assignment, submit_evidence, review_evidence, handoff_evidence, get_evidence, submit_deliverable, complete_task, get_my_role, get_task_detail

Communication (7):

send_message, check_messages, broadcast, list_agents, post_agora_message, register_agora_agent, register_agora_public

Governance & policy (12):

load_values_floor, attest_to_floor, create_intent, evaluate_intent, create_policy_context, create_agent_context, execute_with_context, create_charter, sign_charter, verify_charter, create_approval_request, add_approval_signature

Data attribution (10):

register_data_source, create_access_receipt, create_derivation_receipt, create_decision_lineage_receipt, record_training_use, check_data_access, check_purpose_permitted, check_retention_expired, query_contributions, generate_compliance_report

Intent Network (5):

publish_intent_card, remove_intent_card, search_matches, request_intro, respond_to_intro

Framework adapters (8)

One-function governance for every major agent framework. Each wraps tool/task execution with APS delegation checks and Ed25519-signed receipts.

import {
  governLangChainTool,              // LangChain/LangGraph
  governCrewTask,                   // CrewAI
  governMCPToolCall,                // Any MCP server
  governIBACIntent,                 // IBAC (Cedar/OPA)
  passportToA2ACard,                // A2A Agent Cards
} from 'agent-passport-system'

// Also available as standalone packages:
// npm install @aeoess/stripe-governance
// npm install @aeoess/composio-governance
AdapterFunctionWhat it wraps
---------------------------------
LangChaingovernLangChainTool()BaseTool.invoke()
CrewAIgovernCrewTask()Crew task execution
MCPgovernMCPToolCall()Any MCP tool call
IBAC/CedargovernIBACIntent()Cedar/OPA policy tuples
A2ApassportToA2ACard()Agent Card ↔ passport bridge
StripegovernMPPPayment()Stripe agent payments
ComposiogovernComposioAction()250+ tool integrations
GonkagovernGonkaInference()Decentralized GPU compute

Programmatic API

import {
  joinSocialContract,   // → { passport, keyPair, attestation }
  createDelegation,     // → signed Delegation
  processToolCall,      // → { permitted, constraintResults, receipt }
  cascadeRevoke,        // → { revoked: string[], receipts }
  computePassportGrade, // → 0 | 1 | 2 | 3
  createIssuanceContext, // → IssuanceContext with evidence + assessment
} from 'agent-passport-system'

Passport grades (attestation architecture)

GradeMeaningTrust signal
-----------------------------
0Bare Ed25519 keypairUnverified
1Issuer countersignedAEOESS processed
2Runtime-bound + challenge-responseInfrastructure-attested
3Runtime + verified human principalFull chain of trust

Grade travels with the passport. Any consumer reads it without understanding scoring internals.

Key facts

  • Enforcement and accountability layer: bring your own identity, gateway does the rest
  • SDK /core subpath: 24 curated functions for 90% of integrations
  • MCP essential profile: 20 tools by default (identity, delegation, enforcement, commerce, reputation)
  • Policy eval <2ms, 403 ops/sec, 14 constraint dimensions
  • 3,791 tests including 50 adversarial attack scenarios
  • Zero heavy dependencies: Node.js crypto + uuid only
  • Apache-2.0 license
  • Full surface area: 107 modules, 150 MCP tools, available under APS_PROFILE=full and the root agent-passport-system import.

Links

  • npm: https://www.npmjs.com/package/agent-passport-system
  • MCP: https://www.npmjs.com/package/agent-passport-system-mcp
  • PyPI: https://pypi.org/project/agent-passport-system/
  • GitHub: https://github.com/aeoess/agent-passport-system
  • Docs: https://aeoess.com/llms-full.txt
  • Paper: https://doi.org/10.5281/zenodo.18749779

版本历史

共 7 个版本

  • v5.9.2 当前
    2026-06-11 22:59
  • v5.9.1
    2026-06-04 12:35
  • v5.9.0
    2026-05-07 03:19 安全 安全
  • v5.8.0
    2026-05-03 02:52 安全
  • v2.1.0
    2026-03-29 22:09 安全
  • v3.1.0
    2026-03-27 21:25
  • v3.0.0
    2026-03-14 01:10

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

communication-collaboration

Mingle

aeoess
AI驱动的聊天内职业社交网络。类似LinkedIn,但由AI帮你拓展人脉。寻找合作伙伴、联合创始人、自由职业者、专家...
★ 0 📥 600
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,362 📥 318,921
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 244,075