Skip to content

M31ACode at the speed of thought. With guardrails.

An open-source agentic coding terminal powered by NVIDIA NIM. It explores your codebase, makes changes, runs tests, and hands control back to you at every step.

M31A logo
See it in action

A real session, start to finish

One prompt leads to a plan, a reviewed patch, passing tests, and a checkpoint you can return to at any time.

m31a — ~/projects/app
npx m31a
? Trust this workspace? Yes
> Add a health endpoint and run the tests
◈ reading packages/cli/src/m31a.tsx
✎ patch src/routes/health.ts
✓ 12 tests passed · 0 failed
◆ checkpoint saved · 3 files changed
Why M31A

Built for real codebases, not demos

A capable agent is only useful when you can trust what it does. M31A pairs NIM-powered reasoning with explicit, inspectable controls.

How it works

One loop, four checkpoints

Every turn follows the same pipeline, so you always know where the agent is.

01

Understand

Discover M31A.md instructions, workspace files, MCP tools, and prior sessions before making changes.

02

Plan

Choose an approval mode, optionally switch to Plan Mode, and let the model outline the work.

03

Act

Tool calls pass policy checks, hooks, and sandbox boundaries before they touch your files.

04

Verify

Run tests, inspect the diff, checkpoint the result, or rewind if the direction is wrong.

Under the hood

A monorepo with clear boundaries

The CLI owns interaction and workflow. Core owns the agent loop, tools, policies, and services. Types and developer tooling live in their own workspaces.

Read the architecture guide →

@m31a/cliInk UI · commands · ACP · hub
↓
@m31a/coreAgent loop · tools · policy · hooks · skills
↓
@m31a/genaitypes
@m31a/devtoolsinspector
test-utilsharness
↓
NVIDIA NIMOpenAI-compatible endpoint

Ready to ship?

One command gets you into a real, guardrailed coding session.

Built with VitePress. Powered by NVIDIA NIM.