<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aleks</title>
    <description>The latest articles on DEV Community by Aleks (@aleks4).</description>
    <link>https://dev.to/aleks4</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F914858%2F00a3b63b-2323-48a4-a0c9-c7787f08ed04.jpeg</url>
      <title>DEV Community: Aleks</title>
      <link>https://dev.to/aleks4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aleks4"/>
    <language>en</language>
    <item>
      <title>Bring Your Whole Stack Together Around Salesforce Commerce Cloud</title>
      <dc:creator>Aleks</dc:creator>
      <pubDate>Wed, 25 Nov 2026 16:00:00 +0000</pubDate>
      <link>https://dev.to/harperfast/bring-your-whole-stack-together-around-salesforce-commerce-cloud-4ekh</link>
      <guid>https://dev.to/harperfast/bring-your-whole-stack-together-around-salesforce-commerce-cloud-4ekh</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.harper.fast/resources/bring-your-whole-stack-together-around-salesforce-commerce-cloud" rel="noopener noreferrer"&gt;Harper&lt;/a&gt;. I’m Senior Manager of GTM at Harper.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Keep your commerce platform. Connect the systems behind the experience.&lt;/p&gt;

&lt;p&gt;You’ve invested in Salesforce Commerce Cloud to run your business: merchandising, pricing, and transactions. You’ve built teams and processes around it. Your next storefront investment should deliver more value from that foundation.&lt;/p&gt;

&lt;p&gt;For complex merchants, the storefront depends on many systems beyond Salesforce Commerce Cloud: inventory, content, reviews, and internal services. A modern frontend still has to bring their information together before shoppers can buy.&lt;/p&gt;

&lt;p&gt;That gap shows up in familiar business pressures:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Shoppers are still waiting.&lt;/strong&gt; The page appears quickly, but availability, reviews, and other details arrive later, delaying the decision to buy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Peak traffic and outages put sales at risk.&lt;/strong&gt; Surges strain backend capacity, while a failure in any connected system can interrupt the experience shoppers need to buy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;New experiences take too long to launch.&lt;/strong&gt; Every additional system brings connections to build and maintain within your existing delivery and security setup.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI shopping tools miss part of the story.&lt;/strong&gt; When crawlers don't receive reviews, those tools lose information about fit, quality, and everyday use.&lt;/p&gt;

&lt;p&gt;You can address these pressures while keeping Salesforce Commerce Cloud. Harper connects the systems behind the storefront, runs the logic that brings their information together, and stores information for reuse across visits. It works behind your existing CDN, helping you deliver a richer experience without rebuilding your commerce foundation.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fejkc42t6ahaijk2k2kjd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fejkc42t6ahaijk2k2kjd.png" alt="A product page combines Salesforce Commerce Cloud data with inventory, content, reviews, and personalization to help shoppers choose." width="799" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Figure 1. A product page brings together commerce, inventory, content, reviews, and personalization.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Storefront Next fits
&lt;/h2&gt;

&lt;p&gt;Salesforce already offers a native headless option. &lt;a href="https://www.salesforce.com/blog/storefront-next/" rel="noopener noreferrer"&gt;Storefront Next&lt;/a&gt; provides storefront hosting and packaged integrations for services such as payments, tax, and reviews. For merchants whose needs fit that approach, it is a strong starting point.&lt;/p&gt;

&lt;p&gt;For retailers with established inventory, content, and internal systems, the decision is whether that native approach can support the full set of systems behind their storefront. The design needs to support fast pages today and make it easier to add the next service or experience.&lt;/p&gt;

&lt;p&gt;Storefront Next runs on Managed Runtime, Salesforce’s storefront hosting layer. Managed Runtime supports up to &lt;a href="https://developer.salesforce.com/docs/commerce/sfnext/guide/proxying-requests.html" rel="noopener noreferrer"&gt;eight proxy configurations per environment&lt;/a&gt;: routes that let the storefront reach other systems. Merchants with a broader mix of services may need additional integration work to connect them.&lt;/p&gt;

&lt;p&gt;These routes also have practical boundaries. They cannot directly reach systems on a private network, and reusing responses requires caching to be configured.&lt;/p&gt;

&lt;p&gt;For merchants with a broader mix of systems, the built-in approach may not be enough. Connecting the storefront to inventory, content, reviews, and internal services is only part of the job. The next step is bringing that information together where pages are built, so every visit doesn’t trigger another round of requests across the business.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bring the data and the work together
&lt;/h2&gt;

&lt;p&gt;Harper provides an application and integration layer between the storefront and the systems it depends on. Behind your existing CDN, it combines the code that builds pages with a database and built-in caching, so that code can use information stored alongside it.&lt;/p&gt;

&lt;p&gt;It can hold selected catalog data, content, reviews, and inventory records, with integrations refreshing them as needed. A product description or review can then serve many visits without another request to its source each time.&lt;/p&gt;

&lt;p&gt;Teams get one place to manage storefront logic and connections. Shoppers spend less time waiting for separate systems to supply the same information.&lt;/p&gt;

&lt;p&gt;Salesforce Commerce Cloud remains the commerce foundation. Price and availability checks still reach the systems responsible for them to complete a purchase, while Harper handles the information and processing that can be reused.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fetjccteam4mh2ti4bwbr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fetjccteam4mh2ti4bwbr.png" alt="Harper runs page logic, caching, and local data behind an existing CDN, connecting Salesforce Commerce Cloud, inventory, content, reviews, and internal systems while retaining live purchase checks." width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Figure 2. Harper combines execution, data, and caching behind the existing CDN. Dashed lines show source updates; the separate commerce path preserves required live checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four ways Harper + SFCC help customers buy more
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Help shoppers get to a buying decision faster
&lt;/h3&gt;

&lt;p&gt;A shopper choosing a jacket needs more than a photograph. Descriptions, fit guidance, reviews, and editorial content help them decide. Harper keeps this information alongside the code that builds the experience, reducing the need to fetch it from separate services on every visit.&lt;/p&gt;

&lt;p&gt;A global luxury fashion brand measured Harper at roughly 2× faster than Vercel, its previous headless host. With roughly 20 systems behind its storefront, the challenge went beyond hosting the frontend: information and application logic needed to work together across the stack.&lt;/p&gt;

&lt;p&gt;Harper’s separate, &lt;a href="https://www.harper.fast/compare/vercel-v-harper" rel="noopener noreferrer"&gt;published Vercel benchmark&lt;/a&gt; reinforces that performance advantage. It measured 4–14× faster response times for live, personalized workloads, comparing the same application on Harper with a Vercel stack using Neon, Upstash, and Ably. Keeping data and code together removes network trips between services, reducing the time spent waiting for information.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Protect the experience during peaks and outages
&lt;/h3&gt;

&lt;p&gt;A peak event brings shoppers, search engines, and AI crawlers to the same storefront. Requests that reuse existing information can still consume backend capacity if they repeatedly reach the source.&lt;/p&gt;

&lt;p&gt;Salesforce protects capacity through &lt;a href="https://developer.salesforce.com/docs/commerce/sfnext/guide/throttle-rates.html" rel="noopener noreferrer"&gt;SCAPI load shedding&lt;/a&gt;, returning HTTP 503 responses at the documented threshold after maximum scaling. Checkout endpoints are exempt. OCI availability lookups have a separate quota of 10,000 requests per rolling 10-second window.&lt;/p&gt;

&lt;p&gt;Serving reusable information from Harper reduces repeated requests to source systems. Fewer requests mean less data to transfer and less backend work to process, creating opportunities to lower infrastructure costs.&lt;/p&gt;

&lt;p&gt;In a 32-day pilot at a major US department store, Harper kept 81.9 million page loads off origin. In the final seven days, Harper handled 82% of crawler traffic without sending it to the origin.&lt;/p&gt;

&lt;p&gt;At the measured rate, that's about 306 fewer terabytes of data transferred from origin per year. Serving crawler requests through Harper frees core systems from repeatedly delivering the same pages.&lt;/p&gt;

&lt;p&gt;That separation also protects the storefront when a source system goes down. With product information, content, and reviews already held in Harper, browsing can continue using those local copies while the source recovers. The protection can extend across multiple connected systems, reducing the chance that one unavailable service takes the whole experience with it. Purchase steps that require a live response still depend on that service being available.&lt;/p&gt;

&lt;p&gt;Harper Fabric adds resilience to Harper itself. Its &lt;a href="https://docs.harperdb.io/fabric/cluster-creation-management" rel="noopener noreferrer"&gt;multi-region clusters&lt;/a&gt; replicate data across locations and provide automatic failover, so a regional failure can be handled by healthy regions. Together, local data and regional redundancy help keep the storefront available through disruptions in the systems behind it.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Keep your CDN and security investment
&lt;/h3&gt;

&lt;p&gt;Your existing CDN represents more than a delivery contract. It includes security policies, bot controls, routing rules, and years of operational knowledge. Replacing it means added cost, testing, and work for your teams.&lt;/p&gt;

&lt;p&gt;Harper works behind that CDN, running storefront logic and storing information that can be reused across visits. Your CDN keeps delivering and protecting the storefront, so you can invest in a better shopping experience without a separate infrastructure migration.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Give AI discovery more of the product story
&lt;/h3&gt;

&lt;p&gt;When shoppers ask AI for help choosing a product, part of the buying decision happens before they reach your storefront. That makes the information AI can access commercially important: Adobe found that AI-referred visits to U.S. retail sites had a 90% higher purchase conversion rate than non-AI visits in September 2026.&lt;/p&gt;

&lt;p&gt;To reach those shoppers, your product story needs to answer the questions they’re asking. “Does this jacket run small?” requires more than a list of available sizes. Customer reviews can provide the details about fit, quality, and everyday use that help someone choose. But those details only become available to AI discovery tools when they’re included in the content crawlers receive.&lt;/p&gt;

&lt;p&gt;Harper brings product details and reviews together in prepared page snapshots, making that information accessible without rebuilding the page for every crawler request. In a department-store pilot, 97.1% of measured AI crawler requests received full pages with reviews after moving to Harper, up from 0% before.&lt;/p&gt;

&lt;p&gt;Those richer pages were also faster to serve. Harper delivered the snapshots in 1.7 ms of server-side response time, compared with 437 ms through the origin. Google crawler response time also improved from 570 ms to 240 ms.&lt;/p&gt;

&lt;p&gt;The business value is putting the content that helps sell your products within reach of AI-assisted shoppers. Harper helps your investment in product descriptions and customer reviews support discovery beyond the storefront, while keeping repeated crawler requests from adding work to your core systems.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq8brk33yupst6dpe39nl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq8brk33yupst6dpe39nl.png" alt="Harper crawler pilot: 81.9 million page loads served without reaching backend systems; 97.1% of AI requests received full pages with reviews; prepared snapshots responded in 1.7 milliseconds server-side versus 437 milliseconds through origin." width="800" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Figure 3. Complete product snapshots bring reviews to AI crawlers while reducing origin work. Results from a 32-day pilot at a major US department store.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep SFCC. Make the wider business work together.
&lt;/h2&gt;

&lt;p&gt;A global luxury fashion brand needed to bring roughly 20 systems together behind one storefront, including SFCC, the brand’s CMS, third-party services, and five internal systems. The priorities were faster page delivery and less time and cost to add new integrations.&lt;/p&gt;

&lt;p&gt;The brand had been using Vercel to host its headless storefront and measured Harper at roughly 2× faster. For this environment, the hosting decision centered on bringing information and custom logic together across the wider stack. SFCC remained the commerce foundation.&lt;/p&gt;

&lt;p&gt;Harper took on that job. It hosts the brand’s Next.js storefront and supporting application logic, bringing information from those connected systems together in front of SFCC. Its built-in caching lets the storefront reuse that information instead of fetching it repeatedly.&lt;/p&gt;

&lt;p&gt;This is the investment story in practice: Salesforce supplies the commerce foundation, CDN handles delivery, and Harper brings the roughly 20 connected systems together for the storefront. Teams gain a place to build new experiences around the systems the business already uses.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make your existing investment work harder
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;The pressure on your storefront&lt;/th&gt;
&lt;th&gt;What Harper adds&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Repeated calls across separate systems&lt;/td&gt;
&lt;td&gt;Reusable data beside the code that needs it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Browse and crawler demand reaching origin&lt;/td&gt;
&lt;td&gt;Local reads and prepared crawler snapshots&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;An established CDN and security perimeter&lt;/td&gt;
&lt;td&gt;A stateful application runtime behind it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Product context missing from crawler responses&lt;/td&gt;
&lt;td&gt;Complete snapshots that can include reviews&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Your next storefront investment can build on Salesforce Commerce Cloud and the systems around it. Harper adds the connections, application logic, and data reuse that help those investments support a faster, richer experience.&lt;/p&gt;

&lt;p&gt;Start with the experience holding you back: a product page that leaves shoppers waiting, an integration delaying a launch, peak traffic straining capacity, outages interrupting browsing, or reviews missing from AI discovery. Connect those needs to the systems behind them, and you have a practical starting point for improvement.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.harper.fast/enterprise" rel="noopener noreferrer"&gt;Talk to Harper&lt;/a&gt; about the systems behind your storefront and what you want the experience to do next.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>architecture</category>
      <category>performance</category>
      <category>salesforce</category>
    </item>
    <item>
      <title>How to Build a MOP and Change Management Application Without Stitching Together a Stack</title>
      <dc:creator>Aleks</dc:creator>
      <pubDate>Wed, 18 Nov 2026 16:00:00 +0000</pubDate>
      <link>https://dev.to/harperfast/how-to-build-a-mop-and-change-management-application-without-stitching-together-a-stack-4ij1</link>
      <guid>https://dev.to/harperfast/how-to-build-a-mop-and-change-management-application-without-stitching-together-a-stack-4ij1</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.harper.fast/resources/mop-change-management-application" rel="noopener noreferrer"&gt;Harper&lt;/a&gt;. I’m Senior Manager of GTM at Harper.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A single firewall rule change might touch Cisco, Juniper and gear from three other vendors. Each has its own steps, rollback plan, and owner. Those instructions live in a Method of Procedure (MOP): a PDF on a shared drive, a wiki page, or a document maintained by the engineer who knows the system best.&lt;/p&gt;

&lt;p&gt;That gets harder to manage as teams merge, responsibilities change, and networks grow. Engineers need to find the current procedure, understand what it affects, get approval, and carry out the work. When documents, tickets and scripts drift apart, a routine change becomes a coordination project.&lt;/p&gt;

&lt;p&gt;A MOP application connects those pieces. On Harper, teams can build the portal, procedure data, APIs, and workflow logic on a unified runtime—spending less time assembling infrastructure and more time on the change process itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  From executive request to working prototype in three days
&lt;/h2&gt;

&lt;p&gt;One of our major US telecom customers was asked to find a better way to manage network change after a nationwide outage. The team received the request in an executive meeting on Wednesday, built a working MOP application prototype on Harper with AI coding tools on Thursday, and demonstrated it to executives on Friday. Leadership approved moving forward, and the application entered rollout.&lt;/p&gt;

&lt;p&gt;The team started with a portal for vendor procedures and used an AI assistant to help turn documents into workflows. An engineer could provide a vendor document, review the proposed steps, and decide where approvals belonged. A working prototype gave the team something concrete to demonstrate and improve as it moved toward production.&lt;/p&gt;

&lt;p&gt;That is the opportunity: start with a specific operational problem, build an application around it, and iterate. A unified platform makes it easier to focus that effort on procedures and workflows instead of setting up separate infrastructure tiers.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a MOP application needs to do
&lt;/h2&gt;

&lt;p&gt;A MOP defines the steps for making a change: prerequisites, execution, validation, and rollback. Change management provides the surrounding process: who approves it, when it runs, who gets notified, and what gets recorded. A useful application brings these capabilities together:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Store and find procedures. Keep vendor documents, procedure versions, scripts, and owners in a searchable home.&lt;/li&gt;
&lt;li&gt;Map known dependencies. Connect each change to the devices and services it touches, using maintained inventory and dependency data.&lt;/li&gt;
&lt;li&gt;Route approvals. Get the right people to sign off on a specific procedure version, target set, and maintenance window.&lt;/li&gt;
&lt;li&gt;Execute and validate. Run tested scripts or API calls in stages, check the results, and stop when a check fails.&lt;/li&gt;
&lt;li&gt;Record and recover. Preserve approvals and per-target outcomes, with a tested rollback or recovery path when something goes wrong.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Many teams already have parts of this: a ticketing tool, a wiki, and an automation repository. The application connects them into a repeatable workflow. The architecture determines how much infrastructure the team needs to assemble and operate along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three ways to build it
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Assemble a modular stack
&lt;/h3&gt;

&lt;p&gt;One approach is to choose a product or framework for each function: a web front end, API layer, database, cache, messaging, search, approvals, and execution. The diagram shows an illustrative stack, with recognizable alternatives in each category.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F647hb9mfqdyxu1ricchh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F647hb9mfqdyxu1ricchh.png" alt="A modular MOP application uses separate products for its web front end, APIs, workflows, database, cache, messaging, vector search, text search, and script execution. Operational, vector, and text-search systems each maintain their own copy of the data." width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;An illustrative modular stack. Products can cover more than one function; the diagram shows the integration choices rather than a required shopping list.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This can be a good fit when the budget and teams to operate them are large and already in place. But each service boundary adds work: connecting APIs, configuring access, monitoring failures, and keeping records and indexes current. Separate operational, vector, and text-search services may also need pipelines to keep their views of a procedure aligned.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Build the application on Harper
&lt;/h3&gt;

&lt;p&gt;Harper brings application logic, APIs, data, caching, search capabilities, and messaging into one runtime. The same MOP application can serve the engineer’s portal, store procedure records, query dependencies, and publish workflow events without introducing a separate service for each function.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.prod.website-files.com%2F68bf31b0ba9419cc225e840b%2F6ace534b10f2429243c18e68_2026.10.13.Blog.MOP%2520and%2520Change%2520Management%2520Automation%2520%281%29.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.prod.website-files.com%2F68bf31b0ba9419cc225e840b%2F6ace534b10f2429243c18e68_2026.10.13.Blog.MOP%2520and%2520Change%2520Management%2520Automation%2520%281%29.png" alt="A MOP application on Harper combines the engineer portal, APIs, procedure data, cache, approvals, messaging, script execution, vector and full-text search, and MCP in one runtime, connecting to network devices through API calls and scripts." width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Harper supplies shared platform services. The team builds the procedure model, portal, approval rules and execution logic on top.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This removes a category of development effort, allowing smaller teams to deliver robust solutions. Instead of first wiring together a database, cache, message broker and search services, the team can work directly on the application figuring out how procedures are modeled, who reviews them, what gets executed and how results are checked.&lt;/p&gt;

&lt;p&gt;The custom work is specific to the operation: approval rules, device adapters, validated scripts and recovery behavior. Harper provides a common foundation for that work, which also helps an AI coding assistant build and change the application further improving operational efficiency.&lt;/p&gt;

&lt;p&gt;This approach fits new applications and teams looking to consolidate infrastructure. Procedure data and its configured indexes live on the same platform, reducing the separate pipelines the team would have had to maintain with a modular stack.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Start alongside existing systems
&lt;/h3&gt;

&lt;p&gt;You do not have to replace the ticketing system, inventory database, or existing automation tools to get started. Harper can sit alongside them as a standardized application and access layer. Custom adapters bring the relevant context into the MOP workflow and send authorized updates back to the systems that own it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.prod.website-files.com%2F68bf31b0ba9419cc225e840b%2F6ace55606c04be2def4b77e5_2026.10.13.Blog.MOP%2520and%2520Change%2520Management%2520Automation%2520%282%29.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.prod.website-files.com%2F68bf31b0ba9419cc225e840b%2F6ace55606c04be2def4b77e5_2026.10.13.Blog.MOP%2520and%2520Change%2520Management%2520Automation%2520%282%29.png" alt="Harper connects network engineers and AI assistants to MOP workflows, search, caching, approvals, and scripts through an access layer, with custom adapters linking unchanged ticketing systems, databases, and legacy platforms." width="800" height="516"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Keep existing systems of record and add a MOP application on Harper. Define which system owns each record and approval, then connect the workflow through adapters.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For example, the existing ticketing system can remain the authority for approval while the Harper application brings together the procedure, dependency context, and execution results. Existing automation tools can continue to run validated changes. This gives a team a way to start with one workflow and expand without committing to a broad migration.&lt;/p&gt;

&lt;h2&gt;
  
  
  From a vendor document to a controlled change
&lt;/h2&gt;

&lt;p&gt;Consider the firewall example again. The desired policy is shared across vendors, but each platform implements it differently. A MOP application coordinates that work through a repeatable sequence:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prepare.&lt;/strong&gt; An engineer selects the current vendor procedure. An AI assistant can draft structured steps, prerequisites, checks, and rollback instructions for review.&lt;/li&gt;
&lt;li&gt;Check and approve. The application brings in known dependencies and current device context. The owner reviews the target set and routes the procedure through the agreed approval process.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Execute in stages.&lt;/strong&gt; Tested scripts or APIs apply the change to a limited target set first. Post-change checks determine whether the workflow can continue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Record the outcome.&lt;/strong&gt; The application retains per-target results and approval history. If a check fails, execution stops, and the owner follows the validated recovery plan.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This gives an engineer a consistent process across vendor platforms and leaves a record of what happened. Dependency checks rely on maintained inventory and topology data, so the application should make missing or stale context visible before approval.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make procedures searchable and useful to AI
&lt;/h2&gt;

&lt;p&gt;Engineers look for procedures in different ways. Sometimes they know the device or ticket number. Sometimes they know only what they need to accomplish. A MOP application benefits from three complementary retrieval methods:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Semantic retrieval&lt;/strong&gt; finds procedures by intent. With an embedding model and schema configured, Harper can generate embeddings and index them for vector search.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Text search&lt;/strong&gt; finds terms within procedure content. Exact device IDs, IP addresses and ticket numbers can also be stored in structured fields for explicit matching.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured queries&lt;/strong&gt; connect procedures, dependencies, approvals, and history—for example, “Which open changes touch this router?”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keeping those records and configured indexes in the same platform simplifies how the application retrieves context. An AI assistant can use that context to help draft a procedure or answer an engineer’s question, with source documents and versions available for review.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with one change type
&lt;/h2&gt;

&lt;p&gt;You do not need to load every document or automate every workflow on day one. Pick a frequent, well-understood change with a clear owner. Gather a few representative MOPs and agree on a reusable template: prerequisites, targets, steps, checks, rollback, and approvers.&lt;/p&gt;

&lt;p&gt;Make those procedures searchable first. Then connect approvals and notifications. Test execution and recovery outside production before moving to a limited pilot. Measure preparation time, manual handoffs, approval turnaround, and the effort needed to assemble the change record. Track failures and recovery outcomes as the workflow matures.&lt;/p&gt;

&lt;p&gt;A delivery partner can help map the process, build adapters, and validate the workflow with the operations team. The first application then becomes a starting point for the next change type, with reusable patterns for data access, review, and execution.&lt;/p&gt;

&lt;h3&gt;
  
  
  Build a demo with your AI coding agent
&lt;/h3&gt;

&lt;p&gt;Scaffold a Harper application locally:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npm create harper@latest&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Give your coding agent a few sample or sanitized MOPs and describe the first change type. Have it model the procedure, configure search, and add a review-and-approval flow. Use simulated execution to test the workflow before connecting live systems.&lt;/p&gt;

&lt;p&gt;Deploy a demo on Harper Fabric, or talk to us about running Harper on your own infrastructure and how it can operate when systems are offline. Fabric offers a free tier within its published limits; LLM model usage and development effort may have separate costs.&lt;/p&gt;

&lt;p&gt;Bring us one recurring change type and a few representative procedures. We can help you explore how to connect them into an application—and where Harper can simplify the stack behind it.&lt;/p&gt;

&lt;p&gt;Technical references: &lt;a href="https://www.harper.fast/start" rel="noopener noreferrer"&gt;Harper getting started&lt;/a&gt; · &lt;a href="https://docs.harperdb.io/reference/v5/database/schema" rel="noopener noreferrer"&gt;Schema and indexing&lt;/a&gt; · &lt;a href="https://docs.harperdb.io/reference/v5/models/overview" rel="noopener noreferrer"&gt;Model configuration&lt;/a&gt; · &lt;a href="https://www.harper.fast/pricing" rel="noopener noreferrer"&gt;Fabric pricing&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devops</category>
      <category>architecture</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>What If Your AI App Didn’t Need All Those Services?</title>
      <dc:creator>Aleks</dc:creator>
      <pubDate>Wed, 11 Nov 2026 16:00:00 +0000</pubDate>
      <link>https://dev.to/harperfast/what-if-your-ai-app-didnt-need-all-those-services-5c3f</link>
      <guid>https://dev.to/harperfast/what-if-your-ai-app-didnt-need-all-those-services-5c3f</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.harper.fast/resources/ai-app-fewer-services" rel="noopener noreferrer"&gt;Harper&lt;/a&gt;. I’m Senior Manager of GTM at Harper.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The first generation of AI applications has largely been built by adding systems. Start with an application and a database, then add an LLM. Add a vector database for semantic retrieval, an embedding service to populate it, a search engine for exact retrieval, a cache to control latency and cost, and an agent framework to coordinate everything. Background jobs, queues, schedulers, and observability often follow.&lt;/p&gt;

&lt;p&gt;Each of those technologies may be excellent at what it does. The architectural problem is what happens between them. Every boundary introduces another network call, another credential, another deployment, another place for state to become inconsistent, and another system a team has to understand and operate.&lt;/p&gt;

&lt;p&gt;As AI moves from experimentation into production applications, that complexity matters more. Intelligent applications increasingly need data, search, business logic, models, permissions, and application state within the same interaction. When each capability lives in a different system, even a relatively simple request can become a distributed-systems problem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There is another way to think about the AI stack: instead of adding more infrastructure around the application, move more of those capabilities into the application runtime itself.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  A common assembled AI stack
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.prod.website-files.com%2F68bf31b0ba9419cc225e840b%2F6ac51de46b1a891798820476_2026.10.Blog.AI%2520App%2520Didn%25E2%2580%2599t%2520Need%2520All%2520Those%2520Services%2520%282%29.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.prod.website-files.com%2F68bf31b0ba9419cc225e840b%2F6ac51de46b1a891798820476_2026.10.Blog.AI%2520App%2520Didn%25E2%2580%2599t%2520Need%2520All%2520Those%2520Services%2520%282%29.png" alt="An assembled AI application connects to eight separate services: database, cache, full-text search, vector database, embedding service, model provider, agent orchestration, and queue or scheduler." width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The individual technologies may all be excellent. The architectural cost comes from everything between them: network calls, credentials, duplicated state, synchronization, deployments, and operational ownership.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  AI applications are becoming a loop
&lt;/h2&gt;

&lt;p&gt;Strip away the terminology and many AI applications perform some version of the same process: find the right information, understand what it means, decide what should happen, take an action, and learn from the result.&lt;/p&gt;

&lt;p&gt;A support application might retrieve account history and relevant documentation, interpret what a customer is asking, classify the request, trigger the appropriate workflow, and record the outcome. A commerce application might retrieve products and customer context, understand shopper intent, decide which experience to present, respond, and use the result to improve what happens next.&lt;/p&gt;

&lt;p&gt;Today, those steps are often distributed across different technologies. Full-text search finds exact words. Vector search retrieves information based on semantic similarity. A model interprets the request. An orchestration framework determines which tools to call. Application code applies the business rules, while databases and caches maintain the state required throughout the process.&lt;/p&gt;

&lt;p&gt;The result works, but the application spends a surprising amount of its time and money (infrastructure) moving context between systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  What if more of that happened inside the runtime?
&lt;/h2&gt;

&lt;p&gt;Harper has always approached application architecture from the opposite direction. Instead of treating the database, application server, cache, messaging layer, and APIs as separate systems by default, Harper brings those capabilities into a single process on a multi-threaded unified runtime.&lt;/p&gt;

&lt;p&gt;Over the last several releases, that same architectural philosophy has increasingly extended into AI. This is the more important story behind Harper 5.0 through 5.3. The individual features matter, but together they point toward a different model for building AI-enabled applications.&lt;/p&gt;

&lt;p&gt;The goal is not to create another AI framework or to replace the models developers already want to use. It is to reduce the amount of infrastructure required around those models.&lt;/p&gt;

&lt;h3&gt;
  
  
  The AI application on Harper
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.prod.website-files.com%2F68bf31b0ba9419cc225e840b%2F6ac51866d596d3e8854466ee_2026.10.Blog.AI%2520App%2520Didn%25E2%2580%2599t%2520Need%2520All%2520Those%2520Services%2520%281%29.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcdn.prod.website-files.com%2F68bf31b0ba9419cc225e840b%2F6ac51866d596d3e8854466ee_2026.10.Blog.AI%2520App%2520Didn%25E2%2580%2599t%2520Need%2520All%2520Those%2520Services%2520%281%29.png" alt="Harper unifies state, retrieval, application control, and access and operations in one runtime, while connecting to other data services and a configurable external model provider." width="800" height="520"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The model can still live elsewhere. What changes is everything around it. Retrieval, state, application logic, permissions, decisions, and orchestration can operate within the same runtime.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;That distinction is important. The argument is not that every model should somehow run inside Harper. The opportunity is to collapse much of the infrastructure surrounding the model, so the application can reach its data, retrieval capabilities, business logic, and AI services without traversing a long chain of systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pieces have been coming together
&lt;/h2&gt;

&lt;p&gt;This direction did not appear suddenly in Harper 5.3. The architecture has been developing over several releases.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.harperdb.io/release-notes/v5-lincoln/5.0" rel="noopener noreferrer"&gt;Harper 5.0&lt;/a&gt; established much of the foundation. Harper became fully open source at the core, expanded its storage capabilities, and continued the move toward a runtime where data and application logic can operate together. For AI applications, that smaller surface is significant because both developers and agents have fewer infrastructure boundaries to understand.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.harperdb.io/release-notes/v5-lincoln/5.1" rel="noopener noreferrer"&gt;Harper 5.1&lt;/a&gt; made AI a direct capability of the runtime. Applications gained a &lt;a href="https://docs.harperdb.io/reference/v5/models/overview" rel="noopener noreferrer"&gt;common interface for generating text and embeddings&lt;/a&gt; across model providers. &lt;a href="https://docs.harperdb.io/reference/v5/database/schema#embed" rel="noopener noreferrer"&gt;Embeddings could be generated automatically&lt;/a&gt; as data was written. Harper added a &lt;a href="https://docs.harperdb.io/reference/v5/mcp/overview" rel="noopener noreferrer"&gt;built-in MCP server&lt;/a&gt; so AI clients could discover and invoke application operations directly, and model-driven applications could execute &lt;a href="https://docs.harperdb.io/reference/v5/models/tool-calling" rel="noopener noreferrer"&gt;tool-calling loops&lt;/a&gt; without introducing another orchestration service solely to connect those pieces.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.harperdb.io/release-notes/v5-lincoln/5.2" rel="noopener noreferrer"&gt;Harper 5.2&lt;/a&gt; focused heavily on making these architectures practical at production scale. Vector retrieval became more efficient, application-level filtering could participate directly in retrieval, and capabilities such as scheduling, secrets management, caching, and routing continued moving closer to the application itself.&lt;/p&gt;

&lt;p&gt;With &lt;a href="https://docs.harperdb.io/release-notes/v5-lincoln/5.3" rel="noopener noreferrer"&gt;5.3&lt;/a&gt;, two additional pieces make the broader direction easier to see: &lt;a href="https://docs.harperdb.io/release-notes/v5-lincoln/5.3#full-text-search" rel="noopener noreferrer"&gt;native full-text search&lt;/a&gt; and model-assisted decisions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmfzf9ljykzdujmuu3zeh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmfzf9ljykzdujmuu3zeh.png" alt="Harper release progression: 5.0 Run brings data, logic, APIs, cache, and messaging; 5.1 Connect adds model APIs, embeddings, MCP, and tools; 5.2 Scale improves retrieval, filtering, and scheduling; 5.3 Decide adds full-text search and model-assisted decisions." width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The releases matter less as isolated feature lists than as a progression: more of the intelligent application can operate within the runtime.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Search is not one problem
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://docs.harperdb.io/reference/v5/database/schema#vector-indexing" rel="noopener noreferrer"&gt;Vector search&lt;/a&gt; has become closely associated with AI because it can find information based on meaning rather than exact wording. That makes it particularly useful for retrieval-augmented generation and other applications where a user's language may not exactly match the underlying content.&lt;/p&gt;

&lt;p&gt;But semantic similarity is not the answer to every search problem. Sometimes the exact words matter. A query for a product number, policy name, error message, contractual term, or specific phrase may be better served by full-text search.&lt;/p&gt;

&lt;p&gt;Modern AI applications often need both. A useful way to think about the distinction is that full-text search helps an application find the words, while vector search helps it find the meaning. Harper can now perform both alongside the data and application logic they serve.&lt;/p&gt;

&lt;h3&gt;
  
  
  Find the words. Find the meaning. Apply judgment.
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fho7q9o4ldz0g35wut12f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fho7q9o4ldz0g35wut12f.png" alt="Full-text search finds exact words, vector search finds meaning, and decision models apply judgment to allowed choices and return scores. Retrieval supplies evidence while application policy governs the action." width="799" height="515"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  From generating answers to making controlled decisions
&lt;/h2&gt;

&lt;p&gt;Most conversations about AI applications begin with generation: send a model some context and ask it to produce text. But many production workflows do not actually need another paragraph of generated language. They need a judgment.&lt;/p&gt;

&lt;p&gt;Should this support request go to billing, refunds, or engineering? Does this new product belong in one category or another? Is this alert a duplicate, something worth investigating, or noise? In each case, the possible actions are already known. The application needs the model to help choose among them.&lt;/p&gt;

&lt;p&gt;This pattern has recently gained more attention through &lt;a href="https://typesafe.ai/blog/introducing-system-one-models-and-jev" rel="noopener noreferrer"&gt;Jev&lt;/a&gt; and other decision-model approaches. Jev is a useful reference because it makes the distinction easy to see: instead of asking a model to freely generate an answer, give it a bounded set of possibilities and ask it to judge which one best fits the input.&lt;/p&gt;

&lt;p&gt;The underlying pattern, however, is broader than Jev or any one specialized model. Small inference models have performed classification and ranking tasks for years, and modern language models can perform the same kind of bounded judgment alongside their generative capabilities. What changes is how easily that judgment can become a first-class part of application logic.&lt;/p&gt;

&lt;p&gt;Harper 5.3 exposes that pattern directly through &lt;a href="https://docs.harperdb.io/reference/v5/models/overview#start-here-typed-decisions" rel="noopener noreferrer"&gt;&lt;code&gt;models.decide()&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;An application provides the context and defines the allowed answers. Harper asks the configured model to evaluate those choices and returns both the selected value and a score for each permitted alternative. For example, an incoming request might be evaluated against billing, refund, or bug.&lt;/p&gt;

&lt;p&gt;The important part is not simply that the model chooses billing. The application also receives information about the alternatives, which gives it something concrete to act on. A strong result might continue through an automated workflow. An uncertain result might be sent for human review. A separate “none of these” score can indicate that the choices themselves may not adequately describe the request.&lt;/p&gt;

&lt;p&gt;The model contributes judgment, but the application retains control over what the possible actions are and what happens after the judgment is made.&lt;/p&gt;

&lt;p&gt;That makes decisioning a useful middle ground between traditional deterministic software and open-ended generation. Business rules can continue handling the situations where the answer is known precisely. Generation can handle tasks where new language or content is required. Decision models handle the increasingly important space between them: situations where software knows the available actions but needs contextual judgment to choose among them.&lt;/p&gt;

&lt;p&gt;And because models.decide() is an interface rather than a Jev-specific feature, the underlying model can change. A highly optimized decision model such as Jev could sit behind it. A local model could serve the decision. A general-purpose LLM could do the same job. The application's decision contract does not have to change with the model.&lt;/p&gt;

&lt;p&gt;Harper can also &lt;a href="https://docs.harperdb.io/reference/v5/models/overview#start-here-typed-decisions" rel="noopener noreferrer"&gt;persist those decisions and associate them with later outcomes&lt;/a&gt;. That creates a path toward evaluating how different models behave on an organization's actual workloads and establishing automation thresholds based on observed results rather than assuming that a model score corresponds directly to real-world accuracy.&lt;/p&gt;

&lt;h3&gt;
  
  
  From model input to application decision
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0y5myo811gdfmi7lrwqh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0y5myo811gdfmi7lrwqh.png" alt="Context and allowed choices enter models.decide(), which returns illustrative scores for billing, refund, and bug. Application thresholds and business rules determine whether to proceed, request human review, or reject and use a fallback; model scores are not measured accuracy." width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Jev helped bring attention to decision models, but the broader pattern is more important: applications can ask models for bounded judgments without handing control of the workflow to the model.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Search finds evidence. Decisions turn it into action.
&lt;/h2&gt;

&lt;p&gt;This is where the retrieval and decision capabilities start to fit together. Full-text search can retrieve information when the exact words matter. Vector search can retrieve information based on meaning. The resulting context can then inform a bounded decision about what the application should do next.&lt;/p&gt;

&lt;p&gt;The model does not have to invent the workflow. It does not need authority over the application. It helps evaluate the evidence within a set of choices the application already understands.&lt;/p&gt;

&lt;p&gt;That is a subtle difference, but potentially an important one as AI moves deeper into production systems. Search helps the application find the evidence. Decision models help interpret it. Application logic remains responsible for what happens next.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fewer systems changes more than the architecture diagram
&lt;/h2&gt;

&lt;p&gt;Infrastructure consolidation is often described in operational terms: fewer services, fewer vendors, and fewer things to deploy. Those benefits are real, but intelligent applications make the implications larger.&lt;/p&gt;

&lt;p&gt;AI interactions frequently require context from several sources before the application can do anything useful. When data, retrieval, application logic, permissions, model access, and workflow coordination all sit behind separate service boundaries, that context constantly moves across the network. Each transition introduces latency, consumes resources, expands the security surface, and creates another potential failure point.&lt;/p&gt;

&lt;p&gt;Bringing more of those capabilities together changes the economics of the request itself. Less data has to cross service boundaries, fewer systems need to coordinate the same operation, and fewer infrastructure components need to scale independently.&lt;/p&gt;

&lt;p&gt;The fastest network call is still the one an application never needs to make.&lt;/p&gt;

&lt;h2&gt;
  
  
  This is not about replacing the model
&lt;/h2&gt;

&lt;p&gt;Models are evolving rapidly, and organizations should be able to choose the providers and models that fit their requirements. Harper's architecture is designed around that assumption.&lt;/p&gt;

&lt;p&gt;The model is a configurable capability used by the application. The application owns its data, state, permissions, business logic, allowed actions, and operational behavior. Models contribute generation, interpretation, or judgment where those capabilities are useful.&lt;/p&gt;

&lt;p&gt;That separation also makes the architecture less dependent on any particular model provider. As models improve or organizations change providers, the surrounding application does not necessarily need to be redesigned with them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The AI stack may be starting to consolidate
&lt;/h2&gt;

&lt;p&gt;New technology categories often expand before they consolidate. The first generation of a new architecture naturally produces specialized systems for every emerging problem because those problems need to be solved quickly.&lt;/p&gt;

&lt;p&gt;AI followed that pattern. Teams assembled databases, vector stores, search engines, embedding pipelines, agent frameworks, model gateways, caches, queues, schedulers, and application servers into increasingly capable systems.&lt;/p&gt;

&lt;p&gt;The next phase may look different. Search does not necessarily need to be separated from the data being searched. Embeddings do not necessarily require a standalone pipeline. Agent tools do not necessarily need a separate gateway. Model access does not necessarily belong in custom integration code across every application. And model-assisted decisions do not necessarily need to occur somewhere outside the application responsible for acting on them.&lt;/p&gt;

&lt;p&gt;Harper 5.3 is another step in that direction. &lt;/p&gt;

&lt;p&gt;As AI becomes part of ordinary application behavior, the infrastructure supporting it can become part of the application runtime too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The future of the AI stack may not be a bigger stack at all. It may be a more unified runtime.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>database</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Rails Won Because It Had Opinions. AI-Native Apps Need the Same Thing.</title>
      <dc:creator>Aleks</dc:creator>
      <pubDate>Fri, 12 Jun 2026 22:48:59 +0000</pubDate>
      <link>https://dev.to/aleks4/rails-won-because-it-had-opinions-ai-native-apps-need-the-same-thing-456h</link>
      <guid>https://dev.to/aleks4/rails-won-because-it-had-opinions-ai-native-apps-need-the-same-thing-456h</guid>
      <description>&lt;p&gt;We keep hearing the same comparison:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.harper.fast/" rel="noopener noreferrer"&gt;Harper&lt;/a&gt; feels like Ruby on Rails.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That comparison did not come from a positioning exercise. We were not sitting in a room trying to make Harper sound like Rails. It came from developers, advisors, analysts, and technical leaders trying to describe what feels different about building with Harper.&lt;/p&gt;

&lt;p&gt;And the more we hear it, the more obvious the point becomes.&lt;/p&gt;

&lt;p&gt;The comparison is not about Ruby. It is not about MVC. It is not about scaffolding CRUD apps or recreating Rails in JavaScript.&lt;/p&gt;

&lt;p&gt;It is about a product philosophy.&lt;/p&gt;

&lt;p&gt;Rails won because it had opinions.&lt;/p&gt;

&lt;p&gt;It made choices for developers. It gave teams a coherent way to build. It reduced the number of architectural decisions required to get from idea to working application. It proved that the right constraints can make great developers faster.&lt;/p&gt;

&lt;p&gt;That lesson matters again because software development is entering another major shift.&lt;/p&gt;

&lt;p&gt;AI is changing who, or what, makes implementation decisions. Agents are beginning to generate code, wire services together, create workflows, and make architectural choices on behalf of teams. In that world, opinionated systems become more valuable, not less.&lt;/p&gt;

&lt;p&gt;When humans are building software, good conventions reduce decision fatigue.&lt;/p&gt;

&lt;p&gt;When AI agents are building software, good conventions become guardrails.&lt;/p&gt;

&lt;p&gt;They shape what gets generated, how pieces fit together, and whether the result is a coherent application or just a pile of working parts.&lt;/p&gt;

&lt;p&gt;That is why Harper keeps getting compared to Rails.&lt;/p&gt;

&lt;p&gt;Just like Rails, Harper brings an opinionated, integrated model to a part of the stack that has become far too fragmented: distributed application infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rails Made the Path Obvious
&lt;/h2&gt;

&lt;p&gt;Rails changed web development by making the common path clear.&lt;/p&gt;

&lt;p&gt;Before Rails, every project started with a sea of open questions. Which ORM? Which templating engine? How should directories be structured? How should URLs map to code? Where should the configuration live? How should dependencies be managed? How should tests be organized? How should the database schema evolve?&lt;/p&gt;

&lt;p&gt;Rails answered those questions with defaults.&lt;/p&gt;

&lt;p&gt;Active Record. ERB. Routing conventions. Configuration patterns. Migrations. Testing defaults. Project structure. Naming rules that made the pieces work together.&lt;/p&gt;

&lt;p&gt;That was the breakthrough.&lt;/p&gt;

&lt;p&gt;Rails did not make developers faster by giving them infinite flexibility. It made them faster by reducing meaningless flexibility. It removed decisions that most teams should not need to make from scratch.&lt;/p&gt;

&lt;p&gt;The best developers still had room to customize. But they started with a coherent system rather than a blank page.&lt;/p&gt;

&lt;p&gt;That is what “convention over configuration” really gave us: speed, clarity, and shared understanding.&lt;/p&gt;

&lt;p&gt;The magic was not just Ruby. It was not just MVC. It was not any single abstraction.&lt;/p&gt;

&lt;p&gt;The magic was that Rails made application development feel like one integrated experience.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F29sc6nz4va5b4bl618ao.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F29sc6nz4va5b4bl618ao.png" alt="A two-panel infographic titled “Rails Reduced Decision Fatigue.” The left panel shows a developer facing many open decisions before Rails, including ORM, templating, directory layout, URL routing, configuration, dependency management, testing, and schema evolution. The right panel shows Rails answering those same questions with opinionated defaults like Active Record, ERB, Rails Router, Bundler, Minitest, and Migrations, represented as a clear paved path." width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Stack Became the Framework
&lt;/h2&gt;

&lt;p&gt;Modern applications have changed around the framework.&lt;/p&gt;

&lt;p&gt;Rails has continued to collapse more of the application tier into the framework itself. Rails 8 and the Solid stack are a perfect example. Cache, queue, jobs, real-time updates, routing, authentication patterns, and deployment have all become more integrated, more conventional, and less dependent on separate services.&lt;/p&gt;

&lt;p&gt;That is exactly the Rails philosophy at work.&lt;/p&gt;

&lt;p&gt;But the data tier remains different.&lt;/p&gt;

&lt;p&gt;Even when Rails absorbs more infrastructure into the application experience, the database is still a separate process. Often it is a separate machine. At scale, it may be a separate region. And as more parts of the application depend on database-backed primitives, more of the system routes through that same boundary.&lt;/p&gt;

&lt;p&gt;Solid Cache removes the need for Redis in many cases, but it still stores cache data in the database. Solid Queue removes the need for a separate queue service, but jobs are still stored in the database. Solid Cable brings real-time messaging into the Rails pattern, but the backing state still lives in the database.&lt;/p&gt;

&lt;p&gt;That consolidation is a win. Rails has already moved the ecosystem toward fewer external services and stronger defaults.&lt;/p&gt;

&lt;p&gt;But it also reveals the boundary Rails cannot fully close on its own:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The app tier and the data tier are still separated by a network hop.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every request that needs data crosses it. Every query crosses it. Every job, cache read, message, and update that depends on the database crosses it. Replicas and multi-region deployments can improve scale and resilience, but they also make the topology more complex.&lt;/p&gt;

&lt;p&gt;This is the next layer of decision fatigue.&lt;/p&gt;

&lt;p&gt;The developer is no longer just asking how to structure the app. They are asking where data should live, where logic should run, how far each request needs to travel, how state moves across regions, and how the system behaves when the data boundary gets stretched.&lt;/p&gt;

&lt;p&gt;Rails made the app tier coherent.&lt;/p&gt;

&lt;p&gt;The data tier is the remaining frontier.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc4gr4x2glbitvbhvqo4h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc4gr4x2glbitvbhvqo4h.png" alt="A technical infographic showing Rails as a unified application tier with controllers, models, views, and the database-backed Solid Stack: Solid Cache, Solid Queue, and Solid Cable. A separate database tier sits outside the Rails process, connected by a red network-hop arrow. Supporting callouts show infrastructure Rails has absorbed, such as Solid Cache, Solid Queue, Solid Cable, routing/auth, and Kamal, while object storage, CDN, and observability remain external dependencies." width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  AI Raises the Cost of Bad Defaults
&lt;/h2&gt;

&lt;p&gt;This problem gets sharper in the AI era.&lt;/p&gt;

&lt;p&gt;AI agents are very good at producing code. They can generate endpoints, write functions, create schemas, connect services, and propose architectures quickly.&lt;/p&gt;

&lt;p&gt;But without strong conventions, they can also create systems that technically work and architecturally sprawl.&lt;/p&gt;

&lt;p&gt;An agent can add a service because a service seems reasonable. Add a cache because performance matters. Add a queue because async work is needed. Add a table because state has to go somewhere. Add another API because something needs to call something else.&lt;/p&gt;

&lt;p&gt;Very quickly, the application becomes a collection of generated parts.&lt;/p&gt;

&lt;p&gt;This is where the Rails lesson becomes newly important.&lt;/p&gt;

&lt;p&gt;Rails gave human developers a paved path. AI-native development needs paved paths even more.&lt;/p&gt;

&lt;p&gt;If agents are going to make more implementation decisions, the platform needs to encode better architectural defaults. It needs to guide decisions about data, logic, messaging, caching, and locality. It needs to make the coherent path easier than the fragmented one.&lt;/p&gt;

&lt;p&gt;AI does not eliminate the need for opinionated platforms.&lt;/p&gt;

&lt;p&gt;It increases it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Harper Keeps Getting Compared to Rails
&lt;/h2&gt;

&lt;p&gt;Harper is not Rails.&lt;/p&gt;

&lt;p&gt;It is not a Ruby framework. It is not trying to recreate MVC. It is not asking Rails developers to abandon what made Rails great.&lt;/p&gt;

&lt;p&gt;The comparison is philosophical, not literal.&lt;/p&gt;

&lt;p&gt;Rails brought convention, integration, and a coherent developer experience to web application development. Harper brings that same philosophy to distributed application infrastructure.&lt;/p&gt;

&lt;p&gt;Harper is a unified application platform that combines database, caching, messaging, and application logic into a single high-performance runtime. Instead of forcing teams to assemble separate systems for each backend concern, Harper gives developers a more integrated way to build and run distributed applications.&lt;/p&gt;

&lt;p&gt;That is where the Rails-like feeling comes from.&lt;/p&gt;

&lt;p&gt;Rails made the application feel coherent.&lt;/p&gt;

&lt;p&gt;Harper makes the distributed backend feel coherent.&lt;/p&gt;

&lt;p&gt;Rails reduced the number of decisions required to build a web app.&lt;/p&gt;

&lt;p&gt;Harper reduces the number of systems required to build a distributed app.&lt;/p&gt;

&lt;p&gt;Rails gave developers a productive default path.&lt;/p&gt;

&lt;p&gt;Harper gives developers and AI agents a stronger architectural path for data, logic, messages, and caching.&lt;/p&gt;

&lt;p&gt;That is also why the Node.js and JavaScript foundation is not a barrier to the comparison. Developers are not saying Harper feels like Rails because they think it is Ruby. They are saying it because the experience reminds them of what Rails got right: strong opinions, integrated primitives, and a system that helps you move faster by making better decisions on your behalf.&lt;/p&gt;

&lt;p&gt;JavaScript simply makes that model accessible to the modern application ecosystem. It gives teams a familiar language for writing logic inside a platform that is doing much more than running Node.js code.&lt;/p&gt;

&lt;p&gt;The important thing is not that Harper is built on JavaScript.&lt;/p&gt;

&lt;p&gt;The important thing is that Harper is built with opinions.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Difference Is Fewer Seams
&lt;/h2&gt;

&lt;p&gt;Consider a commerce application.&lt;/p&gt;

&lt;p&gt;A product page seems simple until it has to be fast, dynamic, personalized, and globally available.&lt;/p&gt;

&lt;p&gt;Some content is stable: product descriptions, images, specifications, editorial copy. Some content changes constantly: price, inventory, promotions, recommendations, loyalty status, delivery estimates, and customer-specific offers.&lt;/p&gt;

&lt;p&gt;The traditional answer is to spread those concerns across a growing stack.&lt;/p&gt;

&lt;p&gt;The app handles the request. The database stores the source of truth. The cache accelerates hot reads. A queue handles updates. Workers process changes. The CDN caches what it can. Custom invalidation logic tries to keep everything from lying to the user.&lt;/p&gt;

&lt;p&gt;Again, none of these tools are bad.&lt;/p&gt;

&lt;p&gt;But the team is no longer just building a product page. It is maintaining a distributed coordination system.&lt;/p&gt;

&lt;p&gt;A more opinionated platform changes the shape of the problem. Data, logic, messaging, and caching can live in one runtime. Application behavior can be placed closer to the data and closer to the user. Updates can move through the system without every team having to rebuild its own coordination layer.&lt;/p&gt;

&lt;p&gt;The value is not merely fewer tools.&lt;/p&gt;

&lt;p&gt;The value is fewer seams.&lt;/p&gt;

&lt;p&gt;Fewer places where the developer has to stop building the product and start designing infrastructure. Fewer places where an AI agent can make a technically reasonable but architecturally messy choice. Fewer places where performance, consistency, and developer velocity are traded against each other by default.&lt;/p&gt;

&lt;p&gt;That is the “oh, I get it” moment for Rails developers.&lt;/p&gt;

&lt;p&gt;The same reason Rails felt magical for building web applications is the reason an opinionated distributed runtime feels powerful now.&lt;/p&gt;

&lt;p&gt;It gives you a path.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fic87gi58o3ds25u78e4z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fic87gi58o3ds25u78e4z.png" alt="A side-by-side architecture diagram comparing a traditional distributed backend with many separate systems to Harper’s distributed runtime. The traditional side shows an app connected to separate database, cache, queue, workers, CDN, messaging, and edge logic boxes. The Harper side shows multiple regions, each containing data, logic, caching, and messaging inside the same runtime, connected across regions." width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Distributed Apps Need Their Rails Moment
&lt;/h2&gt;

&lt;p&gt;The lesson of Rails was that coherent systems win.&lt;/p&gt;

&lt;p&gt;Developers move faster when the platform makes good decisions. Teams build better software when the common path is clear. Applications are easier to reason about when the pieces are designed to fit together.&lt;/p&gt;

&lt;p&gt;That lesson is becoming more relevant with AI.&lt;/p&gt;

&lt;p&gt;As applications become more distributed, and as AI agents participate more directly in building them, the need for opinionated architecture will only grow. The future will not belong to teams that assemble the most tools. It will belong to teams that can turn ideas into coherent, high-performance applications the fastest.&lt;/p&gt;

&lt;p&gt;Rails gave developers convention over configuration for web apps.&lt;/p&gt;

&lt;p&gt;Harper brings that idea to distributed application infrastructure.&lt;/p&gt;

&lt;p&gt;And once you see that, the comparison becomes hard to ignore.&lt;/p&gt;

</description>
      <category>rails</category>
      <category>ruby</category>
      <category>ai</category>
      <category>architecture</category>
    </item>
    <item>
      <title>The Next Step After AI Codegen: Self-Modifying Systems</title>
      <dc:creator>Aleks</dc:creator>
      <pubDate>Fri, 20 Mar 2026 16:39:48 +0000</pubDate>
      <link>https://dev.to/aleks4/when-ai-agents-stop-writing-code-and-start-modifying-systems-n2b</link>
      <guid>https://dev.to/aleks4/when-ai-agents-stop-writing-code-and-start-modifying-systems-n2b</guid>
      <description>&lt;p&gt;&lt;a href="https://dev.to/aleks4/designing-tech-stacks-for-ai-generated-code-1b"&gt;A follow-up to Designing Tech Stacks for AI-Generated Code&lt;br&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;AI agents are moving from code generation into live system intervention. That transition changes what "good architecture" means, and most current stacks are not designed for it.&lt;/p&gt;

&lt;p&gt;The previous piece was about reducing the surface area agents have to reason about when writing code. This one is about a harder question: what architectural conditions make it safe for an agent to modify the thing it's already running on?&lt;/p&gt;

&lt;h2&gt;
  
  
  Two different problems
&lt;/h2&gt;

&lt;p&gt;There is a meaningful gap between an AI agent that writes code and one that maintains a running system. The first is a productivity story. The second is an architectural one, and it's the one the industry has not seriously engaged with yet.&lt;/p&gt;

&lt;p&gt;When an agent can not only write a schema migration but also apply it, validate the system's behavior afterward, and roll back autonomously if something looks wrong, the infrastructure is no longer a static target. It is a dynamic surface the agent is continuously touching. That is a different class of problem.&lt;/p&gt;

&lt;p&gt;Self-modifying software is not new. &lt;a href="https://dev.to/chat2db/what-are-stored-procedures-goc"&gt;Stored procedures&lt;/a&gt;, &lt;a href="https://dev.to/himankbhalla/demystifying-metaprogramming-understanding-the-basics-408h"&gt;metaprogramming&lt;/a&gt;, &lt;a href="https://en.wikipedia.org/wiki/Adaptive_system" rel="noopener noreferrer"&gt;adaptive systems&lt;/a&gt;: code that changes its operating environment at runtime is as old as the discipline. But those patterns were always bounded. A program adjusted its internal state within a runtime. The schema, the API contracts, the deployment configuration were maintained by humans, on a different timescale, with different tools.&lt;/p&gt;

&lt;p&gt;What agents introduce is a collapse of that boundary. The autonomous loop writing the migration is the same loop running the system. And that changes the question you have to ask about architecture fundamentally.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the failure looks like
&lt;/h2&gt;

&lt;p&gt;Before the theory, the concrete case.&lt;/p&gt;

&lt;p&gt;An agent adds a column to a user profile schema. Simple enough. But in a conventional multi-service stack, here is what that change touches:&lt;/p&gt;

&lt;p&gt;The database migration runs. The new column exists.&lt;/p&gt;

&lt;p&gt;The cache layer is still serving serialized user objects in the old shape. It does not know the schema changed.&lt;/p&gt;

&lt;p&gt;The API layer has deserialized expectations about the structure of that data. Its contracts are now subtly wrong.&lt;/p&gt;

&lt;p&gt;Background jobs consuming user events were written against the old schema. They will silently handle the new shape incorrectly, or fail loudly, depending on how they were written.&lt;/p&gt;

&lt;p&gt;The agent attempts a rollback. The database reverts. But the cache is still populated with objects that were written during the window when the new schema was live. The message queue still has events that were produced in that window. The rollback does not reach them, because rollback is a database primitive, not a system primitive.&lt;/p&gt;

&lt;p&gt;This is not an edge case. It is the ordinary failure mode of autonomous change in a fragmented architecture. Each component has its own notion of version, its own failure mode, and its own rollback semantics. There is no system-level transaction boundary. The agent modified a distributed agreement, not a thing.&lt;/p&gt;

&lt;p&gt;Now contrast the same change in a unified runtime, where database, cache, application logic, and messaging are the same in-memory process deploying as a single atomic unit. Either the new version is running or the old version is running. The cache cannot hold objects in the old shape because the cache is the same process as the database. The API layer cannot have deserialized expectations that diverge from the schema because they are derived from the same schema definition. Rollback means rolling back one artifact, not coordinating across five systems with different rollback mechanics.&lt;/p&gt;

&lt;p&gt;The failure mode does not disappear. But the blast radius is bounded by a coherent system boundary, not distributed across a web of implicit contracts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Coherence as a prerequisite
&lt;/h2&gt;

&lt;p&gt;Here is the thesis: safe self-modification requires a coherent self. That sounds philosophical, but it has a precise architectural meaning.&lt;/p&gt;

&lt;p&gt;A system has a coherent self when there is a single shared notion of version, state, and transaction boundary. When you can answer the question "what is the system's current state" with one answer rather than aggregating across multiple components that may have diverged.&lt;/p&gt;

&lt;p&gt;It's worth being precise about what this does and does not mean. Coherence is not the same as monolithic. Formally coordinated distributed systems, well-typed service contracts, transactional deployment patterns, migration frameworks that enforce compatibility across versions, and policy engines that make inter-service dependencies legible are all genuine paths toward a more coherent distributed system. Teams with deep investment in those approaches are not doing it wrong.&lt;/p&gt;

&lt;p&gt;But there is a structural argument for why runtime coherence, fusing the components into a single process with a shared transaction model, is particularly suited to the self-modification problem. It is not just that the agent can reason about fewer files. It is that the agent can reason about the change as an atomic operation against a unified state. Deploy, validate, roll back: one action, one artifact, one audit trail. The alternative requires the agent to coordinate that sequence across components whose failure modes interact in ways that are difficult to observe and harder to reverse.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.harper.fast/resources/unified-runtime-the-architecture-ai-friendly-systems-need" rel="noopener noreferrer"&gt;unified runtime&lt;/a&gt; is a strong answer to the self-modification problem. It is not the only answer. But it is the one where the guarantees are structural rather than procedural, which matters when the entity enforcing those guarantees is an autonomous agent rather than a careful human.&lt;/p&gt;

&lt;h2&gt;
  
  
  The constraint that cannot live inside the system
&lt;/h2&gt;

&lt;p&gt;There is one piece of this architecture that cannot be automated, and it is worth being direct about it.&lt;/p&gt;

&lt;p&gt;The permission model for agent self-modification cannot live inside the agent. It cannot live inside the system the agent is modifying. It has to be external and structurally inaccessible to the agent itself.&lt;/p&gt;

&lt;p&gt;This is not a novel security principle. It is the same logic that makes a well-designed access control layer work: the control layer is not accessible to the entities it controls. We are applying that principle to a new kind of entity.&lt;/p&gt;

&lt;p&gt;What this means practically: the agent operates against a defined API surface that enforces what it can read, write, and deploy. That surface is not controlled by the agent. Certain schema primitives are immutable to the agent regardless of its reasoning. Core identity structures, audit log tables, and permission tables: not writable by an agent under any circumstances. Every action the agent takes is logged to an append-only audit trail that the agent cannot modify or delete.&lt;/p&gt;

&lt;p&gt;An agent that can grant itself new permissions is not a safe agent. The coherent runtime buys you legibility. The external permission boundary buys you control. Legibility without control is a transparent but ungoverned system. Control without legibility is a safe but opaque one. You need both, and they require deliberate design rather than emergent safety from capable agents.&lt;/p&gt;

&lt;h2&gt;
  
  
  The hard edges we have not solved
&lt;/h2&gt;

&lt;p&gt;The honest version of this argument has to name what we do not know.&lt;/p&gt;

&lt;p&gt;Schema evolution under live load is a genuinely hard problem that the unified runtime framework does not fully resolve. Backward and forward compatibility, dual writes during transitions, schema version skew across concurrent clients, and the observability lag that makes autonomous validation difficult during partial rollout states are all real constraints. A coherent runtime makes these problems more legible. It does not make them disappear.&lt;/p&gt;

&lt;p&gt;We do not have a strong empirical answer to where the right boundary sits between what an agent can safely modify autonomously and what requires human review. The intuitions are informed but not validated at the scale and concurrency that real multi-tenant systems operate at. Many agents operating against shared infrastructure with different permission surfaces is a genuinely open problem.&lt;/p&gt;

&lt;p&gt;And the failure mode of an agent that reasons confidently but incorrectly about the downstream effects of a change is not well characterized. Human error tends to occur at human speed, with natural review steps built into workflows. Agent errors can compound across many instances before anyone notices, faster than any human escalation path.&lt;/p&gt;

&lt;p&gt;The teams with the right instinct are the ones asking hardest about rollback semantics and audit trails before they ask about capability. Open-source, non-critical paths, and environments with instrumentation to closely observe agent behavior are where this should be proven out before it reaches regulated or high-stakes systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this leaves the architecture conversation
&lt;/h2&gt;

&lt;p&gt;The previous piece described a shift in evaluation criteria: not just "how productive is a human developer on this stack" but "how well does an AI agent perform against this architecture." Stacks that score well on both dimensions will have an advantage.&lt;/p&gt;

&lt;p&gt;This piece describes the next frame after that one. Not just stacks that AI can write against, but stacks that AI can maintain, modify, and redeploy autonomously. Infrastructure that is not just a target but a participant.&lt;/p&gt;

&lt;p&gt;The prerequisite for that is not more capable agents. It is infrastructure with a coherent self to reason about and a permission boundary that the agent cannot reach. Both of those are design decisions that can be made now, before the agents are sophisticated enough to act on them.&lt;/p&gt;

&lt;p&gt;Most of the conversation about AI and backend architecture has been about what the agents can do. The more consequential question is what we build for them to do it against.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>agents</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Designing Tech Stacks for AI-Generated Code</title>
      <dc:creator>Aleks</dc:creator>
      <pubDate>Wed, 18 Mar 2026 21:07:39 +0000</pubDate>
      <link>https://dev.to/aleks4/designing-tech-stacks-for-ai-generated-code-1b</link>
      <guid>https://dev.to/aleks4/designing-tech-stacks-for-ai-generated-code-1b</guid>
      <description>&lt;p&gt;Something interesting is happening in backend engineering. The tools writing our code are getting smarter every month, but the infrastructure those tools have to target hasn't changed much in a decade. We're pointing increasingly capable AI agents at the same multi-service architectures we built for human developers, and in many cases, the output is more fragile than it needs to be.&lt;/p&gt;

&lt;p&gt;The conversation around AI-assisted development has been almost entirely about the models. Which agent is best. Which IDE integration is fastest. Which model scores highest on SWE-bench. But there's a quieter, more consequential question that fewer people are asking: what should the target architecture look like when AI is writing a growing share of the code?&lt;/p&gt;

&lt;p&gt;I don't think this requires throwing out everything we know about backend engineering. But I do think it's worth examining which architectural patterns help AI agents succeed and which ones create unnecessary friction.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the friction actually lives
&lt;/h2&gt;

&lt;p&gt;Here's the core tension. Modern backend architecture evolved to solve human organizational problems. Microservices exist because teams needed to deploy independently. ORMs exist because developers didn't want to write SQL. Docker exists because "works on my machine" was destroying release cycles. Kubernetes exists because container orchestration is hard.&lt;/p&gt;

&lt;p&gt;These tools work. Teams ship production software on them every day and will continue to do so. But none of them were designed with the assumption that a language model would be writing and modifying the code. They were designed for humans working in teams across long time horizons with institutional knowledge about how the pieces fit together.&lt;/p&gt;

&lt;p&gt;An AI coding agent doesn't have institutional knowledge. It has a context window. And every additional service in your stack, every configuration file, every implicit dependency between systems, consumes that context window and introduces another surface where the agent can make mistakes.&lt;/p&gt;

&lt;p&gt;I've watched Claude Code try to set up a standard production stack: Express, Prisma, Postgres, Redis, a WebSocket server, and Docker Compose. It gets each individual piece maybe 80% right. But the integration between them is where things get shaky. Environment variables don't match between services. The ORM generates a migration that conflicts with the seed data. The cache invalidation logic doesn't account for the way the WebSocket server reads from the database. Each bug is small. Together they cost you an afternoon.&lt;/p&gt;

&lt;p&gt;Can strong teams mitigate this with existing practices? Absolutely. Good tests, thorough code review, and solid CI pipelines catch most of these issues regardless of whether the code was written by a human or an AI. The question isn't whether traditional practices still work. They do. The question is whether the architecture itself could make the AI's job easier in the first place.&lt;/p&gt;

&lt;h2&gt;
  
  
  How teams are responding
&lt;/h2&gt;

&lt;p&gt;The industry hasn't converged on a single answer yet. Teams are at very different stages of adoption, from simply adding Copilot to their existing workflow to rethinking their infrastructure from the ground up. Many are somewhere in between, and that's fine. But several patterns are emerging that are worth understanding.&lt;/p&gt;

&lt;h3&gt;
  
  
  Adding AI to existing stacks
&lt;/h3&gt;

&lt;p&gt;The most common approach today is incremental. Keep your existing architecture. Add an AI coding assistant. Use it for boilerplate, test generation, code review, and documentation. Improve your CI pipeline to catch AI-introduced errors.&lt;/p&gt;

&lt;p&gt;This works, and it's the right starting point for most teams. You get productivity gains without migration risk. The ceiling on this approach is that the AI is still targeting an architecture that wasn't designed for it, so you're relying more heavily on validation layers (tests, reviews, linting) to catch the integration mistakes that the architecture's complexity makes likely.&lt;/p&gt;

&lt;p&gt;There's nothing wrong with this. It's where most of the industry is today and where it will remain for a while.&lt;/p&gt;

&lt;h3&gt;
  
  
  Backend-as-a-Service platforms
&lt;/h3&gt;

&lt;p&gt;Supabase, Firebase, Appwrite, and Convex all reduce surface area by bundling database, auth, storage, and functions into a managed platform. The developer writes application logic. The platform handles infrastructure.&lt;/p&gt;

&lt;p&gt;This works well for AI agents because there's less to configure. An agent writing Supabase code really only needs to know the client SDK and the database schema. It doesn't need to reason about connection pooling or deployment manifests.&lt;/p&gt;

&lt;p&gt;The tradeoff is control. You're renting someone else's architecture. When you need something the platform doesn't support, you either work around it or migrate, and migration from a BaaS is notoriously painful. The other tradeoff is performance ceiling. When your database, your auth layer, and your edge functions are all separate services behind a network boundary, there's a latency floor you can't optimize below, no matter how good your queries are.&lt;/p&gt;

&lt;h3&gt;
  
  
  Infrastructure-from-code tools
&lt;/h3&gt;

&lt;p&gt;Encore, SST, and Pulumi's newer offerings let you declare infrastructure as part of your application code. Instead of writing Terraform separately, you annotate your TypeScript with infrastructure semantics and the tool provisions everything.&lt;/p&gt;

&lt;p&gt;This is clever because it keeps the infrastructure definition close to the application logic, which means an AI agent reading your codebase can see both at once. Fewer files to reason about. Fewer implicit dependencies.&lt;/p&gt;

&lt;p&gt;The tradeoff is that you're still running multiple services at runtime. The code might be co-located, but your database is still a separate process from your API server, which is still a separate process from your cache. The deployment is simplified, but the runtime architecture is not. An agent can more easily set things up, but the same class of integration bugs still exists once the system is running.&lt;/p&gt;

&lt;h3&gt;
  
  
  Declarative frameworks
&lt;/h3&gt;

&lt;p&gt;NestJS, Redwood, and Blitz collapse some of the decision space by being opinionated about project structure. They pick the ORM, the testing framework, the file layout. An agent working in a Redwood project has fewer choices to make, which means fewer wrong choices.&lt;/p&gt;

&lt;p&gt;But these are still frameworks, not runtimes. They sit on top of the same multi-service architecture underneath. Your Redwood app still needs a database connection, still needs a deployment target, still needs infrastructure decisions that the framework doesn't make for you.&lt;/p&gt;

&lt;h3&gt;
  
  
  Unified runtimes
&lt;/h3&gt;

&lt;p&gt;This is the approach I find most architecturally interesting, though it's also the most opinionated and the earliest in adoption. Instead of bundling services together at the management layer or the code layer, unified runtimes actually fuse them at the process level. Database, cache, application logic, and messaging run in the same memory space.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.harper.fast/" rel="noopener noreferrer"&gt;Harper&lt;/a&gt; is the most developed example of this pattern I've come across. Your data model is a GraphQL schema. REST APIs are generated automatically from that schema. Custom endpoints are JavaScript classes that extend your tables. Real-time messaging is built in via WebSockets, MQTT, and server-sent events. Caching isn't a separate layer because all data access is already in memory and persistent on disk (really, solid-state drives).&lt;/p&gt;

&lt;p&gt;The entire application is three files. A schema, a config, and a resources module. That's not a simplification of the developer experience on top of hidden complexity. That's the actual architecture. There is no separate database process. There is no Redis instance. There is no message broker to configure.&lt;/p&gt;

&lt;p&gt;For AI agents, this is a fundamentally different target. The agent doesn't need to reason about how services communicate because there's only one service. The agent doesn't need to manage connection strings because there are no connections. The schema is the source of truth for the data model, the API, and the access patterns simultaneously.&lt;/p&gt;

&lt;p&gt;The tradeoff is real. You're not using Postgres. You're not using standard ORMs. Your team needs to learn Harper's model, and if you decide to leave, you're migrating data and rewriting your API layer. That's a meaningful cost, and for teams with deep investment in their current stack, it may not be worth it.&lt;/p&gt;

&lt;p&gt;But there's something worth watching in where this goes long-term. Harper's deployment platform, Harper Fabric, distributes your application across a global cluster by selecting regions and latency targets. Because the runtime knows everything about your application from those three declarative files, it can make deployment decisions that would require significant DevOps expertise in a traditional stack. The gap between "I wrote the code" and "it's running in production across three continents" collapses to a single command.&lt;/p&gt;

&lt;p&gt;When you project this forward into a world where AI agents are writing a larger share of initial code, the combination of a minimal-surface-area runtime and an infrastructure-aware deployment platform is compelling. Whether it becomes a dominant pattern or a niche one is still an open question, but it's worth tracking.&lt;/p&gt;

&lt;h2&gt;
  
  
  What makes a stack AI-friendly
&lt;/h2&gt;

&lt;p&gt;Regardless of which approach you take, a pattern emerges. The stacks where AI agents produce the best output share a few properties. These aren't requirements. They're design principles that reduce the surface area for AI-introduced errors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fewer files that matter.&lt;/strong&gt; Every file in your project is context the agent needs to hold. A three-file application is easier to reason about than a thirty-file application. This isn't about lines of code. It's about the number of distinct configuration surfaces.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Explicit over implicit.&lt;/strong&gt; When your data model is declared in a schema that generates the API, the agent can see the relationship between data and endpoints. When your API is hand-wired through a routing layer that references a service layer that references a repository layer that references an ORM, the agent has to trace four levels of indirection to understand what a GET request returns.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Declarative over imperative.&lt;/strong&gt; Telling the system what you want rather than how to do it means the agent makes fewer implementation decisions. Fewer decisions means fewer wrong decisions. A unified runtime's schema annotation like &lt;code&gt;@export&lt;/code&gt; that generates a REST endpoint is one line the agent needs to write. Compared to a hand-coded controller with validation, error handling, and serialization, which is forty lines, the agent needs to get right.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Co-located concerns.&lt;/strong&gt; When your database schema, your API definition, your caching behavior, and your deployment config all live in the same place or are derived from the same source, changes propagate automatically. The agent doesn't need to remember to update the cache invalidation logic when it changes the data model because they're the same thing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deterministic deployment.&lt;/strong&gt; If the deployment system can derive everything it needs from the application definition, the agent never needs to touch infrastructure config. If deploying requires a separate Dockerfile, Kubernetes manifest, and CI pipeline, the agent needs to maintain consistency across all of them.&lt;/p&gt;

&lt;p&gt;None of this means your existing stack is broken. If you have strong engineering practices, good test coverage, and a team that reviews AI output carefully, you can get excellent results with a traditional architecture. These principles just describe what makes the AI's job easier, which in turn means less time spent on review and debugging.&lt;/p&gt;

&lt;h2&gt;
  
  
  The shift that's forming
&lt;/h2&gt;

&lt;p&gt;I think we're in the early stages of a broader evolution in how developers and AI collaborate on backend systems. Not a revolution where everything gets replaced overnight, but a gradual shift in what we optimize for when choosing tools.&lt;/p&gt;

&lt;p&gt;For twenty years, we've been decomposing backend systems into smaller, more specialized pieces. Separate database. Separate cache. Separate message broker. Separate API gateway. Separate auth service. Each piece is independently excellent. The complexity lives in the composition.&lt;/p&gt;

&lt;p&gt;That composition complexity was manageable when humans were doing all the wiring, because humans carry implicit context about how the pieces relate. An experienced engineer knows that when you change the user schema, you also need to update the cache key format and the WebSocket subscription filter. That knowledge lives in their head, not in the codebase.&lt;/p&gt;

&lt;p&gt;AI agents don't carry that implicit context. They have what's in the files. And if the relationship between your schema change and your cache invalidation logic is implicit, mediated through three layers of abstraction across two services, the agent is more likely to miss it. Not because it's incapable, but because the architecture made the dependency invisible.&lt;/p&gt;

&lt;p&gt;The direction I see forming is toward stacks that make dependencies explicit, keep surface area manageable, and derive as much as possible from a single source of truth. For some teams that means a BaaS. For others, it means infrastructure-from-code. For teams starting fresh, a unified runtime is worth serious consideration.&lt;/p&gt;

&lt;p&gt;This doesn't mean traditional stacks are going away. Postgres isn't dying. Kubernetes still has its place. Microservices will continue to be the right answer for large organizations with complex deployment requirements. But the evaluation criteria for choosing tools are expanding. "How productive is a human developer on this stack" is no longer the only question. "How well does an AI agent perform against this architecture" is becoming a real factor in the decision, and the stacks that score well on both dimensions will increasingly have an advantage.&lt;/p&gt;

&lt;p&gt;We're early. The patterns are still forming. But the teams paying attention to this question now will have a head start when the rest of the industry catches up.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>architecture</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
