Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tokenlab_hermes_provider-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tokenlab_hermes_provider-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file tokenlab_hermes_provider-0.1.0.tar.gz.

File metadata

File hashes

Hashes for tokenlab_hermes_provider-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5ddd8812e7e5ba7495b14efc078a6e4d7bb6390ca0ec5dd3dd012dbfce0aeb53
MD5 bafd0ca57a8baaa11a3bfdb743ddcb23
BLAKE2b-256 872e93e88da53053e0b597915128de9ff2b0696a68eb1253aad3e311714976cf

See more details on using hashes here.

File details

Details for the file tokenlab_hermes_provider-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tokenlab_hermes_provider-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 884d77790d1f077928072da007259c1f780dd234f4704a4b7ac12947fd26a788
MD5 d29bb3a46c8253a443388f47366d9ee0
BLAKE2b-256 583a8f5232d619f65648adac29173da5d4bf85bdaf226758433e8713d27e514e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page