llama-index-tools-machinelibrary
Machine Library tools for LlamaIndex agents: citable
search across scholarly papers, books, patents, standards and Wikipedia (or
Reddit, Telegram and Discord), passage search inside a document, and bounded
full text. Each result's source_uri is the link to cite.
pip install llama-index-tools-machinelibrary
export MACHINELIBRARY_API_KEY=ml_... # https://machinelibrary.ai/keys
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.tools.machinelibrary import MachineLibraryToolSpec
agent = FunctionAgent(
tools=MachineLibraryToolSpec().to_tool_list(),
llm=llm, # any function-calling LLM
system_prompt="Answer from Machine Library sources and cite each claim's source_uri.",
)
response = await agent.run("What evidence links GLP-1 agonists to reduced dementia risk?")
Requests are billed per call to the key's account (pricing). Retrieved text is evidence to review, not proof that an answer is correct.
Metadata
Release files for llama-index-tools-machinelibrary 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llama_index_tools_machinelibrary-0.1.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llama_index_tools_machinelibrary-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / llama_index_tools_machinelibrary-0.1.0.tar.gz
| Download URL | llama_index_tools_machinelibrary-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ba24e08b104d356355998f632da0e28e7c41a22675a820b130ea6690be2b110
|
|
BLAKE2b-256 checksum How to use checksums |
e6fcb331d9f33d909ebd1813b524f0a8e597345afbaea8914c4d79b6dcbca7dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Release files / llama_index_tools_machinelibrary-0.1.0-py3-none-any.whl
| Download URL | llama_index_tools_machinelibrary-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d19a130d8a23a176595bb135f1c1e406dbae979db8acc8378cd32aad01ce0ea
|
|
BLAKE2b-256 checksum How to use checksums |
b3a6514f125de94afe4832a394f4c45dee1ec26bb9ab9654e263c7dbfd6b8647
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|