MayaLucIA

Personal Scientific Computing Environment · 2024–present

Python C++23 Haskell WebGPU Org-mode Literate Programming

The Gap Between Data and Understanding

Science is increasingly limited not by measurement or computation, but by understanding. We can image neurons at nanometer resolution, simulate millions of cells, survey mountain valleys with satellite imagery, and gather terabytes of data. But turning that data into insight — into the kind of intuitive understanding that lets a scientist predict what happens next — remains a human bottleneck.

MayaLucIA is a personal computational environment for closing that gap. Guided by Feynman's principle — "What I cannot create, I do not understand" — the framework treats the act of building digital twins as the primary vehicle for scientific understanding. The output isn't a paper or a dataset; it's comprehension.

The Measure-Model-Manifest-Evaluate-Refine Cycle

MayaLucIA operates on an explicit iterative methodology:

  1. Measure — Identify anchor measurements: sparse data points that constrain the system. A handful of neuron morphologies. A topographic survey. Electrophysiology recordings from specific cell types.
  2. Model — Apply scientific constraints to infer dense structure from sparse data. This draws on a radical hypothesis from the Blue Brain Project: in any complex system, all parameters are interdependent, so that laying down a few pieces can reveal the missing parts.
  3. Manifest — Render models as interactive visual and sonic forms via MayaPortal. Not static images, but explorable digital twins.
  4. Evaluate — Assess against reality and scientific expectations. Does this cortical column look right? Does this river system match the satellite data?
  5. Refine — Update principles, not just parameters. Each cycle deepens understanding.

This isn't simulation in the traditional sense. It's reconstruction — building dense, coherent models from sparse measurements using constraint propagation, then examining them from every angle until understanding emerges.

Two Domains: Brain and Mountain

Bravli: Brain Circuit Reconstruction

The neuroscience domain builds on seven years at the Blue Brain Project. Bravli is a personal brain-building assistant for exploring, modifying, and simulating cortical circuits at multiple scales:

Data integration spans Allen Brain Institute atlases, neuronal morphologies, electrophysiology recordings, density distributions, and connectivity maps. The goal isn't to reproduce Blue Brain infrastructure but to build personal understanding of how geometry shapes connectivity, how layer-specific targeting works in inhibitory neurons, and how "highway hub" neurons link distant circuits.

Parbati: Mountain Valley Reconstruction

The geoscience domain applies the same methodology to Himalayan landscapes. The Parvati Valley in Himachal Pradesh serves as the subject — integrating SRTM topography, Copernicus satellite imagery, climate models, ecological surveys, and geological maps into a coherent digital twin.

Output artifacts include generative landscapes with geological accuracy, soundscapes of river flows and ecological rhythms, visualizations of erosion and tectonic uplift, and temporal models showing geological and human timescales. The project weaves ecological urgency, computational understanding, artistic expression, and documentation of a living landscape before it transforms.

Technical Architecture

Technology Stack

LayerTechnologyPurpose
PrototypingPython 3.12Rapid algorithm sketches, data wrangling
Core EngineC++23Performance-critical rendering and simulation
Visual SynthesisMayaPortal (WebGPU)Interactive exploration of digital twins
CollaborationMayaDevGenIHuman-AI methodology for building the framework
DocumentationOrg-mode (literate programming)Code and prose as co-equal channels

Agent Architecture

MayaLucIA includes a domain-specialized agent framework, where each agent maps to a phase of the methodology cycle:

AgentPhaseRole
Observer/CuratorMeasureData quality assessment, public database queries
TheoristModelPhysics/biology constraints, conservation laws
BuilderModel → ImplementationReconstruction algorithms, HPC orchestration
SculptorManifestVisualization, sonification, interactive rendering
CriticEvaluateStatistical analysis, experimental design, peer review
GuideOrchestrationMaintains the cycle, routes work to specialists

Co-Ownership Principle

Every artifact in MayaLucIA carries two parallel channels optimized for different readers:

Both channels carry the same argument. The Org-mode format makes this natural: prose and code blocks coexist in the same file, tangled into executable code and woven into documentation.

Why Creation, Not Consumption

Most scientific software aims to automate: run the simulation, generate the plot, publish the paper. MayaLucIA inverts this. The framework is deliberately personal — designed for an individual scientist, not a team or enterprise. It leverages modern LLMs to eliminate the need for specialized engineering support while keeping the scientist's hands on every decision.

The digital twin is not the final product. The learning journey to build it is.

Current State

MayaLucIA is in active development. The Bravli neuroscience domain draws on mature analysis frameworks from seven years at Blue Brain. The Parbati geoscience domain is in early data integration. MayaPortal (the rendering engine) has its foundational architecture in place. The agent framework is being designed with principled collaboration methodology from MayaDevGenI.

The project serves as a proof that a single scientist, working with AI thinking partners, can build computational environments that previously required institutional-scale engineering teams.

← Projects