MOLGEN: AI Planning and Constraint Satisfaction for Molecular Biology Experiment Design
In 1978, Mark Stefik at Stanford University's Heuristic Programming Project developed MOLGEN, an expert system that applied AI planning and constraint-satisfaction techniques to the design of molecular biology experiments, demonstrating that structured reasoning could automate complex scientific problem-solving in genetics and cloning.

Background
By the late 1970s, molecular biology was moving fast. Recombinant DNA techniques had made it possible to cut, splice and copy genetic material in ways that had seemed far-fetched only a decade earlier. But designing an experiment to do any of this was slow, painstaking work. A researcher had to hold in mind a large number of constraints at once: which enzymes were available, which would cut at the right sites, what conditions each step required, how each choice upstream would affect what was possible downstream. There was no shortage of knowledge about the biology. The problem was coordinating it.
AI systems of the period were mostly being tested on abstract puzzles or narrow, well-defined tasks. Expert systems, which encoded human expertise as explicit rules for a computer to apply, existed but tended to work in flat, linear ways. Planning systems could set goals and work towards them, but linking structured planning to a real scientific domain, where constraints interact and a single wrong assumption could invalidate an entire experimental chain, was much harder than the laboratory demonstrations of the time suggested.
What happened
In 1978, Mark Stefik at Stanford University’s Heuristic Programming Project set out to build a system that could reason about molecular biology experiments the way a careful scientist would: identifying goals, working out what the constraints were, and only committing to specific decisions once enough of the picture was clear. The result was MOLGEN.
The system used hierarchical planning, meaning it could work at different levels of detail at once, sketching a rough strategy before filling in the steps. Alongside this it applied constraint propagation, a technique where each decision narrows down what is still possible elsewhere in the plan, so that incompatible choices are caught before any work is wasted. Applied to gene cloning, this meant MOLGEN could take a stated experimental goal and reason through the required steps: selecting appropriate DNA segments, identifying suitable vectors (the molecular carriers used to move genetic material into a host cell), and sequencing the operations so that nothing was specified prematurely. Peter Friedland at Stanford was also working within the broader MOLGEN programme during this period, contributing to its development across several departments including Genetics and Medicine.
What Stefik demonstrated was that this kind of structured, constraint-aware reasoning could be made to work on problems that were not toy examples. The published account in the journal Artificial Intelligence in 1982, drawing on work documented in the Stanford HPP memo HPP-78-27, described the planning and meta-planning architecture in detail. Meta-planning was the layer above ordinary planning: the system could reason about which planning strategy to use, not just execute one. That was the part that made MOLGEN more than a lookup table dressed up with rules. The experimental design problems it addressed were real ones, drawn from the genetics and cloning work being done at Stanford at the time.
Why it mattered
MOLGEN was among the earliest expert systems to apply hierarchical planning and constraint propagation to a real scientific domain, moving AI beyond toy problems into laboratory practice. Its architecture influenced subsequent work in knowledge-based systems and scientific planning, and its constraint-satisfaction approach foreshadowed techniques later central to bioinformatics and computational biology. The project also contributed to the theoretical foundations of plan-space search in AI research.
People
Mark Stefik Stanford University, Heuristic Programming Project, Peter Friedland Stanford University
Organisations
Stanford University, Stanford Heuristic Programming Project Hpp
Sources
- Planning and Meta-Planning (MOLGEN: Part 2), Stanford HPP Memo HPP-78-27.Stanford University Heuristic Programming Project.Primary source
- MOLGEN: Part 1, Planning and constraint propagation in molecular biology.Artificial Intelligence (Elsevier).Primary source
- Records of the Stanford Heuristic Programming Project, MOLGEN project files.Stanford University Libraries, Special Collections.institutional
Cite this page
AI Achievements. (1978). MOLGEN: AI Planning and Constraint Satisfaction for Molecular Biology Experiment Design. Retrieved 2026-08-22, from https://achievements.ai/milestone/molgen-program-by-mark-and-peter
@misc{achievements_molgen_program_by_mark_and_peter,
title = {MOLGEN: AI Planning and Constraint Satisfaction for Molecular Biology Experiment Design},
author = {{AI Achievements}},
year = {1978},
url = {https://achievements.ai/milestone/molgen-program-by-mark-and-peter}
}