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

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

Total release size: 181.9 MB

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

Download URL mothx_installer-1.3.103-py3-none-win_arm64.whl
Size 17.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
09c29083258663a81233c5cee8beddde6d8562083be57866e1ee640ec1b873eb
BLAKE2b-256 checksum
How to use checksums
9feec76ea426bc40991eae14f8bee2f766643fdf0830ff88f2370822cc3975b8
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.103-py3-none-win_amd64.whl

Download URL mothx_installer-1.3.103-py3-none-win_amd64.whl
Size 19.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
43c23377f9904001d5c4720c1f453ab7d610ffc4b6adebc2f54dd41770867b0b
BLAKE2b-256 checksum
How to use checksums
48517ef4f3bf29880fa1e25f5809c27dff4739798ac7f4d2a736c87ad8e25957
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.103-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.3.103-py3-none-musllinux_1_2_x86_64.whl
Size 18.4 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
54b46e70bbc74bf3116c5ad3efa6aefe67806e32bc047bcee23eeca078204eee
BLAKE2b-256 checksum
How to use checksums
ad7368078710f198a33d90f67a48f24fcfe85bc62d9ef9d88c5e4a14570bc754
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.103-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.3.103-py3-none-musllinux_1_2_aarch64.whl
Size 17.3 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9b808c7dc89417e3d00414fed1de8d4159d779f986232114367e42125c54cd99
BLAKE2b-256 checksum
How to use checksums
ae363d744941f628f5e22e68d22a3189fa9859cf8077a2c74fbd3083588d2508
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.103-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.3.103-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
d048485170f5a74dbf4edd45d261b22f2ca4f054fb9d1087077d8d5df961cef4
BLAKE2b-256 checksum
How to use checksums
e19ee0943bf5e96e125cee010edd574e8d1a8331d7ae02373ccee7b476bd3cd3
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.103-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.3.103-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
9bc104fa8869772fc3213ac0b33479eb00022ff66111526620bafedb24a2202f
BLAKE2b-256 checksum
How to use checksums
9c2c1cd4ec7870fae0fc54067240e654aaddbc8fa12c27e27a4335274ca2cc38
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.103-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.3.103-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
d38ac30c6475c5d5b2c371cddaa678e2b2be04f3b14c37490209a8092262afe9
BLAKE2b-256 checksum
How to use checksums
4b8d66dacc0c21454a19370ad8140d82e9a01586b466a52bbf74a565dd0e9dbd
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.103-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.3.103-py3-none-manylinux_2_17_aarch64.whl
Size 17.3 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
1759468d12fc7f104f61895c1feb189ba57d00b8e4fd2faad76a3a115e10b337
BLAKE2b-256 checksum
How to use checksums
1eee470530832440b3e332b773fc57e4902e2f94b3cf0abe2194ce980782f7eb
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.103-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.3.103-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
0b7cb8561e1b437f6d5b3c72532fe84e53864cd956f8a1a91cbfdf824d68f697
BLAKE2b-256 checksum
How to use checksums
d749ea7e3fa190cbaceb4dc3307558c815c932678a40fc8213c3c690aec1053c
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.103-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.3.103-py3-none-macosx_10_15_x86_64.whl
Size 19.1 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
9047c6cdfb75bd205323b3ca40637ca13ca225378ab6c1b2e0fb1570f9fccba6
BLAKE2b-256 checksum
How to use checksums
958eceb300e2d661b961037a4364fbbde7b827290537d47f5dc90a0272433080
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

1.3.103 This release

10 release files

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