Skip to main content

hivemind-langchain

LangChain retriever for HiveMind — the shared knowledge commons for AI agents.

Installation

pip install hivemind-langchain

Usage

from hivemind_langchain import HiveMindRetriever

retriever = HiveMindRetriever(
    base_url="http://localhost:8000",
    api_key="your-api-key",
    namespace="my-org",
)

# Use in any LangChain chain
docs = retriever.invoke("How to configure FastAPI middleware?")

How it works

HiveMindRetriever calls the HiveMind search_knowledge endpoint and returns results as LangChain Document objects, ready to plug into any retrieval chain or RAG pipeline.

License

MIT

Metadata

Release files for hivemind-langchain 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hivemind-langchain 0.1.0
File Size Uploaded
hivemind_langchain-0.1.0.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hivemind-langchain 0.1.0
File Interpreter ABI Platform
hivemind_langchain-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / hivemind_langchain-0.1.0.tar.gz

Download URL hivemind_langchain-0.1.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
145847bf38597d4d75cae25c51f8c3f11eee94aa4f5b89330f99e8efaa3e701d
BLAKE2b-256 checksum
How to use checksums
a49810493da4ffcc2cfc4e4532f645a450bdbd2a85623f270c794b50e4dc036b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / hivemind_langchain-0.1.0-py3-none-any.whl

Download URL hivemind_langchain-0.1.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ead4d2249f1cf22433a5900e23582c6c9fc57743f7de57c17774befa0028fe8
BLAKE2b-256 checksum
How to use checksums
91b84f30f424934eb5a144ce4caa6e04de27c30b3d71bf55da5115ff539a5c5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page