Verdicts first, ranked by results and evidence.
-
Try it
Can OpenLLMetry trace a Python workflow into memory?
When a Python workflow needs OpenTelemetry-based LLM tracing, install traceloop-sdk. Version 0.63.1; Apache-2.0 license.
-
Comparison
Firecrawl, Crawl4AI, Playwright or curl_cffi for scraping?
When choosing a scraping tool, compare what each project says about itself (read 2026-11-26, not tried by WhatWorks): Cheerio and selectolax parse HTML, curl_cffi impersonates browser fingerprints, Playwright automates browsers, Firecrawl and Crawl4AI return Markdown.
-
Explainer
Vercel AI SDK: Apply language model middleware
As of November 2026, wrap a language model with middleware, then pass the returned model to streamText. Begin with wrapLanguageModel
-
Explainer
Vercel AI SDK: Access models through a registry
As of November 2026, register providers centrally and select language models with provider-prefixed string IDs. Start the registry with createProviderRegistry
-
Explainer
Pydantic AI: Save and reload message history as JSON
As of November 2026, serialize messages with to_json, reload them with ModelMessagesTypeAdapter.validate_json, and pass the result as message_history on another run. Begin with ModelMessagesTypeAdapter
-
Explainer
Pydantic AI: Keep the five most recent messages
As of November 2026, wrap keep_recent_messages in ProcessHistory to send only the last five messages before each model request. Keep tool calls paired with their results when those exchanges matter. Begin with ProcessHistory
-
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
OpenAI Agents SDK: Connect a hosted MCP tool
As of November 2026, add HostedMCPTool to an agent tools list so the Responses API can list and call a publicly reachable MCP server. Begin with HostedMCPTool
-
Explainer
Ollama: Return a temperature tool result
As of November 2026, pass get_temperature to chat, execute the returned call, append its result, and ask for the final reply. Install the SDK with pip install ollama -U
-
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
LiteLLM: Set a global proxy call timeout
As of November 2026, set a router timeout for the full call and start the proxy with that configuration. The timeout also reaches completion() calls. Begin with router_settings.timeout
-
Explainer
LiteLLM: Race models for the first response
As of November 2026, send one prompt to several models in parallel and receive the first response in OpenAI format; the remaining calls are cancelled. Start with batch_completion_models
-
Explainer
LangGraph: Validate interrupt resume values with a schema
As of November 2026, pass a typed Decision schema to interrupt and resume with Command so LangGraph validates the submitted approval value. Define class Decision(BaseModel)
-
Explainer
LangChain: Throttle model calls with an in-memory limiter
As of November 2026, create InMemoryRateLimiter and pass it as rate_limiter to init_chat_model to limit request frequency. Begin with from langchain.rate_limiters import InMemoryRateLimiter
-
Explainer
LangChain: Return validated ContactInfo from an agent
As of November 2026, give create_agent a Pydantic ContactInfo schema as response_format and read the validated object from structured_response. Begin with class ContactInfo(BaseModel)
-
Explainer
Inspect AI: Switch to a parameterized solver
As of November 2026, select a different solver with --solver and pass its attempts parameter with -S. Start by registering the alternative with @solver
-
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
Codex: Produce JSON Schema output with exec
As of November 2026, give codex exec a JSON Schema and save the final structured response with -o. The page illustrates project_name and programming_languages fields; begin with schema.json
-
Explainer
Codex: Define a project reviewer in TOML
As of November 2026, define reviewer in a standalone project TOML file with a description, model settings and review instructions. Parent permissions still apply. Start with .codex/agents/reviewer.toml
-
Explainer
Claude Agent SDK: Define a read-only reviewer
As of November 2026, define code-reviewer in the agents option, restrict its tools to Read, Glob and Grep, and let the parent invoke it through Agent. Start by importing query, ClaudeAgentOptions, AgentDefinition
-
Explainer
OpenCode: subagent answer never reaches parent
If a V2 OpenCode subagent finishes background shell or nested-agent work but its final answer never reaches the parent, upgrade to
v2.3.0or later; an earlier idle report can arrive while work is still running. -
Explainer
OpenAI Agents SDK: lifecycle hooks lose tool input
As of November 2026, upgrade so nested agent lifecycle hooks receive parsed structured tool input in streaming and non-streaming runs. The first stable release carrying the propagation fix is
v0.25.0. -
Explainer
Roo Code: set the context condensing threshold
As of November 2026, Set the percentage slider to attempt summarization earlier in long conversations; its default is 100%. Threshold to trigger intelligent context condensing
-
Explainer
OpenCode: ask for shell commands and deny Git pushes
As of November 2026, Use ordered V2 permissions to ask before shell commands, allow Git inspection, and deny pushes. Put broad rules before specific exceptions in opencode.jsonc
Missing something? Request a thread. Requests with the most votes become the next ones.