DevMatrix is a production-grade environment diagnostician and team synchronization platform. It ensures that every developer on your team has a perfectly calibrated local environment, eliminating the "it works on my machine" class of bugs.
DMX CLI providing real-time diagnostics and AI-powered remediation.
DevMatrix is built as a TypeScript monorepo, separating core logic from delivery platforms:
packages/cli: The high-performance Node.js tool powered by Ink.packages/extension: A VS Code sidebar integration for constant health monitoring.frontend/dmx-dashboard: A Next.js 15 collaborative web dashboard.packages/shared: Shared domain models and type safety across the stack.
- Scanner: Parallelized probes for system binaries, stack-specific requirements, and environment variables.
- Diff Engine: A weighted scoring algorithm that compares your local state against project requirements.
- AI Advisor: Context-aware remediation generated via Groq (Llama 3 / Mixtral) for complex setup issues.
- Cloud Sync: Optional snapshot persistence to Supabase for team-wide version alignment.
DevMatrix is more than just a local tool. Visit devmatrixcli.vercel.app to manage your team's configuration in the cloud.
| User Profile & Projects | Project Version Timeline |
|---|---|
![]() |
![]() |
- Link Identity: Run
dmx link <token>to associate your machine. - Push Snapshot: Use
dmx logs pushto share your current working version. - Team Align: Teammates can run
dmx statusto see if they are out of sync with your working environment.
DevMatrix is designed with security as a first-class citizen:
- Local-First AI: Your Groq API keys are stored only in
~/.devpulse/.env. They never leave your machine; the CLI communicates directly with the AI provider. - Data Masking: When syncing to the cloud, DMX automatically masks sensitive environment variable values, only sharing the keys to verify their presence.
- Non-Interactive Fixes: The
dmx fixcommand uses a secure agentic runner to perform safe, reversible environment modifications.
| Command | Category | Explanation |
|---|---|---|
dmx scan |
Diagnostics | Performs a full scan of system binaries, tool versions (node, python, etc.), and environment variables. Opens the interactive dashboard with AI-generated fixes. |
dmx fix |
AI Agent | Automatically executes shell commands to remediate health issues found in your environment. Securely handles installation and configuration drifts. |
dmx advice |
AI Review | Consults Groq AI with your system context to provide high-level architectural advice, best practices, and technical tips for your specific stack. |
dmx status |
Syncing | A tri-way dashboard comparing your Local state, the Official project requirement, and the Team Max (latest versions used by anyone on the team). |
dmx update |
Syncing | Syncs your local package.json and tool-chains with the official project requirements. |
dmx update <dev> |
Syncing | Pulls versions from a specific team member. Useful for debugging "it works on their machine." |
dmx logs push |
Cloud | Encrypts and uploads your current dependency fingerprint to the project timeline in Supabase. |
dmx auth |
Setup | Prompts for and securely stores your Groq API key in ~/.devpulse/.env. |
dmx init <id> |
Setup | Registers the current directory as a workspace for the specified DMX project ID. |
dmx add dev <id> |
Identity | An alias for init that specifically registers you as a contributor to a project. |
dmx list devs |
Metadata | Fetches the registry of all developers and machines currently contributing to the project. |
dmx project info |
Metadata | Retrieves the official desired state (requirements) and cloud metadata for the project. |
dmx link <token> |
Auth | Connects your CLI to your Web Dashboard profile using a secure token. |
dmx remove |
Setup | Cleans up local DMX configuration and stops tracking the current project. |
DEVMATRIX/
├── README.md
├── CLI/
│ ├── package.json
│ ├── assets/
│ ├── packages/
│ │ ├── cli/
│ │ │ ├── package.json
│ │ │ ├── tsconfig.json
│ │ │ ├── bin/
│ │ │ │ └── dmx
│ │ │ └── src/
│ │ │ ├── ai/ # AgentRunner (Fixer) & AIAdvisor (Advice)
│ │ │ ├── engine/ # DiffEngine & Scoring Logic
│ │ │ ├── render/ # TerminalUI (React/Ink)
│ │ │ ├── scanner/ # StackDetector, SystemProber, EnvParser
│ │ │ └── utils/
│ │ ├── extension/
│ │ │ ├── package.json
│ │ │ ├── tsconfig.json
│ │ │ └── src/
│ │ │ ├── DevPulseSidebarProvider.ts
│ │ │ └── extension.ts
│ │ └── shared/
│ │ ├── index.d.ts
│ │ └── package.json
└── Frontend/
├── eslint.config.mjs
├── next.config.ts
├── package.json
├── postcss.config.mjs
├── proxy.ts
├── README.md
├── tsconfig.json
├── app/
│ ├── globals.css
│ ├── layout.tsx
│ ├── not-found.tsx
│ ├── page.tsx
│ ├── admin/
│ ├── auth/
│ │ └── callback/
│ │ └── route.ts
│ ├── dashboard/
│ ├── login/
│ ├── messages/
│ ├── onboarding/
│ ├── project/
│ │ └── [id]/
│ │ └── page.tsx
│ ├── signup/
│ └── components/
├── components/
├── lib/
└── public/
npm install -g @devmatrix/cli # (Coming soon to npm)
dmx auth # Configure your Groq API KeyVisit the Web Dashboard to create a project, then:
dmx add dev <project-id>dmx scan # Comprehensive interactive health report
dmx fix # Automatically fix configuration drifts
dmx advice # Get AI-driven architectural setup tips
