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.

Usage

Here's an example usage of the DesearchToolSpec.

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

from llama_index_desearch.tools import DesearchToolSpec
from llama_index.agent.openai import OpenAIAgent

desearch_tool = DesearchToolSpec(
    api_key=os.environ["DESEARCH_API_KEY"],
)
agent = OpenAIAgent.from_tools(desearch_tool.to_tool_list())

agent.chat(
    "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-desearch 0.0.2

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-desearch 0.0.2
File Size Uploaded Provenance
llama_index_desearch-0.0.2.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 8.4 kB

Release files / llama_index_desearch-0.0.2.tar.gz

Download URL llama_index_desearch-0.0.2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3263fb8283b443ef79ca24bfe5e647889c21b42a7855d242f59f235fc2bf43bf
BLAKE2b-256 checksum
How to use checksums
984eb844e4be703d5e8e749249462aa006a79928ed57136500f03bc8f6cf1432
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / llama_index_desearch-0.0.2-py3-none-any.whl

Download URL llama_index_desearch-0.0.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fb815a004a28a7feee6cc8c5da3cfbb515de69bada559a06220964f8ade4658
BLAKE2b-256 checksum
How to use checksums
88381e97a4c61d4f2e4c8bf99ffd7f25bbbf556b89c66752b372b1065606be70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for llama-index-desearch 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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