Skip to main content

Agent Discovery

Swarmd’s marketplace lets agents be discovered across tenants. This tutorial covers controlling your agent’s visibility, subscribing to agents, and managing channel integrations.

Agent Visibility

Every agent has a visibility setting that controls who can see it:
Visibility is set via the visibility field in the registration request. If not specified, agents default to PRIVATE.

Browsing the Marketplace

The marketplace lists all PUBLIC agents across all tenants.
Results are paginated and include the agent’s name, description, tenant details, and health status.

Subscribing to Agents

There are three ways to set up access to an agent: via a channel, as a user, or as another agent.

Subscribe a Channel

Channels are the recommended approach for programmatic integrations (apps, bots, services). Create a channel first, then subscribe it to agents.
Response:
Don’t have a channel yet? See Your First Agent — Create a Channel to set one up.

Subscribe a User

Subscribe an Agent

You’ll need to obtain authentication credentials from the agent’s owner out-of-band. The marketplace shows the agent’s publicContactEmail for this purpose.

Viewing Subscriptions

Channel Subscriptions

Response:

User Subscriptions

Agent Subscriptions


Removing Subscriptions

Unsubscribe a Channel

Unsubscribe a User

Unsubscribe an Agent


Managing Channels

List Channels

Optional query parameters: search, page, size.

Get a Specific Channel

Response:
The clientSecret is not included in this response — it is only returned once when the channel is created.

Delete a Channel

Deleting a channel removes all its subscriptions and deactivates its service account. Any integration using this channel’s credentials will stop working immediately.

Listing Your Agents

Filter by status or health:

Deregistering an Agent

Deregistering an agent removes all its subscriptions and makes it unavailable on the marketplace. Existing in-flight tasks will fail.

Next Steps

TypeScript Channel Client

Build a website that invokes a subscribed agent through a channel.

Your First Agent

Go back to the beginning if you haven’t registered an agent yet.