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 (default)
YOLO Full System administration, automation
mothx --mode plan     # read-only
mothx --mode agent    # standard (default)
mothx --mode yolo     # full access

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

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mothx_installer-1.2.87-py3-none-win_arm64.whl (15.5 MB view details)

Uploaded Python 3Windows ARM64

mothx_installer-1.2.87-py3-none-win_amd64.whl (17.3 MB view details)

Uploaded Python 3Windows x86-64

mothx_installer-1.2.87-py3-none-musllinux_1_2_x86_64.whl (16.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

mothx_installer-1.2.87-py3-none-musllinux_1_2_aarch64.whl (15.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mothx_installer-1.2.87-py3-none-manylinux_2_17_x86_64.whl (16.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mothx_installer-1.2.87-py3-none-manylinux_2_17_s390x.whl (16.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

mothx_installer-1.2.87-py3-none-manylinux_2_17_ppc64le.whl (15.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

mothx_installer-1.2.87-py3-none-manylinux_2_17_aarch64.whl (15.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mothx_installer-1.2.87-py3-none-macosx_11_0_arm64.whl (16.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.2.87-py3-none-macosx_10_15_x86_64.whl (16.9 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

Details for the file mothx_installer-1.2.87-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.87-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 739f4e57f6af6ecad8ba022035f0cb862ecea5adf061fc721f02ddb73d0ef1f9
MD5 39f93b70cc6674adb42c1af330a4c1d6
BLAKE2b-256 d90258045f586e24c66ad66b2d2f2b9e0fbfd676ad6a409a45f0692c8a16494b

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.87-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.87-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 86954cd606f61954c435b4bae438065ae2b9c1714a5fe6ec7638be7814273316
MD5 077e9a53c81542654e1567569887dd14
BLAKE2b-256 77a6cc20719c2c7accba8687cd59b8b0a93f7f41f7b5375602bbbd299a906cca

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.87-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.87-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 230b6b894d8ac604a482ef57402af41a65aa61ee533913a4fa21faabd3de9cc1
MD5 83a317b12f04956ad38fcbc5eb29dabe
BLAKE2b-256 a7aea99ef2c615c6ec2abd43ca9c37a982912525aca4d66a898511b6c0425b6d

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.87-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.87-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4933eb55841432016540387ec6d03b32c5754d0aef1de3efa60f1427593b8e2f
MD5 d30874126a080057ae2e5f749fc82504
BLAKE2b-256 e7d28523cadd97c5b7aa07f22aefb9d549a488e25cf7dc527f576d2b6b9c48c6

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.87-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.87-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d49e92b14bda966a4dcad76b260cab608f385d8ae693937171db0a521cee9157
MD5 a225e730f9c83de5cb49d23c62648313
BLAKE2b-256 0ff9a96ba174936d148b4d631568b370081303e13b71dc23ce1a21825e5abcba

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.87-py3-none-manylinux_2_17_s390x.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.87-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 a18fd15b95ebfc0de66ce7109b6a6b37630a21272eb698d43d7c5d83d156c9d1
MD5 23d19ee1d0eaa01534c21159cfbfeccb
BLAKE2b-256 ecaa42e2883f662f68a76e5fd48c3500e4924585f7f924f16219a7a0b31d7dba

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.87-py3-none-manylinux_2_17_ppc64le.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.87-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 4e16ee342c17166695fde654bf590a6229bf56d9cab9cfc7f764269a89621ff4
MD5 c420b3b5da77065a15bfff05f862850f
BLAKE2b-256 79a45ac342ef9943984ee317f3d1447e6b10bd5d7aeb7d19447a62a95d72d5fd

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.87-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.87-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 1435d2356565fcb6091593b7c9ecd373ef4f0f0d52f18fdb991828a75950a656
MD5 dc8857b9455fb3b944d5b6453d1fd7d4
BLAKE2b-256 ea5f1c9129f1aef6457ea2a960488bd33e1357acfd65a73c95083e321fc90dd4

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.87-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.87-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f55964b95d431eb33f8cf3d4cfb08bf86e2dd5815e90f51a5194459b9722ef87
MD5 5457e78c8d0193eb256709db2dfc364c
BLAKE2b-256 bef8ca3467f436df7174658a5cb12945a1124fd188530d01b15ee90aa3ad7283

See more details on using hashes here.

File details

Details for the file mothx_installer-1.2.87-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.87-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 fae0d29f658a5971fcb2d77b566ec58e4086f7a520173fa884bcbc929500560d
MD5 f64f48a06fd736aa00f1345ab80a48a5
BLAKE2b-256 3b533bf3262b95537dd248165417c7af9ff872e685fac1051b7e1cc4d0c1524c

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.91

10 files

1.2.90

10 files

1.2.89

10 files

This release

1.2.87 This release

10 files

1.2.86

10 files

1.2.85

10 files

1.2.83

10 files

1.1.82

10 files

1.1.81

10 files

1.1.78

10 files

1.1.77

10 files

1.1.76

10 files

1.1.75

10 files

1.1.73

10 files

1.1.72

10 files

1.1.71

10 files

1.1.70

10 files

1.1.69

10 files

1.1.68

10 files

1.1.67

10 files

1.1.66

10 files

1.1.65

10 files

1.1.63

10 files

1.1.62

10 files

1.1.60

10 files

1.1.59

10 files

1.1.58

10 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page