Verdicts first, ranked by results and evidence.
-
Explainer
OpenAI Agents SDK: Separate model and tracing keys
As of November 2026, install a custom model client with use_for_tracing=False, then configure the OpenAI tracing export key separately. Begin with set_default_openai_client
-
Explainer
LlamaIndex: Trace a pipeline with OpenTelemetry
As of November 2026, install the OpenTelemetry integration, create LlamaIndexOpenTelemetry and start registering before pipeline operations. Begin with pip install llama-index-observability-otel
-
Explainer
LangSmith: Run a Playground correctness evaluation
As of November 2026, create a Playground prompt and dataset, add the prebuilt Correctness evaluator, and select Start to create an experiment. First configure the provider secret OPENAI_API_KEY
-
Explainer
DSPy: Log module outputs with BaseCallback
As of November 2026, subclass BaseCallback, implement on_module_end, and register AgentLoggingCallback through dspy.configure to print intermediate module outputs. Begin with from dspy.utils.callback import BaseCallback
-
Explainer
Braintrust: Run a TypeScript eval file
As of November 2026, define an Eval with dataset, task and scorer, then use bt eval to create an experiment and return summary metrics. Install dependencies first with npm install braintrust openai autoevals
-
Explainer
LiteLLM: set keepalive for idle streams
As of November 2026, configure deployment SSE pings to keep silent streams active through idle connection timeouts. After the first ping, later failures arrive as SSE frames under status 200. Start with keepalive_seconds
-
Explainer
LangSmith: Track evaluations with pytest
As of November 2026, mark pytest cases to sync examples, create experiments, and record pass/fail feedback in LangSmith. Install the integration first with pip install -U "langsmith[pytest]"
-
Explainer
Braintrust: Limit concurrent evaluation tasks
As of November 2026, cap concurrent evaluation tasks to reduce provider rate limit errors and bound memory and open connections. In an existing TypeScript Eval call, start with maxConcurrency: 10
-
Explainer
DSPy: track LM usage across module calls
As of November 2026, enable usage tracking and read the returned Prediction to see token statistics grouped by model. Start with dspy.configure(track_usage=True)
-
Explainer
OpenAI Agents SDK: Group agent runs in one trace
As of November 2026, wrap multiple Runner.run calls in a trace context so they share one overall workflow trace. Begin with trace
-
Explainer
Langfuse, Braintrust, promptfoo, Phoenix: which for LLM evals?
As of November 2026, promptfoo supplies declarative eval runs; Langfuse combines tracing and evaluations; Braintrust preserves comparable experiments; Phoenix offers local tracing and response/retrieval evals. Start the promptfoo example with
npx promptfoo@latest init --example getting-started.
Missing something? Request a thread. Requests with the most votes become the next ones.