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 (default)
YOLO Full System administration, automation
mothx --mode plan     # read-only
mothx --mode agent    # standard (default)
mothx --mode yolo     # full access

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mothx_installer-1.2.89-py3-none-win_arm64.whl (15.5 MB view details)

Uploaded Python 3Windows ARM64

mothx_installer-1.2.89-py3-none-win_amd64.whl (17.3 MB view details)

Uploaded Python 3Windows x86-64

mothx_installer-1.2.89-py3-none-musllinux_1_2_x86_64.whl (16.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

mothx_installer-1.2.89-py3-none-musllinux_1_2_aarch64.whl (15.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mothx_installer-1.2.89-py3-none-manylinux_2_17_x86_64.whl (16.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mothx_installer-1.2.89-py3-none-manylinux_2_17_s390x.whl (16.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

mothx_installer-1.2.89-py3-none-manylinux_2_17_ppc64le.whl (15.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

mothx_installer-1.2.89-py3-none-manylinux_2_17_aarch64.whl (15.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mothx_installer-1.2.89-py3-none-macosx_11_0_arm64.whl (16.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.2.89-py3-none-macosx_10_15_x86_64.whl (16.9 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

Details for the file mothx_installer-1.2.89-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.89-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 59831bc2b332c29f7bcd42afaf59e7d8ddbf81f09fe2ff930b5d9444a8b2412d
MD5 d28664141f9b2b6ffb109df64bd05c0c
BLAKE2b-256 bde3c60c00148daf5df6c0a2a0c0ebd62919a3e015943b127cf4c2dca582fd53

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.89-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.89-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c9e580b4f4f7a579ce0b34131c22dbbe1229175a8c665975690ebe21692fe7ca
MD5 10fe6b1cb41cbf39a100b57816f7af4d
BLAKE2b-256 e272ce54a0248b0503aff73cbb0799f14a04e491edec74d0264eaca024069e2a

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.89-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.89-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ac812da8b8979982706c39910111ca6a75f5c88426c00e036ee383096b4edc2a
MD5 e7e45356fe55b15176a31f884a4de39c
BLAKE2b-256 495cf3edf54ef863b24f8930eb05e7ff14c59cfd84346fdd884d24d16753ea5d

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.89-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.89-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f38e2b3a948b1d4f3f93d4916757c5f64db99c5103631f2834307791689ff6e8
MD5 2a837003aa287988148867db6ea147ba
BLAKE2b-256 ec2c53b8877af0b9df812f149a5aa01a080d92a96240637e123430730c194d31

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.89-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.89-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 03fbb9fed8acb1a71dca9008d95a830870f7c97ecd868a41ddff9d0dab2a7305
MD5 17beabb2b144fcfb639dc969754ac82f
BLAKE2b-256 25b9e3071c25efc8b918a2df903db716889b6d44db398db8564dd538741afe36

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.89-py3-none-manylinux_2_17_s390x.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.89-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 81593b142300df8a16fd890cee97a3f0725a484db42b599a9042c9e9de8a4276
MD5 d2ebe2f60f4226123e26eb2ff9c1e147
BLAKE2b-256 18fd88ef6041aec7af625fc431f6ae17689447383dbea6752e08da089399bdd4

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.89-py3-none-manylinux_2_17_ppc64le.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.89-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 fd1fe0a6f085b76fab9b40ca0fe241e9c5eca7f4eb369f7990e84bdc62ed92e4
MD5 da1d35be907806bf7d6ed6e7af984fb7
BLAKE2b-256 a9088b6040bac9aef62e58e8fbc3f944ab4b12c151fc6f9205ffff099758f99b

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.89-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.89-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 864519e4660378cd0ac5ef8972f9dfe5f53b39a6d048139097678fcd57cc6cae
MD5 f725958282d3c12ad49bb66ff3a894c3
BLAKE2b-256 4f47be4fe3dea8193415f6a027fac45c65ec8e9b8056668231b8c3dbfd3d73c7

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.89-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.89-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 05571b92e0e4e4a21f1f875f3a66d01e0a9a3e452d890d0b952ebcdfe6e4bbe8
MD5 abfe4c4fb8db9b82dbc40294e2cd43b5
BLAKE2b-256 46305b712b53d5241d167ea4501881eefa9fd3facce58e77f0c3ed2dc0cbb8f7

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.89-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.89-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 db8f00ffdfcc88a3be7edfdebd3cf803d07dbebfe9545f35563b7fea051fc8d0
MD5 9a4bd4f932da5efbd97203d765cef5c9
BLAKE2b-256 2b9c781b89a08adca8bfc2b92dd0e49866562e517e8fb8d37888eaaa2d41aa47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page