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

Uploaded Python 3Windows ARM64

mothx_installer-1.1.76-py3-none-win_amd64.whl (9.3 MB view details)

Uploaded Python 3Windows x86-64

mothx_installer-1.1.76-py3-none-musllinux_1_2_x86_64.whl (8.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

mothx_installer-1.1.76-py3-none-musllinux_1_2_aarch64.whl (8.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mothx_installer-1.1.76-py3-none-manylinux_2_17_x86_64.whl (8.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mothx_installer-1.1.76-py3-none-manylinux_2_17_s390x.whl (8.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390x

mothx_installer-1.1.76-py3-none-manylinux_2_17_ppc64le.whl (8.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64le

mothx_installer-1.1.76-py3-none-manylinux_2_17_aarch64.whl (8.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mothx_installer-1.1.76-py3-none-macosx_11_0_arm64.whl (8.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mothx_installer-1.1.76-py3-none-macosx_10_15_x86_64.whl (9.0 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.76-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 3c2123b9dea013339d020ae27dd86797f84d66ea66178c0a750dba8a3c5d9caa
MD5 3a74db95d63e362652eb15f7c724e21c
BLAKE2b-256 04e0c949f1c2f538afec73690f75ee5c4ce1a96e21c7d0b518ad350837656c01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.76-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8e2e793d9b43926b5a315fd8a052de2280394b63026ccff5acf3f1f3f84b10c8
MD5 77b5cd430aab523cc7d0badccfcb65ae
BLAKE2b-256 33123784f3ed0bdc5ee77667f8b78f6fde894c1f80d6d1fd55d0ec50c3d5162e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.76-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c75218b014dd756dfcdc87c90a8d2cc2ea2038a8fc833144878252f43089fcd3
MD5 90ce9dfc1dc9794ec268d1586c2d06b3
BLAKE2b-256 141e65d593ab1b753a5019d52436951d1126dc7fb7e68fc876b40533d985ba7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.76-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d4f3638f1aae989cb6047dfa5313546cae0f542e14fdab40c7802bdc4bf87535
MD5 324f5c090b8743a09bf46e31114f15f5
BLAKE2b-256 97ef6d86b4f20a9fcca7cea9ace731c28c433c9afd5c05071551b803af3b2ca6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.76-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 988224d13509eb08071b496e6b968db8bdc358a66a7a0733cfbf80c0558b438d
MD5 9538001507a1734afac3a238b17f2100
BLAKE2b-256 39cf551ef0f4f04d5a3875c01501fdbcbdf77a6873c37d021fb19df08a8b4775

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.76-py3-none-manylinux_2_17_s390x.whl
Algorithm Hash digest
SHA256 08fe6bc7da26e7ac30524aad96dee635a22bd96d9ccf1d5df3d7e9e73d19fbe0
MD5 66328882f920459fabb62614ef8d288f
BLAKE2b-256 2d7225c4d0d560d59d74da9dd666ddb23fdce40757a4aa1f2a884071a73eaf10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.76-py3-none-manylinux_2_17_ppc64le.whl
Algorithm Hash digest
SHA256 f282986454fb683f1730431b7982dae1e7e13bf83c589f5351f385038aaaa64c
MD5 cf3c48b136221345ab210672f052eca5
BLAKE2b-256 a721e26c7b14e948d2ef98227ad41cfb37662ebcb661cc0c329aac4ccf70e614

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.76-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 ee905411c6dfd1e8ef91625b6a1678ab3dbe068c6581ad95f85d97c37e27f74b
MD5 1153b38bf0985a46343eef1626510efc
BLAKE2b-256 74e673df8ca7742ae72cbfb341b281856ec73cce91116ba7b8f8634c30f790c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.76-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 447969b9c2cfd4f0f754b9e872e79f9e3786b6d95c6eeb29eb2234cb2a81a067
MD5 bd7c9e209c8757ec38b3d3625b550035
BLAKE2b-256 36c434212db452bd348959067af8983a6851fea4f29d3697317c49b2a8ca5078

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mothx_installer-1.1.76-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 61d1e102b6f4357f4a47a9709b46ff9d80ece98351ee926edfb2070e5ca85962
MD5 c1100e222962d3575b6a428c308163fa
BLAKE2b-256 a7e2b89206f0b2100135fa025f2ddef5d639bf6314918b825d4419708de9c0ad

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