Skip to main content

Drift Bean Demo

Drift Bean Demo is a sample coffee store that uses Auth0 and supports the Personal Agent Protocol. A personal agent can browse it as a guest, fill a cart, sign the customer in, and place an order, while the store shows who is shopping and which agent placed each order. It has a Next.js website, an Express website, and a Node.js API that both use.

Drift Bean Demo

The store’s websites and API, which serve the discovery files, accept browser joins, and verify agent requests.

Live demo

The same store, deployed. Point the Poppy Playground at it.
To run it, follow the Quickstart, which starts from the repository’s starter branch.

SDK examples

Each example runs its tests without an Auth0 tenant or an agent.

Next.js web app

A Next.js site that serves the discovery files, accepts an agent’s browser join, and tells a person, an agent guest, and a signed-in agent apart.

Express web app

A small shop that keeps an agent guest’s cart when the agent signs in, and closes the orders page to guests.

Express API

A shop API with a cart that works signed out, and an order route that needs the orders:write scope.

Learn more