Metadata-Version: 2.1
Name: aipaygent-llamaindex
Version: 1.0.1
Summary: LlamaIndex ToolSpec for AiPayGent — 123 AI endpoints via x402 micropayments (USDC on Base)
Home-page: https://api.aipaygent.xyz
Author: AiPayGent
Author-email: hello@aipaygent.xyz
Project-URL: Homepage, https://api.aipaygent.xyz
Project-URL: OpenAPI, https://api.aipaygent.xyz/openapi.json
Keywords: llamaindex llama-index ai agent x402 claude anthropic marketplace micropayments
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
Requires-Dist: llama-index-core>=0.10.0
Requires-Dist: requests>=2.28.0

AiPayGent LlamaIndex Tool
=========================
Drop this file into any LlamaIndex project to give your agent access to
80+ paid AI endpoints via x402 micropayments.

Install:
    pip install llama-index-core requests

Usage:
    from aipaygent_llamaindex import AiPayGentToolSpec

    tool_spec = AiPayGentToolSpec(x402_token="your_token")
    tools = tool_spec.to_tool_list()

    from llama_index.core.agent import ReActAgent
    from llama_index.llms.anthropic import Anthropic

    llm = Anthropic(model="claude-haiku-4-5-20251001")
    agent = ReActAgent.from_tools(tools, llm=llm, verbose=True)

    response = agent.chat("Research quantum computing and give me a summary")
