Skip to main content
The Task API runs deep, multi-step research and returns an answer with a “basis”: the citations and confidence behind the findings. That is the difference between an answer and an answer you can verify.
deep_research.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Run the example

Save the code above as deep_research.py, then run:
Full source: cookbook/integrations/parallel/03_deep_research.py