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

Uploaded Python 3Windows ARM64

mothx_installer-1.1.81-py3-none-win_amd64.whl (16.8 MB view details)

Uploaded Python 3Windows x86-64

mothx_installer-1.1.81-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.81-py3-none-musllinux_1_2_aarch64.whl (15.0 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mothx_installer-1.1.81-py3-none-manylinux_2_17_x86_64.whl (15.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mothx_installer-1.1.81-py3-none-manylinux_2_17_s390x.whl (16.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

mothx_installer-1.1.81-py3-none-manylinux_2_17_ppc64le.whl (15.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

mothx_installer-1.1.81-py3-none-manylinux_2_17_aarch64.whl (15.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mothx_installer-1.1.81-py3-none-macosx_11_0_arm64.whl (15.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.1.81-py3-none-macosx_10_15_x86_64.whl (16.5 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.81-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 134dda95557df6f750afcb345a35018a72965260d305c66dc869801edde1ff7e
MD5 325ca372d6df628fe70b4ea20d45de06
BLAKE2b-256 4ee18eea88bdd9b6b5223cb48157e6be8598dae5379f9044a42632b3837164a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.81-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5893b98f39e9f4a78ca0ecf61344c68eb32fecc584555958a41fc9f93120abba
MD5 a9d0581aa323670785199d1467d655b6
BLAKE2b-256 b9f875efd02bc1a6b5f35d191bafca8466867b370bfc3c6e8bd640c3275e4f51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.81-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 21c35a9e1a55d84f3ea2784f84c149d144828445d9c8582092808c23d4c98ef3
MD5 d128ed49c14b95211fc57d5ea8ec632b
BLAKE2b-256 7785376a11a90465e043754b20be98d8af8d253214320bf817ce3a81057e0269

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.81-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4576d2494b2df078029939a147e3e33c41e89180344708c8554a5d397236d3ff
MD5 a1453b5296c2e43e6e589c12bca987e5
BLAKE2b-256 18522eb547f73b9b6823d11ffeeea5161dd7b8c64b09759f5e743597c828788d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.81-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 0e74ec913dedfd83f915440dc55d475259693952e728332c12d40281224163b6
MD5 74f122428b9cffa161f41b9d6a72cfdc
BLAKE2b-256 2f5d43f5824fbae44d0aea1e6984974e258782539784cafda06b9a23b9c69c75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.81-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 edd83ff01dc90f75f59cfc447cd6dc0567a40f34a83d5405591aafcdad1ef368
MD5 93cec471144d93d6166b490e2271d66a
BLAKE2b-256 4dfc392d01566096615196280f4da844da9a63998a5ea9b1f11de1675ffd3311

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.81-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 8fc4159f6b4c6bfe6f0f66e63ad38cade6ee311e507d7b0ea73c05cf2678212c
MD5 1286b9e2ea10c08b07f26b3e8bc1d9fe
BLAKE2b-256 aa584f3ae31724f098421610f1675dafc491e9186ea956f94a42dbd6dffce37f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.81-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 5e54e28e94446be1c838a941520234b6ef469028a75879723a8b748d70a66287
MD5 1d827044c37a61e2e118e1a63414aa4d
BLAKE2b-256 607a1e006d590b3c1264b175cc622087552b3806aa62ecd6aa33983cde1f5e0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.81-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6374ac80bdce232a99b77c6515b702ca70a943f5edf537f951f77dba6c8f3c8f
MD5 f4f1f91a5c3adb1f0ac9a68e2c273d34
BLAKE2b-256 f08ce9771d8019b24e73f5b2483dbb63b64fc135b05e9fd350f5e29e6aa741b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.81-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 71c64489f3e66d80f6fa64f291c6288f0da4d182f000168fa69f27cc2cdccdb2
MD5 5c9cf9bf1a16e3d7192df13fc1ae3b19
BLAKE2b-256 8d2deffb0180e75861d0d1c2ac1683a90794905f03cbce686d5449bb419f57f1

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 Pingdom Monitoring Sentry Error logging StatusPage Status page