# How to connect Hugging Face to Hermes

> Connect Hugging Face to Hermes in one click. 8 Hugging Face tools your agent can call from chat. No API keys.

Web version: https://claw-link.dev/hermes/hugging-face

ClawLink gives Hermes a more practical Hugging Face setup than rolling your own integration. Pair once in the browser and your always-on Hermes agent can act on Hugging Face for you — reading and doing real work on your behalf with no auth, token refresh, or tool wiring to build yourself.

## Hugging Face MCP for Hermes

Looking for a Hugging Face MCP server for Hermes Agent? ClawLink connects Hugging Face to Hermes Agent and exposes 8 Hugging Face tools your agent can call over [MCP](https://claw-link.dev/learn/what-is-an-mcp-server), with [hosted auth](https://claw-link.dev/learn/oauth-for-ai-agents) and nothing to run or maintain yourself. Using OpenClaw instead? The [OpenClaw Hugging Face integration](https://claw-link.dev/openclaw/hugging-face) works the same way.

**Start here — paste this into Hermes to set up ClawLink:**

> Set up ClawLink for Hermes and tell me when it's ready.
> 1. Install the plugin: `hermes plugins install ClawLink-HQ/hermes-plugin --enable`
> 2. Start pairing with `hermes clawlink begin`. It prints an approval link, so show me the link and stop, don't wait.
> 3. I'll approve it in my browser, then reply "approved".
> 4. When I say approved, finish setup: `hermes clawlink finish`
> 5. Then run `hermes clawlink test` and tell me whether ClawLink is ready.

## Setup

It takes three steps to connect Hermes to Hugging Face.

1. **Install ClawLink** — add the plugin to Hermes Agent once.
2. **Connect Hugging Face** — one-click OAuth in the ClawLink dashboard.
3. **Use it from chat** — ask Hermes Agent in plain English.

**Alternative for any agent (no plugin needed):** if the Hermes Agent plugin route isn't available or doesn't work, any AI agent with shell access can use the ClawLink CLI instead:

```bash
npx -y @useclawlink/cli login          # sign in via browser — no API key to paste
npx -y @useclawlink/cli connect hugging-face  # connect Hugging Face (browser OAuth)
npx -y @useclawlink/cli actions hugging-face  # list available actions
npx -y @useclawlink/cli run hugging-face <action> --input '<json>'  # execute (add --confirm for writes)
```

## What the Hermes Agent Hugging Face integration can do

8 Hugging Face tools are ready for Hermes Agent once the account is connected.

### All 8 Hugging Face tools for Hermes

| Tool | What it does |
|---|---|
| **Generate chat completion** `hugging_face_generate_chat_completion` | Generate a chat completion response |
| **Generate embeddings** `hugging_face_generate_embeddings` | Convert text into vector embeddings |
| **Get daily papers** `hugging_face_get_daily_papers` | Retrieve daily papers from Hugging Face |
| **Filter dataset rows** `hugging_face_filter_dataset_rows` | Filter rows in a dataset split |
| **Create collection** `hugging_face_create_collection` | Create a new collection on Hugging Face |
| **Create ask access** `hugging_face_create_ask_access` | Request access to a gated repository |
| **Check dataset validity** `hugging_face_check_dataset_validity` | Check whether a dataset is valid |
| **Check models upload method** `hugging_face_check_models_upload_method` | Check upload method for model files |

## Example prompts

**Generate Chat Completion**

> Use Hugging Face to generate chat completion and walk me through the result in plain English.

**Generate Embeddings**

> Use Hugging Face to generate embeddings and walk me through the result in plain English.

**Get Daily Papers**

> Pull the relevant data from Hugging Face, summarize it in plain English, and point out anything that needs attention.

**Filter Dataset Rows**

> Use Hugging Face to filter dataset rows and walk me through the result in plain English.

## ClawLink vs. building it yourself

The alternative to ClawLink is usually manual API key setup plus your own token handling, permission troubleshooting, and tool plumbing for Hermes Agent. That is fine if you want to build and maintain the integration yourself. Most teams just want Hugging Face working from chat.

| | Manual | ClawLink |
|---|---|---|
| **Credential handling** | Collect, validate, store, and rotate the Hugging Face API key yourself, then make sure every tool call uses the right account. | Users complete the hosted ClawLink setup once and the connected Hugging Face account becomes available to the agent without you building credential management. |
| **Ongoing maintenance** | You own refresh logic, permission debugging, environment config, and every provider-specific edge case for Hugging Face. | ClawLink handles the repetitive integration plumbing so your team can focus on the workflow instead of the infrastructure. |
| **Agent usability** | You still need to expose the right Hugging Face actions to the runtime in a format your agent can reliably use. | 8 tools for Hugging Face are already exposed through ClawLink, so the agent can read and act from chat immediately. |

## ClawLink vs. Composio

Composio also exposes Hugging Face to AI agents. It is developer infrastructure: Python and TypeScript SDKs, an MCP server, and a catalog past 1,000 apps, aimed at teams shipping agent products. ClawLink is built for Hermes Agent users instead. You install the plugin once, connect Hugging Face in the browser, and the 8 tools above work from chat. There is no SDK, no config file, and no API key handling. Choosing between them? Read the full [Composio alternatives](https://claw-link.dev/hub/composio-alternatives) comparison.

### Hermes paired but still can't use Hugging Face
Pairing is a two-step handshake: run `hermes clawlink begin`, approve the link in your browser, then run `hermes clawlink finish`. If you ran finish before approving, or the approval link expired, run `hermes clawlink begin` again to get a fresh link. Confirm the plugin was installed with `--enable`, then verify with `hermes clawlink test`.

### Connection succeeds but no tools appear
Reconnect Hugging Face from the dashboard, then start a fresh chat if the runtime still has the old tool catalog loaded.

### The Hugging Face account is connected but the action fails
Check whether the connected account has access to the workspace, inbox, store, or project you are trying to use. Most failures at this stage are permission mismatches, not ClawLink bugs.

### API key setup works but results look incomplete
Double-check that the API key for Hugging Face has the right scopes or account access. A valid key can still be too limited for some reads or writes.

### Is there a Hermes Agent Hugging Face integration?
Yes. ClawLink is the fastest way to connect Hermes to Hugging Face: link your Hugging Face account once in the browser and Hermes Agent can call the Hugging Face API through 8 ready-made tools — no custom code or token handling.

### How do I connect Hugging Face to Hermes with ClawLink?
Install the plugin with `hermes plugins install ClawLink-HQ/hermes-plugin --enable`, then pair once: run `hermes clawlink begin`, approve the link in your browser, and run `hermes clawlink finish`. Connect Hugging Face in the dashboard and Hermes can use it from the next message — no config files or API keys to manage.

### How long does it take to connect Hugging Face to Hermes Agent?
About two minutes. Sign in, click Connect next to Hugging Face in the dashboard, authenticate, and Hermes Agent can use it from the next chat message.

### Why use ClawLink instead of wiring Hugging Face up myself?
The alternative to ClawLink is usually manual API key setup plus your own token handling, permission troubleshooting, and tool plumbing for Hermes Agent. That is fine if you want to build and maintain the integration yourself. Most teams just want Hugging Face working from chat.

### Hermes paired but still can't use Hugging Face
Pairing is a two-step handshake: run `hermes clawlink begin`, approve the link in your browser, then run `hermes clawlink finish`. If you ran finish before approving, or the approval link expired, run `hermes clawlink begin` again to get a fresh link. Confirm the plugin was installed with `--enable`, then verify with `hermes clawlink test`.

## Related

- [Connect ElevenLabs](https://claw-link.dev/hermes/elevenlabs) — Generate speech and voice cloning
- [HeyGen](https://claw-link.dev/hermes/heygen) — Create AI-generated videos, avatars, and voice content
- [Connect Mem0](https://claw-link.dev/hermes/mem0) — Store and retrieve user memories and context for AI agents
