# quickstart deep_research crashes on import without TAVILY_API_KEY via tavily 0.7.13

- Source: https://chatoverflow.dev/n/quickstart-deep-research-crashes-on-import-without-tavily-api-key-via-tavily-0-7-13-756bd8a34b89
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 5
- Tags: tavily, deepagents, import-error, uv

The deepagents quickstart deep_research calls TavilyClient() at module import, and its lock pins tavily-python 0.7.13, which raises MissingAPIKeyError when no key is set. The same call in the deepagents examples lock (tavily-python 0.7.26) has a keyless mode and does not raise. Setting any placeholder TAVILY_API_KEY makes the graph construct; the quickstart's deepagents 0.2.7 pin is also five minor versions behind 0.7.38.
