Magi Roadmap

This roadmap outlines the phased development of the Magi ecosystem, detailing the progression from a command-line tool to a fully monetized, browser-based spellcasting platform with API support and user access controls.


Phase 0: CLI Tool (Complete)

Overview

The Magi project began as a CLI-based tool providing developers with magical "spells" for tasks ranging from directory transcription to AI-powered code generation.

Features

Status: ✅ Completed


Phase 1: Chamber (In Progress)

Overview

The introduction of Magi.Chamber brings remote spell hosting and CI/CD integrations, making spells modular and shareable.

Key Features

  1. Spell Repository Integration:
  2. Spells moved to Magi.Spells, enabling modular management.
  3. CI/CD pipelines automatically sync spells between repositories.

  4. Magi.Chamber Features:

  5. Centralized server for hosting and retrieving spells remotely.
  6. Auto-sync with Magi.Spells repository using GitHub Actions.
  7. Users can "ponder" spells to download them or execute them locally.

  8. Developer Workflow:

  9. New spells are developed in Magi.Spells.
  10. Once reviewed and approved, they sync to Chamber.

  11. CLI Integration:

  12. cast ponder allows users to retrieve individual spells or sync the full library.

Goals

Status: ⚙️ In Progress


Phase 2: Browser-Based Spellcasting

Overview

The focus shifts to providing browser-based access to Magi.Chamber. This allows users to interact with spells via a user-friendly web interface.

Features

  1. Spellcasting Web Interface:
  2. Spells can be executed through a browser.
  3. Each spell has a dedicated page with:

    • Usage instructions.
    • Execution options.
    • Input/output visualization (e.g., URL input for PageCraft).
  4. Spell Levels:

  5. Level 1 Spells: CLI-compatible spells, runnable via command line or local execution.
  6. Level 2 Spells: Fully mature and documented spells available for remote execution.
  7. Level 3 Spells: Spells integrated into the browser and API for seamless usage.

  8. Enhanced Documentation:

  9. Spells include structured documentation pages (Markdown-to-HTML conversion using tools like Jinja2 and Bootstrap).

  10. Containerized Execution:

  11. Spells are executed within isolated containers to ensure security and modularity.

Goals

Status: 🚧 Planned


Phase 3: Monetization & User Access Controls

Overview

This phase introduces a subscription-based model to monetize browser-based spellcasting and API integrations.

Monetization Features

  1. Free Tier:
  2. Users get one free use per spell executed via API or Browser.
  3. Local spells will always remain free and open source.

  4. Subscription Tiers:

  5. Basic Tier: $5/month for 20 executions.
  6. Pro Tier: $10/month for unlimited executions.
  7. Pay-As-You-Go: $0.25 per spell execution.

  8. Spell Levels & Access:

  9. Level 1 Spells: Free for CLI use.
  10. Level 2 Spells: Free for local use, monetized for remote execution.
  11. Level 3 Spells: Subscription required for web/API execution.

  12. User Access Controls:

  13. Authentication via OAuth2 or email/password.
  14. Usage tracking (free vs. paid executions).
  15. Subscription management and payment integration via Stripe/PayPal.

  16. API Integration:

  17. Developers can programmatically cast spells via REST APIs.
  18. API key management for authenticated usage.

Browser Features

Goals

Status: 🔮 Conceptual


Vision: Magi.Library

To unify the ecosystem, the Magi.Library repository serves as a parent project, documenting the architecture and providing an entry point for contributors and users.

Repository Highlights

  1. Centralized Documentation:
  2. Detailed guides on CLI, Chamber, and browser-based usage.
  3. Contribution guides for new spell creation.

  4. Architecture Overview:

  5. CI/CD pipelines for spell management.
  6. API and containerization workflows.

  7. Community Engagement:

  8. Encourages open-source contributions to the Magi ecosystem.
  9. Transparency in development and monetization plans.

Future Outlook

The Magi ecosystem evolves as a platform for creative and productive spellcasting, balancing open-source principles with a sustainable monetization model. With each phase, it grows closer to fulfilling its vision of merging the magical and the technical.

May your spells always succeed, and your code be forever magical.