Temporal
Integrate You.com’s APIs into Temporal workflows as durable activities that survive crashes and automatically resume where they left off.
The youdotcom-temporal package provides six activities covering every You.com API, wrapped in a YouPlugin (a Temporal SimplePlugin) for one-line worker setup:
youdotcom_searchfor real-time web and news searchyoudotcom_answerfor synthesized answers with inline citationsyoudotcom_researchfor multi-step research with citationsyoudotcom_research_backgroundfor long-running background researchyoudotcom_finance_researchfor finance-focused researchyoudotcom_contentsfor webpage content extraction
Every activity returns JSON-serializable dicts, maps SDK errors to Temporal error types with correct retryability, and disables the SDK’s built-in HTTP retries so Temporal is the single retry authority.
Getting Started
Usage
Plugin path (recommended)
Manual path
Search activity
Answer activity
Background research
Add YouPlugin() to your worker and all six activities are auto-registered. The plugin also configures the workflow sandbox to pass through the SDK’s runtime modules.
Activities
Error Handling
The SDK’s built-in HTTP retries are disabled so Temporal is the single retry authority. Set RetryPolicy on workflow.execute_activity to control backoff and max attempts.
Resources
Source code, examples, and CHANGELOG
Install with pip install youdotcom-temporal
Official Temporal Python SDK documentation
You.com Python SDK used by the plugin
Full Web Search API parameters and response schema
Full Research API parameters and response schema