April 2026 Summaries
11 posts from Harper
Filter
Month:
Year:
Post Summaries
Back to Blog
Harper v5.0 introduces a revamped JavaScript execution environment that enhances both application-specific contexts and platform security. The update replaces the previous global execution context with Node.js's vm.SourceTextModule API, allowing each application to have its own isolated module graph and context. This separation improves security by mitigating risks like prototype pollution through freezing JavaScript intrinsics and controlling process spawning with an explicit allowlist. Additionally, it restricts unauthorized file access and limits the use of Node.js built-in modules through a specified allowlist. For compatibility, applications can revert to the old native module loader if necessary during migration. These changes address growing concerns over supply chain attacks within the npm ecosystem, aiming to protect against malicious packages and compromised dependencies while maintaining the full capability of Node.js. For enhanced isolation, Harper provides the option of using SES compartments for strict security needs, and the platform's infrastructure further supports security through Docker-based tenant separation.
Apr 28, 2026
1,332 words in the original blog post.
Efficiently building agents involves optimizing the frequency and content of LLM calls, as early mastery can lead to successful production deployment while late realization may result in high costs. The text explores five architectural patterns to enhance these efficiencies, including prompt caching, parallel tool calls, planning execution, deterministic code paths, and semantic caching, with a focus on minimizing LLM interactions and their associated costs. Anthropic's prompt caching can significantly reduce costs by marking static prompt parts as cacheable, while parallel tool calls allow simultaneous data retrieval, reducing sequential interactions. Planning execution involves creating a structured plan for dependent tasks, minimizing unnecessary LLM calls, whereas deterministic code paths involve running known workflows directly in code, reserving LLM calls for language understanding and reasoning. Semantic caching can reuse past responses for similar queries, and pattern caching aims to store execution plans for repeated workflows, although it requires robust invalidation logic due to potential changes in inputs. Implementing these patterns can be complex, especially across distributed systems, but a unified runtime like Harper can simplify the process, reducing operational overhead and making advanced agent infrastructure more accessible.
Apr 27, 2026
1,712 words in the original blog post.
In the rapidly evolving landscape of brick-and-mortar retail, leveraging geofencing technology to create personalized customer experiences is becoming increasingly feasible through streamlined systems like Harper's agentic runtime. This innovative approach simplifies the traditionally complex integration of multiple systems, such as geofence providers, CRMs, and campaign tools, into a single process that can render personalized marketing decisions in just two to four seconds. By utilizing a unified architecture with three core components—location lookup, data assembly, and a pluggable decision layer—Harper reduces latency and eliminates the need for multiple network hops, enabling real-time, context-driven interactions with customers. This system is designed to be adaptable, allowing brands like McDonald's or Starbucks to easily implement personalized offers based on customer behavior and location, thereby turning location-aware personalization into a cost-effective and efficient strategy. The implementation process is straightforward, requiring minimal setup and integrating smoothly with existing APIs, making it a valuable tool for CTOs seeking to enhance their retail strategies without extensive infrastructure overhauls.
Apr 20, 2026
1,369 words in the original blog post.
Harper Fabric is designed to simplify the deployment of applications by abstracting the complexities of cloud infrastructure, allowing developers to focus on performance goals rather than detailed configurations. By asking developers about their workload requirements instead of specific technical setups, Fabric offers a streamlined process that eliminates the need for manual configuration of data centers, networking, and other infrastructure components. This approach is particularly relevant in the current market, where rapid application development by AI agents and the complexity of cloud environments pose significant challenges. Fabric's unified runtime allows for seamless deployment and operation of integrated systems, providing features such as automatic replication and real-time scaling. The platform offers a free tier to lower the entry barrier, enabling developers to deploy applications without managing distributed infrastructure, and aims to provide a performant and user-friendly experience for Harper users.
Apr 17, 2026
972 words in the original blog post.
A custom accessories business in Denver, which operates entirely on Shopify, faces significant challenges in managing a high volume of personalized customer requests, necessitating a shift from traditional customer service to using Large Language Models (LLMs) for support. The initial prototype pattern involves the LLM sequentially accessing various tools to gather necessary context, leading to inefficiencies like increased latency and costs. However, the industry is moving towards a "context-first" model, where deterministic tasks are completed before the LLM is engaged, allowing for more efficient and accurate responses. This approach requires assembling context from multiple data sources—such as customer profiles, order history, and past interactions—locally and in parallel, minimizing network calls and integration complexity. This transition from model-centric to runtime-centric systems emphasizes the importance of the runtime layer in holding state and managing data relationships, enabling the LLM to focus on reasoning and generating responses based on complete information. The business benefits from this shift by reducing operational costs and improving the reliability of agent responses, particularly in complex or high-value edge cases.
Apr 17, 2026
2,516 words in the original blog post.
Harper has been recognized as a standout in the data technology sector by winning two prestigious categories at the 7th annual Data Breakthrough Awards: Open Source Data Platform of the Year and In-Memory Solution of the Year. These accolades, awarded by the independent Tech Breakthrough organization, highlight Harper's innovative architecture that combines open-source transparency and in-memory performance within a unified runtime. This architecture allows for seamless integration of database functionalities, vector search, caching, pub/sub, and application logic without network latency, setting it apart from traditional stacks. The awards evaluate submissions based on criteria such as Innovation, Performance, and Impact, among others, with Harper's achievements placing it alongside other notable honorees like MariaDB and Aerospike. Harper's approach is aimed at facilitating the development of AI-native applications that are efficient and cost-effective, and its open-source platform is accessible via GitHub, with further managed cloud deployment options available through Harper Fabric.
Apr 16, 2026
437 words in the original blog post.
rocksdb-js is a newly developed native C++ binding with a TypeScript API designed for the Node.js ecosystem to provide comprehensive support for RocksDB, addressing gaps left by previous bindings and wrappers. It offers full transaction support, lazy range iterators, and a built-in transaction log system, with prebuilt binaries for major platforms to enhance developer experience. The library, open-sourced under the Apache 2.0 license, was created to meet the needs of Harper 5.0 and is intended to serve the broader community by offering a well-maintained, high-performance key-value store that supports both optimistic and pessimistic transactions, complex updates, and lazy iteration for efficiency. By integrating directly with RocksDB's native features without legacy abstraction overhead, rocksdb-js aims to handle write-heavy workloads efficiently, providing stronger transaction guarantees and better write optimizations, while also facilitating community contributions and feedback to shape its future development.
Apr 16, 2026
1,482 words in the original blog post.
Harper's Resource API v5 addresses the gap between HTTP specifications and application frameworks by directly mapping HTTP verbs to static JavaScript methods, eliminating the need for a separate routing layer and simplifying the correspondence between HTTP requests and application code. This version enhances the API's capabilities by pre-parsing URLs into structured RequestTarget objects, allowing for more straightforward method handling, and integrates data modeling directly into the Resource interface, enabling consistent interaction with application data. The API's caching mechanism is particularly noteworthy, as it permits source resources to return standard Response objects, maintaining upstream HTTP semantics and allowing for sophisticated caching strategies like stale-while-revalidate. Additionally, v5 introduces asynchronous context tracking with getContext(), facilitating request state access without explicit parameter threading. Overall, the Resource API combines these elements into a cohesive interface that aligns HTTP's uniform interface with application data handling, reducing complexity and enhancing scalability potential.
Apr 14, 2026
1,836 words in the original blog post.
Harper 5.0 is a groundbreaking release that fully opens its core under the Apache 2.0 license, introducing substantial architectural changes, including the integration of RocksDB as a new native storage engine. This version redefines how developers and AI agents build production-ready applications by unifying database, cache, messaging, and application logic into a single in-memory process. The open-source core offers complete accessibility, allowing anyone to download, build, and extend the platform, while Harper Pro, available under the Elastic License v2, adds distributed capabilities crucial for enterprise-scale deployments. Harper 5.0's emphasis on agentic engineering aims to simplify the transition from prototype to production by minimizing the need for multiple systems integration, thereby enhancing security and operational efficiency. The upgrade from Harper 4.x to 5.0 is streamlined with migration scripts and improved documentation, ensuring a smooth transition for existing users. Harper Fabric continues to offer a managed cloud platform option, allowing developers to deploy applications without managing infrastructure, maintaining consistency across different deployment environments.
Apr 13, 2026
1,354 words in the original blog post.
Austin Akers engages in a conversation with Daniel Roe, a key figure in the open-source community and leader of the Nuxt framework, where they explore topics ranging from the cozy atmosphere of winter to the evolution and challenges faced while upgrading the Nuxt framework from version 3 to version 5. Daniel provides insights into the technical advancements introduced in Nuxt versions 4 and 5, highlighting the significant transition from Webpack to Vite and the underlying philosophy of managing an open-source project. The discussion emphasizes the crucial role of community involvement in open-source initiatives and concludes with a light-hearted exchange about the future prospects of Nuxt and the importance of having a supportive developer community.
Apr 09, 2026
102 words in the original blog post.
Semantic caching for Large Language Models (LLM) APIs is a promising approach to reduce redundant API calls by caching semantically similar responses rather than exact text matches, potentially saving costs in high-repetition environments like customer support. Research indicates that semantic caching can eliminate a significant portion of API calls, with cache hit rates varying from 20% to 70% depending on the workload's nature. However, studies often overlook real-world complexities, such as the dynamic nature of cache hit rates that improve over time, the role of deterministic routing in bypassing unnecessary LLM calls altogether, and the impact of retrieval quality on reducing iterative LLM calls. The combination of these mechanisms can yield substantial reductions in API usage, though the exact savings depend on workload characteristics and the integration of these mechanisms into an efficient infrastructure. While some workloads, such as customer support, can achieve up to 85% reduction in LLM calls, novel and creative tasks see minimal reductions due to their unique and non-repetitive nature.
Apr 09, 2026
2,337 words in the original blog post.