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

Uploaded Python 3Windows ARM64

mothx_installer-1.1.77-py3-none-win_amd64.whl (11.8 MB view details)

Uploaded Python 3Windows x86-64

mothx_installer-1.1.77-py3-none-musllinux_1_2_x86_64.whl (11.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

mothx_installer-1.1.77-py3-none-musllinux_1_2_aarch64.whl (10.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mothx_installer-1.1.77-py3-none-manylinux_2_17_x86_64.whl (11.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mothx_installer-1.1.77-py3-none-manylinux_2_17_s390x.whl (11.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

mothx_installer-1.1.77-py3-none-manylinux_2_17_ppc64le.whl (10.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

mothx_installer-1.1.77-py3-none-manylinux_2_17_aarch64.whl (10.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mothx_installer-1.1.77-py3-none-macosx_11_0_arm64.whl (10.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.1.77-py3-none-macosx_10_15_x86_64.whl (11.3 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.77-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d0a98eb58df32c8a62132684a473b5e3d222abeb89a9c11f9c6f972ddb8d206e
MD5 b5ac56d94e5d6ba659a1620d28ddd2fd
BLAKE2b-256 7df0b76af70a81665e899d76710d3136b44b94ebbccc6cc6d9dc9a5415761448

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.77-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5db6c7c472c2df5176de3da289a802afc5998cd7b4e35c278a1eb209424cac58
MD5 ac3f67d2b43b42dc1e7179780262c8ca
BLAKE2b-256 fd4a3102b2d6901bb7a5e973220b8de93b4aa6e2c186fccb8e02077234bd37a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.77-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7ca13b66d2a9029600f8c6a0efff0b478019df57ce511f6028e4750744a4356c
MD5 3c16149e7bd31b76cdd6f6e1173632b3
BLAKE2b-256 c06e9d4aa48b8d972cb339b61fc3e7e0afeca2c207643ac981a0f41eb168a2d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.77-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 6aaf90db1f32f7bf3c49184ab1f91bfbb4f9b070f334327fabe25c3a06ba6a6b
MD5 50c764101cf11f2284f1ec4fe3cb1c4b
BLAKE2b-256 6face837657d217a44673174353483d403cd8a2376b346b02e150afd60c805dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.77-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ec6e18d5b5c75709e6c8ca10a55a682d962e393fa4cd64cbab1f9944f2102d9e
MD5 8beb10dd445aa97ecbdf2458d3fdbdcb
BLAKE2b-256 2b394a1e33acd6863b72249b48bbe4510cfb85eed38c55485384e18edf07c124

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.77-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 9630cddd3346b3ad96091fc8bbafe1d16207d5c9c8a96f79659ddeb31d8dc6d8
MD5 3f699c11fca4a1e0b0ba4b4151d347e2
BLAKE2b-256 d6cde1ae3cbf19fd5c777068d5b4dbef13aa50862618d3c986855e22d1592cca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.77-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 530e83089a9ee0a7cf12c26f6fe6b49446f51780235db1404e6c5f625e5f902b
MD5 f4b145e516a5bd2731970b8e010c6dec
BLAKE2b-256 aeb3297c62bfe829c1052087691d512f6ff2ad2f46241e674f05aa5956af8961

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.77-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 f14555d5a17596c3a4fa9744006e58431641998488090e46bcec16ed8a7dd6af
MD5 e3240a14eb890ee7bd2630cfdfee6c45
BLAKE2b-256 e90a2028937d961b9dc34ac4dfa736304bfd518acac0e3c34064af952a77c39a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.77-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2ae34de54778192abbe60fcaaadb6aa622e35d5340121aef358fef6b19712d6f
MD5 288fa7525ed441c76f0c9a106f5f649f
BLAKE2b-256 f8b9ad7caa5741f1ec3f20a9596f5861ae1c24a52298dbb643a26ae834b20612

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.77-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 7141724da11b20d6c2b14ce0ea99c15db99b198ef034bc81a8750e0b9d8fc5f3
MD5 b04ce24a181071801c021c99eb19e3b5
BLAKE2b-256 2f92a5a4238d5ad9c257f32da18fe7937a116d4a3faec4bb75ee09b0816c5e18

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