Click Below to Get the Code

Browse, clone, and build from real-world templates powered by Harper.
Repo
GitHub Logo

Product Recommendations Engine

An open-source real-time product recommendation engine built as a Harper component. Combines co-occurrence learning, HNSW vector search, UCB exploration, and category diversity re-ranking on Harper's replicated tables. No vector database, training pipeline, or external ML infrastructure required.
TypeScript
Repo
TypeScript

Product Recommendations Engine

at Harper
April 26, 2026
at Harper
April 26, 2026
at Harper
April 26, 2026
April 26, 2026
An open-source real-time product recommendation engine built as a Harper component. Combines co-occurrence learning, HNSW vector search, UCB exploration, and category diversity re-ranking on Harper's replicated tables. No vector database, training pipeline, or external ML infrastructure required.
An open-source real-time product recommendation engine built as a Harper component. Combines co-occurrence learning, HNSW vector search, UCB exploration, and category diversity re-ranking on Harper's replicated tables. No vector database, training pipeline, or external ML infrastructure required.

Download

White arrow pointing right
An open-source real-time product recommendation engine built as a Harper component. Combines co-occurrence learning, HNSW vector search, UCB exploration, and category diversity re-ranking on Harper's replicated tables. No vector database, training pipeline, or external ML infrastructure required.

Download

White arrow pointing right
An open-source real-time product recommendation engine built as a Harper component. Combines co-occurrence learning, HNSW vector search, UCB exploration, and category diversity re-ranking on Harper's replicated tables. No vector database, training pipeline, or external ML infrastructure required.

Download

White arrow pointing right

Explore Recent Resources

Tutorial
GitHub Logo

Harper v5.0's Upgraded JavaScript Environment

Harper v5.0 introduces a VM-based JavaScript environment that enhances application isolation, security, and developer experience. With application-specific context, module-level separation, and protections against prototype pollution, unauthorized access, and supply chain attacks, it delivers a more secure, scalable foundation for modern distributed applications.
Tutorial
Harper v5.0 introduces a VM-based JavaScript environment that enhances application isolation, security, and developer experience. With application-specific context, module-level separation, and protections against prototype pollution, unauthorized access, and supply chain attacks, it delivers a more secure, scalable foundation for modern distributed applications.
Person with very short blonde hair wearing a light gray button‑up shirt, standing with arms crossed and smiling outdoors with foliage behind.
Kris Zyp
SVP of Engineering
Tutorial

Harper v5.0's Upgraded JavaScript Environment

Harper v5.0 introduces a VM-based JavaScript environment that enhances application isolation, security, and developer experience. With application-specific context, module-level separation, and protections against prototype pollution, unauthorized access, and supply chain attacks, it delivers a more secure, scalable foundation for modern distributed applications.
Kris Zyp
Apr 2026
Tutorial

Harper v5.0's Upgraded JavaScript Environment

Harper v5.0 introduces a VM-based JavaScript environment that enhances application isolation, security, and developer experience. With application-specific context, module-level separation, and protections against prototype pollution, unauthorized access, and supply chain attacks, it delivers a more secure, scalable foundation for modern distributed applications.
Kris Zyp
Tutorial

Harper v5.0's Upgraded JavaScript Environment

Harper v5.0 introduces a VM-based JavaScript environment that enhances application isolation, security, and developer experience. With application-specific context, module-level separation, and protections against prototype pollution, unauthorized access, and supply chain attacks, it delivers a more secure, scalable foundation for modern distributed applications.
Kris Zyp
Blog
GitHub Logo

5 Patterns to Cut Your Agent's Token Bill

AI agent costs are driven up by inefficient architecture. This guide breaks down five proven patterns, including deterministic workflows, parallel tool calls, and semantic caching, to reduce token usage, improve performance, and scale AI systems more efficiently.
Blog
AI agent costs are driven up by inefficient architecture. This guide breaks down five proven patterns, including deterministic workflows, parallel tool calls, and semantic caching, to reduce token usage, improve performance, and scale AI systems more efficiently.
Person with short dark hair and moustache, wearing a colorful plaid shirt, smiling outdoors in a forested mountain landscape.
Aleks Haugom
Senior Manager of GTM
Blog

5 Patterns to Cut Your Agent's Token Bill

AI agent costs are driven up by inefficient architecture. This guide breaks down five proven patterns, including deterministic workflows, parallel tool calls, and semantic caching, to reduce token usage, improve performance, and scale AI systems more efficiently.
Aleks Haugom
Apr 2026
Blog

5 Patterns to Cut Your Agent's Token Bill

AI agent costs are driven up by inefficient architecture. This guide breaks down five proven patterns, including deterministic workflows, parallel tool calls, and semantic caching, to reduce token usage, improve performance, and scale AI systems more efficiently.
Aleks Haugom
Blog

5 Patterns to Cut Your Agent's Token Bill

AI agent costs are driven up by inefficient architecture. This guide breaks down five proven patterns, including deterministic workflows, parallel tool calls, and semantic caching, to reduce token usage, improve performance, and scale AI systems more efficiently.
Aleks Haugom
Repo
GitHub Logo

Product Recommendations Engine

An open-source real-time product recommendation engine built as a Harper component. Combines co-occurrence learning, HNSW vector search, UCB exploration, and category diversity re-ranking on Harper's replicated tables. No vector database, training pipeline, or external ML infrastructure required.
TypeScript
Repo
An open-source real-time product recommendation engine built as a Harper component. Combines co-occurrence learning, HNSW vector search, UCB exploration, and category diversity re-ranking on Harper's replicated tables. No vector database, training pipeline, or external ML infrastructure required.
Repo

Product Recommendations Engine

An open-source real-time product recommendation engine built as a Harper component. Combines co-occurrence learning, HNSW vector search, UCB exploration, and category diversity re-ranking on Harper's replicated tables. No vector database, training pipeline, or external ML infrastructure required.
Apr 2026
Repo

Product Recommendations Engine

An open-source real-time product recommendation engine built as a Harper component. Combines co-occurrence learning, HNSW vector search, UCB exploration, and category diversity re-ranking on Harper's replicated tables. No vector database, training pipeline, or external ML infrastructure required.
Repo

Product Recommendations Engine

An open-source real-time product recommendation engine built as a Harper component. Combines co-occurrence learning, HNSW vector search, UCB exploration, and category diversity re-ranking on Harper's replicated tables. No vector database, training pipeline, or external ML infrastructure required.
Blog
GitHub Logo

The Nearstore Agent: a reference pattern for low-latency, geofenced, promotional decisions

Build a real-time, geofenced promo engine on Harper's agentic runtime. The Nearstore Agent collapses geofence lookup, customer data, campaigns, and AI decisions into a single process. Clone the reference repo and deploy in minutes.
Blog
Build a real-time, geofenced promo engine on Harper's agentic runtime. The Nearstore Agent collapses geofence lookup, customer data, campaigns, and AI decisions into a single process. Clone the reference repo and deploy in minutes.
Person with short dark hair and moustache, wearing a colorful plaid shirt, smiling outdoors in a forested mountain landscape.
Aleks Haugom
Senior Manager of GTM
Blog

The Nearstore Agent: a reference pattern for low-latency, geofenced, promotional decisions

Build a real-time, geofenced promo engine on Harper's agentic runtime. The Nearstore Agent collapses geofence lookup, customer data, campaigns, and AI decisions into a single process. Clone the reference repo and deploy in minutes.
Aleks Haugom
Apr 2026
Blog

The Nearstore Agent: a reference pattern for low-latency, geofenced, promotional decisions

Build a real-time, geofenced promo engine on Harper's agentic runtime. The Nearstore Agent collapses geofence lookup, customer data, campaigns, and AI decisions into a single process. Clone the reference repo and deploy in minutes.
Aleks Haugom
Blog

The Nearstore Agent: a reference pattern for low-latency, geofenced, promotional decisions

Build a real-time, geofenced promo engine on Harper's agentic runtime. The Nearstore Agent collapses geofence lookup, customer data, campaigns, and AI decisions into a single process. Clone the reference repo and deploy in minutes.
Aleks Haugom
Blog
GitHub Logo

How a Shopify Custom Tie Shop Exposes a Common Flaw in Agent Architecture

Explore how a Shopify-based custom tie shop reveals a critical flaw in one LLM agent design strategy, and why context-first architectures with unified runtimes deliver faster, more accurate, and scalable customer support automation.
Blog
Explore how a Shopify-based custom tie shop reveals a critical flaw in one LLM agent design strategy, and why context-first architectures with unified runtimes deliver faster, more accurate, and scalable customer support automation.
Person with short dark hair and moustache, wearing a colorful plaid shirt, smiling outdoors in a forested mountain landscape.
Aleks Haugom
Senior Manager of GTM
Blog

How a Shopify Custom Tie Shop Exposes a Common Flaw in Agent Architecture

Explore how a Shopify-based custom tie shop reveals a critical flaw in one LLM agent design strategy, and why context-first architectures with unified runtimes deliver faster, more accurate, and scalable customer support automation.
Aleks Haugom
Apr 2026
Blog

How a Shopify Custom Tie Shop Exposes a Common Flaw in Agent Architecture

Explore how a Shopify-based custom tie shop reveals a critical flaw in one LLM agent design strategy, and why context-first architectures with unified runtimes deliver faster, more accurate, and scalable customer support automation.
Aleks Haugom
Blog

How a Shopify Custom Tie Shop Exposes a Common Flaw in Agent Architecture

Explore how a Shopify-based custom tie shop reveals a critical flaw in one LLM agent design strategy, and why context-first architectures with unified runtimes deliver faster, more accurate, and scalable customer support automation.
Aleks Haugom