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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

mothx_installer-1.2.91-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.91-py3-none-musllinux_1_2_aarch64.whl (15.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mothx_installer-1.2.91-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.91-py3-none-manylinux_2_17_s390x.whl (16.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

mothx_installer-1.2.91-py3-none-manylinux_2_17_ppc64le.whl (15.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

mothx_installer-1.2.91-py3-none-manylinux_2_17_aarch64.whl (15.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.2.91-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.91-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.91-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 fbff71e0908f3a2b63295d4a868188847e1642f08bc0b1c0e6083a756860390f
MD5 79d24c788848e051ddc05b7e2880fef6
BLAKE2b-256 ffadb55ccefe3c0b2907419b99ee89087daa5e706051a252d13922d87cec47b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.91-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2eba331af3eff372db612eb4362f4c56fcfb009a9f28be639f81e3c01166b5e7
MD5 dc76e337d5016b822872782d83321408
BLAKE2b-256 e30255c8e8233008620fdd1de746a16a98e4f851258a4441f4dbb89dfe0c29ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.91-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d94680c73d1dcbf01d8199fbfa88177614253cd111f8b3374dd01bd81ea37ac8
MD5 1b6c99bf5ec80a88b57035c5cc170ca7
BLAKE2b-256 c1d42309d5a9e8de24ffe375767a6d548f9a0a1c063e6269a2b7ee885cd1526f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.91-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a98714d20c0f9a6903147e084608724300be57bb6df99b2267c9298c9dec63a8
MD5 9df399a1156c4aac5164fa443bede983
BLAKE2b-256 2bcd00756c3600c08c0f0abdddf212502631b5848cb875e72689b343515be292

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.91-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 1bd50bbeff193fd839cec0e722bb75a2db5f274ec42d8bf201eb279e42e9e38f
MD5 79eaee5921360aa32df15e11a0fdaeb5
BLAKE2b-256 ac5e922236f16cb4d8926bfd88d94958bd4c402142cdee08e241aa596ca25f8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.91-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 c4369f8e02baf9f70fee31d5b6ebbe314a32e291abf4be6203a27a352ca1b0e3
MD5 28351bdd53e8aa1d5b9ac570285c0981
BLAKE2b-256 b927dff7696e136351b7dae677c40abd79d9a2c85aa34d1f4ad5f902948bea0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.91-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 47151918a02ec2e6517e10f909937cb5b4b34a69d6decc7eb2ea8fe11c07d2ca
MD5 af11b5e424cd0f397a8fdf2473ab26ef
BLAKE2b-256 05c0a0c26940bc12f95a3bb410b00fcbd91b73564797908038b263d114c29011

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.91-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 6283866aae25f8efa812f41a6337258a5b7f676a6c21fb5aaf5f328ad2620361
MD5 e2ef816588451cee4abdda70937971a1
BLAKE2b-256 48e330c18602bc658a10264b09b02f8461156dada8a8c72f7b211ff4ece41fd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.91-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 95332c3e7ac183562d684be441c3e884a19d6260d64b9bcf8fc898385f156916
MD5 60ae743dde0a28c54b6c31f4568f4d74
BLAKE2b-256 fe6f726a51de66cc93f8190f92dbb0d325569ecdad2dd9b6127d8920e2978a54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.91-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5566e7ce7dbd8007d1c42ff72280e7b6000650aad52da242d68fe529c572f7cf
MD5 442c70db37ad39cb54e6c7ecb0e0da3c
BLAKE2b-256 d1d64e93f5d1867e697540c9c8b341be66f44c336f4013fb7088fb276a248d6a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.91 This release

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