Skip to main content

Axis

Predictive replenishment — receipts in, reorder moments out.

Products·Alpha·Rev. 2026·React Native · Gmail API

What is Axis?

Axis is a predictive replenishment product that passively monitors purchase history from forwarded email receipts, matches purchases to a curated catalog of household consumables, and surfaces replenishment suggestions before the product runs out. There is no manual logging. The data comes from receipts already in the user's inbox, parsed by Bedrock Haiku and stored as structured Observation records.

Abstract

Axis is a predictive replenishment product that passively monitors purchase history from forwarded email receipts, matches purchases to a curated catalog of household consumables, and surfaces replenishment suggestions before the product runs out. No manual logging — the data comes from receipts already in the user's inbox.

Problem

Household consumables (supplements, personal care products) run out on irregular schedules that are hard to track manually. Subscription models solve the problem bluntly by shipping on a fixed cadence regardless of actual consumption rate.

The gap between purchase date and depletion date varies by household and product, making fixed schedules a poor fit.

The signal that tracks real consumption already exists: purchase receipts in Gmail. The problem is extracting structured product and quantity data from unstructured email HTML, matching it to a known product catalog, and using that match history to build a consumption model per user per product.

Approach

Ingestion pipeline

Gmail polling (every 30 minutes via a Cron function) fetches new receipts and passes them to a Bedrock Haiku parser. The parser extracts product names, quantities, and purchase dates from email HTML, then a match verifier checks each extracted item against the catalog using fuzzy matching.

Confirmed matches are written as Observation records in DynamoDB.

Catalog and foundation

The catalog is defined as JSON schemas in the repository and synced to S3 and DynamoDB via a GitHub Actions workflow (`catalog-sync`). Catalog validation runs as a separate CI check on every push.

The foundation uses Auth.js v5 with passkey authentication and a per-tenant DynamoDB structure, deployed on AWS via SST v3.

Prediction

Plan 4 (not yet shipped) will add prediction: given N observations on a product, estimate the next depletion date and surface an approval card for one-tap reorder.

Status

  • Plans 1 (foundation), 2 (catalog), and 3 (ingestion + parser) shipped to production as of 2026-04-18.
  • Two brands in the catalog (Thorne and Hiya); Gmail polling and Bedrock Haiku parser are live.
  • Real forwarded receipts validated end-to-end: 2 matched Observations confirmed on staging.
  • Production URL: axis.aethelforge.ai.
  • Plan 4 (prediction + approval + execution) is drafted; prerequisites: Cloudflare Workers Paid plan for durable objects.

Frequently asked

I could not be happier with this company! I have had two websites designed by them and the whole experience was amazing. Their technology and skills are top of the line and their customer service is excellent.
Dr Millicent Rovelo
Beverly Hills
Apex Architecture

Every site we build runs on Apex — sub-500ms, AI-native, zero maintenance.

Explore Apex Architecture

Stay Ahead of the Curve

AI strategies, case studies & industry insights — delivered monthly.

K