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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

mothx_installer-1.2.86-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.86-py3-none-musllinux_1_2_aarch64.whl (15.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.2.86-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.86-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.86-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d2bc554be592a798dd4a86235b0d685b0c47c8b525556e3709794fa7917c99c4
MD5 b729092ef2d924434d53a8a9709c335e
BLAKE2b-256 d987083bba129980a25e0a428131e22b031bcdceaf881e8510c2040cef58aed0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.86-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f0a3e730fa566ca4be244e95a046ce8d365bdabce6788417eedd846e793f2e56
MD5 5c037088ad7269d4b8ee703e24327dbe
BLAKE2b-256 3fb84ded51ef2f0b1afe02aa75e5d390ca8ee348361fcd220ee0adcee20164f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.86-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6de2bb48761af105a4c85b80753c434439b09fe1850dc407e90416c1b18bfc1f
MD5 143cc08c1afbff353e612f41d54dd967
BLAKE2b-256 0e3b2a4be4dadab45a3987cbe362bdca66fe9c04feb42ddb72a05c5e9a840570

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.86-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 1d4de5b57e95c7a00618c4999afc47ec716e5aa914c94a57fe0dae14b3b7d914
MD5 59a3ac37b9446426c675fc6f5eff646a
BLAKE2b-256 ac9e8f16c591d4c9f1d89b98112d9ec8979cca6ffe23a1d2d63cd4ce13b8343f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.86-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 f86a4883c21d06ff780820e2832cd8da7823365575638964eeafd5698643eebf
MD5 5f8e367a24150a43fb2d466fd9bfa1f8
BLAKE2b-256 ba3d22cdabea3cdc9455a4c4fade7bec7bdee8c214da401949a72241b443e17a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.86-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 feff6dc09e3b4ec9c417bfbf6ceab768ede2b4ef264aa3c3d6eca20204c1e7a2
MD5 fc41faeb65327945336676f222ef3513
BLAKE2b-256 0ba9718b01d85bc536b1ad9560cb292220a66ee5d50b69c8eb07f0f9d3961cb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.86-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 f3abbe4a4bec7ca84f3258321dc768784a009fe415816ca314e78f95a7158491
MD5 ea5b461a6015c7b0a7f9d15905d77821
BLAKE2b-256 bff6261134a49daaaf57e9f01fb33f265dd0af57702afc3deb3e1c47e0d27643

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.86-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 46325b49552653aa0a4b17058657c405a11b5330d0303c424eb32a0dc8ff3e6a
MD5 42aa47aa46494a8e90d47027f66908d6
BLAKE2b-256 6bd29c6d9afba0ca0c0d82af49067a5291285010657627c689161ab9b6832eeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.86-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aced68cf30cd4a921e5760cd357a6a9973abaf974209e2d54bc44c87a43487be
MD5 6801c3bfe3bb48699b9f07755bdca075
BLAKE2b-256 fa522a057aae9ce9b5fe5bc11b9a84625273ab45c06a93fc86aff787edfcdf54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.86-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5417dc60c5c76c0718acbb02b046a7bd4d85c542c467b601ea699736bd2be118
MD5 2671772f9e3e7832dc58d35442d1e767
BLAKE2b-256 34552711ad4baf4095c016d9dd8b3adf789712ec3f7e2762989a13b966aa880c

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