A tool plugin for LLM to enable web search with Exa
Project description
llm-tools-exa
A tool plugin for LLM that allows you to search the web using Exa.
Installation
Install this plugin in the same environment as LLM:
llm install llm-tools-exa
Usage
Create an account at Exa and get your API key from this page. Add it to llm with llm keys set exa.
This plugin provides two tools which can be bundled together or provided separately.
Use -T Exa to include both tools, -T web_search for web search only, and -T get_answer for get answer only.
web_search
Search the web for high-quality, relevant results with content and highlights:
llm -m claude-4-sonnet -T web_search "search the web to get today's weather in nyc"
get_answer
Get a direct answer to a question with optional citations:
llm -m claude-4-sonnet -T get_answer "What is the capital of France?"
You can ask the model to include or omit citations, as desired.
get_contents
Get the contents of a webpage as markdown:
llm -m claude-4-sonnet -T get_contents "What's on the homepage of nytimes.com
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-tools-exa
python -m venv venv
source venv/bin/activate
Install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Dependencies
- llm: The LLM CLI tool this plugin extends
- sqlite-utils: For querying LLM's sqlite databases
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_tools_exa-0.5.0.tar.gz.
File metadata
- Download URL: llm_tools_exa-0.5.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e546b59ec22d6949105b8e51a582d1f0c1592b460aae051acbf78d2c34f15570
|
|
| MD5 |
20d1e6365d298686fb022f72f98ff3f4
|
|
| BLAKE2b-256 |
8d06c5bfc25be1f643657922166b10b33bbcb2f43d2ae34a8eb69fa424c3f709
|
Provenance
The following attestation bundles were made for llm_tools_exa-0.5.0.tar.gz:
Publisher:
publish.yml on daturkel/llm-tools-exa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_tools_exa-0.5.0.tar.gz -
Subject digest:
e546b59ec22d6949105b8e51a582d1f0c1592b460aae051acbf78d2c34f15570 - Sigstore transparency entry: 708003015
- Sigstore integration time:
-
Permalink:
daturkel/llm-tools-exa@afccfdbfa64bce2c016b22ca76ee230b5f2aa3ef -
Branch / Tag:
refs/tags/0.5.0 - Owner: https://github.com/daturkel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@afccfdbfa64bce2c016b22ca76ee230b5f2aa3ef -
Trigger Event:
release
-
Statement type:
File details
Details for the file llm_tools_exa-0.5.0-py3-none-any.whl.
File metadata
- Download URL: llm_tools_exa-0.5.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c86cbe9947ab1d9f7434fdf832c56796e05a2d6986851238d0d4858f0488ade1
|
|
| MD5 |
ffa4e567cdbe53aa7411a1bf934ab23a
|
|
| BLAKE2b-256 |
5b0afb2dcda2d3d3fc6f7f10a08ce5647df1dcf51d64b15f2f65e885e06ee94d
|
Provenance
The following attestation bundles were made for llm_tools_exa-0.5.0-py3-none-any.whl:
Publisher:
publish.yml on daturkel/llm-tools-exa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_tools_exa-0.5.0-py3-none-any.whl -
Subject digest:
c86cbe9947ab1d9f7434fdf832c56796e05a2d6986851238d0d4858f0488ade1 - Sigstore transparency entry: 708003020
- Sigstore integration time:
-
Permalink:
daturkel/llm-tools-exa@afccfdbfa64bce2c016b22ca76ee230b5f2aa3ef -
Branch / Tag:
refs/tags/0.5.0 - Owner: https://github.com/daturkel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@afccfdbfa64bce2c016b22ca76ee230b5f2aa3ef -
Trigger Event:
release
-
Statement type: