TokenLab Provider for Hermes Agent
Use TokenLab models from Hermes Agent through TokenLab's OpenAI-compatible API. The plugin registers TokenLab in the Hermes provider picker, discovers models from the live TokenLab catalog, and keeps a curated agent-capable fallback list for offline setup.
Install
pip install tokenlab-hermes-provider
export TOKENLAB_API_KEY="your-tokenlab-api-key"
hermes plugins enable tokenlab-provider
hermes model
Choose TokenLab, then select a model returned by https://api.tokenlab.sh/v1/models.
For a custom gateway URL, set the OpenAI-compatible /v1 base:
export TOKENLAB_BASE_URL="https://api.tokenlab.sh/v1"
Hermes uses TokenLab's OpenAI-compatible Chat Completions surface for agent execution. TokenLab also exposes native OpenAI Responses, Anthropic Messages, and Gemini generateContent APIs for applications that need those request contracts.
Verify
hermes plugins list
hermes model
The plugin appears as tokenlab-provider, and the provider picker shows TokenLab. Hermes keeps third-party plugins opt-in, so the plugins enable step is required once after installation.
Development
python -m venv .venv
. .venv/bin/activate
python -m pip install -e '.[test]'
pytest
Links
- Website: https://tokenlab.sh
- API compatibility guide: https://docs.tokenlab.sh/zh/guides/ide-sdk-compatibility
- Hermes Agent provider plugin guide: https://github.com/NousResearch/hermes-agent/blob/main/website/docs/developer-guide/model-provider-plugin.md
Release files for tokenlab-hermes-provider 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tokenlab_hermes_provider-0.1.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tokenlab_hermes_provider-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / tokenlab_hermes_provider-0.1.0.tar.gz
| Download URL | tokenlab_hermes_provider-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ddd8812e7e5ba7495b14efc078a6e4d7bb6390ca0ec5dd3dd012dbfce0aeb53
|
|
BLAKE2b-256 checksum How to use checksums |
872e93e88da53053e0b597915128de9ff2b0696a68eb1253aad3e311714976cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / tokenlab_hermes_provider-0.1.0-py3-none-any.whl
| Download URL | tokenlab_hermes_provider-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
884d77790d1f077928072da007259c1f780dd234f4704a4b7ac12947fd26a788
|
|
BLAKE2b-256 checksum How to use checksums |
583a8f5232d619f65648adac29173da5d4bf85bdaf226758433e8713d27e514e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|