Skip to main content

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”)

Release files for aipaygent-llamaindex 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for aipaygent-llamaindex 1.0.1
File Interpreter ABI Platform
aipaygent_llamaindex-1.0.1-py3-none-any.whl Python 3 none any Details

Release files / aipaygent_llamaindex-1.0.1-py3-none-any.whl

Download URL aipaygent_llamaindex-1.0.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d35404290a5d8e451d3297e1ac17b3212ace07410dd2505a3aa6c35d68a7d03e
BLAKE2b-256 checksum
How to use checksums
61a72a1ee5c61572a11a2fd9127fe64cd4c03a81d1312c89732e6faa8512e415
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

2 release files

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