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.105rc0.post2

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

Total release size: 182.2 MB

Release files / mothx_installer-1.3.105rc0.post2-py3-none-win_arm64.whl

Download URL mothx_installer-1.3.105rc0.post2-py3-none-win_arm64.whl
Size 17.5 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
3372354243e5b6c3b4ba6b170dbb5893ab8ce6b4bad767b04e2f5f07463f75fc
BLAKE2b-256 checksum
How to use checksums
c5bc76696e96eaf08a14cca499f138a0e1441ab58337ad555d43f1532f9eaa93
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.105rc0.post2-py3-none-win_amd64.whl

Download URL mothx_installer-1.3.105rc0.post2-py3-none-win_amd64.whl
Size 19.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
de4aab9e01a4039bfa900e9653daad9facc5fc200511dd14eb609a89dc38e205
BLAKE2b-256 checksum
How to use checksums
c3638347ede36bf396ec17c15d52b36ef7192babe6b033a676d78af2859cc7cd
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.105rc0.post2-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.3.105rc0.post2-py3-none-musllinux_1_2_x86_64.whl
Size 18.5 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c299c8b06b44b3101930bd95c1d2711d29ee45385cfe4457f001f90909c2f08b
BLAKE2b-256 checksum
How to use checksums
15e37d9deaf7c17b6951b0b84fde205fae91a232fdba894bf2c3313ada8d8ba2
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.105rc0.post2-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.3.105rc0.post2-py3-none-musllinux_1_2_aarch64.whl
Size 17.4 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
6913199abc1eeb1bb51a762e77b3c552ca1d34c05e08c7af9796a0fcec9e303f
BLAKE2b-256 checksum
How to use checksums
f7eb666c0ce5d79a2f516c86ada0eeb95079c3b567f326f4c5335267a06832a1
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.105rc0.post2-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.3.105rc0.post2-py3-none-manylinux_2_17_x86_64.whl
Size 18.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
9e40c6d98bded011ce6a67db4c0bea85aa5fca77526912f054a23f6edc5aa505
BLAKE2b-256 checksum
How to use checksums
280efb124083fa292d04488de23b2a1fdc30d1e0e6865f42ad4ef7561698a6ec
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.105rc0.post2-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.3.105rc0.post2-py3-none-manylinux_2_17_s390x.whl
Size 18.6 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
3e291bcf75f53d09d0e1a89f055e34898e13760e120ffc07c9219363634a7137
BLAKE2b-256 checksum
How to use checksums
1c5f9c04f8d62536165fc724a972a7d1ee2526b2749d3c070e33939f12c5b9be
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.105rc0.post2-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.3.105rc0.post2-py3-none-manylinux_2_17_ppc64le.whl
Size 17.4 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
499c1c0c0b8f5b4b1dc5cf1fd9bc188f97ffe1c927d7e9df99fcb2a0d2000ab8
BLAKE2b-256 checksum
How to use checksums
32e81d327aab8ca1330b8309c15d01d57759fe33e36730e08494d158b18355d7
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.105rc0.post2-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.3.105rc0.post2-py3-none-manylinux_2_17_aarch64.whl
Size 17.4 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
f70a04498f44301cd1ba9f1b2d64606a1de561b8cb0163c6353539939aa0ce29
BLAKE2b-256 checksum
How to use checksums
326893102f9a0bfaff27c344d32b55946b1deb7f08bf96e77cc58ebb00a75f65
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.105rc0.post2-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.3.105rc0.post2-py3-none-macosx_11_0_arm64.whl
Size 18.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
76fff333735da26fe6b23c9fbf6e4481871bb1549fb51b1058105c180ddf3820
BLAKE2b-256 checksum
How to use checksums
3ff0831491b272fea3c97e8df05a6140b7c553abac6f845f2b8f3a50c66d8333
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.105rc0.post2-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.3.105rc0.post2-py3-none-macosx_10_15_x86_64.whl
Size 19.2 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
e132514eee545ed9ec8da364578800494442fd56ac91839d4feaeb4c577bc691
BLAKE2b-256 checksum
How to use checksums
36c01f067ef6e18f7f6999ae2fdcbbb3bd08b5a1538740fdcd42273355c88a15
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.105rc0.post2

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