A new project called HF Agent OS provides a multi-agent platform for managing the full Hugging Face Hub lifecycle through natural language. Built on smolagents, it utilizes a Planner and Orchestrator to route requests to specialized sub-agents for datasets, models, and deployments.

  • The system includes a Dataset Agent for searching and uploading data, a Model Agent for inference via the Inference API, and a Deployment Agent for managing Gradio Spaces.
  • A central Tool Layer using smolagents.Tool is shared across all agents to handle interactions with the Hub.
  • The Model Agent demonstrated autonomous self-correction by recovering from invalid model IDs without human intervention.
  • Safety measures enforce a preview-then-confirm pattern for any tools that create or modify real Hub resources.

The project aims to offer a reusable pattern for Hub-adjacent workflows, allowing users to inspect, run inference on, and deploy resources via natural language commands.