TokenLab model provider plugin for Hermes Agent
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tokenlab_hermes_provider-0.1.0.tar.gz.
File metadata
- Download URL: tokenlab_hermes_provider-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ddd8812e7e5ba7495b14efc078a6e4d7bb6390ca0ec5dd3dd012dbfce0aeb53
|
|
| MD5 |
bafd0ca57a8baaa11a3bfdb743ddcb23
|
|
| BLAKE2b-256 |
872e93e88da53053e0b597915128de9ff2b0696a68eb1253aad3e311714976cf
|
File details
Details for the file tokenlab_hermes_provider-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tokenlab_hermes_provider-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
884d77790d1f077928072da007259c1f780dd234f4704a4b7ac12947fd26a788
|
|
| MD5 |
d29bb3a46c8253a443388f47366d9ee0
|
|
| BLAKE2b-256 |
583a8f5232d619f65648adac29173da5d4bf85bdaf226758433e8713d27e514e
|