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.3.104

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.3.104
File
mothx_installer-1.3.104-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
mothx_installer-1.3.104-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
mothx_installer-1.3.104-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
mothx_installer-1.3.104-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
mothx_installer-1.3.104-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
mothx_installer-1.3.104-py3-none-manylinux_2_17_s390x.whl Python 3 none Linux glibc 2.17+ IBM System/390x Details
mothx_installer-1.3.104-py3-none-manylinux_2_17_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details
mothx_installer-1.3.104-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
mothx_installer-1.3.104-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
mothx_installer-1.3.104-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details

Total release size: 181.9 MB

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

Download URL mothx_installer-1.3.104-py3-none-win_arm64.whl
Size 17.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
8ba6a0ef9cde76d835eede714ee0a7545ef38a4b713ac33c11a0c546cde9bc23
BLAKE2b-256 checksum
How to use checksums
2c9fd0cab9a9e1cf47f3513228392bc11ce83311e238ad57e1541a912eddf11b
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.3.104-py3-none-win_amd64.whl

Download URL mothx_installer-1.3.104-py3-none-win_amd64.whl
Size 19.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
438aa0dbbb0868a236c39fe690cd079c11fba4f33e119ef92247b28c80d825b9
BLAKE2b-256 checksum
How to use checksums
ce66adbac22d80f54d84f77cd3d2456a62a816172f15c42e757cc91cdaab8def
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.3.104-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.3.104-py3-none-musllinux_1_2_x86_64.whl
Size 18.4 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
24d8b2e654b76294bb1c4ae12c51f00edc8a15613f39695c62feadfc0932ead3
BLAKE2b-256 checksum
How to use checksums
e63cb79a24fa2a12ec6cd17cc41f338627686c60c29526f8d6bd12908271e297
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.3.104-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.3.104-py3-none-musllinux_1_2_aarch64.whl
Size 17.3 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c57777e2b5180b46d05a7e04971ff79a30a29135bdf5020b701426ed06fb9cba
BLAKE2b-256 checksum
How to use checksums
206aae6489ff3b4bfafa555e4a95c12498f9dc59f49e1de0df2d1f47554e98bb
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.3.104-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.3.104-py3-none-manylinux_2_17_x86_64.whl
Size 18.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
902df09dc0a8be69b00f3d7557d58b0135d59e4268d1464713f56a35981920bb
BLAKE2b-256 checksum
How to use checksums
489f2562d8c229f99b0d0d08f9089a92a9377c44fbe82d22c0a1840924ceb15c
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.3.104-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.3.104-py3-none-manylinux_2_17_s390x.whl
Size 18.6 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
666654819ded02cc66b4015913492df4d4d731b798d59b88a65a67515b22ec50
BLAKE2b-256 checksum
How to use checksums
b1a5eb14d60f5473e06bb46fe47302382fbf3420f78ac40aad42b31e8c76d320
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.3.104-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.3.104-py3-none-manylinux_2_17_ppc64le.whl
Size 17.4 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
0de49608204102ef1cab6b2b25c3982cf2fb5108f82337266dfc88b73d5de6a8
BLAKE2b-256 checksum
How to use checksums
1b038dc3fbffe0eaaa34fbe29d0090afecec695422a7345cbf2b55f57e138f5a
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.3.104-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.3.104-py3-none-manylinux_2_17_aarch64.whl
Size 17.3 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
468797cd5e8f077252a8558ccde16313287ac72e6377276f7f46672b77a49bdb
BLAKE2b-256 checksum
How to use checksums
28179fc0ad8e8fa4918d7b4b05e38375ce3c6e2cf09ee0eef06b3bf9cb28b8dd
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.3.104-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.3.104-py3-none-macosx_11_0_arm64.whl
Size 18.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9496689f2c0ea896f168c25942faa316e36a6815bbca64b06fb45168207d2d1d
BLAKE2b-256 checksum
How to use checksums
f089015542c5bb0ed548c599237c5a7e92dbe3ffd038fc274860a6330ddb4a61
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.3.104-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.3.104-py3-none-macosx_10_15_x86_64.whl
Size 19.1 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
5193b1e29b410c7aed95c39dbddfe140bf1a6adb66aecba709484b35511cbca9
BLAKE2b-256 checksum
How to use checksums
b5943644e8453c2a245b446b8e6068ead3abb792fa1ca449cbc07f5161260c89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.3.104 This release

10 release files

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