{"schemaVersion":"opencli.cli.v1","slug":"harlequin","name":"Harlequin","shortName":"harlequin","binaryName":"harlequin","maker":{"slug":"tconbeer","name":"Ted Conbeer","type":"individual","url":"https://github.com/tconbeer","officialPlatformMaker":false,"featuredBuilder":true},"category":"Database","description":"A SQL IDE for DuckDB, SQLite, and Postgres in the terminal. Built by Ted Conbeer. Start with `harlequin` and go from there. Runs entirely on your machine.","tagline":"A SQL IDE for DuckDB, SQLite, and Postgres in the terminal.","install":{"packageManager":"brew","command":"brew install harlequin","packageName":null,"npmPackage":null,"brewFormula":"harlequin","brewCask":null,"crateName":null,"pypiPackage":"harlequin","goPackage":null,"dockerImage":null},"verify":{"command":"harlequin --version","signal":"harlequin responds locally and is ready for the first real command."},"quickStart":"harlequin","exampleWorkflow":["harlequin","harlequin --adapter sqlite","harlequin --help"],"agent":{"readiness":{"label":"Human-first CLI","score":10,"reasons":["Can run locally with less credential exposure."],"guardrails":["Prefer small commands and ask the agent to summarize plain text output.","Expect prompts; keep a human in the loop for interactive flows.","Start read-only, then ask before mutations."]},"packUrl":"https://opencli.co/cli/harlequin/agent.md","packMarkdown":"# OpenCLI Agent Pack: Harlequin\n\nUse this when an AI agent needs to work with `harlequin`.\n\n## What this CLI is for\nA SQL IDE for DuckDB, SQLite, and Postgres in the terminal. Built by Ted Conbeer. Start with `harlequin` and go from there. Runs entirely on your machine.\n\nBest for: Exploring local SQL visually when a prompt-only shell is too cramped.\n\n## Agent readiness\nHuman-first CLI (10/100)\n- Can run locally with less credential exposure.\n\n## Install\n```sh\nbrew install harlequin\n```\n\n## Verify before real work\n```sh\nharlequin --version\n```\nExpected signal: harlequin responds locally and is ready for the first real command.\n\n## Safe starting commands\n```sh\nharlequin --version\n```\n\n```sh\nharlequin\n```\n\n```sh\nharlequin --adapter sqlite\n```\n\n```sh\nharlequin --help\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- Start read-only, then ask before mutations.\n\n## Suggested agent instruction\nYou may use Harlequin (`harlequin`) for exploring local sql visually when a prompt-only shell is too cramped.. 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":"Exploring local SQL visually when a prompt-only shell is too cramped.","useThisIf":"You want a terminal SQL IDE, especially for DuckDB, not just a REPL.","skipIf":"You need a scriptable, non-interactive SQL CLI — use DuckDB or pgcli instead.","whatHappensNext":"Run `harlequin --adapter sqlite` to see it in action."},"capabilities":{"agentFriendly":false,"supportsJsonOutput":false,"supportsNonInteractive":false,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":false,"localFirst":true,"destructivePotential":"medium"},"taxonomy":{"useCases":["SQL IDE","DuckDB","Schema browsing"],"aliases":["sql ide","duckdb ide"],"keywords":["duckdb sqlite postgres textual sql"],"tags":["builder","local-first"]},"links":{"website":"https://harlequin.sh","github":"https://github.com/tconbeer/harlequin","docs":"https://harlequin.sh","opencli":"https://opencli.co/cli/harlequin","markdown":"https://opencli.co/cli/harlequin/agent.md","json":"https://opencli.co/cli/harlequin.json"},"metrics":{"githubStars":6398,"latestRelease":"2026-09-02T19:41:17Z","license":"MIT","metricLabel":null,"metricValue":null,"metricSource":null,"metricAsOf":"2026-09-14"}}