Hub
Purpose
Initialize and use the local-first hub that stores knowledge, lifecycle files, and optional package artifacts.
Summary
The hub is a local-first directory that stores three types of artifacts:
- know/ — distilled domain knowledge from specs, docs, and repos
- use/ — lifecycle files (install, uninstall, update, use)
- packages/ — deterministic deployment instructions
Why local-first
Everything works offline. Remote registries are optional pull/push targets. The resolution chain is: project hub → user hub → remote.
Initialize a hub
User-level hub (shared across projects)
ae hub initProject-level hub
ae hub init --projectExpected result: directory created at ~/.ae_hub/ or ./.ae_hub/ with hub.yaml, know/, use/, packages/ subdirectories.
Custom path
ae hub init --path /path/to/my-hubCheck hub status
ae hub statusExpected result: JSON with hub path, artifact counts, and remote configuration.
Human-readable:
ae hub status --humanHub structure
.ae_hub/
├── hub.yaml # Remote config and defaults
├── know/ # Knowledge packs (ae know build)
│ └── mcp/
│ ├── index.md
│ └── meta.yaml
├── use/ # Lifecycle files (ae registry get)
│ └── dart_mcp/
│ ├── ae_install.md
│ ├── ae_uninstall.md
│ ├── ae_update.md
│ └── ae_use.md
└── packages/ # Deployment instructions (optional)Sync with remote
Pull a project from remote registry
ae hub pull --library-id python_requestsDownloads all ae_use files for that project into the local hub's use/ directory.
Push local artifacts
ae hub pushGenerates instructions for contributing local artifacts back to the remote registry.
Configure remotes
Edit hub.yaml:
version: 1
remotes:
origin:
url: "https://github.com/fluent-meaning-symbiotic/agentic_executables_registry"
branch: "main"
type: "github"Resolution chain
When any command needs an artifact:
- Project hub (
./.ae_hub/) — highest priority - User hub (
~/.ae_hub/) — shared across all projects - Remote — fetched on demand only
Common failure modes
hub_not_found
Cause: no hub at project or user level.
Recovery:
ae hub inithub_init_failed
Cause: permission issue or invalid path.
Recovery: check filesystem permissions, then retry with explicit --path.
Verify
ae hub status (or --human) reports your hub path and artifact counts after ae hub init.
If it fails
Use Common failure modes above, then Troubleshooting.
What to do next
- Extract domain knowledge with
ae know build - Run workflows with hub-backed artifacts