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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.17+ s390x

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

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.2.90-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.90-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for mothx_installer-1.2.90-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 780ec001f327f578df7c81ed55bba73e0a071d72f066384a1ddda802023bdeec
MD5 8338a93820c1bb063d5c8dddcbcb26de
BLAKE2b-256 1b4d0a7b3e40293116113309c32996a3f6abf9fa3ac991232e71df0b98f2d7ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.90-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6b16ed97d0029408c448218adbe715e4082ea7698879b4c539c2dc2bc7241ba1
MD5 ad31870880465bd0d00e38bc412126b5
BLAKE2b-256 4818c50f9e9cafb51ba4bd357acf21d30fd7f64af29aa608dfc1f5582b3b0772

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.90-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e15e78915ca9c5be885d5bfa504bb9527b736238ca27afd6f05b1df86ce16620
MD5 e792dc01e5b8ca6c82d0b4db0fc6f463
BLAKE2b-256 47b7ed755b2edd174d7ce923f1c438dcc7dd5864c02a9e4d5486215b43013d11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.90-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c27fb5f8ab2d41ced662d3a841e8e3823411fc81e09c0e84dd990ae351385e58
MD5 9fc46874a647a74038c2bc1f8e6fdfbd
BLAKE2b-256 1c813ee95935144603411fa12cc9336ad8562da34fbb0132fe0171c14cf92187

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.90-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e3fcbc21edd2de12bdae3b413424bfaad7f783a2baa17f4aa52e2f8f292b5c43
MD5 339362b14d95112b98b84eb3936c3010
BLAKE2b-256 08c46fd5b1c9ff9a36eff0fb0d2070e45c2fb76e5184514c425f271a21865e7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.90-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 66ef82523062d0e91fe625ad40bd7f472305b1284b03fdd2bdd3db0f89105244
MD5 6864407ace75085c258bc23093363290
BLAKE2b-256 59f792e4c3ae67626d803dbc31295ec646ef25b88af0692458b8829b5c0cb9f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.90-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 ec8b937f6c95d32eade05809ef05517086e0c23755ba55f01da76b12af398e43
MD5 e52b1622487637a437fcbcf490724bc3
BLAKE2b-256 28f4fb93f5ae3e63dcaddd0114c967280a6e5343e1167c442f21dd2c0208b264

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.90-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 edce18e4607fd24114a9ef2ed79cff01f791ee5e4b620615283297ddfceb42a6
MD5 7380b0344d7e8d0ba42faf78f098caa2
BLAKE2b-256 b8554f956a56f6060faf33e1e55512840184aee99a465e0d112ad664fd0020ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.90-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4c5609bd4e50ca72c2de95ff7558c0e8ade40c9696927897648a435852b98448
MD5 b8dca6aab07d1020ccd569dc6033f439
BLAKE2b-256 0c108f5160a01aca3561084845c0300c12abf350a27724306cde50a5b8257671

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.2.90-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f2a2ac24b3cc2637ebf3c1b6744aea31558dceb7611267ad52fe4b197592231f
MD5 234e36398c20fd476debd5afb0bd5470
BLAKE2b-256 dee12f98ce3c20eafd21e1f07c012c2f56813772b483efcc0d9d600197c551d3

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.91

10 files

This release

1.2.90 This release

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