Skip to main content

🤗 hf-bot

PyPI version License: MIT

An intelligent, multi-provider agentic CLI playground for the Hugging Face Ecosystem. Instead of acting as a rigid shortcut router, hf-bot functions as an interactive co-pilot capable of executing local system operations, pulling real-time repository telemetry, checking disk capacity, and maintaining stateful multi-turn developer sessions.


🛑 About

  1. diskspace (Preventing Storage Crashes): Stops you from downloading a model that will crash your hard drive halfway through. It checks the remote model size against your remaining local storage before you download.
  2. vibecheck (Evaluating Project Activity): Checks monthly downloads, community likes, and lifecycle metrics so you can immediately see if a model is vibrant and maintained or a dormant archive.
  3. peek (Inspecting Model Architecture): Avoids downloading heavy model weights just to check basic parameters. It instantly snatches and parses the remote config.json to show context windows, attention heads, and model classes.

Installation

pip install hf-bot

For local development mode and contributions:

git clone [https://github.com/kuyesu/hf-tool.git](https://github.com/kuyesu/hf-tool.git)
cd hf-bot
pip install -e .

Usage & Commands

Open hf-bot CLI

Omit string arguments or use the start target keyword to drop directly into a stateful interactive REPL environment loop:

hf-bot
# OR
hf-bot start

1. diskspace

Pass a Huggingface repository path (<repo_id>) to check its total weight footprint against your available local storage space:

hf-bot diskspace EleutherAI/gpt-j-6b

Storage Assessment

2. vibecheck

Pass a Huggingface repository ID (repo_id) to evaluate monthly usage trends, community traction, and lifecycle milestones:

hf-bot vibecheck EleutherAI/gpt-j-6b

Vibe Check

3. peek

Pass a Huggingface model identifier (<model_id>) to fetch and parse its metadata parameters instantly:

hf-bot peek gpt2

Structural Architecture Peek

Environment Setup

hf-bot is entirely model-agnostic and will seamlessly fall back depending on the environment variables exported in your terminal profile session.

Bash

To run via flagship cloud APIs (e.g., xAI Grok-4.3 Engine)

export XAI_API_KEY="your-grok-api-key"

To run via entirely FREE, local offline architectures (e.g., Ollama / LM Studio)

export LOCAL_MODEL_URL="http://localhost:11434/v1" export LOCAL_MODEL_NAME="llama3" # Or your chosen local tool-calling weight base

Private & Gated Repositories

If a repository requires authentication, hf-bot securely prompts for your Hugging Face token and saves it locally:

🔒 Authentication Needed
Enter your Hugging Face Access Token (input will be hidden): ············
✓ Success! Token validated and saved locally.

Uninstallation

pip uninstall hf-bot

License

MIT

Metadata

Release files for hf-bot 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hf-bot 0.3.0
File Size Uploaded Provenance Actions
hf_bot-0.3.0.tar.gz 13.1 kB Without provenance Details for hf_bot-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hf-bot 0.3.0
File Interpreter ABI Platform Actions
hf_bot-0.3.0-py3-none-any.whl Python 3 none any Details for hf_bot-0.3.0-py3-none-any.whl

Total release size: 26.9 kB

Release files / hf_bot-0.3.0.tar.gz

Download URL hf_bot-0.3.0.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d04ca55eb9cffb3f2f0e078e21cf27a1a67cbd26d7164cef18ff406aae77dce7
BLAKE2b-256 checksum
How to use checksums
922947a4365349d95fd5ec2d495dda8da32d0fc3221289491886df31f6a01d9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / hf_bot-0.3.0-py3-none-any.whl

Download URL hf_bot-0.3.0-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a9072ebfce75d48a8fe21c5c1d53f4cedf8016eb8d6e01ef4bb2d698918b14a
BLAKE2b-256 checksum
How to use checksums
607dfc4f9a36068557ccf93ef47de02b09c36faa354cb323705faddeec969810
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for hf-bot 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page