Spec Blog Products Services Contact Follow the Build
Draft Spec · Phase 4

Distribution

Created: 2026-04-01  ·  Status: DRAFT  ·  Builds on: Phase 3 — Registry
Phase 1 — Identity Phase 2 — Passport Phase 3 — Registry Phase 4 — Distribution

What This Is

Phases 1–3 built the primitives: identity, capability attestation, and a discoverable registry. Phase 4 is where the ecosystem opens up — the developer-facing surface that lets third parties build on the infrastructure we've built for ourselves.

The Core Problem

After Phase 3, the stack works. But it's not yet an ecosystem. Phase 4 answers four questions:

  1. How do external developers use these primitives?
  2. How do third-party agents join the network?
  3. How do we sustain the infrastructure commercially?
  4. How does the protocol become a standard?

SDK Distribution

Package structure

@agentcy/identity   — Phase 1: AgentID, signing, verification
@agentcy/passport   — Phase 2: Passport issuance, verification, capability checks
@agentcy/registry   — Phase 3: publish, lookup, query, subscribe
@agentcy/a2a        — Convenience bundle: all three

TypeScript-first. Node.js + browser + edge-compatible. Zero external crypto dependencies (Web Crypto API). ESM + CJS builds.

Minimal usage

import { generateIdentity } from '@agentcy/identity';
import { issuePassport } from '@agentcy/passport';
import { RegistryClient } from '@agentcy/registry';

// Generate identity
const { agentId, privateKey } = await generateIdentity({ name: 'My Agent' });

// Self-issue a passport
const passport = await issuePassport({
  subjectAgentId: agentId,
  capabilities: [{ token: 'tool:web_search' }, { token: 'email:send' }],
  issuerPrivateKey: privateKey,
  issuerInfo: { type: 'self', name: 'My Agent' },
  ttlDays: 30,
});

// Publish to registry
const client = new RegistryClient({ endpoint: 'https://registry.agentcy.services' });
await client.publishIdentity(agentId, privateKey);
await client.publishPassport(passport, privateKey);

// Peer-side discovery
const results = await client.queryByCapability('tool:web_search');
const { valid } = await client.verifyPassport(results[0].passports[0]);

Protocol Specification

The A2A protocol spec is a formal, versioned document — implementable by anyone, in any language.

Covers: AgentID format · Passport format · Revocation format · Registry API · Wire formats · AgentSig auth · Gossip protocol · Capability token registry

Published at: spec.agentcy.services/v1/ (HTML + PDF + GitHub)

License: Creative Commons Attribution 4.0 — no restrictions on implementation

A public conformance test suite (@agentcy/conformance-tests) lets third-party implementors verify protocol compliance. Passing implementations display a "Conformant with A2A Protocol v1" badge.

Developer Portal

Agent Marketplace

A human-browsable view of the Registry — like npm, but for agents. Filterable by capability, issuer type, and use case tags.

Verification tiers (visual)

Open listing (no curation). Trust signals do the job that curation can't scale to do.

Issuer Program

Self-service (free)

Register issuer record, issue Passports for own agents. Low trust weight.

Verified Issuer (free, apply)

DNS domain verification + Issuer Code of Conduct. Operator-verified badge.

Audited Issuer (paid)

Third-party capability audit. Highest trust weight. Required for regulated industries.

Commercial Model

Revenue lines

Identity Anchoring

Free for self-issued. Small annual fee for domain-verified operator registrations. Covers Registry infrastructure costs.

Registry API Access

Free tier (1K reads/100 writes per month). Developer and Production tiers for higher volume. Usage-based above threshold.

Audited Issuer

Third-party audit fees pass through + margin.

Enterprise Registry

Managed private Registry node with Agentcy support. Optional federation with public Registry. SLA + dedicated support.

Infrastructure should be free for developers experimenting. Monetize at the commercial-deployment layer. Charging developers to experiment kills adoption.

Phase 3.5 vs. Phase 4

These are parallel tracks, not sequential. Both build on Phase 1–3.

Phase 3.5 (Co-Working Space)Phase 4 (Distribution)
Product: Stripe for agent collaborationPlatform: SDK + protocol + marketplace
Revenue: outcome-based value captureRevenue: identity anchoring + API usage
Audience: operators coordinating agentsAudience: developers building with primitives
Both build on Phase 1 + 2 + 3

Open Questions

Q1: Registry server license

Lean: BSL 1.1 — source available, self-hosting free, commercial managed-service use requires a commercial license. Protects against hyperscaler forks without blocking legitimate use.

Q2: Protocol governance

Lean: Agentcy.Services controls v1. Publish a commitment: no backward-incompatible changes without 90-day notice and community RFC process. Transfer to a foundation if/when ecosystem warrants it.

Q3: SDK language prioritization

Lean: TypeScript → Python → Go → Rust. TypeScript first (matches our stack + AI agent tooling ecosystem). Python second (Anthropic, LangChain, AutoGen). Community-driven for Go and Rust unless demand justifies first-party.

Q4: Marketplace curation

Decision: Open listing with automated spam/abuse detection. Curation doesn't scale. Verification tiers are the trust signal — no editorial gatekeeping needed.

Success Criteria for Phase 4

  1. @agentcy/identity, @agentcy/passport, @agentcy/registry published to npm
  2. All packages ≥90% test coverage, conformance suite passes
  3. Protocol spec v1.0 published at spec.agentcy.services (HTML + PDF + GitHub)
  4. Conformance test suite public and runnable
  5. Developer docs site live: getting started, concept guides, API reference, cookbook
  6. Playground live and functional against staging Registry
  7. Agent marketplace live with public Registry entries
  8. Issuer Program onboarding functional (self-service + verified tiers)
  9. Free and paid Registry API tiers active with usage metering
  10. 10 verified issuers in the ecosystem
  11. At least 1 third-party SDK implementation exists
  12. Protocol governance commitment published (90-day notice clause)