Browser Use x Desearch
Browser Use x Desearch
browser-use runs autonomous browser agents. This page adds Desearch as a custom tool so those agents can search the web and social media.
browser-use Example: Bittensor Article Writer
The agent searches Twitter for posts about "Bittensor" and writes an article from the results.
1. Install Dependencies
bash
2. Configure Environment Variables
Set your Desearch API key in your .env file:
DESEARCH_API_KEY=your_api_key_here
3. Build the Desearch Tool
Create a custom tool that connects browser-use to the Desearch SDK:
python
4. Create the Agent
python
5. Run the Agent
python
6. Output
The agent navigates to an online notepad and writes an article from the data fetched via Desearch. For example:
Article Title: Bittensor and Its Growing Impact on AI
Bittensor is creating buzz on Twitter as a decentralized network for machine learning. Users discuss how it rewards contributors and builds an open AI ecosystem. Several tweets highlight its innovative economic incentives and potential to democratize AI research.
As interest grows, Bittensor is gaining more traction among developers and AI enthusiasts looking for decentralized alternatives to traditional cloud providers.
Stay tuned for more insights on how Bittensor might shape the future of decentralized intelligence!
Further Reading
- browser-use Quickstart
- Desearch Python SDK
- Example project: Desearch for browser-use on GitHub