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.83-py3-none-win_arm64.whl (15.5 MB view details)

Uploaded Python 3Windows ARM64

mothx_installer-1.2.83-py3-none-win_amd64.whl (17.2 MB view details)

Uploaded Python 3Windows x86-64

mothx_installer-1.2.83-py3-none-musllinux_1_2_x86_64.whl (16.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

mothx_installer-1.2.83-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.83-py3-none-manylinux_2_17_s390x.whl (16.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.2.83-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.83-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.83-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 b1eb5f1b253dd6223d42581b0d551c57970425cbc1922d6b461a3ae46e00d196
MD5 a3b9a76dba7a711ac8adea3443acd3db
BLAKE2b-256 a9249c1eab893299e4607074d6a25d5ef39c82d63d1c1ccbe87c1e5b019aeef1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.83-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2e4d9a0d75c21407260bc2bb6fdf20d21e23155eccddf1800cc85fd483734c3d
MD5 1760afbc35d6dd3f7ce09309feecf0bb
BLAKE2b-256 28e36ace60ccd51dbe78504553b436011d9763cb50e405f4c325eba8c183a149

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.83-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f802f569369246e0f68dd2cec3e49e6f7116c55c55afec6cf3e893a0cc27e75c
MD5 6efed0621c3be2315ece9c532087deef
BLAKE2b-256 41a904a171f34ef04f01c05975e2505dda9175edfa1b4359cecb7875c88e07ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.83-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 366cd6f0dccdac8364410fa44920b8f53d9a81c81aa8e4c3b12569e8c2c4f635
MD5 24adf9b6b5b4ac363f107881e7471215
BLAKE2b-256 d7528798712d9d93b9d44f7a8aad24ae468343c69eab8a373a29ca54b4b785d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.83-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c47cc01982419d5b5c95a9bc2a8fa30a23c22ecc8ad85b4f894a1b89deb6d498
MD5 8c06ce1271f5782d0217cb2e54d385fa
BLAKE2b-256 9aad77fb1ac777d06cde5a8318a31a263de0e6624b84b505b6e1b5a084402bbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.83-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 8a5cac0c9f01fc87fdc7cd04547297ee6d0b7c3e5154439a27ccc44ed887c841
MD5 9dc5406a2e96066756fe941bef09cfbb
BLAKE2b-256 5430e37629d6790c5c02a1a14efc2973c97142b4d26743c40a215800669c41d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.83-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 2eded7813f10475566709bcf8afcc3d7d9ef721efd51271f2d2c17072a234720
MD5 7a9c04fdba198708138fe2b618065293
BLAKE2b-256 61e005323524047f68e3f94bc19f1ede6a2c9f9ee8bd94a3f506d2428d25bea8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.83-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 f976c1360983cfcb2e97cc14de2e1421e2746740ead44928819393e9c0155d42
MD5 fc024c693609b03ece4370aa39b02621
BLAKE2b-256 8a1fa1c586d155229d3f9ae655584c1ff26adcd82a922ef8710bb46fcf475bfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.83-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e9986726cc04cc6cf688e8c707d33e9df14846b46d90f5e3ada81fc0d27a224
MD5 158f3ebfcba0a01624845c3f71aa3f24
BLAKE2b-256 3a5e39b2ed675d329cae1a20df1a87587017a2695bbdce4e475abb1a6cb2d5ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.83-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f65da2529b5bc451cbae6c12b2769a1688a2e2424e04646c590e52bbc83a7bdd
MD5 28e90dbdceb9d9a42f13d6477d906a49
BLAKE2b-256 dd997ad8c3e112e70a5f9f93ddd888dc65efca9469dd4a5e197741e721031150

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