A Universal Method for Process Analysis
Combining Large Language Models with Mermaid visualization to dissect and understand complex processes across any discipline—from biology to business, physics to psychology.
The Programming Framework represents prior work that demonstrates a novel methodology for analyzing complex processes by combining Large Language Models (LLMs) with visual flowchart representation. This research establishes a universal, domain-agnostic approach to process analysis that transforms textual descriptions into structured, interactive visualizations.
The Programming Framework serves as the foundational meta-tool of the CopernicusAI Knowledge Engine, providing the underlying methodology that enables specialized applications:
This work establishes a proof-of-concept for AI-assisted process analysis, demonstrating how LLMs can systematically extract and visualize complex logic from textual sources across diverse domains.
The Programming Framework is a meta-tool—a tool for creating tools. It provides a systematic method for analyzing any complex process by combining the analytical power of Large Language Models with the clarity of visual flowcharts.
Complex processes—whether biological, computational, or organizational—are difficult to understand because they involve many steps, decision points, and interactions. Traditional descriptions in text are hard to follow.
Use LLMs to extract process logic from literature, then encode it as Mermaid flowcharts stored in JSON. Result: Clear, interactive visualizations that reveal hidden patterns and enable systematic analysis.
Provide scientific papers, documentation, or process descriptions
AI extracts steps, decisions, branches, and logic flow
Create Mermaid diagram encoded as JSON structure
Interactive flowchart reveals insights and enables refinement
Color Legend:
Works across any field: biology, chemistry, software engineering, business processes, legal workflows, manufacturing, and beyond.
Start with rough analysis, visualize, identify gaps, refine with LLM, repeat until the process logic is crystal clear.
JSON storage enables programmatic access, version control, cross-referencing, and integration with other tools and databases.
The Programming Framework has been applied across multiple scientific disciplines. Explore interactive flowchart collections organized by domain:
Biological process visualizations linking to the Genome Logic Modeling Project (GLMP).
Biology Processes →Mathematical algorithms, proof methods, and computational processes.
Mathematics Processes →Physical processes including quantum mechanics, thermodynamics, and particle physics.
Physics Processes →Algorithms, software engineering workflows, and computational processes.
Computer Science Index →First specialized application of the Programming Framework to biochemical processes. 100+ biological pathways visualized as interactive flowcharts.
Explore GLMP →Knowledge engine integrating the Programming Framework with AI podcasts, research papers, and knowledge graph for scientific discovery.
Visit Copernicus AI →
Welz, G. (2024–2025). The Programming Framework: A Universal Method for Process Analysis.
Hugging Face Spaces. https://huggingface.co/spaces/garywelz/programming_framework
Welz, G. (2024). From Inspiration to AI: Biology as Visual Programming.
Medium. https://medium.com/@garywelz_47126/from-inspiration-to-ai-biology-as-visual-programming-520ee523029a
This project serves as a foundational meta-tool for AI-assisted process analysis, enabling systematic extraction and visualization of complex logic from textual sources across diverse scientific and technical domains.
The Programming Framework is designed as infrastructure for AI-assisted science, providing a universal methodology that can be specialized for domain-specific applications.