-
Notifications
You must be signed in to change notification settings - Fork 0
Examples
Run a read-only audit of the current directory. The planner generates steps, the executor runs them, and the verifier checks each result.
mq-agent audit .Audit a specific repo:
mq-agent audit ~/repo-signalWith JSON output (suitable for CI or piping):
mq-agent audit . --jsonDry-run (plan only, no tool execution):
mq-agent audit . --dry-runAsk the planner to decompose a goal into steps using available tools:
mq-agent plan "release repo-signal"Output:
PLAN: release repo-signal
1. Run the test suite to confirm no regressions
2. Check git status for uncommitted changes
3. Read pyproject.toml to validate packaging configuration
4. Verify CHANGELOG.md is updated
5. Confirm working tree is clean
mq-agent release-planShow plan only (suggest mode, default):
mq-agent release-checkExecute checks:
mq-agent release-check --approveJSON output for CI:
mq-agent release-check --jsonPreview without executing:
mq-agent run "pytest tests/ -v" --dry-runExecute with approval:
mq-agent run "pytest tests/ -v" --approveWithout --approve, the command is shown but not run.
mq-agent fix-ciWith JSON output:
mq-agent fix-ci --jsonmq-agent repo-summary .mq-agent repo-summary ~/repo-signal --jsonmq-agent doctorChecks: OPENAI_API_KEY, git, uv, Python version, and mq-mcp availability.
When mq-mcp is running, doctor also checks whether
validate_orchestration_contract is available.
Review commands route through mq-mcp and pass findings through unchanged:
mq-agent review file README.md
mq-agent review diff
mq-agent review repo .Forward review modes to mq-mcp:
mq-agent review file mq_agent/main.py --security
mq-agent review repo . --architecture
mq-agent review diff --jsonRisk review is used only when the installed mq-mcp exposes the matching
risk_review_* tool:
mq-agent review diff --riskPreview what would be called without contacting mq-mcp:
mq-agent review file mq_agent/main.py --dry-run
mq-agent review diff --dry-run --security
mq-agent review repo . --dry-run --architecture --riskPrefer fast Class A tools (mq-mcp routes internally):
mq-agent review file mq_agent/main.py --fast
mq-agent review diff --fast --securityArchitecture context is shown automatically after review findings when
list_architecture_decisions is available in mq-mcp.
Check learn system availability:
mq-agent learn status
mq-agent learn status --jsonSearch learned patterns:
mq-agent learn search "state mutation"
mq-agent learn search "guard clauses" --jsonFetch a pattern explanation:
mq-agent learn explain p-42
mq-agent learn explain p-42 --jsonmq-agent does not implement severity scoring, architecture reasoning, risk classification, semantic retrieval, review heuristics or drift detection. It also does not extract or store learned patterns locally. Optional Ollama-backed learn extraction belongs in mq-mcp; mq-agent only surfaces read-only learn status, search and explain results.
mq-agent toolsmq-agent tuiKeyboard bindings:
-
enter— run selected command -
c— clear log -
q— quit
Quick README score and publish checklist — no AI, instant result:
mq-agent score .JSON output:
mq-agent score . --jsonScan + README score + publish checklist + AI improvement plan:
mq-agent signal .Dry-run (no AI call):
mq-agent signal . --dry-runList available YAML task workflows:
mq-agent task list
mq-agent task list --jsonPreview a task without executing:
mq-agent task run repo-audit --dry-run
mq-agent task run suggest-patches --dry-run --jsonRun a task (executes all steps via the tool registry):
mq-agent task run repo-audit
mq-agent task run suggest-patchesInspect a URL (title, description, headings, links, word count):
mq-agent browser inspect https://github.com/MCamner/mq-agentPlain-text summary:
mq-agent browser summarize https://github.com/MCamner/mq-agentVerify a GitHub release page:
mq-agent browser verify-release https://github.com/MCamner/mq-agent/releases/tag/v0.9.0
mq-agent browser verify-release https://github.com/MCamner/mq-agent/releases/tag/v0.9.0 --tag v0.9.0List available swarm configurations:
mq-agent swarm listDry-plan a swarm config (no API key, no execution):
mq-agent swarm plan audit
mq-agent swarm plan audit --jsonRun the audit swarm (read-only, no --approve needed):
mq-agent swarm run audit .Run the release-check swarm (requires --approve for write agents):
mq-agent swarm release-check .
mq-agent swarm release-check . --approveCheck memory status:
mq-agent memory status
mq-agent memory status --jsonPreview what would be uploaded (dry-run, default):
mq-agent memory buildUpload to vector store (requires explicit approval):
mq-agent memory refresh --approveDiagnose the memory environment:
mq-agent memory doctor
mq-agent memory doctor --jsonSearch mq-mcp semantic memory (requires mq-mcp v1.4.0+):
mq-agent memory search "architecture decisions"
mq-agent memory search "safety gates" --jsonStore an item in mq-mcp semantic memory (Class C write — requires --approve):
mq-agent memory store "arch-key" "Use MCPBridge for all tool routing." --approve
mq-agent memory store "arch-key" "value" --dry-runStart the local mq-mcp tool server:
mq-agent mcp startCheck status and tool counts:
mq-agent mcp status
mq-agent mcp status --jsonList available MCP tools with safety classes:
mq-agent mcp toolsStop the server:
mq-agent mcp stopRegister an external MCP server:
mq-agent mcp connect MyServer http://localhost:9000
mq-agent mcp disconnect MyServerSample output files are in docs/demo/.