GoldenRetriever Examples
GoldenRetriever is the reference for a real Hub type pack. It is not a second runtime — the runtime is retriever-core, imported as retriever. GoldenRetriever is a maintained example repo whose pyproject.toml carries a [tool.retriever.module] manifest, so its robot-facing payloads load through the same hub.use(...) path as any other module.
Load GoldenRetriever exports through Hub
Section titled “Load GoldenRetriever exports through Hub”The module name is retriever_typing; its manifest exports the applied types and their Arrow conversions:
Until the public index and repo are live, that networked call returns HUB_MODULE_NOT_FOUND. The proof below loads the identical manifest through the real loader today.
Local source proof
Section titled “Local source proof”From a GoldenRetriever source checkout, run the pack smoke:
The smoke reads the repo’s own [tool.retriever.module] manifest and loads it through retriever.hub’s loader — the same code path a networked hub.use runs after the download step. The namespaced Registry WorldState line is the commit-scoped import namespace the loader assigns; Arrow round-trip: Action OK confirms an Action payload survives convert_to_arrow → convert_from_arrow unchanged.
That round-trip is the point: the cross-version contract for a GoldenRetriever payload is its registered schema and serialization behavior, not Python class identity. Pin one ref per app and rely on the schema, not the class object.
What belongs in a GoldenRetriever pack
Section titled “What belongs in a GoldenRetriever pack”Put a payload or helper here when it is useful across robot examples but not universal enough for the runtime standard library:
- world and belief state envelopes
- skill, plan, trajectory, and execution-status payloads
- Arrow conversions for robot-facing payloads
- domain examples that compose runtime standard types
Canonical, broadly reusable primitives stay in retriever.types.*. GoldenRetriever packs compose those types; they never redefine them.
Next step
Section titled “Next step”- Run
pixi run demo-golden-hub-packfrom a GoldenRetriever checkout to reproduce the output above. - Open the first GoldenRetriever proof, then the GoldenRetriever example catalog.
- Read Hub packs and modules for the general ref shape and Publishing to expose your own pack this way.
Only manifest-declared exports are Hub-loadable. Promoted demos stay source-checkout examples until they are exported, versioned, smoke-tested, and indexed.
