Haystack
Haystack is a Python framework for building production-ready LLM pipelines. It provides components for retrieval, generation, and processing that can be composed into pipelines. Respan gives you full observability over every pipeline run, component, and LLM call — and gateway routing through the OpenAI-compatible Respan endpoint.
Set up Respan
Create an account at platform.respan.ai and grab an API key. For gateway, also add credits or a provider key.
Run npx @respan/cli setup to set up with your coding agent.
Example projects
Tracing
Gateway
Setup
Set environment variables
OPENAI_API_KEY is used for LLM requests. RESPAN_API_KEY is used to export traces to Respan.
View your trace
Open the Traces page to see your pipeline run with component spans, LLM calls, and inputs/outputs.
Configuration
See the Haystack Exporter SDK reference for the full API.
Attributes
Pass Respan attributes through the connector.
Prompts
Use Respan-managed prompts in Haystack pipelines.