agents

Get agent harnesses

Get the registry of AI agents / harnesses known to the Hub, along with the standard environment variables used to detect them. Clients use this registry to identify which agent they are running in when reporting Hub activity.

get/api/agent-harnesses

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/agent-harnesses
  • Auth: HTTP bearer

Response

The registry of AI agents / harnesses known to the Hub

standardEnvVarsstring[] required

Standard environment variables that any agent can set to identify itself. Their value is matched against the harness ids.

harnessesobject required

Registered harnesses, keyed by id and ordered by detection priority: the first match wins

Changes

No recorded changes to this operation across all 276 revisions of this API.