# Hugging Face Spaces

> Canonical: https://skillalmanac.com/glossary/hugging-face-spaces | Last verified: 2026-11-25 | Index status: index-eligible

Hugging Face Spaces is a Hub feature for creating and deploying machine-learning demos with Gradio, Docker or static HTML.

Also called: Hugging Face Space.

## In plain language

A Hugging Face Space is a repository-backed web demo on the Hugging Face Hub. Its creator chooses Gradio, Docker or static HTML, pushes application files, and the Space rebuilds after new commits. Public, protected and private visibility settings provide different access to source code and the running app. Static Spaces and compute-backed Spaces have different plan requirements, so readers should check the current overview before choosing an SDK or account plan.

## Technical definition

Spaces stores application code in git repositories and rebuilds and restarts a Space after a pushed commit. The documented SDK choices are Gradio, Docker and static HTML. Static Spaces are available without compute, while creating compute-backed Gradio or Docker Spaces requires a paid plan; eligible free personal accounts have a limited ZeroGPU Gradio allowance. CPU Basic is the default compute environment for applicable compute-backed Spaces, and other hardware can be selected. Variables and secrets are configured separately in repository settings.

## How it shows up when you use agents

Hugging Face Spaces is a Hub feature for creating and deploying machine-learning demos. A Space is backed by a git repository containing the application files. When a new commit is pushed, Hugging Face documents that the Space rebuilds and restarts. The creator selects one of three SDK options: Gradio, Docker or static HTML.

For an agent project, a Space can provide the web interface around a model-backed workflow. For example, an agent can help write a Gradio chatbot interface, after which the developer reviews the code and places it in a Gradio Space repository. The supplied Gradio skill is relevant to constructing that interface, but it does not create the repository, select the account plan or prove that the deployed application works.

Check the execution model before publishing. Static Spaces do not use the same compute-backed setup as Gradio and Docker Spaces. The current Hugging Face overview says that creating compute-backed Gradio or Docker Spaces requires a paid plan, with a limited ZeroGPU Gradio allowance for eligible free personal accounts. It describes CPU Basic as the default environment for applicable compute Spaces and lists optional hardware upgrades. These conditions can change, so the current documentation—not a fixed price or old free-tier assumption—should guide the decision.

Also choose visibility deliberately. Public Spaces expose their source repository and running app and can be cloned. Protected Spaces keep source private while allowing access to the running app through its embed URL or configured domain. Private Spaces restrict both source and application access to the owner and collaborators. Put sensitive credentials in repository secrets rather than code.

## Common confusions

- **Spaces versus models.** A Space is an application repository and hosted interface. It may use a model, but it is not itself a downloadable model.
- **Spaces versus the model hub.** Model and dataset repositories store artifacts; Spaces store and run application code.
- **Gradio versus Spaces.** Gradio is a UI library and a supported Space SDK. Spaces is the hosting feature.
- **Public source versus model licensing.** Public Space code is visible, but that does not establish the license or availability of every model or external service the app uses.

## Worked examples in this catalogue

### [huggingface-gradio](https://skillalmanac.com/skills/huggingface/huggingface-gradio)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Illustrative workflow: build a Gradio interface or chatbot UI in Python that can become the application code for a Gradio Space.

Why it exercises the concept: Gradio is one documented Space SDK, so the skill directly helps create the interface a Space can host. It does not create the Hub repository, choose a plan or deploy the app by itself.

## Related terms

- [Hugging Face](https://skillalmanac.com/glossary/hugging-face.md)
- [Model hub](https://skillalmanac.com/glossary/model-hub.md)
- [AI model](https://skillalmanac.com/glossary/ai-model.md)
- [GPU for AI](https://skillalmanac.com/glossary/gpu-for-ai.md)

## Sources

- [Spaces Overview](https://huggingface.co/docs/hub/spaces-overview), Hugging Face (accessed 2026-11-25)
- [Using Hugging Face Integrations](https://www.gradio.app/guides/using-hugging-face-integrations), Gradio (accessed 2026-11-25)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
