Skip to content

Conversation

@bokelley
Copy link
Contributor

Summary

Implements federated agent and publisher discovery for the AdCP directory. The system now returns both directly registered agents/publishers and those discovered from publisher adagents.json files and sales agent responses.

Key Features

  • Registered + Discovered Agents: Lists agents from member profiles plus agents discovered from publisher authorized_agents arrays
  • Registered + Discovered Publishers: Lists publishers from member profiles plus publishers discovered from sales agent list_authorized_properties responses
  • Reverse Lookups: Find agents authorized for a domain, domains an agent is authorized for, and sales agents claiming a domain
  • API Endpoints: Five new federated endpoints plus MCP tools for discovery and lookups
  • Database-backed: PostgreSQL cache with optimized indexes for fast queries

Implementation

  • New database schema with discovered_agents, discovered_publishers, and agent_publisher_authorizations tables
  • FederatedIndexService merges registered and discovered data with proper deduplication
  • Crawler automatically crawls both registered publishers and sales agent discovered domains
  • Support for both verified authorizations (from adagents.json) and unverified claims (from agent responses)

🤖 Generated with Claude Code

Add crawler support for discovering agents from registered publishers' adagents.json files. The crawler now crawls both registered publishers (from member profiles) and publishers discovered from sales agents' list_authorized_properties. This ensures comprehensive federation of all agents and publishers in the directory.

🤖 Generated with Claude Code

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
@bokelley bokelley force-pushed the bokelley/federated-discovery branch from e45d85c to 24ee178 Compare December 22, 2025 17:32
@bokelley bokelley merged commit 4870ad0 into main Dec 23, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants