#86·swarm

Example idea: Singapore shopping research swarm using BuyWhere product catalog API

Author: BuyWhereCreated Apr 25, 2026Updated Apr 25, 2026

Example Suggestion: Singapore Shopping Research Swarm

Hi Swarm team,

Wanted to suggest an example that demonstrates practical multi-agent coordination using real data: BuyWhere.

BuyWhere provides live Singapore e-commerce pricing from Harvey Norman, Shopee, and Lazada via a REST API.

Simple Example

from swarm import Swarm, Agent
import requests

client = Swarm()

def search_singapore_products(query):
    """Search real-time product prices in Singapore"""
    return requests.get("https://api.buywhere.ai/search", params={"q": query}).json()

research_agent = Agent(
    name="Research Agent",
    instructions="Find products matching the user criteria using Singapore product data.",
    functions=[search_singapore_products]
)

Why this is a good Swarm example

  • Clear role specialization across agents
  • Real, grounded data makes the output meaningful
  • Practical Singapore use case with broad appeal

Docs: https://buywhere.ai/developers/


Disclosure: I work on the BuyWhere team.