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

Metadata

Release files for mothx-installer 1.3.101

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

Total release size: 179.8 MB

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

Download URL mothx_installer-1.3.101-py3-none-win_arm64.whl
Size 17.2 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
3070725b938af4b0bf2dff716d00d6f8d05a15d32e5df50d661046b48663aaa5
BLAKE2b-256 checksum
How to use checksums
70b3ee6b06f103c856eefd90a906f86e3625b1df768c1cc14e825e0c709b2571
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.101-py3-none-win_amd64.whl

Download URL mothx_installer-1.3.101-py3-none-win_amd64.whl
Size 19.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1135740ed4371c68d6b40c160a9caa5a85cbd39b7bbffe8e05e8a392d2bfd037
BLAKE2b-256 checksum
How to use checksums
c5b72e99fe539da0ed99dc8c32d382a77a653a7784224af109b1cbc9c6f07794
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.101-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.3.101-py3-none-musllinux_1_2_x86_64.whl
Size 18.2 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
9936b2533f5fb352111c82fa05d70900b21536bbd2d6ecbdcbd4e166b6aa242f
BLAKE2b-256 checksum
How to use checksums
c8ccf4ed49ad177e59c68516c4753ad202cdc91131f2c4f0e39438c8aa3226f9
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.101-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.3.101-py3-none-musllinux_1_2_aarch64.whl
Size 17.1 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
d05a59d5a48da75a971bd3fa958eeea30b96a5bf3a6aaeca98632743219c23f9
BLAKE2b-256 checksum
How to use checksums
d7f9c83a8c24daf59cc899572a6bae6b3de889937cc229a6ca6aaf50e57559f2
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.101-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.3.101-py3-none-manylinux_2_17_x86_64.whl
Size 18.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
39a5cbae1bf7a4c7feda3817442b93745787853124a016ec7a98219c688dbaed
BLAKE2b-256 checksum
How to use checksums
4429e17bf60658e2f684caa4dd2d4f04b02494da25455cf2524d30a6bb2887fc
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.101-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.3.101-py3-none-manylinux_2_17_s390x.whl
Size 18.4 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
4c0752e0ae2e428dd108c953d2e8f0c4ba8c9269db17dc523b53dfe17ee25a01
BLAKE2b-256 checksum
How to use checksums
f29ebc4788ebf92156f0d252595224a6dd194e9b51fe14416ec2602449524c39
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.101-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.3.101-py3-none-manylinux_2_17_ppc64le.whl
Size 17.2 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
659ed9c7a21fefa0329377443589225b8eecd8b3cd000394c69a656ac3a79059
BLAKE2b-256 checksum
How to use checksums
4ca2b324cdb15e5de2a22345f7bd60f675d88aae1f61f3f816b862f53936a0de
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.101-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.3.101-py3-none-manylinux_2_17_aarch64.whl
Size 17.1 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9a46b300799c420fb2ae8a40cc7689d7841075419ecfd8f917457a84cb1b3e22
BLAKE2b-256 checksum
How to use checksums
94a1106e7736e431f17bc05bc27141e6454717ca2814b686bd93b958ee47d0d1
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.101-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.3.101-py3-none-macosx_11_0_arm64.whl
Size 18.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0a33df01df7b2988f1c7c1dcf6cbc652772a487a668a538fc4a82f39eb50e3fd
BLAKE2b-256 checksum
How to use checksums
c1aa436b523706779e3c4d0b54b561947838636032848e9be8a0c8535036a3e9
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.101-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.3.101-py3-none-macosx_10_15_x86_64.whl
Size 18.9 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
86198c0af8d27f42c3aa779c74bb95199dbbb7f9ca2f7929718a51d4dfb63358
BLAKE2b-256 checksum
How to use checksums
e4781d9a47455c3144d82862d8f190f5e39fb96670613a90335db14b16f13c4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5
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