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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.2.85-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.85-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.85-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 0c66a8bc6a8ba4c4c0c131ef186020da65c9effc6667ef91f393f3a3a76e1aeb
MD5 939fda328278e83e7bd3f10e86c53476
BLAKE2b-256 cc0cec9ef17fa39a64c0cabdd7ffabfd32449aea43a3ad2cca5f38c7006a97fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.85-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0f979648481d3ae682c85617a37ff201bda96495d691decbe4ef868b7b66b7c7
MD5 a332ae94ac29f739b3f518eb9c9b69df
BLAKE2b-256 a6f1b74a5eff1a4d6c896f2ba8f0caa7b186d9f564697749b728fc8025bdb0fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.85-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 da1f85b7d3f29c92542c8bd73789bb68ae25d2159db9b51e05456be252fad06a
MD5 34c47af5a0d1330a57a8a228e20e007f
BLAKE2b-256 6df505beaa91742f6b4b173c2c6c16e92169017b9f3b590d1bca388192a3781e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.85-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5e8994096854057616240d5863b86d95f91d3340a6132887dfe2889e80364265
MD5 167de9c142d8f90476f4d07cfa6245c3
BLAKE2b-256 03738bdcf61d0bbd13a9663aaba03cad1d78866fc170a9a57c1bd0e5f2995c8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.85-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 dfaaed85c1252a4fd7b3de5a622282c83da969442b52920b2bd8757a3e8ff140
MD5 f1041478724523068518653000f20d52
BLAKE2b-256 088da4f3f0396cce0b70afbbdb496108d1fe35ca266cd20468ebce070ace6585

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.85-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 b759bc1ffa649bb0e1d0e22edc255b86769cfd8d848fcacf1e8819ff43e1935f
MD5 f8dc958688bf2d7367b316e4e47fdab6
BLAKE2b-256 15ae0cf1742a552519d2dd4c23abc27729cdf4aa73112aea156946f245c69e52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.85-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 2930d53d077abd4ed4c9a61244d38c9d3007625d97e2b16e5d9d3d0561b94206
MD5 e580cc8fa875f338f0e7629459256005
BLAKE2b-256 4a03e73bb018f275008e6c2ad436f8c61acb652a82478fda14f81b4410da0a5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.85-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 d2eecea31f808a0244aad72852ac12059ef527f72c7f823f3f44e807fe78d05f
MD5 52e7dde90256a32af356673a3fe51504
BLAKE2b-256 2149675d1f02abcc1f46b2f0ed8f910a7cc698ad6f2493497e2a65adc3341301

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.85-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 701aff30d68037e849e414d47c21c009228bbc9f563d5ce516761ab7cc50ee22
MD5 49ea62aacd3b66212f4251eab83073fc
BLAKE2b-256 b26a2266df299d890d702baba5746a184fd0ba5fcf5c11be4e62b67f4f0f64bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.85-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 eef815fd119834de641ba5944e163d1fad8e7e15d088a33387b08310f5298312
MD5 6b254fc075d64bd9de896572b77bbbd5
BLAKE2b-256 c3eb4ffb6e5ca675783fcce5826daa1e28c579397756574b4b595a5a93108d7b

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