Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
c2645e7
feat/integrations: add initial documentation for available integrations
davanstrien Nov 3, 2025
91e4a4f
feat(open-code): add initial documentation for OpenCode integration w…
davanstrien Nov 3, 2025
fbcc4cf
fix(open-code): clarify GitHub Actions integration usage in documenta…
davanstrien Nov 3, 2025
e89f905
feat(integrations): add Inference Provider Integrations section to do…
davanstrien Nov 3, 2025
794cece
feat(integrations): add OpenCode section to Inference Provider Integr…
davanstrien Nov 3, 2025
55ce637
fix(integrations): correct spelling and formatting in Integrations se…
davanstrien Nov 3, 2025
ed4587f
try different organization
davanstrien Nov 3, 2025
21e1e21
temp example intergration page
davanstrien Nov 3, 2025
1113a5d
fix(integrations): update OpenCode logo URLs to use absolute paths
davanstrien Nov 3, 2025
7c14a24
feat(integrations): add MacWhisper integration documentation
davanstrien Nov 3, 2025
7175c29
fix(integrations): comment out OpenCode logo HTML for clarity
davanstrien Nov 3, 2025
c7afa96
refactor(integrations): enhance overview and structure of integration…
davanstrien Nov 3, 2025
5c86e6f
typo
davanstrien Nov 4, 2025
1d96831
feat(integrations): add initial integrations overview documentation
davanstrien Nov 4, 2025
65a509a
simple index version
davanstrien Nov 6, 2025
44513d4
feat(integrations): add simple version of integrations overview
davanstrien Nov 6, 2025
9c79d19
feat(integrations): update integrations section and remove outdated d…
davanstrien Nov 6, 2025
45caf3d
tidy poc
davanstrien Nov 6, 2025
0af6158
first pass
davanstrien Nov 14, 2025
569c6c2
second pass
davanstrien Nov 14, 2025
76dcade
feat(integrations): implement hybrid table + categories structure
davanstrien Nov 14, 2025
79dbac3
fix(macwhisper): update prerequisites and model ID examples for clarity
davanstrien Nov 14, 2025
de18917
fix(adding-integration): simplify requirements and submission steps f…
davanstrien Nov 14, 2025
109fa93
fix(adding-integration): update code block formatting for consistency
davanstrien Nov 14, 2025
13c0c8a
fix(adding-integration): correct terminology for Inference Providers
davanstrien Nov 14, 2025
c44e8c9
fix(adding-integration): remove emphasis formatting from submission s…
davanstrien Nov 14, 2025
59d6270
fix(adding-integration): remove unnecessary questions section for cla…
davanstrien Nov 14, 2025
b6075ea
fix(adding-integration): add clarification on compatibility with Open…
davanstrien Nov 14, 2025
e3f5c89
fix(adding-integration): update documentation to clarify connection t…
davanstrien Nov 14, 2025
e23f893
simpler
davanstrien Nov 14, 2025
c6dbff4
Update docs/inference-providers/integrations/index.md
davanstrien Nov 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/inference-providers/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@
- local: guides/vscode
title: VS Code with GitHub Copilot

- title: Integrations
sections:
- local: intergrations/index
title: Integrations Overview
- local: intergrations/adding-integration
title: Add Your Integration
- local: intergrations/open-code
title: OpenCode

- local: tasks/index
title: Inference Tasks
sections:
Expand Down
59 changes: 59 additions & 0 deletions docs/inference-providers/intergrations/adding-integration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Add Your Integration

Building a tool that works with Hugging Face Inference Providers? We'd love to feature it in our integrations directory!

## Requirements

To be listed, your integration should:

- ✅ **Work with HF Inference Providers** via our API or OpenAI-compatible endpoints
- ✅ **Be actively maintained** with recent commits or releases
- ✅ **Have clear documentation** showing how to connect to HF

## How to Submit

1. **Test your integration** with Hugging Face Inference Providers
2. **Fork the repository** at [github.com/huggingface/hub-docs](https://github.com/huggingface/hub-docs)
3. **Add your integration page** in `docs/inference-providers/integrations/`
4. **Update the index** in `docs/inference-providers/integrations/index.md`
5. **Submit a Pull Request** with your changes

## Integration Page Template

Create a file named `your-tool-name.md` with this structure:

```markdown
# Your Tool Name

Brief description of what your tool does.

## Overview

How your tool integrates with Hugging Face Inference Providers.

## Prerequisites

- Your tool installed
- HF account with [API token](https://huggingface.co/settings/tokens)

## Configuration

Step-by-step setup instructions with code examples.

## Resources

- [Your Tool Documentation](https://yourtool.com/docs)
- [HF Integration Guide](link-to-your-guide)
```

## Updating the Index

Add your tool to the table in `integrations/index.md`:

```markdown
| [Your Tool](./your-tool) | Brief description | [Docs](https://yourtool.com/docs) | [Guide](../guides/your-guide) |
```

## Questions?

Need help with your integration? Visit the [Hugging Face Forums](https://discuss.huggingface.co/) or open an issue in the [hub-docs repository](https://github.com/huggingface/hub-docs/issues).
13 changes: 13 additions & 0 deletions docs/inference-providers/intergrations/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Integrations

Hugging Face Inference Providers integrates with a growing ecosystem of tools making it easy to use state-of-the-art models in your favorite development environments and workflows.

## Available Integrations

| Integration | Description | Tool Documentation | HF Guide |
| ----------------------- | -------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------------------- |
| [OpenCode](./open-code) | AI coding agent built for the terminal | [Docs](https://opencode.ai/docs/providers/#hugging-face) | [GitHub Actions with OpenCode](../guides/github-actions-code-review) |

## Adding Your Integration

Building a tool that integrates with Hugging Face Inference Providers? We'd love to feature it! Check our [contribution guidelines](https://github.com/huggingface/hub-docs) for details on how to add your integration to this page.
65 changes: 65 additions & 0 deletions docs/inference-providers/intergrations/open-code.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# OpenCode

<div class="flex justify-center">
<a href="https://opencode.ai/" target="_blank">
<img class="block dark:hidden" src="https://opencode.ai/_build/assets/preview-opencode-wordmark-light-nzmKQT2r.png" alt="OpenCode">
<img class="hidden dark:block" src="https://opencode.ai/_build/assets/preview-opencode-wordmark-dark-tZ1Y3VXe.png" alt="OpenCode"/>
</a>
</div>

[OpenCode](https://opencode.ai/) is an AI coding agent built for the terminal that helps with code review, refactoring, testing, and general development tasks.

## Overview

OpenCode natively supports Hugging Face Inference Providers, giving you access to open models from 17+ providers through a single interface.

## Prerequisites

- OpenCode installed ([installation guide](https://opencode.ai/docs))
- A Hugging Face account with [API token](https://huggingface.co/settings/tokens/new?ownUserPermissions=inference.serverless.write&tokenType=fineGrained) (needs "Make calls to Inference Providers" permission)

## Configuration

### Quick Setup

1. Create a Hugging Face token with Inference Providers permissions at [huggingface.co/settings/tokens](https://huggingface.co/settings/tokens/new?ownUserPermissions=inference.serverless.write&tokenType=fineGrained)

2. Run `opencode auth login` and select **Hugging Face**:

```bash
$ opencode auth login

┌ Add credential
◆ Select provider
│ ● Hugging Face
│ ...
```

3. Enter your Hugging Face token when prompted:

```bash
┌ Add credential
◇ Select provider
│ Hugging Face
◇ Enter your API key
│ hf_...
```

4. Run the `/models` command in OpenCode to select a model.

Once configured, OpenCode will use your selected model for all operations. You can switch models anytime using the `/models` command in the OpenCode TUI (Terminal User Interface).

## GitHub Actions Integration

OpenCode can also be used to run open models in GitHub Actions via Inference Providers. See our [GitHub Actions guide](../guides/github-actions-code-review) for setting up automated PR reviews.

## Resources

- [OpenCode Documentation](https://opencode.ai/docs)
- [OpenCode Provider Configuration](https://opencode.ai/docs/providers/#hugging-face)
- [GitHub Actions Integration Guide](../guides/github-actions-code-review)