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

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

Total release size: 185.0 MB

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

Download URL mothx_installer-1.3.107-py3-none-win_arm64.whl
Size 17.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
9fa568cc5aebed52a1f470bca5c3352e2fad0306d1fadaeb6c4e095c8b2c018d
BLAKE2b-256 checksum
How to use checksums
50cbde8c3e85949e87fa2efd3154ba92a3343bad3c6d0588ecc40d373764abea
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.107-py3-none-win_amd64.whl

Download URL mothx_installer-1.3.107-py3-none-win_amd64.whl
Size 19.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
bc9a8926adbb64827958aacdc73ac117c1eb21dd7dbac506d0c63a037fa5ba58
BLAKE2b-256 checksum
How to use checksums
2862e7c8a4cc7ad40ea927660a663ca02931f8781620d402e539130b1befb091
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.107-py3-none-musllinux_1_2_x86_64.whl

Download URL mothx_installer-1.3.107-py3-none-musllinux_1_2_x86_64.whl
Size 18.8 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c8a4ba5763eb9a4173e729853987b6fb4561df01b317ae104a45658227f6b772
BLAKE2b-256 checksum
How to use checksums
e6ce81d5372be65c669115ec89d374bef26ffea43c7c9f8432a671dda2f08470
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.107-py3-none-musllinux_1_2_aarch64.whl

Download URL mothx_installer-1.3.107-py3-none-musllinux_1_2_aarch64.whl
Size 17.6 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
4caf29f42907ef3020d9eae9c2a7e82d8f2d83d284e7bf8448d210eb42cfc1cb
BLAKE2b-256 checksum
How to use checksums
e21fee9fe3b105db8608e169d45c5cbe8a4851ef686aa8bd616955f4a5236932
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.107-py3-none-manylinux_2_17_x86_64.whl

Download URL mothx_installer-1.3.107-py3-none-manylinux_2_17_x86_64.whl
Size 18.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
7dcd20c39bb60ca9d51c523ee6894b5a28fc87f9a7eef02d935668f14d193aae
BLAKE2b-256 checksum
How to use checksums
660e425b2c16be5dec5de5847a3d8c85f97f3cf0307c7530cd3adcc4a7332f86
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.107-py3-none-manylinux_2_17_s390x.whl

Download URL mothx_installer-1.3.107-py3-none-manylinux_2_17_s390x.whl
Size 18.9 MB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
652ba2e988d2054378c97cede6d28a36de776dc9cf4ccc38e138d5f160d05c77
BLAKE2b-256 checksum
How to use checksums
3e2218bdbabb1ad04fd606dabb97146d2b3fb5eef7a1b6dd0d3628e4e5cf42e8
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.107-py3-none-manylinux_2_17_ppc64le.whl

Download URL mothx_installer-1.3.107-py3-none-manylinux_2_17_ppc64le.whl
Size 17.7 MB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
ac13fe5e11a9cf8040651486c3d9fc615e5ad9161d265f19db278cd8bc29380a
BLAKE2b-256 checksum
How to use checksums
4834e670ab8ba93184c487719c65800260921ebed76c4f7749fd63b51ec7890f
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.107-py3-none-manylinux_2_17_aarch64.whl

Download URL mothx_installer-1.3.107-py3-none-manylinux_2_17_aarch64.whl
Size 17.6 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
cfb298dc0b316cc1a038b3b80727f8e40bb394975b9c525360ed99b4598b272d
BLAKE2b-256 checksum
How to use checksums
7610c91c028a8ad28211a9a6aafceae4001dc5a637646c2a5391667b8ce86ccc
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.107-py3-none-macosx_11_0_arm64.whl

Download URL mothx_installer-1.3.107-py3-none-macosx_11_0_arm64.whl
Size 18.5 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
64a0bb182db94fdca18b5222a3df7c4b78bb0ad6a46b739f2482857693993f41
BLAKE2b-256 checksum
How to use checksums
7369f76c7fe34167e96c5af6f087b8c4c6647dfcb2151cc0b0a0984f96c9ca38
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.107-py3-none-macosx_10_15_x86_64.whl

Download URL mothx_installer-1.3.107-py3-none-macosx_10_15_x86_64.whl
Size 19.5 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
e2fc9cd6bce6b6026a84e14322900494314a05e164e7f01fc1284d41b1fe864e
BLAKE2b-256 checksum
How to use checksums
3032aa227da94fd001601d91a51fafdb65377fcb60aababa148494a9d322c1e9
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.107

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

1.3.107 This release

10 release files No provenance

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