NanoGPT Model Provider Plugin for Hermes Agent
This is a plugin that lets Hermes Agent use NanoGPT as a model provider.
Why?
I know the plugin is very simple to implement directly in Hermes Agent since NanoGPT provides OpenAI-like API.
It could be as simple as creating an instance of ProviderProfile that points to the NanoGPT's API.
However, I avoid making changes directly in the upstream Hermes Agent codebase. I don't want to add more code for the maintainers to maintain and review, although I know most of the development is automated using AI agents. (citation needed, but that's the impression I get from skimming the issues and pull requests). I simply want to create and run a plugin as intended: to extend the original software without making direct changes to it.
Installation (Recommended)
Use hermes plugins install command to install this plugin:
hermes plugins install addianto/hermes-nanogpt-provider-plugin
Verify the plugin is installed and recognised by Hermes Agent
If you see nanogpt-provider listed, enable the plugin:
hermes plugins list
hermes plugins enable nanogpt-provider
Installation (via PyPI)
Locate your Hermes Agent's Python virtual environment:
hermes pm env
Go to the parent directory of the virtual environment, activate it and install the plugin:
source .venv/bin/activate
pip install hermes-nanogpt-provider
Verify the plugin is installed and recognised by Hermes Agent
If you see nanogpt-provider listed, enable the plugin:
hermes plugins list
hermes plugins enable nanogpt-provider
Configuration
Add the following environment variables to your Hermes Agent's .env located at $HERMES_HOME/.env:
Note:
$HERMES_HOMEcan be a path to your default Hermes Agent installation or a path to a Hermes Agent profile.
NANOGPT_API_KEY(mandatory): NanoGPT API key. Get it from https://nano-gpt.com/api.NANOGPT_MODEL_LIST_ENDPOINT(optional): NanoGPT model list endpoint. Four possible values:canonical,personalized,subscription,paid. Defaults tocanonicalif not set.
How to Develop & Contribute
See CONTRIBUTING.md.
Acknowledgements
I followed the repository structure of mssteuer/lossless-hermes-py.
License
MIT.
Metadata
Release files for hermes-nanogpt-provider 0.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hermes_nanogpt_provider-0.4.6.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hermes_nanogpt_provider-0.4.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / hermes_nanogpt_provider-0.4.6.tar.gz
| Download URL | hermes_nanogpt_provider-0.4.6.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f743268573bc77c17f8ed632594227adc21727d3937739a897c17e8369996d00
|
|
BLAKE2b-256 checksum How to use checksums |
5aa12651fd27ee4e33066eff00b1595d400e5d41114a7ba8e9eaf345a8a67d09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / hermes_nanogpt_provider-0.4.6-py3-none-any.whl
| Download URL | hermes_nanogpt_provider-0.4.6-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
333504b76fcacf78499b620ddd966a83060fa2fb9f725e3e0a3c383027ebf592
|
|
BLAKE2b-256 checksum How to use checksums |
e23643aac09f64247885fc636f854072ce293e213ee7164c2cb4b2a520123883
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|