DA

deepset-ai/hayhooks

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

157 stars 46 forks 品質 74 トレンド 20Apache-2.0

deepset-ai/hayhooksは、https://github.com/deepset-ai/hayhooks.からインポートされたMCPサーバー候補です。

概要

deepset-ai/hayhooksは、https://github.com/deepset-ai/hayhooks.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

HaystackのパイプラインとエージェントをAPIとして提供してください。

REST API、OpenAI互換チャット、MCPツール、A2Aエージェント、耐久性のある実行機能と組み込みトレーシングを備えています。

ドキュメントクイックスタート ·ダッシュボード ·耐久性のある実行

パイプラインとエージェントにサービスを提供しろ

パイプラインやエージェントの周りにPythonラッパーを書きます。必要なインターフェースとランタイム機能を選びましょう:

  • REST API. PythonラッパーやYAMLパイプラインを型付きで展開し、OpenAPIドキュメント、ファイルアップロード、カスタムルートで検証済みエンドポイントを行ってください。
  • OpenAI互換API。 ストリーミングチャット完了およびレスポンスエンドポイントの提供。Open WebUIに接続するか、組み込みのChainlit UIを利用。
  • MCPサポート。 パイプラインやエージェントをCursor、Claude Desktop、その他のModel Context Protocolクライアント向けのツールとして公開するMCPサーバーを運用してください。
  • A2Aサポート。 Agent2Agentプロトコルを通じてチャット対応パイプラインとエージェントを公開し、検出やタスク委任用の生成エージェントカードを用います。
  • 耐久実行。 Redisで長時間実行される作業をチェックポイントし、人間の承認待ち、失敗を試行し、再起動後に復旧します。
  • **トレーシングと観測可能性。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Serve your pipelines and agents

Write a Python wrapper around your pipeline or agent. Choose the interfaces and runtime features you need:

  • REST APIs. Deploy Python wrappers or YAML pipelines as typed, validated endpoints with OpenAPI docs, file uploads, and custom routes.
  • OpenAI-compatible APIs. Serve streaming Chat Completions and Responses endpoints. Connect Open WebUI or use the embedded Chainlit UI.
  • MCP support. Run an MCP server that exposes pipelines and agents as tools for Cursor, Claude Desktop, and other Model Context Protocol clients.
  • A2A support. Expose chat-capable pipelines and agents through the Agent2Agent protocol, with generated agent cards for discovery and task delegation.
  • Durable execution. Checkpoint long-running work in Redis, wait for human approval, retry failures, and recover after restarts.
  • Tracing and observability. Inspect executions and component traces in the terminal dashboard, or export spans to an OpenTelemetry backend with hayhooks[tracing].

Terminal dashboard

Inspect deployments, follow executions, and find slow components in your terminal.

Actual terminal UI with demo data. Explore the dashboard.

Quick start

Serve a Haystack agent through a typed HTTP endpoint. You need Python 3.10 through 3.14 and an OpenAI API key.

Install and start

In your Python environment, install Hayhooks and set the API key before starting the server:

pip install hayhooks
export OPENAI_API_KEY="your-api-key"
GitHub で README 全文を見る

インストール

docker run -d -p 6379:6379 redis
MCP 初心者?mcpskill.org のガイドから始めましょう →