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

Uploaded Python 3Windows ARM64

mothx_installer-1.1.82-py3-none-win_amd64.whl (16.9 MB view details)

Uploaded Python 3Windows x86-64

mothx_installer-1.1.82-py3-none-musllinux_1_2_x86_64.whl (15.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

mothx_installer-1.1.82-py3-none-musllinux_1_2_aarch64.whl (15.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mothx_installer-1.1.82-py3-none-manylinux_2_17_x86_64.whl (16.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mothx_installer-1.1.82-py3-none-manylinux_2_17_s390x.whl (16.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

mothx_installer-1.1.82-py3-none-manylinux_2_17_ppc64le.whl (15.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

mothx_installer-1.1.82-py3-none-manylinux_2_17_aarch64.whl (15.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mothx_installer-1.1.82-py3-none-macosx_11_0_arm64.whl (15.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.1.82-py3-none-macosx_10_15_x86_64.whl (16.6 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.82-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 e975cddf1dd95b8751db53fd7bd54fda5b9d01559f3d986a6a6e263f1c405af2
MD5 0856e506b2617a306ed1ec612a9f3451
BLAKE2b-256 1bacb54327c9ac9d22bf3a5e067628aca9afb45f90748b363c75f5292ce3ec56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.82-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 65aef6113d1f80416b3f13421116af0fc5246ff5af0392dbcfa7c3bdf9e89052
MD5 2827430bc1d91438696777221df0f662
BLAKE2b-256 5449fd233da02e07f5c244dbe997aad129f98f5e5e8d3d364e63445146222e21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.82-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 637deb7419d1cd8f720a6e89c6e0f24e5efd1bcf76b743753029ab55c9db2997
MD5 3c6bab824ee7af4b711a42b83c1c7954
BLAKE2b-256 62d333538d5bc2beb41eb465b01acc6955e3e2c31b26c1b604babd632418a2f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.82-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6e3d895c2ce1d45e2e92cee3de34b4495620ed0f0793a59ad1f091055f0903cd
MD5 5164a17900ec3bda556580c4cbb9071c
BLAKE2b-256 afa1f3cd8ecfb42a0b6bfb12c0025a62ee86f0ba09a27cc292c2c86595baa861

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.82-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c066e03a3102d6c00a65f3dc1c18e13dedd9597afd2420ececa577c958e1aef3
MD5 ff1fc2ef93a6e604b6a02e0336e24166
BLAKE2b-256 4dfcdf4133a8cbaa1d3314213d7870b07f8f13fc337e73835a0c8eaf1f18103e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.82-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 094bfd123de5a49c95aaf492e01fdae9e7e51f1cdea6fd6146d4cd61511af514
MD5 0f15e983220fdbe0ef8a4c7a90d6ea27
BLAKE2b-256 bed42eef575282682127b9fe35448b91206dad398e618adc73ca3bc1fb953d5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.82-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 902c7b69d221c846e898cdd5bb1f75d3028cc48c0acf619945a2bc1f90e7707a
MD5 a6674f2a3a459d0cc1e69620fc3b1bc0
BLAKE2b-256 7bfda9c2f4e136f0003844975c52419cb0384338d07c796a63590f4272de18b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.82-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 8de0a832d0b6ea75f863a5930d4f917cb2fa140b91e66bf96912be46a3aaa572
MD5 f6708353f0d4a4d17b97c03f7c2c8e2e
BLAKE2b-256 bf4c2f0b794a837da3514c43a90e3c7ae21da3dbc72f0b61bd15bab2941b1083

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.82-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c603230ac8695fe51d23ca32afbb83c4fc1bd9215129979c3cce48d59008bfd4
MD5 0ffaad2aa6c75d5b12d769d3a7b17496
BLAKE2b-256 268f3f0af106783cbc56399bcffb12745024ed622218aedc47743603f5cb9bdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.82-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 35a9b3f163801229e4872b3cd23f3d9244577bedee345a3fdf03ebfef8cdcbd3
MD5 e1c8b82ccdba05ad6080350a3937631e
BLAKE2b-256 0bca20ea2ef2239270ec9fbbd8982a0a6bf786b92042fb25f9a69d6b5a59eca2

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