Spaces:
Running
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
- Input Process - Provide scientific papers, documentation, or process descriptions
- LLM Analysis - AI extracts steps, decisions, branches, and logic flow
- Generate Flowchart - Create Mermaid diagram encoded as JSON structure
- 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.
π Process Diagram Collections
The Programming Framework has been applied across multiple scientific disciplines. Explore interactive flowchart collections organized by domain:
𧬠Biology
- Biology Processes Database - Interactive database with 52 higher-level organismal processes across 8 categories (reproduction, development, behavior, defense, nutrition, sensory, transport, coordination)
- GLMP Database Table - 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 - Interactive database with 56 processes across 14 subcategories
π’ Mathematics
- Mathematics Database Table - Interactive database with 20 processes across 7 subcategories
βοΈ Physics
- Physics Database Table - Interactive database with 21 processes across 7 subcategories
π» Computer Science
- Computer Science Database Table - 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.
π¬ CopernicusAI
Knowledge engine integrating the Programming Framework with AI podcasts, research papers, and knowledge graph for scientific discovery.
π¨ 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.