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, returning titles, URLs, and snippets for text, news, image, and video queries. ## Core Features & Use Cases - CLI Search: Run text, news, image, and video queries through the ddgs command with region, time, safe-search, and JSON output flags. - Python API: Use the DDGS class for programmatic searches after verifying the ddgs package is installed in that specific runtime. - Runtime Detection: Check whether the ddgs CLI or Python package actually exists before choosing an approach, since terminal and code-execution environments are separate. - Use Case: When a research agent needs current news on a topic but no search API key is set, run ddgs news -k "topic" -m 5 to get dated headlines and sources, then extract the best URL with a content-retrieval tool. ## Quick Start Search DuckDuckGo for the latest news on AI regulation and return the top five results with titles, dates, and sources.