Skip to content

Is M31A free and open source? ​

Yes. M31A is MIT licensed, copyright 2026 Eshan Roy. The source is at github.com/eshanized/M31A.

Which models does M31A use? ​

NVIDIA NIM models through an OpenAI-compatible runtime. The default model is nvidia/nemotron-3-ultra-550b-a55b. Run m31a --list-models to see what is available to your account.

Do I need an NVIDIA API key? ​

Yes. Set NVIDIA_API_KEY or run /auth. Custom OpenAI-compatible providers can also be configured; see Authentication.

What is the difference between plan and auto_edit? ​

auto_edit auto-approves edit tools but still prompts for other actions. plan is read-only and blocks writes and shell commands. See Approval modes.

How do I stop the agent from writing files? ​

Use --approval-mode plan, deny the edit at the confirmation prompt, or add a policy rule that denies edit tools.

Can M31A run without the interactive UI? ​

Yes. Use -p/--prompt for one-shot execution and --output-format json or stream-json for machine-readable output. See Headless mode.

How do I resume a previous conversation? ​

Use m31a --resume latest, m31a --resume <index>, or /resume in the UI. List sessions with --list-sessions.

What is M31A.md? ​

A Markdown file with project instructions loaded into context on every session. It is analogous to an agent-readable README. Use /init to create one and /memory reload to refresh it.

How do I add external tools? ​

Install an MCP server with m31a mcp add. Its tools, resources, and prompts become available to the agent.

What are skills? ​

Reusable instruction packages defined by a SKILL.md file with front matter. The model activates them on demand. See Skills.

How do hooks differ from policies? ​

Policies decide whether an action is allowed. Hooks observe or transform events around that action — for example logging a tool call before it runs. See Hooks.

Is sandboxing automatic? ​

Workspace trust is enforced by default. On macOS, Seatbelt may be selected automatically; container sandboxes require explicit opt-in with M31A_SANDBOX. See Sandboxing.

Where are settings stored? ​

User settings live in ~/.m31a/settings.json; workspace settings in <project>/.m31a/settings.json. Use /settings to edit them safely.

How do I report a bug or vulnerability? ​

Open a GitHub issue for bugs, or a private security advisory for vulnerabilities.

Can I run two agents in parallel? ​

Yes. Enable experimental.worktrees and start each session with --worktree. Each agent works in an isolated git worktree. See Parallel worktrees.

How does the agent decide when to compress context? ​

Compression is triggered at model.compressionThreshold (default 0.5) of the context window, with recent turns protected. You can also run /compress manually. See Context lifecycle.

What happens to my chat history? ​

Sessions are recorded locally with metadata and checkpoints. Automatic cleanup is controlled by general.sessionRetention. Use --list-sessions and /export-session to manage records. See Session storage.

Can I use a custom OpenAI-compatible endpoint? ​

Yes. Use --provider, the M31A_PROVIDER_* environment variables, or the provider registry in @m31a/core. See Custom provider setup.

Which tools are available in Plan Mode? ​

Read-only tools such as glob, grep_search, read_file, list_directory, web search, ask_user, activate_skill, and MCP resource tools. See the Tool reference.

How do I keep secrets out of tool output? ​

Enable security.environmentVariableRedaction.enabled, add sensitive names to blocked, and avoid --raw-output with untrusted model output. See the Runbook.

Where can I find exact tool names for policies? ​

Use the Tool reference or run /tools list in a session.

Does M31A send my code anywhere? ​

Prompts and context are sent to your configured model provider (NVIDIA NIM by default) to generate responses. Telemetry settings and environment variable redaction are documented in Environment variables and Settings.

How do I customize keybindings? ​

Create ~/.m31a/keybindings.json. Entries merge over defaults and can negate existing bindings. See Keybindings.

Next steps ​

Browse the CLI reference, Settings reference, and the Glossary.

Built with VitePress. Powered by NVIDIA NIM.