DEPRECATED - Use 'crystalyse' package instead. This package is no longer maintained.
Project description
CrystaLyse.AI
โ ๏ธ DEPRECATED - This package has been replaced by
crystalyseThe
crystalyse-aipackage is no longer maintained. Please migrate to the newcrystalysepackage (v1.0.0+) which includes:
- Complete provenance system for computational honesty
- Auto-download of checkpoints and data files
- Enhanced PyMatGen integration with Materials Project database
- Streamlined architecture with 90% code reduction
- Better performance and reliability
Migration: Simply
pip uninstall crystalyse-ai && pip install crystalyseSee: Migration Guide
CrystaLyse.AI - Autonomous AI agents for accelerated inorganic materials design through natural language interfaces
Status: DEPRECATED - Use
crystalyseinstead
CrystaLyse.AI is a computational materials design platform that accelerates materials exploration through AI-powered analysis and validation. Built on the OpenAI Agents framework with Model Context Protocol (MCP) integration, it provides a dual-mode system for rapid materials design workflows.
๐ Quick Start
Installation
# Install from PyPI
pip install crystalyse-ai
# Set your OpenAI API key
export OPENAI_API_KEY="sk-your-key-here"
# Verify installation
crystalyse --help
Basic Usage
# Creative mode (fast exploration ~50 seconds)
crystalyse analyse "Find stable perovskite materials for solar cells" --mode creative
# Rigorous mode (complete validation 2-5 minutes)
crystalyse analyse "Analyse CsSnI3 for photovoltaic applications" --mode rigorous
# Interactive session
crystalyse chat
โจ Key Features
๐ Dual-Mode Analysis System
- Creative Mode: Fast exploration (~50 seconds) using Chemeleon + MACE
- Rigorous Mode: Complete validation (2-5 minutes) with SMACT + Chemeleon + MACE + Analysis Suite
- Real-time mode switching with unified interface
๐งช Complete Materials Pipeline
- Composition Validation: SMACT screening for chemically reasonable materials
- Structure Prediction: Chemeleon crystal structure generation with multiple candidates
- Energy Calculations: MACE formation energy evaluation with uncertainty quantification
- Comprehensive Analysis: XRD patterns, RDF analysis, coordination studies
- 3D Visualisation: CIF file generation and professional analysis plots
๐ป Advanced Interface Options
- Unified CLI: Single command interface with
/modeand/agentswitching - Session Management: Persistent conversation history across multi-day projects
- Interactive Chat: Research-grade session-based workflows
- Batch Processing: High-throughput materials screening capabilities
๐ฌ Scientific Applications
Energy Materials
- Battery cathodes and anodes (Li-ion, Na-ion, solid-state)
- Solid electrolytes and ion conductors
- Photovoltaic semiconductors and perovskites
- Thermoelectric materials
Electronic Materials
- Ferroelectric and multiferroic materials
- Magnetic materials and spintronics
- Semiconductor devices and memory materials
- Superconductors and quantum materials
๐ Performance Characteristics
| Operation | Creative Mode | Rigorous Mode |
|---|---|---|
| Simple query | ~50 seconds | 2-3 minutes |
| Complex analysis | 1-2 minutes | 3-5 minutes |
| Batch processing | 5-10 minutes | 15-30 minutes |
๐ ๏ธ Advanced Usage
Interactive Research Sessions
# Start a research session
crystalyse chat -u researcher -s solar_project -m creative
# Resume previous work
crystalyse resume solar_project -u researcher
# List all sessions
crystalyse sessions -u researcher
In-Session Commands
/mode creative # Switch to creative mode
/mode rigorous # Switch to rigorous mode
/agent chat # Switch to chat agent
/agent analyse # Switch to analysis agent
/help # Show available commands
/exit # Exit interface
๐ Example Output
Creative Mode Results
โญโโโโโโโโโโโโโโโโโโโโโโโ Discovery Results โโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ Generated 5 perovskite candidates with formation energies: โ
โ โ
โ 1. CsGeIโ - Formation energy: -2.558 eV/atom (most stable) โ
โ 2. CsPbIโ - Formation energy: -2.542 eV/atom โ
โ 3. CsSnIโ - Formation energy: -2.529 eV/atom โ
โ 4. RbPbIโ - Formation energy: -2.503 eV/atom โ
โ 5. RbSnIโ - Formation energy: -2.488 eV/atom โ
โ โ
โ CIF files created: CsGeI3.cif, CsPbI3.cif, CsSnI3.cif โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Rigorous Mode Output
- Complete SMACT composition validation
- Multiple structure candidates per composition
- Professional analysis plots (XRD, RDF, coordination analysis)
- CIF file generation for all structures
- Publication-ready results
๐ฌ Scientific Integrity
CrystaLyse.AI maintains computational honesty:
- 100% Traceability: Every result traces to actual tool calculations
- Zero Fabrication: No estimated or hallucinated numerical values
- Complete Transparency: Clear distinction between AI reasoning and computational validation
- Anti-Hallucination System: Response validation prevents fabricated results
๐ฅ๏ธ System Requirements
- Python 3.11+
- 8GB RAM minimum (16GB recommended)
- OpenAI API key
- Optional: NVIDIA GPU for MACE acceleration
๐ง Development Installation
For development or advanced usage:
# Clone repository
git clone https://github.com/ryannduma/CrystaLyse.AI.git
cd CrystaLyse.AI
# Create conda environment
conda create -n crystalyse python=3.11
conda activate crystalyse
# Install in development mode
pip install -e .
๐ค Acknowledgments
CrystaLyse.AI builds upon exceptional open-source tools:
- SMACT: Semiconducting Materials by Analogy and Chemical Theory
- Chemeleon: Crystal structure prediction with AI
- MACE: Machine learning ACE force fields
- Pymatviz: Materials visualisation toolkit
- OpenAI Agents SDK: Production-ready agent framework
๐ Citation
If you use CrystaLyse.AI in your research, please cite the underlying tools:
- SMACT: Davies et al., "SMACT: Semiconducting Materials by Analogy and Chemical Theory" JOSS 4, 1361 (2019)
- Chemeleon: Park et al., "Exploration of crystal chemical space using text-guided generative artificial intelligence" Nature Communications (2025)
- MACE: Batatia et al., "MACE: Higher Order Equivariant Message Passing Neural Networks for Fast and Accurate Force Fields" NeurIPS (2022)
- Pymatviz: Riebesell et al., "Pymatviz: visualization toolkit for materials informatics" (2022)
๐ License
MIT License - see LICENSE for details.
๐ Issues & Support
Report issues on GitHub Issues
๐ Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crystalyse_ai-1.0.15.tar.gz.
File metadata
- Download URL: crystalyse_ai-1.0.15.tar.gz
- Upload date:
- Size: 161.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72c5eee3acb1da8e555e9125a9e528c1b29821c4975409902f449ee19617012d
|
|
| MD5 |
65526557a09f79cb416226ce97caf4dc
|
|
| BLAKE2b-256 |
5d24c65c82d407e52e1c76285260dc1b1647d524ab0e781f8a723b02b84e35b8
|
File details
Details for the file crystalyse_ai-1.0.15-py3-none-any.whl.
File metadata
- Download URL: crystalyse_ai-1.0.15-py3-none-any.whl
- Upload date:
- Size: 181.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24c7d2aa1fd8b098ff7ac7fb1851ad66762f7c5dacb619d42c5d5bb7422b16da
|
|
| MD5 |
ce4b89e2d0c6691c2f1cf062a8c9e0d5
|
|
| BLAKE2b-256 |
679041363a63532ea84a2fb323b4f6a37b29d1db6c4a7608a2e5a0d2bf0bf15f
|