Skip to main content

LlamaIndex integration for Agent Toolbox API — 13 tools for AI agents: search, extract, screenshot, weather, finance, news, translate, geoip, whois, dns, pdf-extract, and qr code generation

Project description

🦙 LlamaIndex × Agent Toolbox

13 production-ready tools for LlamaIndex agents — one API key, zero complexity.

PyPI License

Install

pip install llamaindex-agent-toolbox

Quick Start

from llamaindex_agent_toolbox import AgentToolbox

# Get all 13 tools with one line
tools = AgentToolbox(api_key="atb_xxx").get_tools()

# Use with LlamaIndex agent
from llama_index.core.agent import ReActAgent
from llama_index.llms.openai import OpenAI

llm = OpenAI(model="gpt-4")
agent = ReActAgent.from_tools(tools, llm=llm)
response = agent.chat("Search for the latest AI news and summarize")

Use Individual Tools

from llamaindex_agent_toolbox import (
    AgentToolboxSearchTool,
    AgentToolboxNewsTool,
    AgentToolboxDnsTool,
)

search = AgentToolboxSearchTool(api_key="atb_xxx")
result = search.call(query="AI agents 2025", count=3)
print(result.content)

All 13 Tools

Tool Class Endpoint Description
AgentToolboxSearchTool /v1/search Web search (DuckDuckGo)
AgentToolboxExtractTool /v1/extract Extract web page content
AgentToolboxScreenshotTool /v1/screenshot Capture screenshots
AgentToolboxWeatherTool /v1/weather Weather & forecast
AgentToolboxFinanceTool /v1/finance Stock quotes & FX rates
AgentToolboxEmailValidatorTool /v1/validate-email Email validation
AgentToolboxTranslateTool /v1/translate 100+ language translation
AgentToolboxGeoIPTool /v1/geoip IP geolocation
AgentToolboxNewsTool /v1/news News article search
AgentToolboxWhoisTool /v1/whois Domain WHOIS lookup
AgentToolboxDnsTool /v1/dns DNS record queries
AgentToolboxPdfExtractTool /v1/pdf-extract PDF text extraction
AgentToolboxQrTool /v1/qr QR code generation

Configuration

# Via constructor
tools = AgentToolbox(api_key="atb_xxx", base_url="https://api.sendtoclaw.com").get_tools()

# Or via environment variable
import os
os.environ["AGENT_TOOLBOX_API_KEY"] = "atb_xxx"
tools = AgentToolbox().get_tools()

Get a Free API Key

curl -X POST https://api.sendtoclaw.com/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com"}'

Free tier: 1,000 calls/month, all 13 endpoints.

Links

License

MIT

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

llamaindex_agent_toolbox-0.2.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

llamaindex_agent_toolbox-0.2.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llamaindex_agent_toolbox-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c7ad3dbece482b316c1d03a043bd1712421983f3e22da88d0d1c80339bff8f4f
MD5 ebbece03c718bb3668ef449f1d05ada9
BLAKE2b-256 bd9323c7c1bd0bd13127270afc5b0dfedd41b98cbeb835cba1f8319c197218e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llamaindex_agent_toolbox-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd2aff11463346a771cc1f3449d71d9ea0bb854e8010f5f21e5045b9fa1474b2
MD5 57517e8638c8a3390ebf3a05ac375289
BLAKE2b-256 570d14fac3b6df63785045edb34454f9a94e0425daf522624dad5aebf8497d05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page