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
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

Links

Metadata

Release files for mothx-installer 1.2.96

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.2.96
File
mothx_installer-1.2.96-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
mothx_installer-1.2.96-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
mothx_installer-1.2.96-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
mothx_installer-1.2.96-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
mothx_installer-1.2.96-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
mothx_installer-1.2.96-py3-none-manylinux_2_17_s390x.whl Python 3 none Linux glibc 2.17+ IBM System/390x Details
mothx_installer-1.2.96-py3-none-manylinux_2_17_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details
mothx_installer-1.2.96-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
mothx_installer-1.2.96-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
mothx_installer-1.2.96-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details

Total release size: 173.7 MB

Release files / mothx_installer-1.2.96-py3-none-win_arm64.whl

Download URL mothx_installer-1.2.96-py3-none-win_arm64.whl
Size 16.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
bef0508972afdfb502af56be2f3a55b5bbb148b886a608b1817bbef1096a8a9d
BLAKE2b-256 checksum
How to use checksums
863827cccf11833378675b4e894d24112fbf40ddda7208208113a12e7fb1d59a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / mothx_installer-1.2.96-py3-none-win_amd64.whl

Download URL mothx_installer-1.2.96-py3-none-win_amd64.whl
Size 18.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3e523b7ef3f1849b4ff66f661e5ac5acbe58a9aee36bf40c4b3a8a48b554323c
BLAKE2b-256 checksum
How to use checksums
87b3d57fc6ec7e951aafffc711f8b1e35ece8532d0513706c25b2a49e29ac3d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / mothx_installer-1.2.96-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.2.96-py3-none-musllinux_1_2_x86_64.whl
Size 17.6 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
dabdbd28da2120669db710e6a947e3695b1d771dad04b228f90feb4a4f401e41
BLAKE2b-256 checksum
How to use checksums
9e4413d5a07e39ec111f03f2998a745ea14920cbf6a3ddaf9a78f94676e54d87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / mothx_installer-1.2.96-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.2.96-py3-none-musllinux_1_2_aarch64.whl
Size 16.6 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a45cae59df9ce8b472c58a24f1fbe74705cb7fc2b297e0fbce2288cd4eddc4b8
BLAKE2b-256 checksum
How to use checksums
5f41b420a47d1b3392cc11a1612f0fde9f5d0e95523dfe7eb32511c60506f200
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / mothx_installer-1.2.96-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.2.96-py3-none-manylinux_2_17_x86_64.whl
Size 17.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8bd6520273fdf66b8d0404347d49ddba59ef931b41fff851ac3774605fa39a83
BLAKE2b-256 checksum
How to use checksums
7404ea70b37b992cc7367f6dc201b19f53141f5f93b702ad60ff81431663af1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / mothx_installer-1.2.96-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.2.96-py3-none-manylinux_2_17_s390x.whl
Size 17.8 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
43d8cf1e52af66a8ef954ce2d2eaf3abddb82153e99218a5d44a4956b2bb6fb6
BLAKE2b-256 checksum
How to use checksums
0eb8520b52dafbecb01dbf8b5ea93019ba7a7bd59f6e1b32485a69b9daf80ddb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / mothx_installer-1.2.96-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.2.96-py3-none-manylinux_2_17_ppc64le.whl
Size 16.7 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
2ccd19e9f13f1e1dd103d9c49f415adac13d61cd08a744de4c3d91cc2f7e21c1
BLAKE2b-256 checksum
How to use checksums
859bf27ebeb036c79275ba4e91d56b595c46565351e36a313321a478f48a37d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / mothx_installer-1.2.96-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.2.96-py3-none-manylinux_2_17_aarch64.whl
Size 16.6 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
3c76feb15dbb98cb94389096a0f8dfd56b941063e872e97c2832974c4f56875c
BLAKE2b-256 checksum
How to use checksums
b050aa0f992918d57ab5aaf56f758c816ad56cced6dea14dd957609179aaf6be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / mothx_installer-1.2.96-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.2.96-py3-none-macosx_11_0_arm64.whl
Size 17.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b64004811021d87fdb0099148049e3708f8e9c7f3743de02de82a0eabc3bb6e5
BLAKE2b-256 checksum
How to use checksums
153f4f20c8567fb51354b4a2e484d8a22a2ab522c1fbf285a352a4b53c901fa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / mothx_installer-1.2.96-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.2.96-py3-none-macosx_10_15_x86_64.whl
Size 18.3 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
65a7c309f29944aff065babc3f03c130aa48b15935786cee96f3f356bee71bd7
BLAKE2b-256 checksum
How to use checksums
fa118d60fa16ba090d002c6f74ee0455053441367ad62e6fddbe428eccbcd82e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2
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