Skip to main content
SuggestAPISuggestAPI

Architecture

One front door. Two backends.

Storefronts and agents call SuggestAPI. The request ends in the search engine you already run, or in SuggestAPI’s own search and recommendation engine.

Where a request goes

The discovery layer is the same either way. It takes the shopping job, speaks the protocol the caller used, and returns a structured catalog result. Checkout stays on the merchant’s site.

Callers

People and agents

A search bar, a shopping assistant, or a protocol client such as MCP, A2A, UCP, or Poppy.

SuggestAPI

The discovery layer

Interprets the request, keeps constraints through follow-ups, and returns matches the caller can inspect. Credentials for the backend stay here.

Backend

One of two engines

The index and ranking you already operate, or the search and recommendation engine SuggestAPI runs for you.

The two backends

One front door, two backends: people and agents reach SuggestAPI, which routes to bring-your-own search or SuggestAPI search and recommendations.

Proxy

Bring your own search

SuggestAPI sits in front of the engine you already run, including Algolia, Typesense, Elasticsearch, Meilisearch, and Shopify. Documents, facets, and ranking stay in that engine. SuggestAPI rewrites the shopping job, calls it, and normalizes the response for people and agents.

  • The catalog you operate remains the source of truth.
  • Clients never see the backend’s private keys.
  • Swapping or comparing engines does not rebuild the storefront.
Bring your own search

Hosted

SuggestAPI search and recommendations

Teams without an engine index on SuggestAPI. Search uses that index. Recommendations are served from precomputed artifacts, not a model call on the request.

  • A nightly job writes three artifacts per index: similar items, a next-item table, and optional item vectors.
  • A Rust service, inferd, loads those artifacts in memory and answers POST /v1/recommend.
  • Modes are similar, next, and for_user. No training and no database round trip on the hot path.
How recommendations are served