[Integration] Open Agent Trust Registry: lightweight runtime attestation for wallet operations

Abierto
#1,039 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Tranquilo
Stack tecnológico
typescript

Línea de trabajo

El issue no menciona archivos ni pruebas de AgentKit. Comienza con la sección legal del README y las discusiones relacionadas en #1015 y #972; después determina si los maintainers quieren una integración de OATR y qué acción de verificación entra en el alcance. Se considera terminado cuando exista un diseño de integración acordado; el issue no define un objetivo de implementación.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I noticed the conversation around agent identity in #1015 (Observer Protocol) and #972 (MolTrust). Both are solid approaches but require on-chain infrastructure (ERC-8004 contracts, blockchain queries per verification).

For teams that want agent authorization verification without on-chain overhead, I've built the Open Agent Trust Registry (OATR), a lightweight alternative:

  • Ed25519 JWT attestations signed by the agent's runtime (agent-attestation+jwt media type)
  • Offline verification: download the registry manifest once, verify locally, no blockchain calls
  • Runtime-scoped authorization: attestations include scope and constraints fields specifying what the agent is allowed to do
  • MIT licensed, no tokens, no vendor lock-in

How it would work with AgentKit:

import { OpenAgentTrustRegistry } from '@open-agent-trust/registry';

// Load registry once (auto-refreshes every 15 minutes)
const registry = await OpenAgentTrustRegistry.load('https://your-mirror.com');

// Before executing a wallet operation:
const attestation = agent.getAttestation(); // JWT from the agent's runtime
const result = await registry.verifyToken(attestation, 'https://your-service.com');

if (result.valid && result.claims?.scope.includes('wallet:transfer')) {
  // result.issuer — verified runtime that issued this agent
  // result.claims.constraints — additional authorization bounds
  await wallet.transfer({ to, amount });
} else {
  throw new Error(`Agent not authorized: ${result.reason || 'scope_missing'}`);
}

The registry currently has 7 registered issuers with automated CI-verified registration (domain verification + cryptographic proof-of-key-ownership). The manifest is Ed25519-signed, so even if you use a third-party mirror, tampered copies are rejected by the SDK.

Why this matters for AgentKit specifically: The README's legal section notes that agent actions "are NOT acts of Coinbase." Runtime attestation gives developers a tool to verify agent authorization before those actions happen, reducing the liability gap. The attestation's user_pseudonym field provides a pairwise pseudonymous identifier, so authorization is traceable without exposing the user's real identity.

This is complementary to Observer Protocol (#1015). OATR handles "is this agent authorized by its runtime?" while Observer handles on-chain reputation. A defense-in-depth approach would use both.

Happy to submit a PR for an OATR verification action if there's interest.

Lenguaje dominante
TypeScript
Estrellas
1.4k
Forks
900
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de coinbase/agentkit

Todos los issues de coinbase/agentkit

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.