BugX
Version 0.9.13
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.13
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.13.tar.gz | 1.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bugx_agent-0.9.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.1 MB
Release files / bugx_agent-0.9.13.tar.gz
| Download URL | bugx_agent-0.9.13.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c9c6dbe27a94f840b095bf3eeae00bceb44f31eb1404de195dec02f02980c29
|
|
BLAKE2b-256 checksum How to use checksums |
8acb710d2cc50857c3ebc0df9458192c2de78868ea0b8119c98a4b26693fd601
|
| 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.13-py3-none-any.whl
| Download URL | bugx_agent-0.9.13-py3-none-any.whl |
|---|---|
| Size | 835.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8a35f23aa83a19444df36efe6696963349800b532a2fc81b1d6c0fa0502e246
|
|
BLAKE2b-256 checksum How to use checksums |
dde41fb0284dafeea4e8e38bf9425196b532d388bc2f847cc8e875d7187b791c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|