BugX
Version 0.9.14
BugX 是一个给 AI 编程宿主使用的 Bug 审计 Agent。它负责规划测试、检查证据、确认问题并生成报告;真正的代码阅读和命令执行仍由 AI 宿主完成。
使用
准备好 bugx 命令后,进入要审计的项目目录,发现可用的 AI 宿主并启用 BugX:
bugx agent discover --root . --json
bugx install --root .
也可以指定宿主:
bugx install --root . \
--agent opencode --agent codex --agent claude --agent cline \
--agent zcode --agent pi --non-interactive
安装后,在对应宿主中选择 BugX,然后让它审计当前项目。例如:
- OpenCode:输入
@bugx - Claude Code:选择
bugxAgent - Codex:选择
bugxSkill - Pi:使用
.pi/skills/bugx/SKILL.md
常用命令
# 检查安装
bugx doctor --root . --installation-only
# 启动本地 MCP Supervisor(宿主需要时使用)
bugx mcp serve --root . --role host
# 查看帮助和版本
bugx --help
bugx --version
审计结果和运行状态默认保存在项目的 .bugx/ 目录中。不要把其中可能包含项目代码片段的文件提交到公开仓库。
卸载
只移除当前项目中的 BugX:
bugx uninstall --root .
执行前可先用 --dry-run 查看将要删除的内容。
开发
每次提交代码都必须同步更新受影响文档并递增补丁版本;需要跨补丁版本变更时,显式使用 --confirm-version-transition。
python3 -m unittest -q tests.test_jenkinsfile tests.test_consistency
python3 scripts/bump_version.py --check
Metadata
Release files for bugx-agent 0.9.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bugx_agent-0.9.14.tar.gz | 1.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bugx_agent-0.9.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.1 MB
Release files / bugx_agent-0.9.14.tar.gz
| Download URL | bugx_agent-0.9.14.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
753565813835c064ebe1288fd5301ee478f60fe2ead33d908deca462d6e89965
|
|
BLAKE2b-256 checksum How to use checksums |
93100b21dced640ff98c0cfbda731b2d032b1ca8da38d877f329da6d6c8578ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / bugx_agent-0.9.14-py3-none-any.whl
| Download URL | bugx_agent-0.9.14-py3-none-any.whl |
|---|---|
| Size | 835.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6b1ec1f1ee35867b7bfb893a201c98cd0dd66692380d1a20006478621c8b722
|
|
BLAKE2b-256 checksum How to use checksums |
40e38862beac3160e38c0f0f396c871ff65da7debdfd9d56a30cac69f59ddb9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|