Skip to content

Latest commit

ย 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ iGeochem Cloud

Intelligent Geochemistry ยท Open Science ยท Next-Generation Isotope Analysis

License Python PyTorch

A cyber-physical framework for intelligent and automated geochemical laboratories

๐Ÿ“– Overview

iGeochem Cloud is a comprehensive platform designed to revolutionize geochemical research through artificial intelligence and automation. Based on the article "iGeochem cloud: A cyber-physical framework for intelligent and automated geochemical laboratories", this project aims to build the future of autonomous geochemical research.

๐ŸŽฏ Key Features

๐Ÿค– AI-Powered Analysis

  • Intelligent Quality Control: Machine learning models with 99.6% F1-score accuracy for anomaly detection
  • Automated Data Processing: End-to-end pipeline from raw data to publication-ready results
  • Natural Language Interface: Interact with your data using natural language queries

๐Ÿ”ฌ Flagship Project: Hg-MC-Auto

  • Self-Driving Mercury Isotope Analysis: Automated pipeline for MC-ICP-MS mercury isotope analysis
  • Real-time Quality Monitoring: Instant detection and diagnosis of measurement anomalies
  • Root-Cause Analysis: Multi-class classification to identify probable causes of abnormalities

๐ŸŒ FAIR Data Fabric

  • Findable: Persistent identifiers (IGSN, ORCID, DOI)
  • Accessible: Standardized API access
  • Interoperable: Ontology mapping (QUDT, ENVO)
  • Reusable: Comprehensive metadata and provenance tracking

๐Ÿ—๏ธ Cyber-Physical Architecture

  • Digital Twins: Virtual representations of instruments and processes
  • Instrument Abstraction: Unified SDK for multiple instrument brands
  • Real-time Monitoring: Lab safety and equipment health tracking

๐Ÿค Multi-Agent Collaboration

  • Distributed Research: Multiple AI agents working together
  • Collective Intelligence: Consensus-based decision making
  • Specialized Agents: Planner, Researcher, Analyst, Critic, Executor

๐Ÿ”ฎ Autonomous Laboratory

  • Hypothesis Generation: AI-driven scientific hypothesis creation
  • Experiment Design: Automated experimental protocol optimization
  • Feedback Loop: Continuous learning and improvement

๐Ÿ“‚ Project Structure

igeochem-cloud/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ core/                    # Core infrastructure
โ”‚   โ”œโ”€โ”€ flagship/                # Flagship projects (Hg-MC-Auto)
โ”‚   โ”œโ”€โ”€ orchestration/           # AI orchestration layer
โ”‚   โ”œโ”€โ”€ fabric/                  # FAIR data fabric
โ”‚   โ”œโ”€โ”€ physical/                # Physical layer abstraction
โ”‚   โ”œโ”€โ”€ user_interface/          # APIs and web interfaces
โ”‚   โ”œโ”€โ”€ llm/                     # Geo-LLM module
โ”‚   โ”œโ”€โ”€ autonomous_lab/          # Autonomous laboratory core
โ”‚   โ”œโ”€โ”€ multi_agent/             # Multi-agent system
โ”‚   โ”œโ”€โ”€ domain_adapters/         # Domain-specific adapters
โ”‚   โ”œโ”€โ”€ knowledge_graph/         # Knowledge graph
โ”‚   โ”œโ”€โ”€ simulation/              # Simulation module
โ”‚   โ””โ”€โ”€ ethics_safety/           # Ethics and safety
โ”œโ”€โ”€ tests/                       # Comprehensive test suite
โ”œโ”€โ”€ docs/                        # Documentation
โ”œโ”€โ”€ config/                      # Configuration files
โ”œโ”€โ”€ data/                        # Sample data
โ””โ”€โ”€ scripts/                     # Utility scripts

๐Ÿš€ Quick Start

Installation

# Clone the repository
git clone https://github.com/IGeochemCloud/igeochem-cloud.git
cd igeochem-cloud

# Create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements/base.txt
pip install -r requirements/ml.txt
pip install -r requirements/llm.txt

# Configure environment
cp config/base.yaml config/development.yaml
# Edit config/development.yaml with your settings

Running Hg-MC-Auto

from src.flagship.hg_mc_auto import HgMCAuto

# Initialize the pipeline
pipeline = HgMCAuto(model_path="models/hg_mc_auto_v1")

# Process raw data
results = pipeline.process(
    raw_data="data/samples/mercury/sample_data.csv",
    quality_threshold=0.85
)

# Generate report
report = pipeline.generate_report(results)
print(report)

Starting the API Server

uvicorn src.user_interface.api.main:app --reload --host 0.0.0.0 --port 8000

Visit http://localhost:8000/docs for interactive API documentation.

๐Ÿ“Š Performance

Hg-MC-Auto Performance Metrics

Metric Binary Classification Multi-class Diagnosis
Accuracy 99.61% 99.84%
F1-Score 0.9960 0.9909
AUC 0.999โ€“1.0 โ€”

Based on validation with 26,218 historical measurements.

๐Ÿ› ๏ธ Technology Stack

Core Technologies

  • Python 3.10+: Primary programming language
  • PyTorch 2.0+: Deep learning framework
  • FastAPI: High-performance API framework
  • PostgreSQL: Primary database
  • Redis: Caching and message queue

AI/ML

  • Transformers: Large language models
  • Scikit-learn: Traditional ML algorithms
  • LangChain: LLM application framework
  • XGBoost/LightGBM: Gradient boosting

Data Management

  • RDFlib: Semantic web and linked data
  • Pydantic: Data validation
  • SQLAlchemy: ORM framework

Infrastructure

  • Docker: Containerization
  • Kubernetes: Orchestration
  • Prometheus: Monitoring
  • Grafana: Visualization

๐Ÿ“š Documentation

๐Ÿค Contributing

We welcome contributions from the community! Please see our Contributing Guide for details.

Development Setup

# Install development dependencies
pip install -r requirements/dev.txt

# Run tests
pytest tests/ -v

# Format code
black src/ tests/
isort src/ tests/

# Type checking
mypy src/

๐Ÿ“„ Citation

If you use iGeochem Cloud in your research, please cite:

@article{huang2026igeochem,
  title={iGeochem Cloud: A Cyber-Physical Framework for Intelligent and Automated Geochemical Laboratories},
  author={Huang, Qiang and Zhou, Chufan and Feng, Xinbin and Tang, Yang and Zhong, Ying},
  journal={Artificial Intelligence in Geosciences},
  year={2026},
  doi={10.1016/j.aiig.2026.100257}
}

๐Ÿ‘ฅ Team

Research Group of Qiang Huang
State Key Laboratory of Environmental Geochemistry
Institute of Geochemistry, Chinese Academy of Sciences (IG-CAS)

๐Ÿ“ง Contact

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • State Key Laboratory of Environmental Geochemistry, IG-CAS
  • National Natural Science Foundation of China
  • All contributors and collaborators

Building the Future of Intelligent Geochemistry ๐ŸŒŸ

About

iGeochem Cloud is an open cyber-physical framework for intelligent geochemical labs, integrating Digital Core, AI orchestration, and FAIR data to automate workflows, provide reusable ML models and adapters, and enable reproducible, data-driven geoscience and a foundation for Geo-LLMs.

Topics

Resources

Code of conduct

Contributing

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages