Skip to main content

Rename notice: VibeCoding is now MothX. PyPI install name: mothx-installer (pipx install mothx-installer or pip install mothx-installer).

MothX

MothX was formerly known as VibeCoding. Each wheel includes a platform-native mothx binary. The vibecoding console command is still registered as a compatibility alias during the rename transition.

Installation

pip install mothx-installer

Or with an isolated environment:

pipx install mothx-installer

After installation, the mothx command is available on your PATH.

Quick Start

# Set your API key
export DEEPSEEK_API_KEY=sk-...

# Start an interactive session
mothx

# Or ask a question directly
mothx -P "Write a Go HTTP server"

Choose Your Mode

Every session runs in one of three modes, switchable anytime with Tab or /mode:

Mode Files Network Best For
Plan Read-only ✗ Analysis, code review, safe exploration
Agent Read/Write ✗ Daily development
YOLO Full ✓ System administration, automation (default)
mothx --mode plan     # read-only
mothx --mode agent    # standard
mothx --mode yolo     # full access (default)

Multi-Provider Support

Switch providers with a single flag:

# DeepSeek (default)
mothx --provider deepseek-openai --model deepseek-v4-flash

# OpenAI
mothx --provider openai --model gpt-4o

# Anthropic
mothx --provider anthropic --model claude-3-5-sonnet-20241022

# 20+ vendor adapters supported: Gemini, Kimi, Volcengine, Mistral,
# OpenRouter, Groq, Bedrock, GitHub Copilot, and more

Session Management

MothX persists conversation history in SQLite with branching support:

mothx                    # start new session
mothx --continue         # resume last session
mothx --resume <id>      # resume a specific session
mothx --session <file>   # open a specific session file

Sessions live in ~/.mothx/sessions/ (Linux/macOS) or %APPDATA%\mothx\sessions\ (Windows).

Print / CI Mode

Use MothX in non-interactive mode for scripting and CI/CD:

mothx -P "Write unit tests for auth.go"
mothx -P "Generate a CHANGELOG from git log" > CHANGELOG.md
echo "Explain this function" | mothx -P

Use --mode plan for read-only tasks and pair with --print to fail fast when approval is required.

Think Mode

Enable deeper reasoning for complex problems:

mothx --thinking high "Solve this architecture problem"

Levels: off, minimal, low, medium, high, xhigh — toggle in TUI with /think.

Security & Sandboxing

MothX uses bubblewrap for process-level isolation. Three layers of protection:

  • Blacklist — dangerous commands (rm -rf, sudo) are always blocked, even in YOLO mode
  • Approval gates — Agent mode prompts before executing bash commands
  • Whitelist — pre-approve safe commands in settings.json:
{
  "approval": {
    "bashWhitelist": ["go ", "make ", "git ", "npm "],
    "bashBlacklist": ["rm -rf", "sudo"],
    "confirmBeforeWrite": true
  }
}

Skills System

Skills are reusable prompt snippets for project conventions:

# List skills
> /skills

# Activate a skill
> /skill my-conventions

Place SKILL.md files in:

  • Global — ~/.mothx/skills/<name>/SKILL.md
  • Project — .skills/<name>/SKILL.md (overrides global)

Compatible with SkillHub for discovering and sharing community skills.

IDE Integration

MothX speaks Agent Client Protocol (ACP), integrating with VS Code, Zed, and JetBrains IDEs.

VS Code

Add to .vscode/settings.json:

{
  "acp.agents": {
    "mothx": {
      "command": "mothx",
      "args": ["acp", "--mode", "agent"]
    }
  }
}

JetBrains (IntelliJ, WebStorm, etc.)

Go to Settings → Tools → ACP Agents and add:

  • Name: MothX
  • Command: mothx
  • Arguments: acp --mode agent

Serve Mode

Run MothX as a unified OpenAI-compatible HTTP API, Web UI, and messaging server:

mothx serve

Config in ~/.mothx/serve.json or .mothx/serve.json. Ideal for team sharing, CI/CD pipelines, messaging channels, and embedding into your own tools.

Multi-Agent Mode

Enable sub-agent delegation and cron workflows:

mothx --multi-agent

Sub-agent tools: subagent_spawn, subagent_status, subagent_send, subagent_destroy.

For a single blocking investigation:

mothx --delegate

Messaging Channels

Deploy MothX as a chatbot on WeChat, Feishu, or WebSocket:

mothx serve

Messaging channel config lives in serve.json. Each user gets an independent, persistent session.

Keyboard Shortcuts

Shortcut Action
Enter Submit prompt
Alt+Enter / Ctrl+J Insert newline
Tab Cycle mode (plan → agent → yolo)
Esc Abort current operation
Ctrl+O Open tool details
Ctrl+G Toggle compact display
Ctrl+T Toggle thinking display

Supported Platforms

  • Linux x86_64, arm64, ppc64le, s390x
  • Linux musl x86_64, arm64
  • macOS x86_64, arm64
  • Windows x64, arm64

Other platforms (LoongArch64, RISC-V64, *BSD) are available via npm install -g mothx-installer or the one-line installer.

Diagnostics

mothx doctor

Checks config files, API connections, sandbox, MCP servers, sessions, and skills.

Uninstall

pip uninstall mothx-installer

# or if you used pipx:
pipx uninstall mothx-installer

Metadata

Release files for mothx-installer 1.2.95

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for mothx-installer 1.2.95
File
mothx_installer-1.2.95-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
mothx_installer-1.2.95-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
mothx_installer-1.2.95-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
mothx_installer-1.2.95-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
mothx_installer-1.2.95-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
mothx_installer-1.2.95-py3-none-manylinux_2_17_s390x.whl Python 3 none Linux glibc 2.17+ IBM System/390x Details
mothx_installer-1.2.95-py3-none-manylinux_2_17_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details
mothx_installer-1.2.95-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
mothx_installer-1.2.95-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
mothx_installer-1.2.95-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details

Total release size: 165.2 MB

Release files / mothx_installer-1.2.95-py3-none-win_arm64.whl

Download URL mothx_installer-1.2.95-py3-none-win_arm64.whl
Size 15.9 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
048b432741ccdc9681270db4ecfa0d62d0fbfc1a60a703d9f35c68cbdb52fa86
BLAKE2b-256 checksum
How to use checksums
6650399ca26b22123d9e12f5c83e15d72b4e6164b9320b5a194d383fcb722b28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.2.95-py3-none-win_amd64.whl

Download URL mothx_installer-1.2.95-py3-none-win_amd64.whl
Size 17.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
0ccdc997aaeebbc1c6bb08af7da2c116f6152adf233fbf1721b46061216e9868
BLAKE2b-256 checksum
How to use checksums
15d8a0689fa14f39ecdb5908270e4058c486ef9bd2da2f1e224d4cb103b1b6bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.2.95-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.2.95-py3-none-musllinux_1_2_x86_64.whl
Size 16.7 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e3d29219f526a07c82ef15c05d0cf8a079132b44a1e1f4a7bf360298103aa548
BLAKE2b-256 checksum
How to use checksums
c485bfff2d1c960011a65b5ee1e87063ccc9e056bf85953d4dff18a17fc73086
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.2.95-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.2.95-py3-none-musllinux_1_2_aarch64.whl
Size 15.7 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
3703dc0008100e46239c4a4fb61a674864953927883eb1a4b6aba008dd3ebf79
BLAKE2b-256 checksum
How to use checksums
71da503c2b8641b1c017a3b83aea5841999e7141eef37abe1c900a663ad43c59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.2.95-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.2.95-py3-none-manylinux_2_17_x86_64.whl
Size 16.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
51dfbbeb19ad47666b54ab71c552ee31d31b424d52c4a5bbce826e7d6a0f8db8
BLAKE2b-256 checksum
How to use checksums
12491a1befb41eabf56fd8a5f3e6113d3f5c142ce83c55fab409524385d72c6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.2.95-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.2.95-py3-none-manylinux_2_17_s390x.whl
Size 16.9 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
f8f5a57dfeebefb2464a7ab5e4671c8067f84ea21c60b117d13484d71c0594bc
BLAKE2b-256 checksum
How to use checksums
4639d101f302e8d913e2433ed4c834638cce3daa61b976e2ee2dfed037f3b83c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.2.95-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.2.95-py3-none-manylinux_2_17_ppc64le.whl
Size 15.9 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
5d5a0e9d335d2675e1d392d89a3185ec00370029dd9ebf137db8109d0af1cfec
BLAKE2b-256 checksum
How to use checksums
453debce507ed43f2f80342815287d39e5a0abe24820785634b9c32b9a98b108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.2.95-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.2.95-py3-none-manylinux_2_17_aarch64.whl
Size 15.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
5b9e77c605531874432572e6dba40f121186d4c9e7db7c4aca0d1615bdbb1267
BLAKE2b-256 checksum
How to use checksums
de26a2bc80999b61771f39690dcac09d219cf9031c60b93df109f33e3dea280f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.2.95-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.2.95-py3-none-macosx_11_0_arm64.whl
Size 16.6 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
914aa3e1262f0bf0e11ec7a0503bce1d9a5c1ec4a1dbcdeeb4c92bf74becb73f
BLAKE2b-256 checksum
How to use checksums
97c091605fe336f302e3d1bde4413a3641e32c067455ed921ec2dfef843cbcc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.2.95-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.2.95-py3-none-macosx_10_15_x86_64.whl
Size 17.3 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
d8091052c5c2c3737b81f04d3b8391a07686757d51294cb728a297077ce20f46
BLAKE2b-256 checksum
How to use checksums
cd5d954663e0ec8d1d341fbeb05527ed92465e4a81473d547f37bd43cc9b8c4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page