This release is a pre-release and may not be stable for production use.
pip install mothx-installer==1.3.107rc1 Copy PIP instructions
Rename notice: VibeCoding is now MothX. PyPI install name: mothx-installer (pipx install mothx-installer or pip install mothx-installer).
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.
pip install mothx-installer Or with an isolated environment:
pipx install mothx-installer After installation, the mothx command is available on your PATH.
# 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:
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 # resume a specific session mothx --session # open a specific session file Sessions live in ~/.mothx/sessions/ (Linux/macOS) or %APPDATA%\mothx\sessions\ (Windows).
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.
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.
MothX uses bubblewrap for process-level isolation. Three layers of protection:
{ "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:
Compatible with SkillHub for discovering and sharing community skills.
MothX speaks Agent Client Protocol (ACP), integrating with VS Code, Zed, and JetBrains IDEs.
{ "acp.agents": { "mothx": { "command": "mothx", "args": ["acp", "--mode", "agent"] } } } JetBrains (IntelliJ, WebStorm, etc.) Go to Settings → Tools → ACP Agents and add:
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.
Enable sub-agent delegation and cron workflows:
mothx --multi-agent Sub-agent tools: subagent_spawn, subagent_status, subagent_send, subagent_destroy.
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.
Other platforms (LoongArch64, RISC-V64, *BSD) are available via npm install -g mothx-installer or the one-line installer.
mothx doctor Checks config files, API connections, sandbox, MCP servers, sessions, and skills.
pip uninstall mothx-installer # or if you used pipx: pipx uninstall mothx-installer Links Homepage — https://github.com/oschina/mothx Documentation — https://github.com/oschina/mothx/tree/main/docs Changelog — https://github.com/oschina/mothx/blob/main/docs/en/changelog.md Issues — https://github.com/oschina/mothx/issues License — MIT Project links Documentation Homepage Repository Key dates PyPI data Data sourced directly from PyPI's database. Released: Oct 22, 2026 Stable release available (1.3.106) 1 maintainer PyPI data Data sourced directly from PyPI's database. zhenruyan Credits Author: MothX
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Enable javascript to be able to filter the list of wheel files.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




