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
YOLO Full ✓ System administration, automation (default)
mothx --mode plan     # read-only
mothx --mode agent    # standard
mothx --mode yolo     # full access (default)

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

Metadata

Release files for mothx-installer 1.3.108rc5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for mothx-installer 1.3.108rc5
File Actions
mothx_installer-1.3.108rc5-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for mothx_installer-1.3.108rc5-py3-none-win_arm64.whl
mothx_installer-1.3.108rc5-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for mothx_installer-1.3.108rc5-py3-none-win_amd64.whl
mothx_installer-1.3.108rc5-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for mothx_installer-1.3.108rc5-py3-none-musllinux_1_2_x86_64.whl
mothx_installer-1.3.108rc5-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for mothx_installer-1.3.108rc5-py3-none-musllinux_1_2_aarch64.whl
mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_x86_64.whl
mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_s390x.whl Python 3 none Linux glibc 2.17+ IBM System/390x Details for mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_s390x.whl
mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details for mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_ppc64le.whl
mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_aarch64.whl
mothx_installer-1.3.108rc5-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for mothx_installer-1.3.108rc5-py3-none-macosx_11_0_arm64.whl
mothx_installer-1.3.108rc5-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details for mothx_installer-1.3.108rc5-py3-none-macosx_10_15_x86_64.whl

Total release size: 192.4 MB

Release files / mothx_installer-1.3.108rc5-py3-none-win_arm64.whl

Download URL mothx_installer-1.3.108rc5-py3-none-win_arm64.whl
Size 18.5 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
8e5666b933749a632d9f3a455617992c695124495c2d7324e61dd4416639a718
BLAKE2b-256 checksum
How to use checksums
adc787d26e7243bdd1a91713387de011324a38c810fdacc8b79771b8609e91b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.3.108rc5-py3-none-win_amd64.whl

Download URL mothx_installer-1.3.108rc5-py3-none-win_amd64.whl
Size 20.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b39d8029e08ae4fb144450120ad7b5657e266d40ac0ea103f3aa598e1ff85ecc
BLAKE2b-256 checksum
How to use checksums
8f819ee7840afb1563097b53aaf76c861bcac97e10362c960da32c09efa06724
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.3.108rc5-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.3.108rc5-py3-none-musllinux_1_2_x86_64.whl
Size 19.5 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6b46a78bec6b7b7f6980621d9c813bfa750bb8c9b97175460668b3cec927e2e9
BLAKE2b-256 checksum
How to use checksums
abc95f512460715d4a7e99cf520b3f75ba913a57ae7abf67b6298850920d6b60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.3.108rc5-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.3.108rc5-py3-none-musllinux_1_2_aarch64.whl
Size 18.3 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
191638c023e88d5ace28c7aa29861e9de139331949d2fd983fbcf517967a5d87
BLAKE2b-256 checksum
How to use checksums
4d55d00a99ad9b75a6cef2cc0e6eeca4afa0d3499dd0c936c5831d7a6bbb72f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_x86_64.whl
Size 19.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
93a6b31c666142a9c0644ca84bb14c494fd5da1a8f3fa11a129c91fa9f316f93
BLAKE2b-256 checksum
How to use checksums
1fe475e52b8c66b4807634a10e2c23cca1249874bd2b3fd1b2f760d7cefb97e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_s390x.whl
Size 19.7 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
d8da52cac2982cb7ba788dd3fd31801ae2260d735fd3a70da570bfd1d17e227a
BLAKE2b-256 checksum
How to use checksums
1b6c59e9c75f49badee344641a358ae868e2155b4c45bb48623063f10ec4b06c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_ppc64le.whl
Size 18.4 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
9059354d37e66697f61821eb4042a8207c89b1dc40da12214675c09d949f500f
BLAKE2b-256 checksum
How to use checksums
335f7bb4daf1ca57f5dbc6c00fff33a4cda917b21607adfc26046e46fc89dc4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.3.108rc5-py3-none-manylinux_2_17_aarch64.whl
Size 18.3 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
6b20c4276b3ea9b52742be0e1b313fe03158fe711452d3bb555bfce8dcde6fa0
BLAKE2b-256 checksum
How to use checksums
1b4fa50e28c25e2b6f303dc3b05a2b2a535d462faff6f871699a48593377a212
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.3.108rc5-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.3.108rc5-py3-none-macosx_11_0_arm64.whl
Size 19.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e6e47582a003cf4212d0e53f7a6cf5411447bf4312ec2dd8f0e0669a8264ed65
BLAKE2b-256 checksum
How to use checksums
ab330ada23008edae8125ee5d8ecf190b139bb2c60a6d5cd0de43abe0bbde38a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mothx_installer-1.3.108rc5-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.3.108rc5-py3-none-macosx_10_15_x86_64.whl
Size 20.3 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
d0fc5cb857b2d7c772e6bb271462e708fca1fdfa496cfbe940d41712020bd706
BLAKE2b-256 checksum
How to use checksums
d67b281cb17d67748ad783018fd1f44b02c1687c0d7132b5f5ff6171fb431a94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for mothx-installer 1.3.108rc5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page