Catalog PyPI
PACKAGE EXPLORERView in registry

agent-browser-sdk

PyPI

Python SDK for Agent Browser Knowledge Graph API - The Google for AI Agents

Versions collected1
Direct dependencies4From release 1.0.0
Last observed20 Oct, 21:35 UTC

README

Version 1.0.0 documentation

Agent Browser SDK (Python)

The Google for AI Agents — queryable knowledge graph for 190+ venues across cafes, restaurants, hotels, and medspas. Monetized via x402 HTTP 402 micropayments.

Install

pip install agent-browser-sdk

Quick Start

from agent_browser_sdk import AgentBrowserClient

with AgentBrowserClient(mock_payment=True) as client:
    # Multi-category intent search
    results = client.search(query="wifi cafe in wynwood", limit=5)
    for venue in results.data:
        print(f"{venue.name} ({venue.agent_match_index}/100): {venue.rationale}")

    # Get recommendations
    recs = client.recommend(
        category="cafe",
        preferred_area="Wynwood",
        required_features=["fast_wifi", "outdoor_seating"],
        max_price_level="$$"
    )
    for r in recs["data"]:
        print(f"Recommend: {r['name']} - {r['_rationale']}")

    # Pricing analytics
    analytics = client.pricing_analytics(category="cafe")
    print(f"Average espresso: ${analytics['data'][0]['avg_price_usd']}")

LangChain Tool

from agent_browser_sdk.client import create_langchain_tool

tool = create_langchain_tool()
# Add to your LangChain agent...

x402 Payment (Real Flow)

For production, set mock_payment=False and provide wallet_private_key:

client = AgentBrowserClient(
    mock_payment=False,
    wallet_private_key="0x..."  # Base network wallet
)

The SDK auto-signs USDC transfers for each request ($0.002 USDC).

Endpoints

MethodEndpointCostDescription
GET/api/v1/search$0.002 USDCMulti-category intent search
POST/api/v1/recommend$0.005 USDCRanked recommendations
GET/api/v1/venues$0.002 USDCList venues
GET/api/v1/venues/{id}$0.002 USDCVenue details
GET/api/v1/analytics/pricing-summary$0.002 USDCPrice analytics

Live API

  • Base URL: https://medspa-refinery-api-44xz.onrender.com
  • Manifest: /llms.json
  • Docs: /docs
  • Pay-To: 0x8Ae639d10b23Eb630241d7fD6275255a2e51Ec95 (Base Network)

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.017 Aug 20264

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
abhinavgarg426-commits/medspa-refinery

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:35 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:f9aa12e1e2f06753cd1eb96ede21e50af452e18af7e8694f6d46dd9dde973db2