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

Uploaded Python 3Windows ARM64

mothx_installer-1.1.78-py3-none-win_amd64.whl (11.9 MB view details)

Uploaded Python 3Windows x86-64

mothx_installer-1.1.78-py3-none-musllinux_1_2_x86_64.whl (11.3 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

mothx_installer-1.1.78-py3-none-musllinux_1_2_aarch64.whl (10.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mothx_installer-1.1.78-py3-none-manylinux_2_17_x86_64.whl (11.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mothx_installer-1.1.78-py3-none-manylinux_2_17_s390x.whl (11.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

mothx_installer-1.1.78-py3-none-manylinux_2_17_ppc64le.whl (10.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

mothx_installer-1.1.78-py3-none-manylinux_2_17_aarch64.whl (10.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mothx_installer-1.1.78-py3-none-macosx_11_0_arm64.whl (10.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.1.78-py3-none-macosx_10_15_x86_64.whl (11.4 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.78-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 ac9ae4afd694441e424faa269bb1f42d2c2fe171f36f6da78f0ef5114e9dba62
MD5 8181a6ce15364dc10ec7fa08e6b6f0ff
BLAKE2b-256 117ad5648bcd060a442c95dcc604ca2ee53123f2b4f4f390fd2fa55b17e3610b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.78-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 47cf5dcc3c0e0834fb8175fdc5ae5d0dfb0f3aaceca5fd80d8d36bcf1082c796
MD5 14de80d072c44b6b1615c750fc45b60f
BLAKE2b-256 9b559233feb1d2683b0770d03a1570a92b35cdc3ae0ca0d89df2d7e05afe0b5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.78-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0d2c907fac7af1c9995e0f9a7a0f88790c381a66e6e4ce051f5069c74ea07226
MD5 200097c55cd20f7bad43d13ff1ccafd0
BLAKE2b-256 6d26059a65acd349129dfc6a446b09b01b10c56ebe6f952e9264deba3ddde0b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.78-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 aa20b9546e32ea141fa2771dbbeaef96d1737431aa58a00c8ece5ddcd128c452
MD5 81b5ad681b420d0b77eba22eafa7fb87
BLAKE2b-256 274eabb74c0da9894c00da2cf2085a73d1dc7770929170c6b6400989300a9769

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.78-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 9dc0139cd47fd486d7f144e248abc384afa1ae7053e26e4de8b9e01b5d3188fb
MD5 ac94e6e1453300293a4033e92eca9add
BLAKE2b-256 9ee78fd064c58b80dca347c0880a2d70a1a0a198e94ddce0b6da6f91cd496a3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.78-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 93643f5976dd9dbe1a4dccb1a65e6040738dda47e378a169a88bbeb5a7494d52
MD5 10bed02b54b271f76d1364ccedfa2a03
BLAKE2b-256 1fdb5186a9da3245f2bc45ad2f411adcba45138e16847281a686656644d85277

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.78-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 ad0a95816fcb18a62e05ee3bbf46db001c7b45fe53e232fdcf2e3ec17171ec1e
MD5 a0a41ccbf93db57d57b21e8665052ee5
BLAKE2b-256 ed1cbf2aefa9a8bcbdde5cc2af961f6dc350d1547f928ab90c6996297c431e64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.78-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 577691c1bde546424bc179c77d40ad8219e61fb51e5f46ce0f0be93dc653f93f
MD5 1b71b4f79e97df6b61d0095cc12796ab
BLAKE2b-256 8196c7276b8ea955b9bea751c6b22da3df0faa6c07702732dceb4c64a5925e93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.78-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4009138c9169092759157a254e4f8c6028f7ed8f77cd570872e5c21e7ea4a741
MD5 34377cb6c8acf6f75ce61e871a8b8166
BLAKE2b-256 c1239cbd52d985637177458c0e8a5e1639c9f55b3120eae1e5b43624f901bd2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.78-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f5bcb102d4d8103964e0528ae6de9d89aa5c24867e515dd8dadbf5a5931ea1a2
MD5 bf5557cedda6b940227a690039c3f848
BLAKE2b-256 449b8a9a5cf18924f2a391436c1fa75bfd01dc482c77cc5536f87d6b1ab89233

See more details on using hashes here.

Supported by

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