JSPM

@bonginkan/maria

3.3.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 391
  • Score
    100M100P100Q122226F
  • License SEE LICENSE IN LICENSE

๐Ÿš€ MARIA v3.3.1 - Graph RAG Intelligence & Gemini 2.5 Flash Image Preview Integration. Revolutionary AI development platform with Graph RAG technology, intelligent codebase analysis, business image generation, and dynamic guideline generation.

Package Exports

  • @bonginkan/maria
  • @bonginkan/maria/package.json
  • @bonginkan/maria/services/internal-mode
  • @bonginkan/maria/services/internal-mode-v2

Readme

๐Ÿš€ MARIA v3.3.0

Graph RAG Intelligence & Enhanced /init Commands - Revolutionary AI development platform with Graph RAG technology, intelligent codebase analysis, and dynamic guideline generation. Features advanced AST parsing, knowledge graphs, and state-of-the-art incremental learning capabilities.

๐ŸŒ Homepage: https://bonginkan.ai/

TypeScript Node.js npm Bundle Size Graph RAG

๐Ÿง  Revolutionary Graph RAG Technology

MARIA v3.3.0 introduces cutting-edge Graph RAG (Retrieval Augmented Generation) capabilities that transform how AI understands and works with your codebase:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  ๐Ÿ” AST PARSING    โ†’   ๐Ÿ“Š KNOWLEDGE GRAPH   โ†’   ๐Ÿค– AI GUIDE  โ”‚
โ”‚                                                             โ”‚
โ”‚  TypeScript/JS     โ†’   Neo4j Relationships  โ†’   Dynamic     โ”‚
โ”‚  Code Analysis     โ†’   Semantic Connections โ†’   Guidelines  โ”‚
โ”‚  Dependencies      โ†’   Vector Embeddings    โ†’   Smart Recs  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐ŸŽฏ What's New in v3.3.0

  • ๐Ÿงช Graph RAG Engine: Deep codebase understanding through knowledge graphs
  • ๐Ÿ”„ Smart /init Command: Complete project analysis with AST parsing
  • ๐Ÿ“ˆ /update Command: Intelligent incremental updates with delta detection
  • ๐ŸŽจ Enhanced CLI UX: Progress bars, spinners, and TTY/JSON output modes
  • ๐Ÿ” Provenance Tracking: Full transparency in AI recommendations
  • โšก State Persistence: Efficient change tracking with SHA-256 hashing

๐ŸŽจ Beautiful CLI Experience

When you run maria, you'll see:

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘  โ–ˆโ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—                  โ•‘
โ•‘  โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—                 โ•‘
โ•‘  โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘                 โ•‘
โ•‘  โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘                 โ•‘
โ•‘  โ–ˆโ–ˆโ•‘ โ•šโ•โ• โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘                 โ•‘
โ•‘  โ•šโ•โ•     โ•šโ•โ•โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•โ•šโ•โ•  โ•šโ•โ•                 โ•‘
โ•‘        AI-Powered Development Platform                   โ•‘
โ•‘         (c) 2025 Bonginkan Inc.                          โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

MARIA CODE v3.3.0 โ€” Graph RAG Ready
/help for commands | Providers: 8/8 OK | Graph RAG: Enabled

Available AI Providers:
โ˜๏ธ  Cloud AI: OpenAI, Anthropic, Google, Groq, xAI
๐Ÿ’ป Local AI: Ollama, LM Studio, vLLM
๐Ÿง  Graph RAG: Knowledge Graphs, Vector Search, AST Analysis

โšก Installation

# Global installation (recommended)
npm install -g @bonginkan/maria

# Or with pnpm
pnpm add -g @bonginkan/maria

๐Ÿงฌ Graph RAG Quick Start

Initialize Your Project with Graph RAG

# Full codebase analysis with knowledge graph construction
maria
/init

# Output:
# ๐Ÿง  Initializing Graph RAG analysis...
# ๐Ÿ“ Scanning project files...
# ๐Ÿ” Parsing AST structures...
# ๐Ÿ“Š Building knowledge graph...
# โœจ Generating MARIA.md guidelines...

Incremental Updates

# Smart incremental updates with delta detection
/update

# With specific change detection
/update --since git:HEAD~3
/update --since 2025-08-20
/update --since state

๐ŸŽฏ Core Features

๐Ÿง  Graph RAG Intelligence

  • AST Parsing: Deep TypeScript/JavaScript code analysis
  • Knowledge Graphs: Neo4j-powered semantic relationships
  • Vector Search: Hybrid search with RRF ranking
  • Delta Detection: Three methods (git, time, state-based)
  • Provenance: Full explanation of AI recommendations

๐Ÿค– AI Provider Support

8 AI Providers with automatic failover:

Provider Models Available Status
๐Ÿค– OpenAI GPT-5, GPT-4o, o1-preview/mini โœ… Active
๐Ÿง  Anthropic Claude 3.5 Sonnet, Haiku โœ… Active
๐Ÿ”ฎ Google Gemini 2.0 Flash, 1.5 Pro โœ… Active
โšก Groq Llama 3.1, Mixtral โœ… Active
๐Ÿš€ xAI Grok Beta, Vision โœ… Active
๐Ÿ’ป Ollama Local Models ๐Ÿ  Local
๐ŸŽฏ LM Studio Local Models ๐Ÿ  Local
โš™๏ธ vLLM Local Models ๐Ÿ  Local

๐ŸŽจ Advanced CLI Features

# Enhanced slash commands with Graph RAG
/init          # Full project analysis with knowledge graphs
/update        # Incremental updates with delta detection
/memory        # View Graph RAG memory statistics
/status        # System health with Graph RAG metrics
/help          # Enhanced help with visual diagrams

๐Ÿ“Š Graph RAG Visualization

Knowledge Graph Structure:
โ”œโ”€โ”€ ๐Ÿ“ Project Root
โ”‚   โ”œโ”€โ”€ ๐Ÿ”— Dependencies
โ”‚   โ”‚   โ”œโ”€โ”€ External Packages
โ”‚   โ”‚   โ””โ”€โ”€ Internal Modules  
โ”‚   โ”œโ”€โ”€ ๐Ÿงฉ Components
โ”‚   โ”‚   โ”œโ”€โ”€ React Components
โ”‚   โ”‚   โ””โ”€โ”€ Utility Functions
โ”‚   โ”œโ”€โ”€ ๐ŸŽฏ Types & Interfaces
โ”‚   โ”‚   โ”œโ”€โ”€ API Contracts
โ”‚   โ”‚   โ””โ”€โ”€ Domain Models
โ”‚   โ””โ”€โ”€ ๐Ÿ”„ Data Flow
โ”‚       โ”œโ”€โ”€ State Management
โ”‚       โ””โ”€โ”€ Event Handlers

๐Ÿš€ Advanced Usage

Custom Delta Detection

# Git-based changes
/update --since git:HEAD~5

# Time-based changes  
/update --since 2025-08-20T10:00:00Z

# State-based changes (SHA-256)
/update --since state

Output Modes

# TTY mode (interactive)
maria

# JSON mode (CI/CD)
MARIA_OUTPUT=json maria

Budget Control

// Budget-aware processing
{
  "budget": {
    "maxFiles": 1000,
    "maxTimeMs": 300000,
    "maxTokens": 100000
  }
}

๐Ÿ—๏ธ Architecture

Graph RAG Pipeline

Input โ†’ AST Parser โ†’ Knowledge Graph โ†’ Vector Store โ†’ AI Analysis โ†’ Guidelines
  โ†“         โ†“             โ†“               โ†“            โ†“           โ†“
Files โ†’ Structures โ†’ Relationships โ†’ Embeddings โ†’ Insights โ†’ MARIA.md

Memory Systems

  • System 1: Fast pattern recognition, code snippets
  • System 2: Deep reasoning, architectural analysis
  • Graph Store: Persistent knowledge relationships
  • Vector Store: Semantic similarity search

Safety & Privacy

  • Local Processing: AST parsing runs locally
  • Gradual Degradation: Works without external services
  • Budget Controls: Prevents resource exhaustion
  • Safe Defaults: Non-destructive operations

๐Ÿ“š Graph RAG Configuration

Neo4j Integration

{
  "graphRAG": {
    "neo4j": {
      "uri": "bolt://localhost:7687",
      "user": "neo4j",
      "password": "your-password"
    },
    "vectorDB": {
      "provider": "qdrant",
      "collection": "maria-knowledge"
    }
  }
}

AST Analysis Settings

{
  "astParser": {
    "languages": ["typescript", "javascript"],
    "includePatterns": ["src/**/*.ts", "src/**/*.tsx"],
    "excludePatterns": ["node_modules/**", "dist/**"],
    "maxDepth": 10
  }
}

๐ŸŽฏ Use Cases

๐Ÿข Enterprise Development

  • Code Review: AI-powered analysis with Graph RAG insights
  • Architecture Planning: Relationship mapping and dependency analysis
  • Knowledge Transfer: Dynamic guideline generation for teams
  • Legacy Migration: Deep codebase understanding for modernization

๐Ÿ‘จโ€๐Ÿ’ป Individual Developers

  • Project Onboarding: Instant understanding of new codebases
  • Code Quality: Intelligent suggestions based on project patterns
  • Documentation: Auto-generated guidelines that evolve with code
  • Learning: Explore code relationships through knowledge graphs

๐Ÿ“– API Reference

Core Services

import { 
  IntelligentRouterService,    // Graph RAG routing
  DualMemoryEngine,           // System 1 & 2 memory
  FileSystemService           // Safe file operations
} from '@bonginkan/maria';

Graph RAG Services

import {
  GraphRAGService,            // Main Graph RAG orchestrator
  ASTAnalyzer,               // Code structure analysis
  KnowledgeGraphService,     // Neo4j graph management
  DeltaDetectorService       // Change detection
} from '@bonginkan/maria/graph-rag';

๐Ÿš€ Changelog v3.3.0

โœจ New Features

  • Graph RAG Engine: Complete implementation with Neo4j integration
  • Enhanced /init Command: AST parsing + knowledge graph construction
  • New /update Command: Intelligent incremental updates
  • Delta Detection: Git/time/state-based change tracking
  • Advanced CLI UX: Progress bars, spinners, TTY/JSON modes
  • Provenance System: Full transparency in AI recommendations

๐Ÿ”ง Improvements

  • Build System: Fixed 870+ TypeScript syntax errors
  • Import Paths: Cleaned up all module resolution issues
  • Dependencies: Added Neo4j driver and Babel traverse support
  • Memory Efficiency: Optimized AST parsing and graph operations
  • Error Handling: Enhanced error reporting with suggestions

๐Ÿ“ฆ Dependencies

  • Added: neo4j-driver for graph database operations
  • Added: @babel/traverse for AST parsing capabilities
  • Updated: All provider integrations with improved stability

๐Ÿค Contributing

We welcome contributions to MARIA's Graph RAG capabilities!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-graph-rag)
  3. Commit your changes (git commit -m 'Add amazing Graph RAG feature')
  4. Push to the branch (git push origin feature/amazing-graph-rag)
  5. Open a Pull Request

๐Ÿ“„ License

MIT License - see LICENSE file for details.

๐ŸŒŸ Support


MARIA v3.3.0 - Revolutionizing AI development with Graph RAG intelligence ๐Ÿš€