Next steps
Current milestone
V2 validates private Space creation and live Gradio API validation.
Phase 3 β Pi inside the Job
Add Pi as the first agentic runtime:
HF Job
β install Pi
β configure HF Inference Providers
β give Pi a simple goal
β let Pi modify the generated hello Space
β upload files
β validate live API
β collect Pi traces from ~/.pi/agent/sessions
β copy raw/private traces into the Bucket
The first Pi task should be deliberately small:
Improve the title/description/examples of the generated Gradio app.
Do not change the function signature.
Do not mark success until the live Gradio API test passes.
Phase 4 β Apply the gist recipe
Give Pi a goal close to the article:
Read the HF Spaces Agent Quickstart gist.
The deployed Space is your AI lab.
Use hf CLI / Hub API.
Read logs before patching.
Verify through gradio_client.
Do not declare success until live API validation passes.
Phase 5 β First model-card template
Add one narrow model family, ideally a simple Transformers pipeline or a standard Diffusers text-to-image model.
Phase 6 β ZeroGPU
Add a ZeroGPU-specific Gradio template with @spaces.GPU only around inference.
Phase 2.1 fix
This version fixes private Space validation with gradio_client>=2.0.0, whose
Client constructor uses token= instead of hf_token=. The worker now uses
signature introspection so older/newer versions can still work. Bucket events
are also printed to stdout so HF Job logs are readable while the worker runs.