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)
| File | Size | Uploaded | |
|---|---|---|---|
| hivemind_langchain-0.1.0.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|