Skill

Integrate Desearch for Enhanced Agent Search

Integrate Desearch with LlamaIndex to search web, Twitter, and more.

Works with desearchopenai

57
Spark score
out of 100
Updated 4 days ago
Version 0.14.22
Models

Add to Favorites

Why it matters

Empower your AI agent with Desearch's powerful search capabilities across web, Twitter, and more. Seamlessly integrate Desearch to enable agents to find and process information from diverse online sources.

Outcomes

What it gets done

01

Connect your agent to the Desearch API.

02

Perform web, Twitter, and general searches via the agent.

03

Leverage Desearch for data retrieval within agent workflows.

04

Enable agents to access and utilize information from multiple platforms.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/li-tool-tools-desearch | bash

Capabilities

What this skill does

Search the web

Searches the web and retrieves relevant sources.

Scrape

Fetches and parses content from web pages.

Summarize

Condenses long documents or threads into key takeaways.

RAG index

Chunks, embeds, and indexes documents for semantic retrieval.

Overview

LlamaIndex Tools Integration: Desearch

What it does

This tool integrates with Desearch, enabling your AI agent to perform searches across various platforms including the web, Twitter, and Reddit.

How it connects

Use this tool when your AI agent needs to perform searches across platforms like web, Twitter, and Reddit.

Source README

Here's a README for the Desearch integration, modeled after the example you provided:


LlamaIndex Tools Integration: Desearch

This tool connects to Desearch to enable your agent to perform searches across various platforms like web, Twitter, and more.

To begin, you need to obtain an API key from the Desearch developer dashboard.

Website: https://desearch.io

Usage

Here's an example usage of the DesearchToolSpec.

To get started, you will need an Desearch API key

# %pip install llama-index llama-index-core desearch-py

from llama_index_desearch.tools import DesearchToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI

desearch_tool = DesearchToolSpec(
    api_key=os.environ["DESEARCH_API_KEY"],
)
agent = FunctionAgent(
    tools=desearch_tool.to_tool_list(),
    llm=OpenAI(model="gpt-4.1"),
)

print(await agent.run("Can you find the latest news on quantum computing?"))

Available Functions

  • ai_search_tool: Perform a search using Desearch across multiple platforms like web, Twitter, Reddit, etc.
  • twitter_search_tool: Perform a basic Twitter search using the Desearch API.
  • web_search_tool: Perform a basic web search using the Desearch API.

This loader is designed to be used as a way to load data as a Tool in an Agent.


You can copy and paste this into your README file. Let me know if you need any more modifications!

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.