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

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

Total release size: 174.0 MB

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

Download URL mothx_installer-1.2.99-py3-none-win_arm64.whl
Size 16.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
0dc4093ad68434cc012aa86534f6e8985b8ec8b3c0d28435b65daad459a6d0a1
BLAKE2b-256 checksum
How to use checksums
b058b4b46c3546db34cf3d15db8bb5b2b796eba39df163ac28c390db3553b242
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.99-py3-none-win_amd64.whl

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

Download URL mothx_installer-1.2.99-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
830a925c2f8a5a72f88adeefe2c2c1c2b65ce4055b7e1bab0711f7c2f1a3468c
BLAKE2b-256 checksum
How to use checksums
ddc76ef714bc0793bde085c0f12835aa268d31993e410b74caee2863da229ab6
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.99-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.2.99-py3-none-musllinux_1_2_aarch64.whl
Size 16.6 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
67b97168571a7234d9d8aa1a439a1248209ceb20231506599f3608e385103904
BLAKE2b-256 checksum
How to use checksums
03d2fd00b03b0f9f2c6c553bffd6feb105dfd5b1739dac20b5c608caefe27b40
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.99-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.2.99-py3-none-manylinux_2_17_x86_64.whl
Size 17.7 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
3dcc07c885362023ac39c672ceecc7c556b2772a136ec47e1564f42c3da6d899
BLAKE2b-256 checksum
How to use checksums
a59300559fa93f543998c477be67319e9ad73b41dabfad9c9e6d13c5b1d00b61
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.99-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.2.99-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
568efbca527d076882ee19832b1b0fdba558639aed1810cc82945536c2cc4484
BLAKE2b-256 checksum
How to use checksums
bc12544994aa4cb1093f9f6555eb32b685de1a5a0800de3a8e0c508ac177b34a
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.99-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.2.99-py3-none-manylinux_2_17_ppc64le.whl
Size 16.7 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
d79fbcbfed415c0151f02db4af204ec44385af2a21a28c10d0b38a45d8679b74
BLAKE2b-256 checksum
How to use checksums
ebadcf2a74c2035cfaf448e3b038b8285fa6da22adea6aa870a4c8a6226939f7
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.99-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.2.99-py3-none-manylinux_2_17_aarch64.whl
Size 16.6 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
3b168b27f07f129f7d013f7d468de58b8e717a56d8aeba58403879604e889077
BLAKE2b-256 checksum
How to use checksums
0f051c5e0bc1508ca22186ae35878150e050148ec5ee3e34eca7ddd4dcd292e0
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.99-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.2.99-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
ec7132fd9b10e9d36ab007df3f0e8204fe43e7410d7854cb3a9fad54ddabb08a
BLAKE2b-256 checksum
How to use checksums
d216e077f8bd521e14bcc1cb071c18758a30560b4264d942ad665d897456e0bf
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.99-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.2.99-py3-none-macosx_10_15_x86_64.whl
Size 18.3 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
47582e989c701a37c2a05c22626e0797835dbaa816f5890376a1f14a74122965
BLAKE2b-256 checksum
How to use checksums
77a90d0d99ebe266a143257fc319985681922452c5cccf925d3129f78fca4783
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