What problem does it solve? It provides free web search through DuckDuckGo when built-in search tools are unavailable or no API key (such as FIRECRAWL_API_KEY) is configured, covering text, news, image, and video queries. ## Core Features & Use Cases - CLI-First Search: Runs text, news, image, and video searches through the ddgs command-line tool with region, time, and safe-search filters. - Python API Fallback: Uses the DDGS class from the ddgs Python package after verifying the package is importable in the target runtime. - Runtime Detection Flow: Distinguishes between terminal and execute_code runtimes so searches never assume a package is installed where it is not. - Use Case: When a research agent needs current AI regulation news but no search API key is set, run ddgs news -q "AI regulation" -m 5 to get dated headlines, sources, and URLs, then extract the best page with a content-retrieval tool. ## Quick Start Ask the agent to search DuckDuckGo for a topic such as "fastapi deployment guide" and return the top five result titles and URLs.