Skip to content

v2.5.0

Latest

Choose a tag to compare

@mpangrazzi mpangrazzi released this 27 Nov 15:34
7aa64aa

Hayhooks 2.5.0 adds terminal chat for deployed Haystack Agents and pipelines. Use hayhooks chat to follow replies as they stream and inspect the tools your Agent calls. #290

Highlights

  • Expand tool cards to inspect arguments and results, and open reasoning summaries when your provider supplies them. The transcript preserves the order of model text and tool calls.
  • Use keyboard or mouse navigation and switch between dark and light themes. Copy tool results with their original line endings.
  • Stop reception or recover from a failed stream while keeping the output already received. Follow-up requests include only completed turns.
  • Add stream_agent_chat to a wrapper that owns a Haystack Agent. The workspace example uses it to stream tool calls and results for listing, reading, and writing files in a dedicated server directory.

Get started

Install the optional chat client and connect to a running deployment.

pip install --upgrade "hayhooks[chat]==2.5.0"
hayhooks chat my-agent

The deployment must implement run_chat_completion or run_chat_completion_async. Text-only wrappers work with the same command.

Compatibility and behavior

  • The client uses the existing Hayhooks host, port, and TLS settings. For deployments that require authentication headers or a proxy path prefix, use a client configured for that deployment.
  • Models and tools run on the server. Stop closes the client stream, and server work may continue. Chat history lasts for the current client process.

See the terminal chat guide and the workspace Agent example.

Full changelog