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.

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.0.tar.gz (18.1 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.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hermes_provider_venice-0.2.0.tar.gz
  • Upload date:
  • Size: 18.1 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.0.tar.gz
Algorithm Hash digest
SHA256 75276ff965b0b844325956fe44a34968959ba8d7367f97975ac9e3c4cc35e285
MD5 040cf4941cad7d84bf583ba37ce0cdb7
BLAKE2b-256 2b07140843ebef138f76bacf76cdc00380cb16bc640062407b4a31bcc922035b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hermes_provider_venice-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b19546a4c8dc02e8c833835720968cdc71b15211ad14542de5ef6e741b6fc46b
MD5 69baea569d857affc15d14b3db48129d
BLAKE2b-256 3375c460fad73e2e67ca4b7985f37e1c453cd20afb8f2645dcbf1f54ac85e39e

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