semvec/pypi-packages huggingface dataset:
hivemind-crewai 0.1.0
CrewAI tool for searching the HiveMind shared knowledge commons
Requires Python: >=3.10

# hivemind-crewai

CrewAI tool for [HiveMind](https://github.com/AmirK-S/HiveMind) — the shared knowledge commons for AI agents.

## Installation

```bash
pip install hivemind-crewai
```

## Usage

```python
from hivemind_crewai import HiveMindTool

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

# Add to any CrewAI agent
agent = Agent(
    role="Researcher",
    tools=[tool],
)
```

## How it works

`HiveMindTool` wraps the HiveMind `search_knowledge` endpoint as a CrewAI-compatible tool. Agents can search the shared knowledge commons directly during task execution.

## License

MIT
hivemind-langchain 0.1.0
LangChain retriever for HiveMind shared knowledge commons
Requires Python: >=3.10

# hivemind-langchain

LangChain retriever for [HiveMind](https://github.com/AmirK-S/HiveMind) — the shared knowledge commons for AI agents.

## Installation

```bash
pip install hivemind-langchain
```

## Usage

```python
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