{"schemaVersion":"opencli.cli.v1","slug":"pgcli","name":"pgcli","shortName":"pgcli","binaryName":"pgcli","maker":{"slug":"dbcli","name":"dbcli","type":"small-team","url":"https://www.dbcli.com","officialPlatformMaker":false,"featuredBuilder":false},"category":"Database","description":"Postgres shell, autocomplete, and readable results from the terminal. Built by dbcli.","tagline":"Postgres shell, autocomplete, and readable results from the terminal.","install":{"packageManager":"pipx","command":"pipx install pgcli","packageName":null,"npmPackage":null,"brewFormula":"pgcli","brewCask":null,"crateName":null,"pypiPackage":"pgcli","goPackage":null,"dockerImage":null},"verify":{"command":"pgcli --version","signal":"pgcli responds locally and is ready for the first real command."},"quickStart":"pgcli postgres://localhost/postgres","exampleWorkflow":["pgcli postgres://localhost/postgres"],"agent":{"readiness":{"label":"Human-first CLI","score":0,"reasons":[],"guardrails":["Prefer small commands and ask the agent to summarize plain text output.","Expect prompts; keep a human in the loop for interactive flows.","Require confirmation before apply, delete, deploy, transfer, merge, or write actions."]},"packUrl":"https://opencli.co/cli/pgcli/agent.md","packMarkdown":"# OpenCLI Agent Pack: pgcli\n\nUse this when an AI agent needs to work with `pgcli`.\n\n## What this CLI is for\nPostgres shell, autocomplete, and readable results from the terminal. Built by dbcli.\n\nBest for: postgres shell, autocomplete, and readable results from the terminal.\n\n## Agent readiness\nHuman-first CLI (0/100)\n\n\n## Install\n```sh\npipx install pgcli\n```\n\n## Verify before real work\n```sh\npgcli --version\n```\nExpected signal: pgcli responds locally and is ready for the first real command.\n\n## Safe starting commands\n```sh\npgcli --version\n```\n\n```sh\npgcli postgres://localhost/postgres\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n- Expect prompts; keep a human in the loop for interactive flows.\n- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.\n\n## Suggested agent instruction\nYou may use pgcli (`pgcli`) for postgres shell, autocomplete, and readable results from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"postgres shell, autocomplete, and readable results from the terminal.","useThisIf":"You work with databases and want a fast terminal interface.","skipIf":"You need fully non-interactive usage for CI.","whatHappensNext":"Run `pgcli postgres://localhost/postgres` and see what comes back."},"capabilities":{"agentFriendly":false,"supportsJsonOutput":false,"supportsNonInteractive":false,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":false,"localFirst":false,"destructivePotential":"high"},"taxonomy":{"useCases":["Postgres shell","Autocomplete","Readable results"],"aliases":["postgres cli"],"keywords":["postgres sql shell"],"tags":["builder"]},"links":{"website":"https://www.pgcli.com","github":"https://github.com/dbcli/pgcli","docs":"https://www.pgcli.com/docs","opencli":"https://opencli.co/cli/pgcli","markdown":"https://opencli.co/cli/pgcli/agent.md","json":"https://opencli.co/cli/pgcli.json"},"metrics":{"githubStars":13205,"latestRelease":"2026-06-03T01:18:07Z","license":"BSD-3-Clause","metricLabel":"Homebrew installs (30d)","metricValue":1548,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:49.441Z"}}