garywelz's picture
Version discipline database links
0b60f3c
|
Raw
History Blame Contribute Delete
10.8 kB
metadata
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.

πŸ“š 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

πŸ”’ Mathematics

βš›οΈ Physics

πŸ’» Computer Science

πŸ”§ 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.