{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/2"}],"enrichment":{"capability":"A CLI tool for discovering endpoints and sending predictions to Gradio apps hosted on Hugging Face Spaces, with built-in support for file uploads and private spaces.","skillfed_tags":["gradio-integration","cli-tool","ai-agent-friendly"],"use_cases":["Discover available endpoints and parameter schemas for a Gradio Space before writing client code.","Send predictions to image generation or data processing Gradio apps from shell scripts or CI/CD pipelines.","Enable AI agents to autonomously discover and call Gradio APIs by parsing the JSON schema output.","Upload files to Gradio endpoints that accept file inputs, with automatic metadata formatting.","Access private Gradio Spaces using HF authentication tokens from the command line."],"what_it_does":"hf-gradio is a command-line interface for interacting with Gradio applications running on Hugging Face Spaces. It provides two main commands: `info` returns a JSON schema describing all available endpoints, their parameters (with types, defaults, and requirements), and return values; `predict` sends JSON payloads to those endpoints and returns results. The tool handles file uploads by requiring a specific metadata structure and supports authentication via HF tokens for private spaces. It's designed to be agent-friendly, with schemas structured so that AI coding agents can discover APIs and construct valid payloads programmatically.\n\nThe package depends on gradio-client for API communication and typer for CLI argument parsing. It requires Python 3.10 or later. The tool works both as a standalone CLI command and integrates with the Gradio package when installed, exposing `gradio info` and `gradio predict` subcommands.","worth_installing":"Yes, if you need to interact with Gradio Spaces from the command line or want to integrate them into scripts and agent workflows. The tool is actively maintained, has low install friction, and carries no security vulnerabilities. The MIT license poses no restrictions. However, the project is very new (first release in March 2026) with minimal community adoption (3 GitHub stars), so expect possible API changes and limited third-party documentation."},"id":"hf-gradio","links":{"html":"https://skillfed.io/packages/hf-gradio","md":"https://skillfed.io/packages/hf-gradio.md","pypi":"https://pypi.org/project/hf-gradio/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-17","license_spdx":"MIT","license_treatment":"permissive","name":"hf-gradio","python_support":"supports_current","summary":"An extension of the Hugging Face CLI for interacting with Gradio Spaces and Apps."},"popularity":{"monthly_downloads":3931311,"position":2446,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.4.1"}
