The primary engineering challenge involved recreating four years of development history while ensuring that marketplace core functions remained stable and accurate. As a major B2B marketplace for the life sciences and biotechnology sectors, ZAGENO maintains a massive data estate that serves as the backbone for pharmaceutical research and procurement. Managing hundreds of millions of records—ranging from intricate product catalogs and global pricing structures to complex supplier logistics—demands an architecture that is both robust and agile. However, the existing legacy transformation layer, built incrementally over nearly half a decade, had become a bottleneck for innovation. The decision to migrate 230 complex SQL models to a modern framework on Databricks was not merely a technical upgrade; it was a strategic necessity to maintain a competitive edge. This shift required a delicate balance between rapid execution and the preservation of data integrity, leading the team to explore the burgeoning field of agentic data engineering to solve these challenges.
Innovative Engineering Solutions
Adopting Agentic Workflows
In response to these significant architectural hurdles, ZAGENO turned to agentic migration tooling through Databricks Genie Code, marking a transition from static automation to a dynamic, collaborative AI partnership. This human-in-the-loop framework operated through a multistage workflow designed to maximize both speed and reliability. Initially, the AI agent performed an exhaustive analysis of the existing SQL transformation models to identify logic patterns and potential dependencies. Based on this analysis, the agent drafted comprehensive action plans, which were then submitted to senior data engineers for scrutiny. This collaborative step allowed technical experts to offer feedback and adjust the proposed logic to ensure perfect alignment with specific business requirements. By leveraging the agent’s ability to process vast amounts of code rapidly, the team avoided the fatigue and error-prone nature of manual translation while maintaining strict control over the final architectural output.
Managing Human-in-the-Loop Oversight
The agentic approach utilized by the engineering team prioritized safety through a sophisticated simulation phase that preceded any final code execution. Before any transformation logic was finalized, the AI agent simulated the proposed changes to identify potential conflicts or downstream errors that could disrupt the marketplace’s operations. This preventive measure acted as an essential safety net, ensuring that the migration did not introduce regressions into the complex data environment. Engineers remained the ultimate decision-makers throughout this process, reviewing the agent’s simulated results and providing the final approval necessary for implementation. This strategy significantly reduced the risks typically associated with automated code conversion, such as the loss of nuanced business logic or the introduction of syntax errors. By maintaining a high level of human oversight, ZAGENO successfully accelerated its migration timeline without sacrificing the rigorous standards required for life science data.
Implementing Declarative Pipelines
A foundational element of this technical evolution was the adoption of Spark Declarative Pipelines, which fundamentally altered the way data flows were constructed and managed. Unlike traditional imperative programming, where every execution step and dependency must be manually defined by the developer, the declarative approach allows the team to express the intended outcome or the “intent” of the pipeline. The underlying framework then automatically handles the complexities of orchestration and dependency management. This abstraction was particularly advantageous for the agentic workflow, as it provided the AI agent with a high-level context of the data structure and flow logic. Consequently, the agent could reason about the data transformations more effectively, reducing the likelihood of logic errors during the migration process. By offloading the burden of manual pipeline orchestration, ZAGENO’s engineers were empowered to concentrate on high-level data strategy and product innovation.
Validation and Long-term Impact
Ensuring Data Fidelity
To ensure that the migration did not disrupt the critical research activities of its global clientele, ZAGENO established a rigorous validation protocol centered on four key metrics: completeness, correctness, freshness, and fidelity. The centerpiece of this strategy was a two-week “parallel run” period, during which the legacy SQL transformation models and the new Spark Declarative Pipelines were operated simultaneously within a live production environment. This allowed the engineering team to compare the outputs of both systems in real time, identifying any minute variations or edge cases that might have been missed during the initial conversion phase. This meticulous comparison was vital for maintaining the trust of life science procurement teams who rely on pinpoint accuracy for inventory and pricing. By the time the final cutover occurred, the team had successfully resolved every identified discrepancy, resulting in a launch with zero open errors and a data estate that was more reliable than its predecessor.
Strategic Business Outcomes
The successful integration of agentic AI tooling yielded transformative results, as the migration project that was originally expected to span three months was completed in just four weeks. This efficiency allowed the organization to save hundreds of senior engineering hours, which were immediately redirected toward developing customer-facing features and enhancing the user experience for procurement specialists. The project demonstrated that modernizing a transformation layer natively on Databricks created a modular foundation capable of supporting much faster update cycles. Leaders in the data engineering space recognized that this methodology established a new standard for handling large-scale architectural debt without halting product development. Moving forward, companies facing similar legacy burdens should prioritize tools that foster human-AI collaboration rather than simple automation. This approach proved that maintaining human oversight while utilizing AI for execution is the most viable path to achieving both speed and quality.
