Skip to content

Conversation

@Wauplin
Copy link
Contributor

@Wauplin Wauplin commented May 21, 2025

As discussed offline, this PR moves the curated collection of tiny-agents to the Hub. Agents must now be contributed to https://huggingface.co/datasets/huggingface/tiny-agents. This will be helpful to maintain the collection independently from the @huggingface/tiny-agents releases. It also makes them available for the incoming Python equivalent (huggingface/huggingface_hub#3098).

File resolution is still the same:

  1. if agent_id is a file => load it as a agent.json file
  2. if agent_id is a directory => load from it
  3. if agent_id is a subdirectory in https://huggingface.co/datasets/huggingface/tiny-agents/tree/main => load from it
  4. otherwise raise exception

Usage is still:

npx @huggingface/tiny-agents run "julien-c/flux-schnell-generator"

Copy link
Member

@julien-c julien-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it!! thanks! 🔥

Copy link
Collaborator

@evalstate evalstate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice. I have it in mind that we should also be able to add these to the HF tool server...

@Wauplin Wauplin merged commit b20d7c5 into main May 27, 2025
5 checks passed
@Wauplin Wauplin deleted the load-tiny-agents-from-hub branch May 27, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants