M31A
mcp
Pass
Health Pass
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 12 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
M31A — open-source agentic coding terminal powered by NVIDIA NIM
README.md
M31A
M31A (m31a) is an open-source, MIT-licensed agentic coding terminal built
by Eshan Roy
(github.com/eshanized/M31A) and powered by
NVIDIA NIM models via an OpenAI-compatible runtime, with local file/shell
tools, workspace trust policies, sandboxing, MCP server support, skills, and
interactive TUI workflows.
Requirements
- Node.js
>=20.0.0
Installation
Run without installing
npx m31a
Install globally
npm install -g m31a
Prebuilt release tarballs and standalone bundle archives are also published on
GitHub Releases.
Authentication (NVIDIA NIM)
Set your NVIDIA NIM API key (or configure it interactively via /auth):
export NVIDIA_API_KEY="nvapi-..."
m31a
Usage
# Launch interactive TUI in the current workspace
m31a
# List available models
m31a --list-models
# Select a specific model
m31a -m nvidia/nemotron-3-ultra-550b-a55b
# Include extra workspace directories
m31a --include-directories ../lib,../shared
# Start inside an isolated git worktree or sandbox
m31a --worktree
m31a --sandbox
# Configure tool approval mode (default, auto_edit, yolo, plan)
m31a --approval-mode auto_edit
# Resume the latest session
m31a --resume latest
# Run non-interactively (headless)
m31a -p "Explain the architecture of this codebase"
# Structured JSON / streaming JSON output
m31a -p "Explain the architecture of this codebase" --output-format json
m31a -p "Run tests and summarize failures" --output-format stream-json
CLI Subcommands
| Command | Description |
|---|---|
m31a mcp |
Manage MCP servers |
m31a extensions |
Manage M31A extensions |
m31a skills |
Manage agent skills |
m31a hooks |
Manage M31A hooks |
m31a models |
Manage or list M31A models |
m31a hub |
Manage the local background hub daemon |
m31a schedule |
Create and manage scheduled agent runs |
m31a connect |
Manage chat connectors (webhook bridge) |
Key Features
- Codebase Exploration & Editing: Read, search (
grep_search/ ripgrep /glob), edit (replace/apply_patch), write files, and execute shell
commands with policy confirmation controls. - Session & Context Management: Local SQLite-backed session history,
checkpointing (/chat//resume//rewind), context compression, git
worktree isolation (--worktree), and workspaceM31A.mdinstructions. - Extensibility: Model Context Protocol (MCP) servers (
/mcp), Agent Skills
(/skills), custom extensions and hooks, background hub/scheduled runs, and
ACP mode (--acp). - Sandboxing & Security: Folder trust enforcement, configurable policy
engine (default,auto_edit,yolo,plan), macOS Seatbelt profiles, and
Docker/Podman/LXC container sandboxing (ghcr.io/eshanized/m31a-sandbox).
Architecture
M31A is organized as a TypeScript monorepo using npm workspaces:
packages/cli(@m31a/cli): Ink-based terminal UI, CLI commands, ACP server,
and interactive workflows.packages/core(@m31a/core): Core agent runtime, NVIDIA NIM client, prompt
construction, tools, policies, and services.packages/genai(@m31a/genai): Structural model request/response types.packages/devtools(@m31a/devtools): Integrated developer tools inspector.packages/test-utils(@m31a/test-utils): Shared test utilities and harness.
Development
npm install
npm run build
npm run test
npm run lint
npm run typecheck
Run the full preflight validation suite with:
npm run preflight
Links
License
- Author: Eshan Roy
- License: MIT License
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found