multi-language codebase pattern detection with statistical confidence scoring
Analyzes codebases across 8+ languages (TypeScript, Python, C#, Java, PHP, Go, Rust, C++) using a Rust-based core engine that performs AST parsing and structural analysis to identify recurring patterns, naming conventions, architectural styles, and anti-patterns. Returns pattern matches with statistical confidence scores derived from frequency analysis across the codebase, enabling AI assistants to understand project-specific conventions with quantified certainty rather than guessing.
Unique: Uses a hybrid Rust + TypeScript architecture where the Rust core engine performs performance-critical AST parsing and pattern matching across 8+ languages, while TypeScript interfaces expose results via MCP and CLI. This hybrid approach achieves both speed (Rust's memory efficiency for large codebases) and accessibility (Node.js ecosystem for distribution), unlike pure-JavaScript tools that struggle with large-scale analysis.
vs alternatives: Faster and more accurate than regex-based pattern detection because it uses proper AST parsing for structural awareness, and more accessible than language-specific linters because it works across 8+ languages with unified pattern detection logic.
persistent architectural decision memory with session continuity
Maintains a file-system-backed decision store (stored in .drift/ directory) that records architectural decisions, design choices, and conventions made across coding sessions. The memory system allows developers and AI assistants to query previous decisions via MCP, enabling context to persist across IDE restarts and multiple AI interactions without requiring manual re-explanation of project decisions.
Unique: Implements a persistent decision memory system that survives IDE restarts and multiple AI sessions by storing decisions in a local .drift/ directory, then exposes them via MCP tools that AI assistants can query. This is distinct from context-window-only solutions (like raw Claude conversations) because decisions are permanently stored and queryable, not ephemeral.
vs alternatives: Provides true session persistence unlike context-window-based approaches that lose decisions when conversations end, and requires no external infrastructure unlike cloud-based decision tracking systems.
mcp server integration for ide-native codebase intelligence
Exposes Drift's pattern detection and decision memory capabilities as an MCP (Model Context Protocol) server that integrates directly into IDEs like VS Code and Cursor. The MCP server implements standard tool-calling interfaces allowing AI assistants running in the IDE to query codebase patterns and decisions without leaving the editor, with results automatically injected into the AI's context window for code generation.
Unique: Implements a native MCP server that exposes codebase intelligence as queryable tools, allowing AI assistants to call pattern detection and decision memory functions directly from the IDE. This is architecturally distinct from plugins that require custom IDE extensions because it uses the standardized MCP protocol, making it compatible with any MCP-supporting IDE and any AI model that supports tool calling.
vs alternatives: More seamless than manual context injection because queries happen automatically via MCP tool calling, and more portable than IDE-specific plugins because it uses the standardized MCP protocol that works across VS Code, Cursor, and future MCP clients.
offline cli-based codebase scanning and analysis
Provides a command-line interface (drift init, drift scan, drift import, drift memory) that performs batch analysis of codebases without requiring IDE integration or cloud connectivity. The CLI invokes the Rust core engine to parse and analyze code, stores results in the local .drift/ directory, and outputs human-readable reports or JSON data for integration into CI/CD pipelines and automation workflows.
Unique: Provides a standalone CLI that doesn't require IDE integration or network connectivity, making it suitable for CI/CD pipelines and server environments. The CLI directly invokes the Rust core engine via native bindings, achieving performance comparable to the MCP server while remaining completely offline and scriptable.
vs alternatives: More suitable for CI/CD automation than IDE-only solutions because it's scriptable and offline, and faster than pure-JavaScript CLI tools because it uses Rust for performance-critical parsing operations.
language-specific convention analysis with ast-based structural awareness
Analyzes code structure using Abstract Syntax Trees (ASTs) for each supported language, enabling detection of language-specific conventions like naming patterns (camelCase vs snake_case), architectural styles (MVC, layered, modular), and language idioms. The Rust core engine maintains separate parsers for each language, allowing it to understand semantic structure beyond simple text matching and detect violations of language-specific best practices.
Unique: Uses proper AST parsing via language-specific parsers in the Rust core engine rather than regex or heuristic-based pattern matching, enabling structural awareness of code semantics. This allows detection of patterns that require understanding scope, type information, and control flow — not just text patterns.
vs alternatives: More accurate than regex-based pattern detection because it understands code structure, and more unified than running separate linters for each language because it provides consistent pattern detection across 8+ languages with a single tool.
codebase import and legacy decision migration
Provides a drift import command that allows developers to import existing architectural decisions, patterns, and conventions from legacy documentation, previous analysis tools, or manual records into Drift's persistent memory system. This enables teams to bootstrap Drift with existing knowledge rather than starting from scratch, and facilitates migration from other codebase intelligence tools.
Unique: Provides a dedicated import mechanism that allows bootstrapping Drift's decision memory from external sources, enabling teams to preserve existing architectural knowledge when adopting Drift. This is distinct from tools that only detect patterns from scratch because it acknowledges that teams often have pre-existing documented decisions.
vs alternatives: Enables faster adoption than starting from scratch because teams can import existing decisions, and more flexible than tools that only auto-detect patterns because it allows manual decision curation and import.
configuration-driven analysis scope and filtering
Supports project-level configuration (via .driftrc or similar config files) that allows developers to customize which files/directories are analyzed, which patterns to detect, which languages to prioritize, and how to weight different pattern types. The configuration system integrates with .gitignore for automatic exclusion of ignored files, reducing noise and focusing analysis on relevant code.
Unique: Integrates with .gitignore for automatic file exclusion and supports project-level configuration files that allow fine-grained control over analysis scope and pattern detection priorities. This is distinct from tools with fixed analysis behavior because it allows teams to customize Drift for their specific architectural concerns.
vs alternatives: More flexible than tools with fixed analysis scope because configuration allows customization, and more convenient than manual file exclusion because .gitignore integration is automatic.
hybrid rust-typescript architecture with native bindings for performance
Implements a three-tier architecture where performance-critical operations (AST parsing, pattern matching, statistical analysis) run in Rust for speed and memory efficiency, while user-facing interfaces (CLI, MCP server, configuration handling) are implemented in TypeScript for rapid development and Node.js ecosystem access. Native bindings bridge the Rust core and TypeScript interfaces, enabling both performance and accessibility without sacrificing either.
Unique: Uses a deliberate hybrid architecture where Rust handles performance-critical parsing and analysis while TypeScript provides user-facing interfaces and MCP integration. This is architecturally distinct from pure-JavaScript tools (slower) and pure-Rust tools (less accessible) because it optimizes for both performance and developer experience.
vs alternatives: Faster than pure-JavaScript tools for large codebase analysis because Rust core handles parsing, and more accessible than pure-Rust tools because TypeScript interfaces integrate with Node.js ecosystem and MCP protocol.
+1 more capabilities