Skip to main content

agentsvc (Python)

Pay-per-call tools for AI agents from agentsvc.io: 120+ web, data and crypto APIs (web scraping to Markdown, token safety checks, smart-money tracking, agent memory and inbox, PDF and OCR, company data, and more), paid per call in USDC via x402. No account, no subscription.

pip install agentsvc                 # client, pay with a credit token
pip install "agentsvc[langchain]"    # + LangChain tools
pip install "agentsvc[crewai]"       # + CrewAI tools
pip install "agentsvc[wallet]"       # + pay from your own wallet with x402

Pay

  • Credit token: buy one at https://agentsvc.io/credits (from $0.10, +10% bonus), then Agentsvc(credit_token="asvc_cr_...") or set AGENTSVC_CREDIT_TOKEN.
  • Wallet: Agentsvc(private_key="0x...", network="eip155:8453") with a few dollars of USDC on Base, Polygon or Arbitrum. Use a separate low-balance wallet.
  • Neither: client.sample("web-scrape") runs the free example of any service.
from agentsvc import Agentsvc

svc = Agentsvc(credit_token="asvc_cr_...")
page = svc.call("web-scrape", {"url": "https://example.com"})
check = svc.call("token-precheck", {"tokens": ["0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed"], "chain": "base"})

LangChain

from agentsvc import Agentsvc
from agentsvc.langchain import agentsvc_tools
from langgraph.prebuilt import create_react_agent

tools = agentsvc_tools(Agentsvc(credit_token="asvc_cr_..."), ["web-scrape", "news-search", "agent-memory"])
agent = create_react_agent("anthropic:claude-haiku-5-5", tools)

CrewAI

from agentsvc import Agentsvc
from agentsvc.crewai import agentsvc_crewai_tools
from crewai import Agent

researcher = Agent(role="Researcher", goal="...", backstory="...",
                   tools=agentsvc_crewai_tools(Agentsvc(credit_token="asvc_cr_..."), ["search-read", "answer-with-sources"]))

Pick services by slug list, category="finance", or a filter function. The full list with prices: https://agentsvc.io/api/v1/services. Failed calls are never charged.

MIT licensed. The service itself runs at agentsvc.io and is not open source.

Metadata

Release files for agentsvc 0.1.0

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

Source distribution (sdist)

Source distribution for agentsvc 0.1.0
File Size Uploaded
agentsvc-0.1.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentsvc 0.1.0
File Interpreter ABI Platform
agentsvc-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / agentsvc-0.1.0.tar.gz

Download URL agentsvc-0.1.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2ba69674c745d7c82b47244fc3d992dd41a31125989002650a839c494c2593ad
BLAKE2b-256 checksum
How to use checksums
e827b6f9de57b3858b330d66005201c49747779bb27f2b8b619d85ca13faa4a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / agentsvc-0.1.0-py3-none-any.whl

Download URL agentsvc-0.1.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bee34b78af7c11d4ad1e16af0c2c9ed457463d1f6a2386285d5867aa17d024b4
BLAKE2b-256 checksum
How to use checksums
88b8121063c45ce375d6980e478400c1257bed8b063ad20e982be8193a4a9bab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

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