Perplexity Releases pplx, a Single-Binary CLI That Puts Its Search API in the Terminal for Coding Agents Perplexity released pplx, an official single-binary command line client for its Search API that returns grounded search results and extracted page text as JSON, targeting both humans and coding agents. The tool exposes two commands — pplx search web and pplx content fetch — with a strict output contract: exit code 0 and one JSON object on stdout for success, or exit code 1 with a JSON error on stderr for failure. Perplexity charges $5.00 per 1,000 requests with a 50 QPS cap across all usage tiers. Perplexity https://www.perplexity.ai/ has released pplx , an official command line client for its Search API. The tool returns grounded search results and extracted page text, all as JSON. According to its docs, it targets humans and coding agents equally. It is not a chat client. There is no conversational mode, no model selection and no synthesized answer. Two surfaces, one output contract The tool exposes exactly two working surfaces. pplx search web runs a live web search. pplx content fetch pulls a URL and returns cleaned page text. The contract around them is the interesting part. Per the official pplx-cli Agent Skill https://github.com/perplexityai/api-platform-developers/blob/main/skills/pplx-cli/SKILL.md , success means exit code 0 and exactly one JSON object on stdout. Search returns {hits: {url, title, domain, snippet, ...} , total, saved to?} .Every failure exits 1 with an empty stdout. One JSON error object goes to stderr, shaped {"error":{"code","message","command","hint"?}} . Documented codes include AUTHENTICATION , UNKNOWN ARGUMENT , ARGUMENT ERROR and BAD REQUEST . The skill notes that list is not exhaustive, so callers should branch on error.code . Install path and platform support Installation is a single shell command that pipes a script into sh : curl -fsSL https://github.com/perplexityai/perplexity-cli/releases/latest/download/install.sh | sh Reading install.sh https://github.com/perplexityai/perplexity-cli/blob/main/install.sh shows what it actually does. It downloads manifest.json from the latest release and extracts the tag and version. It then pins every remaining download to that tag, explicitly to avoid racing a concurrent publish.It fetches SHA256SUMS and the platform binary, verifies the checksum, and installs to ~/.local/bin/pplx . No sudo is required. A receipt is written to ~/.config/pplx/pplx-receipt.json , but only after the installed binary runs successfully. Platform coverage is limited to three targets: macOS on Apple Silicon, Linux x86 64 and Linux arm64. Anything else exits with an error. There is no Windows build and no Intel macOS build. Context-window economics are a first-class design concern The most agent-specific feature is token budgeting. --output-dir writes the full result set to a JSON file. --stdout-preview =