M0X Docs
M0X Docs

Get Started

Quickstart GuideCore ConceptsAI ModelsPricing Plans

Core Features

Feature OverviewThe CoderX AgentOperating ModesReviewTerminal IntegrationBrowserSecurity

Customization

Lifecycle HooksContext ManagementRules & InstructionsCommandsSkills & Custom ToolsSub-Agents & Parallel OrchestrationSemantic Search@ Mentions

MCP

Model Context Protocol (MCP)MCP FeaturesMCP Tab

Tools

Cloud FeaturesCLIInline Edit (Ctrl+K)BugbotShared TranscriptsSlack IntegrationLinear IntegrationGitHub IntegrationGit SupportGitLab IntegrationDeep Links

Settings

ConfigurationIgnore FilesExtensionsKeyboard ShortcutsShell Commands

Advanced

Parallel AgentsBring Your Own Key (BYOK)Language SupportMigrations

Account

Account ManagementBilling & SubscriptionsUpdate AccessTeamsEnterprise

Guides

CookbookAgent WorkflowsWeb DevelopmentData ScienceLarge Codebases & MonoreposMermaid DiagramsBugbot Rules

Support

TroubleshootingCommon IssuesRequest IDTroubleshooting GuideDownload
Documentation

The CoderX Agent

Power your development with an autonomous AI agent that writes, tests, and refactors code.

The CoderX Agent is an autonomous execution environment designed to handle multi-step development goals. Unlike standard chat assistants that only provide text suggestions, the agent operates in an active execution loop: it reads files, edits code, runs tests in the terminal, analyzes compilation logs, and self-corrects until the objective is achieved.


The Autonomous Coding Loop

The agent follows an iterative planning and execution cycle to solve tasks safely and accurately:

Plan and Analyze

The agent analyzes the workspace, indexes symbols, and forms a step-by-step implementation plan. It requests user feedback if requirements are ambiguous.

Execute Changes

Using specialized tools, the agent makes localized file replacements, creates new modules, or deletes deprecated code paths.

Verify Code

The agent executes tests, builds the project, or checks linting rules directly in the integrated shell to detect side effects immediately.

Self-Correct

If compile errors or test failures are detected, the agent reads the traceback, modifies its implementation, and runs verification again.


Core Capabilities

The agent is equipped with native tools to inspect, modify, and manage your workspace:

File Manipulation

Read, write, edit, and move files across the directory tree. Utilizes line-specific diff structures to minimize conflicts.

Integrated Terminal

Execute build commands, manage background tasks, run unit tests, and install package dependencies.

AST & Symbol Search

Locate class definitions, functions, and imports using abstract syntax trees and index mapping.

Semantic Codebase Search

Retrieve relevant code snippets based on meaning and context, even without exact keywords.


Safety and Control Barriers

Because the agent has the ability to run shell commands and modify code files, CoderX provides granular control gates to ensure safety:

[!WARNING] By default, terminal command executions and file write operations require your explicit approval in the editor UI.

Guardrail Modes

You can adjust the agent's autonomy levels in the Settings > Agent > Autonomy panel:

  • Semi-Autonomous (Recommended): The agent runs code searches and reads files automatically, but pauses to request user approval before modifying files or executing shell commands.
  • Fully Autonomous: The agent proceeds through the execution loop without prompting. Useful for isolated workspaces, Docker containers, or non-destructive refactoring tasks.
  • Restricted Sandbox: The agent is blocked from running terminal commands completely and can only offer diff suggestions for manual review.

Customizing Workspace Boundaries

To restrict the agent from reading or modifying specific directories (such as credentials, build folders, or large media assets), create a .m0xignore file in the root of your workspace:

.m0xignore
# Block access to confidential directories
/secrets/
.env*

# Exclude large build outputs
/dist/
/build/
.next/
node_modules/

Feature Overview

A complete feature comparison and capability breakdown of M0X CoderX and M0X IDE.

Operating Modes

Toggle between interactive chat, autonomous agents, and code review modes.

On this page

The Autonomous Coding LoopPlan and AnalyzeExecute ChangesVerify CodeSelf-CorrectCore CapabilitiesSafety and Control BarriersGuardrail ModesCustomizing Workspace Boundaries