Skip to main content

QUASAR

Universal Autonomous System for Atomistic Research

A research-ready autonomous computational chemistry agentic system. QUASAR covers the full atomistic simulation pipeline with integrated tools including Quantum ESPRESSO, ASE, MACE, pymatgen, LAMMPS, RASPA3, ORCA, xTB, and RDKit. Currently optimised for Gemini models; other providers may not be fully functional. Broader compatibility coming in future releases.

Documentation

Quick links:

Quick Start

The Web UI (quasar --web) is the recommended way to use QUASAR, providing a browser-based dashboard with live execution logs, workspace and 3D structure browsing, run history and traces, an integrated terminal, and visual settings management. Interactive terminal (quasar) and headless (quasar "...") modes are also available.

QUASAR supports three deployment paths:

  • Docker is the recommended default for laptops and workstations.
  • Singularity is the best fit for HPC and shared cluster environments.
  • Local deployment is useful when you need a custom native environment, but it is typically less isolated.

Docker

Pull the image:

docker pull fengxuyang/quasar:<tag>

Launch the Web UI (Recommended):

docker run -it --rm \
  -p 3001:3001 \
  -e MODEL=<model_name> \
  -e MODEL_API_KEY=<api_key> \
  -v "<workspace_path>:/workspace" \
  fengxuyang/quasar:<tag> \
  quasar --web

The Web UI listens on port 3001 and prints a tokenized URL (http://127.0.0.1:3001/?token=<token>) on startup. Pass -e QUASAR_WEB_TOKEN=<token> if you prefer a fixed access token, or configure MODEL and MODEL_API_KEY directly in the Web UI Settings tab after launch.

Launch the interactive CLI:

docker run -it --rm \
  -v "<workspace_path>:/workspace" \
  fengxuyang/quasar:<tag> \
  quasar

Run a headless prompt:

docker run --rm \
  -e MODEL=<model_name> \
  -e MODEL_API_KEY=<api_key> \
  -v "<workspace_path>:/workspace" \
  fengxuyang/quasar:<tag> \
  quasar "Calculate the band gap of silicon"

Singularity

Build the .sif image from Docker Hub:

singularity build quasar.sif docker://fengxuyang/quasar:<tag>

Run QUASAR:

singularity exec --cleanenv \
  -B "<workspace_path>:/workspace" \
  --home "<workspace_path>:/workspace" \
  quasar.sif quasar

Run a headless prompt:

singularity exec --cleanenv \
  -B "<workspace_path>:/workspace" \
  --home "<workspace_path>:/workspace" \
  --env MODEL=<model_name> \
  --env MODEL_API_KEY=<api_key> \
  quasar.sif quasar "Your research prompt here"

Local Installation

Prerequisites:

  • Python 3.10 or newer
  • Node.js 20 or newer for the Web UI and interactive CLI
  • Scientific software installed separately as needed for your workflows

Example setup:

conda create -n quasar python=3.11 -y
conda activate quasar
conda install -c conda-forge qe lammps raspa3 raspalib -y
pip install --upgrade pip
pip install quasar-core

Launch the Web UI (Recommended):

export WORKSPACE_DIR=<workspace_directory>
export MODEL=<model_name>
export MODEL_API_KEY=<api_key>
quasar --web

Launch the interactive CLI:

export WORKSPACE_DIR=<workspace_directory>
quasar

Run a headless prompt:

export MODEL=<model_name>
export MODEL_API_KEY=<api_key>
export WORKSPACE_DIR=<workspace_directory>
quasar "Your research prompt here"

In the Web UI (Settings tab) or interactive CLI (\settings), you can configure MODEL and MODEL_API_KEY after launch. Headless runs should provide required variables beforehand.

The first run in a new workspace can be slower because QUASAR may prepare documentation assets, retrieval indexes, and embedding resources.

CLI Reference

Command What it does
quasar --web Launches the browser-based Web UI dashboard on port 3001 (Recommended).
quasar Starts the interactive terminal UI.
quasar "..." Runs a direct prompt in headless mode.
quasar --resume Resumes the active checkpoint.
quasar --clear Clears the active checkpoint and current workspace state while preserving archives and docs.
quasar --fresh Clears current workspace state and archived runs while preserving docs and hidden cache directories.
quasar --history Opens the interactive per-task checkpoint history browser.
quasar --config Prints the current configuration values.
quasar --config validate Verifies required configuration such as MODEL_API_KEY.
quasar --info Prints system and workspace information.
quasar --no-rag "..." Runs a prompt without documentation retrieval for that session.

Interactive Backslash Commands

While using the interactive CLI, type \ at the start of the input box to open the command picker:

Command Description
\settings Open the system settings panel.
\refresh Clear and redraw the CLI, then reload checkpoint state.
\execution-overview Display the current or latest archived execution_overview.md.
\usage-report Display the current or latest archived usage_report.md.
\revert <task> Confirm and revert the active checkpoint/workspace to the start of a task, e.g. \revert 2.

Configuration Snapshot

Variable Purpose Default
MODEL Required model name. None
MODEL_API_KEY Required provider API key. None
OPENAI_API_BASE Optional base URL for OpenAI-compatible endpoints. None
ACCURACY Planning and execution rigor: eco, standard, pro, adaptive. standard
GRANULARITY Task decomposition depth: low, medium, high, adaptive. adaptive
CONTEXT_THRESHOLD Context-compression trigger level. medium
ENABLE_RAG Enable documentation retrieval. true
AUTO_IMPROVE_CYCLES Automatic follow-up refinement cycles after a successful run. 0
AUTO_CONFIRM_PLAN Skip interactive plan confirmation for headless or batch runs. unset
NUM_CORES Override detected physical core count. Auto
PMG_MAPI_KEY Materials Project API key for pymatgen. None
HF_TOKEN Optional Hugging Face token for authenticated retrieval access. None
IF_RESTART Resume from the last checkpoint. false
QUASAR_WEB_TOKEN Access token for the Web UI (quasar --web). Auto-generated per session if unset. Generated
QUASAR_WEB_PORT Port for the Web UI server. 3001

Long-running Python executions use agent-scheduled check-ins via execute_python(check_in_after=...) and are rescheduled after each check-in via continue_execution(next_check_in_after=...).

Per-agent overrides are also available:

Agent Model API key Base URL
Strategist STRATEGIST_MODEL STRATEGIST_MODEL_API_KEY STRATEGIST_API_BASE_URL
Operator OPERATOR_MODEL OPERATOR_MODEL_API_KEY OPERATOR_API_BASE_URL
Evaluator EVALUATOR_MODEL EVALUATOR_MODEL_API_KEY EVALUATOR_API_BASE_URL

QUASAR is currently optimized for Gemini-oriented setups. Other providers may work, especially through supported integrations and compatible endpoints, but they are not yet the primary compatibility target.

Workspace Outputs

QUASAR writes all outputs into the mounted workspace directory:

workspace/
├── final_results/              # Final outputs and analysis from the current run
│   └── summary.md              # Main written summary
├── quasar_logs/                # Execution logs, checkpoints, and usage reports
│   ├── usage_report.md
│   ├── execution_overview.md
│   ├── input_messages.md
│   ├── conversation.md
│   ├── checkpoints.sqlite      # Checkpoint database
│   ├── checkpoint_settings.json # Run settings and token statistics
│   └── pending_execution.json  # Interrupted execution recovery state
├── quasar_archive/             # Historical runs preserved across normal cleanup
│   ├── quasar_run_YYYYMMDD_HHMMSS_<id>/
│   │   ├── final_results/
│   │   ├── quasar_logs/
│   │   └── ...
│   └── quasar_run_.../
├── docs/                       # Downloaded documentation
└── .rag_index/                 # Cached retrieval index and embeddings

When a run completes, QUASAR archives the workspace state to quasar_archive/, removes active checkpoint files, and keeps reusable assets such as quasar_archive/, docs/, and hidden cache directories available for future runs.

Resume and Cleanup

  • Use quasar --resume to continue an interrupted run. When resuming into an operator task, you can type steering instructions to guide the agent.
  • Use quasar --clear to remove the active checkpoint and current workspace state while keeping archived runs and docs.
  • Use quasar --fresh to remove current workspace state and archived runs while preserving docs and hidden cache directories.

Checkpoint metadata restores non-secret settings such as model choice, accuracy, granularity, and retrieval options. API keys should still be supplied through environment variables or the interactive \settings panel before resuming.

Third-Party Software Licenses

QUASAR integrates with several third-party computational chemistry packages. Most are open-source, but ORCA is distributed under its own license terms:

ORCA is free for academic use but is not free for commercial use. By using ORCA through QUASAR, you agree to the ORCA license terms. Users are responsible for obtaining a valid ORCA license and ensuring compliance with its terms of use.

Acknowledgements

QUASAR builds on a strong open-source scientific software ecosystem. In particular, the project draws on tools and libraries including Quantum ESPRESSO, ASE, MACE, pymatgen, LAMMPS, RASPA3, ORCA, xTB, and RDKit.

Citation

If QUASAR is useful in your research, please cite:

Yang, Fengxu, and Jack D. Evans. "QUASAR: A Universal Autonomous System for Atomistic Simulation and a Benchmark of Its Capabilities." arXiv:2602.00185, 2026. https://doi.org/10.48550/arXiv.2602.00185

@misc{yang2026quasar,
  title={QUASAR: A Universal Autonomous System for Atomistic Simulation and a Benchmark of Its Capabilities},
  author={Fengxu Yang and Jack D. Evans},
  year={2026},
  eprint={2602.00185},
  archivePrefix={arXiv},
  primaryClass={physics.chem-ph},
  url={https://arxiv.org/abs/2602.00185}
}

Contact

Metadata

Release files for quasar-core 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quasar-core 0.5.1
File Size Uploaded Provenance Actions
quasar_core-0.5.1.tar.gz 2.6 MB Without provenance Details for quasar_core-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quasar-core 0.5.1
File Interpreter ABI Platform Actions
quasar_core-0.5.1-py3-none-any.whl Python 3 none any Details for quasar_core-0.5.1-py3-none-any.whl

Total release size: 5.2 MB

Release files / quasar_core-0.5.1.tar.gz

Download URL quasar_core-0.5.1.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
0397c55d4cf8061b6727e59f7a768b8ddc2afec0cb63c4f941d51687a0881ce3
BLAKE2b-256 checksum
How to use checksums
dc9dd2b2063465dde949db0845571558c69f271b1beebb0d362bfe992d653b0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / quasar_core-0.5.1-py3-none-any.whl

Download URL quasar_core-0.5.1-py3-none-any.whl
Size 2.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
66e93859b23dc0e0b53c2f2e5503be929d720305f9387a10a93c554860f6c9b0
BLAKE2b-256 checksum
How to use checksums
675d3603cad8f11c8b6bcaefdef0b8e5a1392e621a69437b866c7f4395bef5c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for quasar-core 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page