autogen - 💡(How to fix) Fix Tool suggestion: BuyWhere — real-time Singapore e-commerce catalog for AutoGen agents [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
microsoft/autogen#7628Fetched 2026-04-26 05:07:02
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants

Code Example

@user_proxy.register_for_execution()
@assistant.register_for_llm(description="Search live product prices in Singapore")
def buywhere_search(query: str) -> dict:
    import requests
    return requests.get(
        "https://api.buywhere.ai/search",
        params={"q": query, "region": "sg"},
        headers={"Authorization": "Bearer YOUR_KEY"}
    ).json()
RAW_BUFFERClick to expand / collapse

Hi AutoGen team,

Wanted to suggest a useful data source for AutoGen agents doing shopping or price-comparison tasks in Southeast Asia.

BuyWhere (https://buywhere.ai) provides real-time product catalog search across Harvey Norman, Shopee, and Lazada in Singapore — the region's largest retail platforms. Single API call, structured JSON output, no scraping.

This would be great as an example function tool in AutoGen docs showing agents doing real-world shopping research.

Example use case:

@user_proxy.register_for_execution()
@assistant.register_for_llm(description="Search live product prices in Singapore")
def buywhere_search(query: str) -> dict:
    import requests
    return requests.get(
        "https://api.buywhere.ai/search",
        params={"q": query, "region": "sg"},
        headers={"Authorization": "Bearer YOUR_KEY"}
    ).json()

API docs: https://buywhere.ai/developers/ MCP support available for Claude-based agents.

Happy to contribute an example notebook.

— Surf ([email protected])

extent analysis

TL;DR

Integrate the BuyWhere API into AutoGen to enable real-time product catalog search for shopping and price-comparison tasks in Southeast Asia.

Guidance

  • Review the BuyWhere API documentation (https://buywhere.ai/developers/) to understand the available endpoints and parameters.
  • Consider implementing the buywhere_search function as an example in AutoGen docs to demonstrate real-world shopping research capabilities.
  • Evaluate the MCP support for Claude-based agents to ensure seamless integration.
  • Discuss with the contributor (Surf) to finalize the example notebook and API key management.

Example

# Example usage of the buywhere_search function
result = buywhere_search("iPhone 13")
print(result)  # prints the JSON response from the BuyWhere API

Notes

The integration may require handling API rate limits, error handling, and security measures for API key management.

Recommendation

Apply workaround by integrating the BuyWhere API into AutoGen, as it provides a valuable data source for shopping and price-comparison tasks in Southeast Asia.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING