Skip to content

Getting Started

Experience Mantra's time travel feature in just 5 minutes.

Follow this guide to: Download & Install → Import a Project → Experience Time Travel.


Before You Begin

Estimated time: 1 minute

System Requirements

Operating SystemMinimum VersionArchitecture
macOS12.0 (Monterey) or laterIntel / Apple Silicon
WindowsWindows 10 (1903) or laterx64
LinuxUbuntu 20.04 / Fedora 36 or equivalentx64

Storage Space

Mantra itself is about 200MB. Imported project data is stored locally, so ensure you have sufficient disk space.

What You'll Need

  • A project that has been used with an AI coding tool (Claude Code / Gemini CLI / Cursor / Codex / Antigravity)
  • The project should contain some AI conversation history to experience time travel
Don't have a project ready?

No worries! You can first use Claude Code or another supported AI tool to complete a small task, like creating a simple Hello World program, then come back to import that project. The whole process takes just a few minutes.


Step 1: Download and Install

Estimated time: 1 minute

Download Mantra

Visit the Mantra website to download the version for your operating system.

macOS Installation

Option 1: Direct Installation (Recommended)

  1. Open the downloaded .dmg file
  2. Drag Mantra to the Applications folder
  3. On first launch, right-click the app and select "Open" to bypass Gatekeeper prompt

Option 2: Using Homebrew

bash
brew install --cask mantra

Windows Installation

  1. Run the downloaded .exe installer
  2. Follow the installation wizard (default options work fine)
  3. After installation, find Mantra in the Start menu

Linux Installation

Choose the package for your distribution:

bash
# Debian/Ubuntu
sudo dpkg -i mantra_*.deb

# Fedora/RHEL
sudo rpm -i mantra_*.rpm

# Or use AppImage (universal)
chmod +x Mantra-*.AppImage
./Mantra-*.AppImage

Step 2: Import a Project

Estimated time: 2 minutes

This step imports your AI coding conversation history into Mantra.

Launch Mantra

Double-click to open the Mantra application. On first launch, you'll see an empty interface—this is normal, as you haven't imported any projects yet.

Start Importing

  1. Click the "Import" button at the top
  2. Select your AI tool:
    • Claude Code - Anthropic's command-line AI assistant
    • Gemini CLI - Google's command-line AI assistant
    • Cursor - AI-powered code editor
    • Codex - OpenAI's command-line AI assistant
    • Antigravity - Coming soon
  1. Mantra will automatically scan your computer for projects and list all importable ones
  2. Select a project you want to view and click "Import"

Import Duration

  • Small projects (<100 messages): ~1-2 seconds
  • Medium projects (100-500 messages): ~2-5 seconds
  • Large projects (>500 messages): ~5-30 seconds

You'll see a progress bar during import. Please be patient.


Step 3: Experience Time Travel

Estimated time: 1 minute

After import completes, you'll see Mantra's core interface—this is the magic moment!

Understanding the Layout

  • Left Panel: Complete AI conversation history, arranged chronologically
  • Right Panel: Code state view, displaying project files
  • Timeline: (if available) Visual representation of project evolution

Start Time Traveling

Now, try the most magical feature:

  1. In the conversation list on the left, click any historical message
  2. Watch the code panel on the right—the code automatically changes to that point in time!
  3. Click another message, and the code changes again

🎉 The "Aha!" Moment

Congratulations! What you just experienced is the core magic of Mantra:

When you click a message from a few days ago, the code on the right suddenly changes—to the version from that point in time! Click another message, and the code changes again.

It's like having a time machine for your code, letting you freely travel to any moment in your project's history.

Why This Matters

During AI-assisted coding, code changes frequently. Sometimes you want to recall "how did the AI solve that problem?" or "what did that deleted approach look like?"—now, just click the corresponding conversation message, and the answer is right there.


Frequently Asked Questions

Can't find my project during import scan?

Possible causes:

  1. Your AI tool stores conversation logs in a non-standard location
  2. The project hasn't had any AI conversations yet

Solutions:

  • Confirm you've selected the correct AI tool type
  • Try manually specifying the project path (click the "Browse" button)
  • Ensure the project contains AI conversation history files
No conversation history after import?

Possible causes:

  • The project has no valid conversation data
  • The conversation data format is not supported

Solutions:

  • Use a supported AI tool (Claude Code, Gemini CLI, Cursor, Codex, Antigravity) to have some coding conversations
  • Re-import the project
Code doesn't change during time travel?

Possible causes:

  • The clicked message might be pure conversation content without code changes
  • That point in time has the same code state as currently displayed

Solutions:

  • Try clicking messages that contain code modifications (usually AI response messages)
  • Click messages that are further apart in time
How do I import multiple projects?

Simply repeat the "Import" process. Each project is managed independently in Mantra, and you can switch between projects using the project selector in the top-left corner.


Next Steps

Congratulations on completing the quick start! Now explore more features:

  • 📖 Installation Guide - Detailed installation configuration, including network proxy, enterprise deployment, and other advanced options

  • 🔮 Time Travel - Deep dive into advanced time travel features like version comparison and snapshot export

  • 🔍 Message Filtering - Learn how to quickly locate key conversations and filter out noise

  • ⌨️ Keyboard Shortcuts - Master shortcuts to boost your productivity

Get Help

Having trouble? Visit the Mantra website or check the FAQ for more assistance.