-
Notifications
You must be signed in to change notification settings - Fork 0
AI Agents
Berkay Günaydın edited this page Aug 6, 2026
·
1 revision
propq is AI-agent ready by design: stable JSON output, a self-contained skill, and a single-binary install with no daemons.
Agents should always pass --json for structured, parseable output:
propq --json --sql "SELECT COUNT(*) FROM users" -s local # structured result
propq servers --json # server inventory
propq --json --dry-run --sql "DROP TABLE x" -s local # safe preflight
propq --json --csv --sql "SELECT * FROM users" -o users.csv # export
propq --history # recent queries
propq --json -s "www1|www6" --sql "SELECT version()" --stream # live streamingEach element of the result array:
{
"server": "prod-eu-1",
"database": "shop_main",
"status": "OK",
"rows": { "columns": ["id"], "rows": [["1"]] },
"affected": 0,
"elapsed": "12.3ms"
}-
status:OK|ERR|SKIP -
rowspresent only for SELECTs; values are always strings -
errorpresent only when status isERR
Full details: Output-Formats
propq embeds a SKILL.md that teaches agents (Hermes, Claude Code, etc.) how to use it correctly:
propq skill installThis writes ~/.hermes/skills/software-development/propq/SKILL.md so agent tooling can discover propq and follow its conventions — including the always---json rule and the safety flags.
propq skill show # print the embedded skill
propq skill install -u # regenerate from the repo's source SKILL.md first-
--jsonon every query -
--dry-runbefore anything destructive -
--forceonly when the user explicitly approves a destructive statement -
--no-confirmonly when target scope is already pinned down - Check
propq config checkfirst if connections are failing - Prefer
propq servers --jsonfor inventory instead of parsing config by hand
- Single ~10 MB binary, no server, no daemon, no lock files
- Deterministic JSON schema stable across versions
-
--dry-run+--json= side-effect-free planning -
-N/--no-outputfor pure status signals -
-o FILEto persist results for later processing
Next: Development
This wiki is community-maintained. Found something outdated? Open an issue on the repository.
propq — Async SQL executor for MySQL/MariaDB
- Home
- Installation
- Getting-Started
- Configuration
- CLI-Reference
- Output-Formats
- Safety
- Examples
- AI-Agents
- Development
External links