feat: add optional You.com search integration - #162
Open
mouse-value-add wants to merge 1 commit into
Open
Conversation
- Add YouComClient implementing BaseSearchClient interface - Integrate You.com as new search provider in SearchClient - Support both authenticated (API key) and keyless modes - Include demo script and comprehensive documentation - Maintain backward compatibility with existing search providers The integration follows the existing provider pattern and adds You.com as an optional search backend alongside Firecrawl, Exa, and DuckDuckGo. Setup requires no changes to existing code - simply use 'youcom' as the client_type when creating a SearchClient instance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Changed
This PR adds You.com as an optional search provider to the Heurist Agent Framework's SearchClient system, following the existing provider abstraction pattern.
Why This Integration
You.com's search API provides high-quality web and news results that can enhance agent research capabilities. The integration adds value to the framework's existing search functionality without disrupting current usage patterns.
Implementation Details
YouComClientimplementingBaseSearchClientinterfaceSearchClient('youcom')usageFiles Added/Modified
core/clients/search/youcom_client.py- New You.com search client implementationcore/clients/search_client.py- Added 'youcom' to supported client typesexamples/youcom_search_demo.py- Demo script showing usage patternsYOUCOM_INTEGRATION.md- Comprehensive integration documentationUsage Examples
Keyless Mode (100 free searches/day)
Authenticated Mode
Configuration
YDC_API_KEYenvironment variable for authenticated accessValidation Performed
Integration Points
This change integrates cleanly with:
The integration is optional - existing code continues to work unchanged. Users can opt into You.com search by simply changing the client_type parameter.
Tracking Issue: youdotcom-oss/integration-tracking#189