Skip to main content

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 a 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!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_tools_desearch-0.2.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_tools_desearch-0.2.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_tools_desearch-0.2.0.tar.gz.

File metadata

  • Download URL: llama_index_tools_desearch-0.2.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_tools_desearch-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1835cb22ba2f1d382460d09a9a7c0d1ffdd5b935042e0415ee3e0445be164500
MD5 0b170d96f85c3e42bfb0bc941d7e614c
BLAKE2b-256 7c2a4a804addabb8a9015d1d2b450d4e2a015c4348b7fa2e8fb59b35efb42621

See more details on using hashes here.

File details

Details for the file llama_index_tools_desearch-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_tools_desearch-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_tools_desearch-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f175d935921a038507065d39671e8e959d2f8f249eecaff4c8dbb1dcd4193fb0
MD5 17f149a2313ab08079cf22dfaa64fcfa
BLAKE2b-256 536edd8236da494dd7aa6a1e7c3ed79e6f84267937fce1c46a4de8c336a7bc5f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page