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

Links

Metadata

Release files for mothx-installer 1.2.98

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

Total release size: 173.6 MB

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

Download URL mothx_installer-1.2.98-py3-none-win_arm64.whl
Size 16.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
443a02e2358ed2f0aea276d33cfd296f21273c0ac1bbaafa249ebbb05b08e570
BLAKE2b-256 checksum
How to use checksums
5a82793a092e2ba1da7cd21e0cf646d124a82be4e9db540b3f4111c664806063
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.98-py3-none-win_amd64.whl

Download URL mothx_installer-1.2.98-py3-none-win_amd64.whl
Size 18.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e9d67ee802abd56b9db5913df83a7507ac1777c08ce681f121e358fb2805720c
BLAKE2b-256 checksum
How to use checksums
f8021d37a030d4c21831ac06b6ac604721a0a9071d7cdeb3a6b8d6f4b49a6c86
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.98-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.2.98-py3-none-musllinux_1_2_x86_64.whl
Size 17.6 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a9bd117fbf735faf526f848c7b4198e7114e1fc6059322178f9e9ef922329424
BLAKE2b-256 checksum
How to use checksums
95cb767418020ffd5c4b48e0bd514b3a0e0fb3ae4cdac59812c49c5910c4497f
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.98-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.2.98-py3-none-musllinux_1_2_aarch64.whl
Size 16.5 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
366921c239201267dee8569fd8f48fe51f566a8b8c98887ef253b48edba4c0f8
BLAKE2b-256 checksum
How to use checksums
7f6116eccb16a555d9b332b5f7c9864e8596e1fd80413229a926a795d24d9faf
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.98-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.2.98-py3-none-manylinux_2_17_x86_64.whl
Size 17.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6f68c7194b7df5be11e3160fab5fe4a071a62a934ba9d169de41d0c241b30f1c
BLAKE2b-256 checksum
How to use checksums
9b992c009191ce4fbacb887b2a877b28988ee95dd4abf3553fa2cca73bda017c
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.98-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.2.98-py3-none-manylinux_2_17_s390x.whl
Size 17.8 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
7286391cae754ba572aa3ed557210268064377a9afb879fd1f2263197af51d74
BLAKE2b-256 checksum
How to use checksums
f6cef8b3ea38d5f271f14ca14234cf13cd00024a097970988a212fc601a4ee86
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.98-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.2.98-py3-none-manylinux_2_17_ppc64le.whl
Size 16.6 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
ceff7f381beccf27f6e592f60d3863be1c71598bc766399b75e3d05c8bdda4cc
BLAKE2b-256 checksum
How to use checksums
05d17a3cee3c3f807a37127c799149dcd1f65ed7b5269d64e6c2132d85dcfbee
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.98-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.2.98-py3-none-manylinux_2_17_aarch64.whl
Size 16.5 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
cd838537f861bab6de8366e56305be1b9e9a05f914fa2b1118ba3447edd69eca
BLAKE2b-256 checksum
How to use checksums
750e3383c792210b78ce8ceef831dcaf8c245e5a2b1c64ef29074e4e290c02b8
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.98-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.2.98-py3-none-macosx_11_0_arm64.whl
Size 17.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
29d2f6c2a00b5d68198bf2932d507c0b81afe084089a2b03b01c2442f9a9ab80
BLAKE2b-256 checksum
How to use checksums
6e70a066f88223478146bede8f43e7dbeae0732bc0cb762c117ff7086b573025
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.98-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.2.98-py3-none-macosx_10_15_x86_64.whl
Size 18.2 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
700125a00c55414ae641448f77ae04778d463ee80b245714d3f42f868c8744ea
BLAKE2b-256 checksum
How to use checksums
dfc72a38a703a994016b372c4f4ca45a8c5938157db94450366501166c30038e
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