简介
Haystack 是 deepset 团队开发的生产级 Python 框架,GitHub 20,000+ stars。用于构建 RAG 管道、搜索系统和 AI Agent,采用可组合的管道架构。支持 30+ 集成,包括 OpenAI、Anthropic、Pinecone、Elasticsearch 等。适合构建需要灵活性的生产搜索和检索系统。
Production-ready Python framework for building RAG pipelines, search systems, and AI agents with composable components. By deepset. Supports 30+ integrations. 20,000+ GitHub stars.
这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。
pip install haystack-aifrom haystack import Pipeline
from haystack.components.generators import OpenAIGenerator
from haystack.components.builders import PromptBuilder
pipeline = Pipeline()
pipeline.add_component("prompt", PromptBuilder(template="回答: {{query}}"))
pipeline.add_component("llm", OpenAIGenerator())
pipeline.connect("prompt", "llm")
result = pipeline.run({"prompt": {"query": "什么是 RAG?"}})Haystack 是 deepset 团队开发的生产级 Python 框架,GitHub 20,000+ stars。用于构建 RAG 管道、搜索系统和 AI Agent,采用可组合的管道架构。支持 30+ 集成,包括 OpenAI、Anthropic、Pinecone、Elasticsearch 等。适合构建需要灵活性的生产搜索和检索系统。
Visual platform for building AI applications with workflow orchestration, RAG pipelines, agent capabilities, and model management. Supports 100+ models. 85,000+ GitHub stars.
Automates the full AI development lifecycle from task planning to merged PR. Orchestrates AI agents through planning, execution, code review, and merge. 800+ GitHub stars.