Haystack pipelines: our agent's secret power

Building AI Agents with Haystack

Bilge Yücel

DevRel Engineer for Haystack at deepset

Agents for reasoning

  • When planning required
  • For dynamic tool usage
  • Open-ended questions, multi-step reasoning

reasoning_agent.png

Building AI Agents with Haystack

Pipelines for defined flow

  • When the steps are fixed
  • For deterministic workflows
  • Data processing, retrieval, text-to-sql

pipeline_to_response.png

Building AI Agents with Haystack

Pipeline and Component

64.png

Building AI Agents with Haystack

Pipeline and Component

65.png

Building AI Agents with Haystack

Pipeline and Component

66.png

Building AI Agents with Haystack

Pipelines as agent tools

pipeline_as_agent_tool.png

Building AI Agents with Haystack

Coming up

$$

  • 69.png Pipeline that translates natural language questions into SQL queries and retrieves answers from a structured database

$$

  • 70.png Wrapping the pipeline as a tool

$$

  • 71.png Connect to the agent
Building AI Agents with Haystack

Let's practice!

Building AI Agents with Haystack

Preparing Video For Download...