h2ogpte
Client library for Enterprise h2oGPTe
Decision gist · record as of 2026-08-14
Yes, if you are building on H2OGPTe. The client is actively maintained, has low install friction, supports Python 3.8 through 3.12, and provides a complete interface to the platform's core features. The unclear license status and lack of public visibility into dependency availability warrant checking H2O's documentation before committing to a production deployment. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid API key and network access to an H2OGPTe instance at the specified address.
- Low friction installation as a pure Python wheel.
- Active maintenance with a release within the last day.
License · maintenance · safety
(unclear)
last release 2026-08-13 (1 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 210,369 downloads/mo, #9,495 on PyPI
Alternatives
Verify before relying
pip install h2ogpte
from h2ogpte import H2OGPTE
client = H2OGPTE(
address='https://h2ogpte.genai.h2o.ai',
api_key='sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
)
collection_id = client.create_collection(
name='Contracts',
description='Paper clip supply contracts',
)
chat_session_id = client.create_chat_session(collection_id)
with client.connect(chat_session_id) as session:
reply = session.query(
'How many paper clips were shipped to Scranton?',
timeout=60,
)
print(reply.content)- Whether the package's license is proprietary, open-source, or dual-licensed—the fact sheet does not specify.
- Whether h2o_authn and other H2O-specific dependencies are publicly available or require separate registration.
- Performance characteristics and typical latency for document ingestion and query operations.
What it is and what it does
h2ogpte is a Python client for H2OGPTe, an enterprise retrieval-augmented generation (RAG) platform. It provides programmatic access to create collections, upload and ingest documents, and run semantic queries against those documents using large language models. The client supports both global and collection-specific API keys for different levels of access control, and it can route queries to different LLMs, apply cost controls, enforce structured outputs (JSON or classification), and enable vision-capable modes when needed.
The package is designed for developers building applications that need to combine private or proprietary documents with LLM capabilities—for example, contract analysis, knowledge base Q&A, or document summarization. It handles the async communication layer via aiohttp and websockets, document parsing via beautifulsoup4 and lxml, and structured response formatting via pydantic. The client also provides an OpenAI-compatible API endpoint, allowing it to work with standard OpenAI client libraries.
Use it for
- Upload and query a collection of contracts or legal documents to extract specific terms or answer compliance questions.
- Build a chatbot that answers questions about internal documentation or knowledge bases by ingesting and searching those documents.
- Summarize multiple documents in a collection automatically using the document processing API.
- Route queries to cost-optimized LLMs based on performance requirements and budget constraints.
- Integrate LLM-powered Q&A into existing applications via the OpenAI-compatible REST API.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building on H2OGPTe.
The client is actively maintained, has low install friction, supports Python 3.8 through 3.12, and provides a complete interface to the platform's core features. The unclear license status and lack of public visibility into dependency availability warrant checking H2O's documentation before committing to a production deployment. No known security vulnerabilities.
Install
h2ogpte on PyPI
Before you install
Low friction installation as a pure Python wheel. Active maintenance with a release within the last day. Supports Python 3.8 through 3.12 and PyPy. Depends on 20 runtime packages including aiohttp, pydantic, pandas, and websockets—a moderate but standard dependency footprint for an async-capable client library.
Requires a valid API key and network access to an H2OGPTe instance at the specified address.
Quickstart
pip install h2ogpte
from h2ogpte import H2OGPTE
client = H2OGPTE(
address='https://h2ogpte.genai.h2o.ai',
api_key='sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
)
collection_id = client.create_collection(
name='Contracts',
description='Paper clip supply contracts',
)
chat_session_id = client.create_chat_session(collection_id)
with client.connect(chat_session_id) as session:
reply = session.query(
'How many paper clips were shipped to Scranton?',
timeout=60,
)
print(reply.content)
Verify before relying
- Whether the package's license is proprietary, open-source, or dual-licensed—the fact sheet does not specify.
- Whether h2o_authn and other H2O-specific dependencies are publicly available or require separate registration.
- Performance characteristics and typical latency for document ingestion and query operations.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 20 packagesaiofilesaiohttpaiohttp-retrypydanticpydantic-settingsrequestswebsocketsbeautifulsoup4bs4lxmlpandashttpxh2o_authnpackagingfiletypetzlocalrichpathspecgitpythontoml |
| Maintenance | Actively maintained 1 days since the last release |
| First released | |
| Downloads | 210,369 / month, #9,495 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: h2ogpte-1.7.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “document retrieval and QA”
- h2ogptePython client for querying and managing documents in H2OGPTe, an…
- haystack-aiHaystack is an open-source framework for building production-ready…
- farm-haystackHaystack is an end-to-end NLP framework for building LLM applications…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also needle-python · llama-cloud-services · agent-framework-azure-ai-search · llama-index-core · llama-index-vector-stores-pinecone · embedchain · voyageai · llama-index-vector-stores-qdrant · llama-index-embeddings-azure-openai · unstructured-ingest