Two audiences for one tool
So we rebuilt it to make it work for both audiences at once. [1]
How the tool decides who is asking
When hf auto-detects agent use (via the environment variables mentioned above), it renders the same command differently. [2]
What each side receives
A human gets an aligned table, truncated to fit the terminal, plus a hint on how to see more, with color cues for status (a green ✓ on success, red on error). [3]
An agent gets the complete record as TSV: full repo ids, full ISO timestamps, every tag, no ANSI codes, nothing truncated, clean to parse and light on tokens. [4]
Sources
- The Hugging Face source says: So we rebuilt it to make it work for both audiences at once. Designing the hf CLI as an agent-optimized way to work with the Hub
- The Hugging Face source says: When hf auto-detects agent use (via the environment variables mentioned above), it renders the same command differently. Designing the hf CLI as an agent-optimized way to work with the Hub
- The Hugging Face source says: A human gets an aligned table, truncated to fit the terminal, plus a hint on how to see more, with color cues for status (a green ✓ on success, red on error). Designing the hf CLI as an agent-optimized way to work with the Hub
- The Hugging Face source says: An agent gets the complete record as TSV: full repo ids, full ISO timestamps, every tag, no ANSI codes, nothing truncated, clean to parse and light on tokens. Designing the hf CLI as an agent-optimized way to work with the Hub