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.108rc1

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

Total release size: 186.5 MB

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

Download URL mothx_installer-1.3.108rc1-py3-none-win_arm64.whl
Size 17.9 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
5ea07c4f39f7d78c7cc13f2a97366eb2345e07610f24c40289a68571a2f57d14
BLAKE2b-256 checksum
How to use checksums
579ee5e01b5b2f7061e2f94cd4f7731803c50d6603e925b9f18b72292caa6033
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.108rc1-py3-none-win_amd64.whl

Download URL mothx_installer-1.3.108rc1-py3-none-win_amd64.whl
Size 20.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
4a34ed612cf5a77f85c60221007711d59e2714461b2930825fefe5305ebd68ee
BLAKE2b-256 checksum
How to use checksums
fbc89907377bc86927137740ed77200a645d779a2e289010fa61b38f1e7b9323
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.108rc1-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.3.108rc1-py3-none-musllinux_1_2_x86_64.whl
Size 18.9 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
df736ad077d427b8074834d0baf13a63a397514c559ce349b8530cae681ab8dc
BLAKE2b-256 checksum
How to use checksums
fff035dbf78c0baf766f2170ff924746ccdc651efcc9846a2c206d6d4d6bd020
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.108rc1-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.3.108rc1-py3-none-musllinux_1_2_aarch64.whl
Size 17.8 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
55a332c3b874846b146b0d5d5f25a28e43c6e0b2cc415d5db2771c76b2bf2779
BLAKE2b-256 checksum
How to use checksums
12a87121c392a5b23c870da2f57b37b4b0a85de7ade927e548fb23a5d31559c8
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.108rc1-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.3.108rc1-py3-none-manylinux_2_17_x86_64.whl
Size 19.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a1f4d4f0f83fa4cf4fd41546b00be3374c8b6297fe201f035b157682477ed762
BLAKE2b-256 checksum
How to use checksums
030f31534b5c03fc966f8f8c8e2ab5e67d961b4e1ff78df337bd65e08d8a2fad
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.108rc1-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.3.108rc1-py3-none-manylinux_2_17_s390x.whl
Size 19.1 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
4f12ad8981ac5f21b505eb9146302968788cc6c349107706eaf90ef499b45c9d
BLAKE2b-256 checksum
How to use checksums
8baf9f18d652383ee36563da30ca935ed5a0e7bb8f3a4a240c57b6567f1447ec
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.108rc1-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.3.108rc1-py3-none-manylinux_2_17_ppc64le.whl
Size 17.9 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
7461d278f85f41a22e9db2ffc10414de8f839c0873fc6b5b95923ab879afda46
BLAKE2b-256 checksum
How to use checksums
5ef83c9215a32bcac2c8e7ac65e77cc3df19eb735edecdf1c62bd43947ed0a53
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.108rc1-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.3.108rc1-py3-none-manylinux_2_17_aarch64.whl
Size 17.8 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
3fedaf5aa2f8b45a35c073b4fb5dfff0d2bada055d890f37ea372561434e3f97
BLAKE2b-256 checksum
How to use checksums
ad14ee3f6c84af98d58cafca70c9f6d42865106f8f829a10489d60ecf105dc11
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.108rc1-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.3.108rc1-py3-none-macosx_11_0_arm64.whl
Size 18.6 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0f86ba2fc76946d7173ab3b623c333e6dd2018001c16a4c5b6456fa0b90ffa2b
BLAKE2b-256 checksum
How to use checksums
ae56ad5440cb91143cbef1b5129151c5536fb7d2fd8941999a7e924846c98204
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.108rc1-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.3.108rc1-py3-none-macosx_10_15_x86_64.whl
Size 19.6 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
b911c5983fe0ac0adb32d7a93e1077c8b04e26fcd1bcbe3ca9cdb80604d033b6
BLAKE2b-256 checksum
How to use checksums
bcfd16cf008976260bb194120ab12279e1c0a887fa9d219d480daf497f7897a9
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.108rc1

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