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

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.93-py3-none-win_arm64.whl (15.8 MB view details)

Uploaded Python 3Windows ARM64

mothx_installer-1.2.93-py3-none-win_amd64.whl (17.6 MB view details)

Uploaded Python 3Windows x86-64

mothx_installer-1.2.93-py3-none-musllinux_1_2_x86_64.whl (16.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

mothx_installer-1.2.93-py3-none-musllinux_1_2_aarch64.whl (15.7 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mothx_installer-1.2.93-py3-none-manylinux_2_17_x86_64.whl (16.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mothx_installer-1.2.93-py3-none-manylinux_2_17_s390x.whl (16.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

mothx_installer-1.2.93-py3-none-manylinux_2_17_ppc64le.whl (15.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

mothx_installer-1.2.93-py3-none-manylinux_2_17_aarch64.whl (15.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mothx_installer-1.2.93-py3-none-macosx_11_0_arm64.whl (16.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.2.93-py3-none-macosx_10_15_x86_64.whl (17.3 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.93-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 5a2f40619217a90e75c176d0e6ab80d473a3d64365545a54b71bcf3b7e75b687
MD5 74e2780d37d943f977e4a184b34d915a
BLAKE2b-256 e2624394fbfcdd3a8af2b058983a2b59705f410215a39edf9c26c1a548f8c125

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.93-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 26bb31705559c4339c24c52c49a1cdf1af659f50f1221e1dd3cbab0a1aee5b4b
MD5 b6ad3dfcc3e6de253e04c89ff53f9da9
BLAKE2b-256 895de95d1e5ec32ad80402ce4926a660b21eed0ac3cc93fc4217751fb022f8c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.93-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fc80cbb5f9f34f7aa30f31e496b061957d71f2fa022109081d2516165c63a8a2
MD5 fd356819ebae841c8025f762787e4009
BLAKE2b-256 a1199264ab0f86a005e18651eb0baabb0ed4f2e1f1bd9e8ec7d14b4ca308eab6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.93-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7c5edd12bf36a1ad45cc04a0a7b3d12d9d9a4e96801af93badcbd89d8c6bc2bb
MD5 1691c22d0ebd4112af76ce15b3a04739
BLAKE2b-256 eebdf6e3ccba1dd682a16a20e0abec6f335029575fe35656a1c5301b2f504fb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.93-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 4ebee4f23c95ed3803239062830ba326bfb11b52caa8ba5d63258285996d33da
MD5 91d792cc5b5a41b7d3fa25a0b004f53b
BLAKE2b-256 84940dff7efbb757b25fda345c68d08278f1273bf9eb74a0b2a7c1ad314acaaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.93-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 3d6783d009389d51a56d1d6ff3c9fa29a5875111194ea57cbeba95a3c1aed875
MD5 a8c331c203b93fc5595d433d14d33528
BLAKE2b-256 716f26a8d7fbf4b1aab0731a304fb80e389411092ea274eb192344ae422b4105

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.93-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 60bc80bd5c2092b2e88c9a41ffc0ff5bb78a3a9ddbd1b3030e68096f3ead4706
MD5 b6e16b46b8281de46e423c25bf735845
BLAKE2b-256 0b7127c25c0ac3d3ff3d27fb36e160850d552b84cb33dbf9bf9908da1f1277ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.93-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 6be7046acfeb3bf7fa72feff275e298ae8c2022daf67da066422f14b98b2de82
MD5 3f767d33b996c2e0920b072a380678bf
BLAKE2b-256 d7a8fcdd206e447f75653cde591e39e320f3767fc202777af2e87c5347ec3ca2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.93-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 75db0e7ba959de106b4786a15bebec855d109a88e671459682f3bb73983b4653
MD5 5d3724c24b692a0b0bb373e9d857f1b4
BLAKE2b-256 c311a68b17777cca196a8382d61f79f20af0fceb7c154b2d7ae7ad946c5eb46d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.93-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c9a1343979e58debceddbb548465084ff59aa17d54a6d4eed4f938ad871ba28e
MD5 e0364bbbc31611ce18cb095726300fa5
BLAKE2b-256 6f6ef9f03aadfa4ffe45f67bccbcc452a8a1b2af1e53d82f04b92c370066921f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.93 This release

10 files

1.2.91

10 files

1.2.90

10 files

1.2.89

10 files

1.2.87

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