Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

mothx_installer-1.1.79rc0-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.79rc0-py3-none-manylinux_2_17_s390x.whl (16.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.1.79rc0-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.79rc0-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.1.79rc0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 eae680a013c02b84237625caa4b6b68b06d98c0c232b72c78739f6f153dd6f18
MD5 a7ccf1cee0e4eeb5d516adef612955c8
BLAKE2b-256 a337f8c5c41be221cf0851c785774c0e9fc60c137bad595619ff4df696e9238c

See more details on using hashes here.

File details

Details for the file mothx_installer-1.1.79rc0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.1.79rc0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4120f7c91012468dcded1dd4eaa4b876b51ee20f760d1474b78549cd47dfae50
MD5 c04be2070df0bab1c70b3d4ccbe22806
BLAKE2b-256 15bb053f65d2b306537c654cae6420d6bb9b910ca0c616ca235a6054db50fab4

See more details on using hashes here.

File details

Details for the file mothx_installer-1.1.79rc0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.1.79rc0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 422e590ed215ae2374ab393376d11941a3aa14f1c4d0b95d19b8459d92342011
MD5 1ab39c8b4f218cf16d4f93164673cb9d
BLAKE2b-256 c2b846be0b9271ed13da4e37e93e2bd01cac20e093ee915105de85b2f3cd6991

See more details on using hashes here.

File details

Details for the file mothx_installer-1.1.79rc0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.1.79rc0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b95ab9e140800f990922468f40ea26a27344a1ac7673377242f2805507136cad
MD5 83ed66e55afa00f414964b697dbf9236
BLAKE2b-256 364a8fd809f7c4ce460e94ed1726d69f275e3d474d044d8c3f139d8ceeac4592

See more details on using hashes here.

File details

Details for the file mothx_installer-1.1.79rc0-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.1.79rc0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 fab6c23798fd0b8248c461450618bcd17e680119651ba0450b9210d9091507bb
MD5 1d979ebb349cbce8a1f143791b9ac67a
BLAKE2b-256 1d13c5f37b93237a72f515b2d9a7d9ffde4ffe5f782c65efb77373a4f960d85c

See more details on using hashes here.

File details

Details for the file mothx_installer-1.1.79rc0-py3-none-manylinux_2_17_s390x.whl.

File metadata

File hashes

Hashes for mothx_installer-1.1.79rc0-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 d4dff76dc9bc49357a7248d1b2996021070f11fcf16ec674b82316ce617b9852
MD5 17f533dd7fdf5bff9147435402d31e20
BLAKE2b-256 87187abb708798e927c455fbc72b4136feacd62af450e09a370fd1e89b879fb2

See more details on using hashes here.

File details

Details for the file mothx_installer-1.1.79rc0-py3-none-manylinux_2_17_ppc64le.whl.

File metadata

File hashes

Hashes for mothx_installer-1.1.79rc0-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 ec4edfe8c24ac6f62aad99c69df45df00a8f7bf3088ec56acd44fbaddd2d14f8
MD5 bacc158bc9ff42187d23002289f67bfd
BLAKE2b-256 44baed42c675e84868797d9ac57919e90b0f5269bd25b6c1851137619be7a90b

See more details on using hashes here.

File details

Details for the file mothx_installer-1.1.79rc0-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.1.79rc0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 cce4fe14274887e6f07eec3bd342719460922bd5bec8addcb255853401dbbcef
MD5 19814a3b62acc9e08b95b7e63c897eae
BLAKE2b-256 78489aab2851e7510cbbfee1e50ce67f8d8684cafb494592641b9a4fb33b70b6

See more details on using hashes here.

File details

Details for the file mothx_installer-1.1.79rc0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.1.79rc0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b929b8318b89d91212b95684f2b3b16695d3a26e3b383834700db0cc17e6d4a9
MD5 f0b08d79cab63502026cc1df773b135d
BLAKE2b-256 277b9537b4b99eee57f1f064e61fa8f1db68c5643d5c5e59b4fdceff3be3efe1

See more details on using hashes here.

File details

Details for the file mothx_installer-1.1.79rc0-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.1.79rc0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 97f23cc51cfc8a139eb4e01ab1490318fbd99d0e803668e30281fb7dac1313f2
MD5 3509021cb3bf6368abbd12f2872849ec
BLAKE2b-256 62ed0fd0911df6ac37e3e29843f7258633040b12f221c6b51e06e60d50db8612

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