Skip to content

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

Description

@BuyWhere

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions