Skip to main content

Venice AI model provider plugin for Hermes Agent

Project description

hermes-provider-venice

Venice AI model provider plugin for Hermes Agent.

Venice has a privacy-first OpenAI-compatible inference API. This package registers a venice provider so Hermes can route chat through https://api.venice.ai/api/v1.

Disclaimer: This is an independent, open source project. It is not officially maintained, endorsed, or supported by Venice AI.

Install

# From PyPI:
pip install hermes-provider-venice

# From the latest GitHub main branch:
pip install "git+https://github.com/joshua-mo/hermes-provider-venice.git@main"

# Or from this checkout:
pip install .

For a reproducible GitHub installation, replace main with a release tag.

For Hermes releases without native packaged-provider discovery, or when the package is installed outside Hermes's environment, run the compatibility installer:

hermes-provider-venice install

The package exposes both the current hermes_agent.plugins entry point and the dedicated hermes_agent.model_providers entry point. Hermes releases with native packaged-provider discovery load it automatically when it is installed in the same Python environment as Hermes. The compatibility command copies the same profile to $HERMES_HOME/plugins/model-providers/venice.

To upgrade to the latest release later, run:

hermes-provider-venice update

This runs pip install --upgrade for the package in the current environment and, if the compatibility installer was used, refreshes the copy in $HERMES_HOME. Pass --pre to include pre-releases, or --source "git+https://github.com/joshua-mo/hermes-provider-venice.git@main" to update from GitHub. Restart Hermes afterwards to load the new version.

Add your API key (create one at https://venice.ai/settings/api):

# ~/.hermes/.env
VENICE_API_KEY=your-key-here

Use

hermes -z "hello" --provider venice -m zai-org-glm-5-2

Or in ~/.hermes/config.yaml:

model:
  provider: venice
  default: zai-org-glm-5-2

The live picker fetches GET /models?type=text and filters out offline, non-text, and non-tool-capable models. If that fails, these curated fallbacks are used (refreshed 2026-07-16 from the Venice catalog):

Role Model ID
Recommended default zai-org-glm-5-2
GLM 5 zai-org-glm-5
Grok grok-4-5
Qwen 3.7 qwen-3-7-max, qwen-3-7-plus
DeepSeek V4 deepseek-v4-pro, deepseek-v4-flash
GPT-5.6 (anonymized) openai-gpt-56-luna, openai-gpt-56-terra
Claude (anonymized) claude-opus-4-8, claude-sonnet-5
Gemini gemini-3-5-flash
Uncensored venice-uncensored-1-2
Code qwen3-coder-480b-a35b-instruct-turbo, kimi-k2-7-code
Vision qwen3-vl-235b-a22b
Fast / aux deepseek-v4-flash

Full catalog: https://api.venice.ai/api/v1/models?type=text or https://docs.venice.ai

What the profile does

  • auth_type: api_key via VENICE_API_KEY
  • Optional VENICE_BASE_URL override
  • Sets venice_parameters.include_venice_system_prompt: false so Hermes's system prompt is not appended to Venice's defaults
  • Passes prompt_cache_key from the Hermes session id for better cache locality
  • Filters the live catalog to online, text, tool-capable models
  • Resolves each model's context window from Venice's live catalog
  • Injects live per-token pricing from Venice's catalog into Hermes's cost tracking so session cost, the expensive-model guard, and usage reports work for Venice models (Venice reports per-million USD rates that Hermes's generic OpenAI-compatible pricing parser cannot read)
  • Surfaces the same live pricing and per-model capabilities (reasoning, tools, vision, context) in Hermes's model pickers, including the desktop UI's price column and reasoning toggle
  • Maps Hermes reasoning controls to Venice's recommended disable and model-supported effort parameters, clamping unsupported effort levels and omitting effort entirely for models that reason with a fixed budget

Develop

See DEVELOPMENT.md for setup, checks, local Hermes integration, and live API testing.

Contributions are described in CONTRIBUTING.md.

Uninstall

rm -rf ~/.hermes/plugins/model-providers/venice
# optionally: uv tool uninstall hermes-provider-venice

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

hermes_provider_venice-0.2.1.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

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

hermes_provider_venice-0.2.1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file hermes_provider_venice-0.2.1.tar.gz.

File metadata

  • Download URL: hermes_provider_venice-0.2.1.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hermes_provider_venice-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d46926c2a4d25e1247884aa4b2f94d965a18ddb5a7d6748fcdc83dfa37da12f6
MD5 191f07cced3639f6ac72926eed32daa4
BLAKE2b-256 8c573b0b072d154e622552619c7c3a52dac8d90ddb3a605e73d1376bf2428e5d

See more details on using hashes here.

File details

Details for the file hermes_provider_venice-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: hermes_provider_venice-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hermes_provider_venice-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 461218d5cd84a0623d26c6d835364a54c71820470824307b39e0a45078a95a65
MD5 d4e1952db24e0a95b05cd6ba3635b61c
BLAKE2b-256 7cf7e22bf5fb21ac49e684182fed92614a0fa1e05d749465553a4911eef3df86

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