Project Mars documentation
Project Mars is a Rust-powered interactive computing platform for exploring ideas,
executing code, and discovering possibilities — Mars Notebook for
multi-language notebooks, plus Mars Lab, a machine learning studio that turns
CSV datasets into trained ONNX models. Mars Notebook combines executable cells,
Markdown, mathematics, tables, charts, and rich output in a native .mars
document.
Documentation chapters
Foundations
- Getting started — install Project Mars and run your first notebook.
- Notebook format — understand the
.marsdocument model.
Platform
- Runtime architecture — how runtimes provide persistent, process-isolated sessions.
- CLI reference — create, run, inspect, and export notebooks.
- Rust runtime — Rust execution (replay and Evcxr backends).
- Python runtime — Python execution and data science.
- R runtime — R execution and data science.
- Julia runtime — Julia execution and data science.
- C++ runtime — C++ execution with Conan/vcpkg dependencies.
- SQL runtime — in-process SQLite cells and CSV-backed tables.
- MCP integration — Model Context Protocol for AI assistants and automation.
Mars Lab
- Lab overview — the machine learning studio: features and architecture.
- Lab CLI — command-line training, datasets, jobs, and ONNX export.
- Lab algorithms — complete algorithm catalogue and hyperparameters.
- Lab workflows — common training workflows and examples.
Extensions
- VS Code extension — use Project Mars from the VS Code notebook editor.
- Zed extension — Zed grammar support and usage.
- JetBrains extension — JetBrains plugin status and future plans.
Design principles
- Rust first. Execution, conversion, and rendering share one Rust core.
- Multi-language. Rust, Python, R, Julia, C++, and SQL runtimes with a protocol boundary for future languages.
- Clear boundaries. The document model, kernel, runtime, renderer, and CLI are separate components.
- Isolation by default. Notebook code does not run inside the desktop process.
- Open documents.
.marsis versioned JSON, and Jupyter notebooks can be imported and exported. - Portable output. Notebooks can be exported to HTML, Markdown, and
.ipynb. - LSP-powered. rust-analyzer integration provides IDE-quality editing in the notebook.
Repository
The source code, examples, and full project documentation live at hieudoanm/mars.