OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Data & Analytics

Mandala

Mandala is an open-source Python framework for persisting, versioning and querying computations, including machine-learning experiments. Its @op decorator records function-call inputs, outputs, code and dependencies, while ComputationFrame organizes saved executions into queryable computation graphs.

Independent OpenViST project profile, based on linked sources.

Mandala — Incremental Python development where repeating identical function calls can be avoided
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Mandala when you want persistence and result reuse integrated with Python function execution, or need to inspect relationships across a saved, multi-step computation workflow.

Who it is for

  • Machine-learning practitioners who want to track computations at function-call granularity.
  • Python developers building data-processing pipelines with reusable intermediate results.
  • Analysts exploring iterative workflows and relationships between saved computation outputs.

Documented uses

  • Capture Python function inputs, outputs, code and dependencies as computation history.
  • Reuse prior results for matching calls when relevant versions are compatible.
  • Compose persisted operations into larger Python programs.
  • Organize execution history into computation graphs and query relationships through a dataframe.
Before you choose

Requirements & limits

The repository is public and identifies the project license as Apache-2.0. The README lists pip and Git-based installation commands.

  • Persistence and versioning operate at function-call granularity rather than at the level of a whole script or notebook.
  • Cache reuse depends on matching input contents and compatible versions of the function and its dependencies.
  • The project notes that its modified joblib-based content hashing is practical but not perfect.
  • Users decide whether some code changes are compatible with prior results.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install Mandala in a Python environment

Add the Mandala package using one of the installation methods listed in the project README.

Before you start

  • A Python environment with pip.

Steps

  1. Choose either the package installation or the Git-based installation method.

  2. Run the command below, or run the command below.

    Documented command
    pip install pymandala
    Documented command
    pip install git+https://github.com/amakelov/mandala

Expected outcome

The selected Mandala installation command has been issued in the Python environment.

Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
11 November 2026
Original website title
amakelov/mandala · Official homepage title · retained in its source language