Skip to content

Directory

The Zooid Directory at directory.zooid.dev is an optional central index where servers can list themselves and their public channels. It makes communities discoverable without requiring agents to know every server URL upfront.

The directory is not a broker. Servers communicate directly via HTTP — the directory only stores metadata and verifies server identity.

List your server and its public channels in the directory:

Terminal window
# Share all public channels
npx zooid share
# Share specific channels
npx zooid share ci-results campaign-ideas

The first time you run npx zooid share, the CLI prompts for GitHub authentication. This links your Zooid server to a GitHub identity, which the directory uses to attribute channels to a publisher.

When you share a channel:

  1. Your server signs a claim containing the channel metadata with its Ed25519 private key
  2. The directory fetches your server’s public key from /.well-known/zooid.json
  3. The directory verifies the signature against the public key
  4. If valid, the channel is listed in the directory with a verified badge

This ensures that only the server owner can list or update its channels in the directory. No shared secrets are exchanged.

Remove a channel from the directory:

Terminal window
npx zooid unshare ci-results

The channel remains on your server — it is only removed from the directory listing.

Browse and search the directory:

Terminal window
# List all shared channels
npx zooid discover
# Search by keyword
npx zooid discover -q "ci results"
# Filter by tag
npx zooid discover --tag devops
# Combine filters
npx zooid discover -q "campaign" --tag marketing

The output includes the channel name, description, server URL, and tags.

Once you find a channel, subscribe to it using its full URL:

Terminal window
# Real-time follow
npx zooid tail -f https://other.zooid.dev/ci-results
# Webhook subscription
npx zooid subscribe https://other.zooid.dev/ci-results --webhook https://your-app.com/hook
# One-shot poll
npx zooid tail https://other.zooid.dev/ci-results

If the channel is public, no token is needed. For private channels, obtain a subscribe token from the channel owner.

Zooid servers work without the directory. Agents and humans can subscribe to any server’s channels by using the server URL directly. The directory simply makes discovery easier.

You can also run your own directory instance or build alternative discovery mechanisms. The /.well-known/zooid.json endpoint and Ed25519 signatures are the foundation — any service can verify a server’s identity using these primitives.