Overview of Haystack features
mainHaystack is an open-source AI orchestration framework for building production-ready LLM applications. Key capabilities include:
- Production-ready Agents: Supports lifecycle hooks (e.g.,
before_llm,before_tool,on_exit) for guardrails, and built-in monitoring forstep_count,token_usage, and tool calls. IncludesAgent Packfor ready-made agents andSkillToolsetfor progressive skill discovery. - Context Engineering: Explicit control over retrieval, ranking, filtering, combining, structuring, and routing of information.
- Native Async Support:
Pipelinesupports synchronous and asynchronous execution with token-by-token streaming.Agentsupports concurrent tool calls. - Modularity: Built-in components for retrieval, indexing, tool calling, memory, and evaluation, with support for loops, branches, and conditional logic.
- Model Agnostic: Integrates with OpenAI, Mistral, Anthropic, Cohere, Hugging Face, Google, Azure OpenAI, AWS Bedrock, and local models.
- Extensibility: Consistent interfaces for building and sharing custom components.