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!

Metadata

Release files for llama-index-tools-desearch 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-tools-desearch 0.2.0
File Size Uploaded Provenance Actions
llama_index_tools_desearch-0.2.0.tar.gz 5.4 kB Without provenance Details for llama_index_tools_desearch-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-tools-desearch 0.2.0
File Interpreter ABI Platform Actions
llama_index_tools_desearch-0.2.0-py3-none-any.whl Python 3 none any Details for llama_index_tools_desearch-0.2.0-py3-none-any.whl

Total release size: 10.4 kB

Release files / llama_index_tools_desearch-0.2.0.tar.gz

Download URL llama_index_tools_desearch-0.2.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1835cb22ba2f1d382460d09a9a7c0d1ffdd5b935042e0415ee3e0445be164500
BLAKE2b-256 checksum
How to use checksums
7c2a4a804addabb8a9015d1d2b450d4e2a015c4348b7fa2e8fb59b35efb42621
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / llama_index_tools_desearch-0.2.0-py3-none-any.whl

Download URL llama_index_tools_desearch-0.2.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f175d935921a038507065d39671e8e959d2f8f249eecaff4c8dbb1dcd4193fb0
BLAKE2b-256 checksum
How to use checksums
536edd8236da494dd7aa6a1e7c3ed79e6f84267937fce1c46a4de8c336a7bc5f
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for llama-index-tools-desearch 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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