Team Ai
Apppublic

garywelz/programming_framework

sourceHugging Facemitupdated 2mo agoView on Hugging Face
0likes
README.md181 linesDownload Raw Back to root
1---2title: The Programming Framework3emoji: πŸ› οΈ4colorFrom: yellow5colorTo: red6sdk: static7pinned: true8license: mit9---10 11# πŸ› οΈ The Programming Framework12 13A Universal Method for Process Analysis14 15## Summary16 17The **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.18 19Successfully demonstrated through GLMP (Genome Logic Modeling Project) with 217 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.20 21## πŸ“š Role & Contributions22 23### Overview24The Programming Framework is the domain-agnostic methodology behind CopernicusAI's process analysis β€” combining Large Language Models (LLMs) with visual flowchart representation to transform textual process descriptions into structured, interactive visualizations across any discipline.25 26### πŸ”¬ Research Contributions27- **Universal Process Analysis:** Domain-agnostic methodology applicable across biology, chemistry, software engineering, business processes, and more28- **LLM-Powered Extraction:** Automated extraction of process steps, decision points, and logic flows using Google Gemini 2.0 Flash29- **Structured Visualization:** Mermaid.js-based flowchart generation encoded as JSON for programmatic access and integration30- **Iterative Refinement:** Systematic approach enabling continuous improvement through visualization and LLM-assisted refinement31 32### βš™οΈ Technical Achievements33- **Meta-Tool Architecture:** Framework for creating specialized process analysis tools (demonstrated by GLMP)34- **JSON-Based Storage:** Structured data format enabling version control, cross-referencing, and API integration35- **Multi-Domain Application:** Successfully applied to biological processes (GLMP), with extensions planned for software, business, and engineering domains36- **Integration Framework:** Designed for integration with knowledge engines, research databases, and collaborative platforms37 38### 🎯 Position Within CopernicusAI Knowledge Engine39The Programming Framework serves as the **foundational meta-tool** of the CopernicusAI Knowledge Engine, providing the underlying methodology that enables specialized applications:40 41- **GLMP (Genome Logic Modeling Project)** - First specialized application demonstrating biological process visualization42- **CopernicusAI** - Main knowledge engine integrating Framework outputs with AI podcasts and research synthesis43- **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-engine44- **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.html45- **Research Papers Metadata Database** - Integration for linking processes to source literature (63,186 papers indexed)46- **Science Video Database** - Potential integration for multi-modal process explanations47 48This is the foundational methodology for AI-assisted process analysis β€” LLMs systematically extract and visualize complex logic from textual sources across diverse domains. The Knowledge Engine provides a unified interface for exploring processes alongside research papers, podcasts, and other content types.49 50## 🎯 Overview51 52The 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.53 54## πŸ’‘ The Core Idea55 56**Problem:** Complex processes are difficult to understand because they involve many steps, decision points, and interactions. Traditional text descriptions are hard to follow.57 58**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.59 60## βš™οΈ How It Works61 621. **Input Process** - Provide scientific papers, documentation, or process descriptions632. **LLM Analysis** - AI extracts steps, decisions, branches, and logic flow643. **Generate Flowchart** - Create Mermaid diagram encoded as JSON structure654. **Visualize & Iterate** - Interactive flowchart reveals insights and enables refinement66 67## 🌍 Core Principles68 69### Domain Agnostic70Works across any field: biology, chemistry, software engineering, business processes, legal workflows, manufacturing, and beyond.71 72### Iterative Refinement73Start with rough analysis, visualize, identify gaps, refine with LLM, repeat until the process logic is crystal clear.74 75### Structured Data76JSON storage enables programmatic access, version control, cross-referencing, and integration with other tools and databases.77 78## πŸš€ Applications79 80### 🧬 GLMP - Genome Logic Modeling (Live)81First specialized application: visualizing biochemical processes like DNA replication, metabolic pathways, and cell signaling.82- [Explore GLMP β†’](https://huggingface.co/spaces/garywelz/glmp)83 84## πŸ“š Process Diagram Collections85 86The Programming Framework has been applied across multiple scientific disciplines. Explore interactive flowchart collections organized by domain:87 88### 🧬 Biology89- [Biology Processes Database](https://storage.googleapis.com/regal-scholar-453620-r7-podcast-storage/biology-processes-database/biology-database-table.html) - Interactive database with 55 higher-level organismal processes across 8 categories (reproduction, development, behavior, defense, nutrition, sensory, transport, coordination)90- [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 (217 processes)91- **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.92 93### βš—οΈ Chemistry94- [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 123 processes across 14 subcategories95 96### πŸ”’ Mathematics97- [Mathematics Database Table](https://storage.googleapis.com/regal-scholar-453620-r7-podcast-storage/mathematics-processes-database/mathematics-database-table.html) - Interactive database with 226 processes across 7 subcategories98 99### βš›οΈ Physics100- [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 subcategories101 102### πŸ’» Computer Science103- [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 50 processes across 7 subcategories104 105## πŸ”§ Technical Architecture106 107### LLM Integration108- Google Gemini 2.0 Flash for analysis109- Vertex AI for enterprise deployment110- Custom prompts for process extraction111- Structured JSON output formatting112 113### Visualization Stack114- Mermaid.js for flowchart rendering115- JSON schema for data validation116- Interactive SVG output117- Export to PNG/PDF supported118 119### Data Storage120- Google Cloud Storage for JSON files121- Firestore for metadata indexing122- Version control with Git123- Cross-referencing with papers database124 125### Integration Points126- GLMP specialized collections127- CopernicusAI knowledge graph128- Research papers database129- API endpoints for programmatic access130 131### How to Cite This Work132 133Welz, G. (2024–2025). *The Programming Framework: A Universal Method for Process Analysis*.134Hugging Face Spaces. https://huggingface.co/spaces/garywelz/programming_framework135 136Welz, G. (2024). *From Inspiration to AI: Biology as Visual Programming*. Medium. 137https://medium.com/@garywelz_47126/from-inspiration-to-ai-biology-as-visual-programming-520ee523029a138 139This 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.140 141The Programming Framework is designed as infrastructure for AI-assisted science, providing a universal methodology that can be specialized for domain-specific applications.142 143## πŸ”— Related Projects144 145### 🧬 GLMP - Genome Logic Modeling146First specialized application of the Programming Framework to biochemical processes. 217 biological pathways visualized.147- [Visit GLMP β†’](https://huggingface.co/spaces/garywelz/glmp)148 149### πŸ”¬ CopernicusAI150Knowledge engine integrating the Programming Framework with AI podcasts, research papers, and knowledge graph for scientific discovery.151- [Visit CopernicusAI β†’](https://huggingface.co/spaces/garywelz/copernicusai)152 153## 🎨 Interactive Demo154 155The space includes interactive examples showing the framework applied to:156- Scientific Method157- Software Deployment Pipeline158- Customer Support Workflow159- Research Paper Publication160 161Each example demonstrates how LLMs extract process logic and encode it as visual flowcharts.162 163## πŸ’» Technology Stack164 165- **LLM**: Google Gemini 2.0 Flash, Vertex AI166- **Visualization**: Mermaid.js167- **Storage**: Google Cloud Storage, Firestore168- **Format**: JSON with Mermaid syntax169- **Frontend**: Static HTML + Tailwind CSS170 171## 🌟 Vision172 173As 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.174 175---176 177**A Universal Method for Process Analysis**178 179Β© 2025 Gary Welz. All rights reserved.180 181