Close Menu
NCIJ Network NCIJ Network
    What's Hot

    Dior rebound helps LVMH’s fashion business return to growth

    July 27, 2026

    I’m recommending this 14-inch HP laptop to almost everyone in 2026 – even with the RAM crisis

    July 27, 2026

    Beelzebub Raises $3.4 Million for Hacker-Trapping Platform

    July 27, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Dior rebound helps LVMH’s fashion business return to growth
    • I’m recommending this 14-inch HP laptop to almost everyone in 2026 – even with the RAM crisis
    • Beelzebub Raises $3.4 Million for Hacker-Trapping Platform
    • Uphold reduces global headcount by 17% amid enterprise pivot
    • Scientists reveal what sparkling water really does to your teeth
    • Australia’s ‘largest untapped’ conventional gas resource gets significant project status
    • Five things to know as data centers spread across rural America 
    • The Fight for International Justice Continues
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Monday, July 27
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Artificial Intelligence

    Perplexity Releases pplx, a Single-Binary CLI That Puts Its Search API in the Terminal for Coding Agents

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKJuly 27, 2026 Artificial Intelligence No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Perplexity 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, 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 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[=] truncates long string fields in stdout, adding ... markers.

    The skill is blunt about the trap: --stdout-preview is a no-op without a save directory. It truncates only when the result is also saved via --output-dir or $PPLX_OUTPUT_DIR. Used alone it returns full-size output, and hits can be multiple KB each.

    Saved search results land at {dir}/web/{rand}.json and fetches at {dir}/fetch/{rand}.json. Files are written only after a successful request. PPLX_OUTPUT_DIR sets a workspace default so the flag need not be repeated.

    For content fetch, the skill adds a correctness check rather than a cost one. Verify error and is_paywall in the output before trusting content. --html adds a raw_html field fetched live via crawler, and --no-cache forces a live fetch.

    Key Takeaways

    • pplx is a single verified binary exposing two commands: pplx search web and pplx content fetch.
    • Success is exit 0 plus one JSON object on stdout; failures put one JSON error object on stderr.
    • pplx auth login is TTY-only, so agents and CI must export PERPLEXITY_API_KEY.
    • --stdout-preview only truncates when paired with --output-dir or $PPLX_OUTPUT_DIR.
    • Search API billing is $5.00 per 1,000 requests, capped at 50 QPS on every usage tier.

    Sources: perplexityai/perplexity-cli, pplx-cli SKILL.md, api-platform-developers, Perplexity API pricing, Rate limits and usage tiers, and Search API quickstart


    Michal Sutter is a data science professional with a Master of Science in Data Science from the University of Padova. With a solid foundation in statistical analysis, machine learning, and data engineering, Michal excels at transforming complex datasets into actionable insights.

    Agents API CLI Coding Perplexity pplx puts Releases search SingleBinary Terminal
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Designing Skill-Driven Financial Analysis Agents with Claude, Python, MCP Connectors, and Automated Deliverables

    Shadow AI agents are multiplying. Here’s how to find and secure them.

    America’s AI Investment Boom Is Reshaping the Economy

    Coinbase CEO Touts AI Agents Driving Crypto Adoption

    How AI is shortening drug discovery timelines in China

    Black Forest Labs Releases FLUX 3: A Multimodal Flow Model for Image, Video, Audio and Robot Action Prediction

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Dior rebound helps LVMH’s fashion business return to growth

    July 27, 2026

    I’m recommending this 14-inch HP laptop to almost everyone in 2026 – even with the RAM crisis

    July 27, 2026

    Beelzebub Raises $3.4 Million for Hacker-Trapping Platform

    July 27, 2026

    Uphold reduces global headcount by 17% amid enterprise pivot

    July 27, 2026
    Latest Posts

    The Western Myth of Russian Greatness – Foreign Policy

    July 21, 2026

    Defence stocks rally as John Healey appointed chancellor; UK borrows less than expected in June – business live | Business

    July 21, 2026

    You Pay for Internet Service in Empty Buildings on Alaska’s Adak Island — ProPublica

    July 21, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    Dior rebound helps LVMH’s fashion business return to growth

    July 27, 2026

    I’m recommending this 14-inch HP laptop to almost everyone in 2026 – even with the RAM crisis

    July 27, 2026

    Beelzebub Raises $3.4 Million for Hacker-Trapping Platform

    July 27, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.