Skip to content

Mantis Coding

Overview

Mantis Coding provides an integrated environment for writing, executing, and managing code cells within your Mantis workspace. It connects programmable analysis directly to the visual and conceptual space, enabling custom workflows, data transformations, and automation.

Purpose

  • Enable programmable data exploration and transformation within the Mantis platform.
  • Integrate code-driven analysis with visual workflows and semantic navigation.
  • Automate repetitive or complex tasks using scripts or macros.
  • Prototype, test, and iterate on custom analytics or visualization functions.
  • Share and document computational workflows for collaboration and reproducibility.

Key Features

  • Notebook Interface: Interactive code cells embedded within the workspace, supporting Python and additional languages.
  • Linked Execution: Results from code cells can update bags, plots, or the map in real time.
  • Macro Support: Save and reuse code snippets as macros for automation or sharing.
  • Agent Integration: Invoke agents programmatically from within code cells to leverage platform intelligence.
  • Contextual Awareness: Code cells have access to the current workspace context (selected points, bags, filters).
  • Versioning & Collaboration: Share notebooks, track code history, and collaborate with team members in a unified environment.

Tips

  • Use Mantis Coding to script custom analyses, feature engineering, or bulk operations on your data.
  • Leverage code cells for batch queries, data cleaning, or creating new computed features.
  • Integrate agent calls in code for advanced automation or to build custom analysis pipelines.
  • Document your steps within code cells to ensure workflows are reproducible and understandable to collaborators.