Click Below to Get the Code

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

Designing Tech Stacks for AI-Generated Code

AI agents write decent application code but choke on multi-service infrastructure. This piece breaks down four architectural approaches emerging to close the gap, and why the winner will be the stack with the smallest surface area.
Blog

Designing Tech Stacks for AI-Generated Code

Aleks Haugom
Senior Manager of GTM
at Harper
March 18, 2026
Aleks Haugom
Senior Manager of GTM
at Harper
March 18, 2026
Aleks Haugom
Senior Manager of GTM
at Harper
March 18, 2026
March 18, 2026
AI agents write decent application code but choke on multi-service infrastructure. This piece breaks down four architectural approaches emerging to close the gap, and why the winner will be the stack with the smallest surface area.
Aleks Haugom
Senior Manager of GTM
AI agents write decent application code but choke on multi-service infrastructure. This piece breaks down four architectural approaches emerging to close the gap, and why the winner will be the stack with the smallest surface area.

Download

White arrow pointing right
AI agents write decent application code but choke on multi-service infrastructure. This piece breaks down four architectural approaches emerging to close the gap, and why the winner will be the stack with the smallest surface area.

Download

White arrow pointing right
AI agents write decent application code but choke on multi-service infrastructure. This piece breaks down four architectural approaches emerging to close the gap, and why the winner will be the stack with the smallest surface area.

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