| Features | - pipelines of components with loops, branches and conditional routing, sync or async, with token streaming
- pipeline serialization to and from YAML
- document stores including OpenSearch, Elasticsearch, Weaviate, Qdrant, pgvector, Azure AI Search, Solr, Chroma, Pinecone and in-memory
- retrievers for BM25, embedding, sparse embedding and hybrid search, depending on the store
- converters, preprocessors, embedders, rankers and generators for OpenAI, Anthropic, Mistral, Cohere, Hugging Face, Google, Azure OpenAI, AWS Bedrock and local models
- Agent component with lifecycle hooks (before_llm, before_tool, on_exit), step and token counts, and concurrent tool calls
- Agent Pack of ready-made agents and SkillToolset for progressive skill discovery
- MCPTool (mcp-haystack) for tools from MCP servers over Streamable HTTP or stdio
- All 12 features
| - REST API with Python (r2r) and JavaScript (r2r-js) SDKs
- multimodal ingestion: .txt, .pdf, .json, .png, .mp3 and more, or pre-processed chunks
- hybrid search: pgvector similarity plus Postgres full-text search, fused with reciprocal rank fusion
- knowledge graphs: automatic entity and relationship extraction per collection, graph communities and GraphRAG search
- RAG with citations and an agentic RAG endpoint
- Deep Research API that searches the knowledge base and the web
- users, superusers, collections and document access control
- R2R dashboard for documents, collections and searches
- All 10 features
| - data connectors and LlamaHub for loading files, APIs and databases
- indexes and vector stores, persisted to disk or to an external store
- query engines and chat engines with memory over your data
- agents with tools, state and streamed progress; a RAG pipeline can be one tool among many
- event-driven Workflows with branching, retries and human review, deployable as services
- structured extraction into Pydantic models
- multi-modal retrieval over text, images, tables and charts
- text-to-SQL and CSV querying
- All 14 features
| - create_agent: a minimal, configurable agent harness (prompt, tools, model loop)
- middleware for guardrails, retries, routing and custom tool policies
- one interface for chat models and embeddings across providers (init_chat_model with provider:model strings)
- provider packages such as langchain-openai, langchain-anthropic, langchain-ollama, langchain-aws and @langchain/anthropic
- more than 1,000 integrations: chat and embedding models, tools and toolkits, document loaders, vector stores, checkpointers, sandboxes
- MCPAdapter connects agents to MCP servers over Streamable HTTP, stdio or in-process FastMCP servers
- agents run on LangGraph for durable execution, persistence and human-in-the-loop
- Python (langchain) and JavaScript/TypeScript (langchain on npm) libraries
- All 10 features
|