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

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

Total release size: 192.1 MB

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

Download URL mothx_installer-1.3.108rc2-py3-none-win_arm64.whl
Size 18.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
798b141b6f78a31492a9e40d1d270c1af4409b0fee1718e4fd1a10ddc3abb11e
BLAKE2b-256 checksum
How to use checksums
456b4803693c07e6494468836453244707713b5736c92af33eb6adbafbcc28fc
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.108rc2-py3-none-win_amd64.whl

Download URL mothx_installer-1.3.108rc2-py3-none-win_amd64.whl
Size 20.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7165036661b2223de0cd27a9224e1c209895fb5cf0069c5954809fb49c984e58
BLAKE2b-256 checksum
How to use checksums
0e87bda2c570c2a3db1bbb3357f23ce5c433090e165713312308e79a86402130
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.108rc2-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.3.108rc2-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
1b88c177e6aaf45990588f6b78d9fc7da7545b47fe56560b6cb39f9b1ece04b0
BLAKE2b-256 checksum
How to use checksums
9bd0c795cd3c3f80d9168060922158b1d6f2b7dde812b01f702e2857670e7c9f
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.108rc2-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.3.108rc2-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
a45c610ccf66e576749a2378b1fdcbbc4db111118e9315efd03d49f3b8359a4c
BLAKE2b-256 checksum
How to use checksums
acf1302d6b46e0a4292cae96ba0f8abe51bf1f43cc8a1fd4348cc782cda80b23
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.108rc2-py3-none-manylinux_2_17_x86_64.whl

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

Download URL mothx_installer-1.3.108rc2-py3-none-manylinux_2_17_s390x.whl
Size 19.6 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
c35aa6bcfe094044f84a67d7f2130baaad3a0d5d14be42112d40adbd19bfe50a
BLAKE2b-256 checksum
How to use checksums
83eab5767318735854c3b3883c0f391d739642f40a328b22256ae1e84cf5b271
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.108rc2-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.3.108rc2-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
79e613a9f85cc331b0b5b4e0296f7ca0736a0bf153514efe32fbc990b34e686f
BLAKE2b-256 checksum
How to use checksums
4e409bb6408b0bad6e316b018abaa5afc947e9f6535fb15b9f6ae9581c16f21f
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.108rc2-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.3.108rc2-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
12a4ef379a0d06797b07abf8f33da8cfa1b5a3d2172715ddf463c107c61edac2
BLAKE2b-256 checksum
How to use checksums
19bbfa6707aefda559d6bf11f6fb241d43f3a2e8a77c69960f54d5f142eee059
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.108rc2-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.3.108rc2-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
612d0a24eff3d8fc3a95d88279d3d0804ade629cccca468a6f03bc6eb72c7e53
BLAKE2b-256 checksum
How to use checksums
7e02ebc5ae5cd1140053c0f89e5d431a6ebafa18b6266ea8493b6bbda549351c
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.108rc2-py3-none-macosx_10_15_x86_64.whl

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

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