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

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

Total release size: 180.0 MB

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

Download URL mothx_installer-1.3.102-py3-none-win_arm64.whl
Size 17.3 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
bb641e19ce3a85705bf4935d57f64e72b09e275b6edf26887b5d38f1cf853fab
BLAKE2b-256 checksum
How to use checksums
a20ec9b280ae25e6b59590741e1693a56f62f5dbfc394cae3df307c69e957ed9
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.102-py3-none-win_amd64.whl

Download URL mothx_installer-1.3.102-py3-none-win_amd64.whl
Size 19.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7bc0241162fc40616378b1cd32874e60b2dc428e9f1076c5630224c5bca1e237
BLAKE2b-256 checksum
How to use checksums
9b5c52a428dfb1a64647ada4b970c3bd8d5462315f7bf8b1938c5e92e3d98781
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.102-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.3.102-py3-none-musllinux_1_2_x86_64.whl
Size 18.2 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6b5bd89392a820e0e21691537d7bcb9511749b566d761e5b8b2dad1dc9616739
BLAKE2b-256 checksum
How to use checksums
4e424c44fa45907f3b02b3cca32d55cadb2647c7a9e93ef728772ebcfcb30245
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.102-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.3.102-py3-none-musllinux_1_2_aarch64.whl
Size 17.1 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
94bdb2e720ad473d637938d627e4166bb8c39b986fc2f4b2bda0ca050aa90588
BLAKE2b-256 checksum
How to use checksums
0b605c2e2920ab24cb18ad90312292ce3bf2fdd93091fc7a4012907e70c24b74
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.102-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.3.102-py3-none-manylinux_2_17_x86_64.whl
Size 18.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
1da73f1a7c4f98088c6b184349757b2bb25f5c9d294546602902575fccf1d9b2
BLAKE2b-256 checksum
How to use checksums
bf48d56d55527cfa1de93db2e38b03f11d98519ca4b50362d54f75991a2ef86d
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.102-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.3.102-py3-none-manylinux_2_17_s390x.whl
Size 18.4 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
4ec4f4cb34b9514546dddcd4557bb71832516ff6606454ca069b43c60c986db6
BLAKE2b-256 checksum
How to use checksums
e93ee07031c182a6cb61e81d1f2ac57973582e7276dd86d3a3aa428d6a760c1c
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.102-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.3.102-py3-none-manylinux_2_17_ppc64le.whl
Size 17.2 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
2e4a877ecf1234992bae38a06ffd8c167ab9a4ba1b11c17059fcc44d9923aefe
BLAKE2b-256 checksum
How to use checksums
4ffba29156fb159b79c1e575657d846e41883edf121cbf3b515c595b5747b23c
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.102-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.3.102-py3-none-manylinux_2_17_aarch64.whl
Size 17.1 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
2fe64e849cffa6e8c2b694d9042457cf808fd865c7ea03a3e4ca1e3ea97c75a6
BLAKE2b-256 checksum
How to use checksums
cc89554ade84d828cf17f4321ed075fff86e5e9c01796f579f7819479c945c7a
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.102-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.3.102-py3-none-macosx_11_0_arm64.whl
Size 18.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6b00474291444d07c28d925e7dbc7705d854414e9593ee58548412b8ddad0706
BLAKE2b-256 checksum
How to use checksums
169dbc93c97e14712075b0ae53439e3b9e594a239ee44ffc80bf9e872a5d4df9
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.102-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.3.102-py3-none-macosx_10_15_x86_64.whl
Size 18.9 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
f201ccff72939b90e5be95424437872da9207a0aafcd738368dbb5be00507e37
BLAKE2b-256 checksum
How to use checksums
c0c708f447831900f6c04a2b7b24c1caa7335e246157ebd0bcabb570c883a068
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