agentscope-extensions-rag-haystack connects AgentScope to a HayStack RAG service. Document management and indexing happen on the HayStack side; AgentScope only invokes its retrieval API.
When to use
- You already run RAG on HayStack (indexing pipeline, ChromaDB, rerankers, etc.).
- You want to reuse HayStack’s end-to-end retrieval capability.
Add the dependency
Quickstart
Wire into an Agent
Document management is not handled here
addDocuments(...) throws UnsupportedOperationException. To add or update documents:
- Place source files in HayStack’s pipeline source directory.
- Trigger / re-run HayStack’s indexing pipeline.
- Once indexing completes, this plugin can retrieve the new documents.
Key parameters
HayStackConfig also exposes timeouts, custom headers, and API keys to fit your HayStack deployment’s auth scheme.