Spaces:
Running
Running
File size: 10,771 Bytes
6ba08a8 4c99079 6ba08a8 4c99079 1640278 4c99079 1640278 4c99079 c39aa1e 4c99079 c39aa1e 4c99079 c39aa1e 4c99079 9a23844 4c99079 9a23844 4c99079 9a23844 4c99079 9a23844 4c99079 9a23844 4c99079 1640278 4c99079 1640278 4c99079 1640278 4c99079 11ea802 4c99079 11ea802 4c99079 11ea802 4c99079 11ea802 4c99079 dfdfc02 4c99079 dfdfc02 4c99079 11ea802 4c99079 fd04cab 4c99079 fd04cab 4c99079 fd04cab 4c99079 fd04cab 4c99079 fd04cab 4c99079 123cf13 4c99079 123cf13 4c99079 7921de6 4c99079 0b60f3c 4c99079 0b60f3c 4c99079 0b60f3c 4c99079 11ea802 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | ---
title: The Programming Framework
emoji: π οΈ
colorFrom: yellow
colorTo: red
sdk: static
pinned: true
license: mit
---
# π οΈ The Programming Framework
A Universal Method for Process Analysis
## Summary
The **Programming Framework** is a universal meta-tool for analyzing complex processes across any discipline by combining Large Language Models (LLMs) with visual flowchart representation. The Framework transforms textual process descriptions into structured, interactive Mermaid flowcharts stored as JSON, enabling systematic analysis, visualization, and integration with knowledge systems.
Successfully demonstrated through GLMP (Genome Logic Modeling Project) with 50+ biological processes, and applied across Chemistry, Mathematics, Physics, and Computer Science. The Framework serves as the foundational methodology for the CopernicusAI Knowledge Engine, enabling domain-specific process visualization and analysis.
## π Prior Work & Research Contributions
### Overview
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.
### π¬ Research Contributions
- **Universal Process Analysis:** Domain-agnostic methodology applicable across biology, chemistry, software engineering, business processes, and more
- **LLM-Powered Extraction:** Automated extraction of process steps, decision points, and logic flows using Google Gemini 2.0 Flash
- **Structured Visualization:** Mermaid.js-based flowchart generation encoded as JSON for programmatic access and integration
- **Iterative Refinement:** Systematic approach enabling continuous improvement through visualization and LLM-assisted refinement
### βοΈ Technical Achievements
- **Meta-Tool Architecture:** Framework for creating specialized process analysis tools (demonstrated by GLMP)
- **JSON-Based Storage:** Structured data format enabling version control, cross-referencing, and API integration
- **Multi-Domain Application:** Successfully applied to biological processes (GLMP), with extensions planned for software, business, and engineering domains
- **Integration Framework:** Designed for integration with knowledge engines, research databases, and collaborative platforms
### π― Position Within CopernicusAI Knowledge Engine
The Programming Framework serves as the **foundational meta-tool** of the CopernicusAI Knowledge Engine, providing the underlying methodology that enables specialized applications:
- **GLMP (Genome Logic Modeling Project)** - First specialized application demonstrating biological process visualization
- **CopernicusAI** - Main knowledge engine integrating Framework outputs with AI podcasts and research synthesis
- **Research Tools Dashboard** (β
Implemented December 2025) - Fully operational web interface with knowledge graph visualization, vector search, RAG queries, and content browsing. Processes from Chemistry, Physics, Mathematics, and Computer Science are accessible through the unified dashboard. Live at: https://copernicus-frontend-phzp4ie2sq-uc.a.run.app/knowledge-engine
- **Public Project Interface** (β
Implemented January 2025) - Comprehensive public-facing page providing access to all CopernicusAI Knowledge Engine components. Live at: https://storage.googleapis.com/regal-scholar-453620-r7-podcast-storage/copernicusai-public-reviewer.html
- **Research Papers Metadata Database** - Integration for linking processes to source literature (12,000+ papers indexed)
- **Science Video Database** - Potential integration for multi-modal process explanations
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 Knowledge Engine now provides a unified interface for exploring processes alongside research papers, podcasts, and other content types.
## π― Overview
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.
## π‘ The Core Idea
**Problem:** Complex processes are difficult to understand because they involve many steps, decision points, and interactions. Traditional text descriptions are hard to follow.
**Solution:** 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.
## βοΈ How It Works
1. **Input Process** - Provide scientific papers, documentation, or process descriptions
2. **LLM Analysis** - AI extracts steps, decisions, branches, and logic flow
3. **Generate Flowchart** - Create Mermaid diagram encoded as JSON structure
4. **Visualize & Iterate** - Interactive flowchart reveals insights and enables refinement
## π Core Principles
### Domain Agnostic
Works across any field: biology, chemistry, software engineering, business processes, legal workflows, manufacturing, and beyond.
### Iterative Refinement
Start with rough analysis, visualize, identify gaps, refine with LLM, repeat until the process logic is crystal clear.
### Structured Data
JSON storage enables programmatic access, version control, cross-referencing, and integration with other tools and databases.
## π Applications
### 𧬠GLMP - Genome Logic Modeling (Live)
First specialized application: visualizing biochemical processes like DNA replication, metabolic pathways, and cell signaling.
- [Explore GLMP β](https://huggingface.co/spaces/garywelz/glmp)
## π Process Diagram Collections
The Programming Framework has been applied across multiple scientific disciplines. Explore interactive flowchart collections organized by domain:
### 𧬠Biology
- [Biology Processes Database](https://storage.googleapis.com/regal-scholar-453620-r7-podcast-storage/biology-processes-database/biology-database-table.html) - Interactive database with 52 higher-level organismal processes across 8 categories (reproduction, development, behavior, defense, nutrition, sensory, transport, coordination)
- [GLMP Database Table](https://storage.googleapis.com/regal-scholar-453620-r7-podcast-storage/glmp-database-table.html) - Genome Logic Modeling Project: Biochemical/molecular processes database (50+ processes)
- **Note:** Biology Processes Database focuses on organismal, developmental, behavioral, and ecological processes. GLMP focuses on molecular-level biochemical processes. Together they provide comprehensive biological process coverage.
### βοΈ Chemistry
- [Chemistry Database Table](https://storage.googleapis.com/regal-scholar-453620-r7-podcast-storage/chemistry-processes-database/chemistry-database-table.html?v=20260429) - Interactive database with 56 processes across 14 subcategories
### π’ Mathematics
- [Mathematics Database Table](https://storage.googleapis.com/regal-scholar-453620-r7-podcast-storage/mathematics-processes-database/mathematics-database-table.html) - Interactive database with 20 processes across 7 subcategories
### βοΈ Physics
- [Physics Database Table](https://storage.googleapis.com/regal-scholar-453620-r7-podcast-storage/physics-processes-database/physics-database-table.html?v=20260429) - Interactive database with 21 processes across 7 subcategories
### π» Computer Science
- [Computer Science Database Table](https://storage.googleapis.com/regal-scholar-453620-r7-podcast-storage/computer-science-processes-database/computer-science-database-table.html?v=20260429) - Interactive database with 21 processes across 7 subcategories
## π§ Technical Architecture
### LLM Integration
- Google Gemini 2.0 Flash for analysis
- Vertex AI for enterprise deployment
- Custom prompts for process extraction
- Structured JSON output formatting
### Visualization Stack
- Mermaid.js for flowchart rendering
- JSON schema for data validation
- Interactive SVG output
- Export to PNG/PDF supported
### Data Storage
- Google Cloud Storage for JSON files
- Firestore for metadata indexing
- Version control with Git
- Cross-referencing with papers database
### Integration Points
- GLMP specialized collections
- CopernicusAI knowledge graph
- Research papers database
- API endpoints for programmatic access
### How to Cite This Work
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.
## π Related Projects
### 𧬠GLMP - Genome Logic Modeling
First specialized application of the Programming Framework to biochemical processes. 100+ biological pathways visualized.
- [Visit GLMP β](https://huggingface.co/spaces/garywelz/glmp)
### π¬ CopernicusAI
Knowledge engine integrating the Programming Framework with AI podcasts, research papers, and knowledge graph for scientific discovery.
- [Visit CopernicusAI β](https://huggingface.co/spaces/garywelz/copernicusai)
## π¨ Interactive Demo
The space includes interactive examples showing the framework applied to:
- Scientific Method
- Software Deployment Pipeline
- Customer Support Workflow
- Research Paper Publication
Each example demonstrates how LLMs extract process logic and encode it as visual flowcharts.
## π» Technology Stack
- **LLM**: Google Gemini 2.0 Flash, Vertex AI
- **Visualization**: Mermaid.js
- **Storage**: Google Cloud Storage, Firestore
- **Format**: JSON with Mermaid syntax
- **Frontend**: Static HTML + Tailwind CSS
## π Vision
As AI systems become more capable of understanding complex processes, the Programming Framework provides the bridge between human comprehension and machine analysis. It's a tool for truth-seekingβtransforming complexity into clarity.
---
**A Universal Method for Process Analysis**
Β© 2025 Gary Welz. All rights reserved.
|