aide.sh build / push / pull
Build, publish, and fetch agent images.
aide.sh build
Build an agent image from an Agentfile.
aide.sh build [PATH] [-t TAG]
| Flag | Description |
|---|---|
PATH | Directory containing Agentfile.toml (default: .) |
-t, --tag TAG | Tag the image (name:version) |
Build process
- Parse -- Loads and parses
Agentfile.toml. - Validate -- Checks that all referenced files exist (persona, skill scripts, prompt files, seed directory).
- Lint -- Runs the full lint suite including credential leak scanning.
- Collect -- Gathers all files:
Agentfile.toml, persona, skill scripts/prompts, and seed directory contents. - Archive -- Creates
<name>-<version>.tar.gz. - Checksum -- Computes SHA-256 of the archive.
Example
aide.sh build agents/jenny/
aide.sh build . -t jenny:0.2.0
aide.sh push
Push a built agent image to the registry.
aide.sh push [IMAGE]
| Flag | Description |
|---|---|
IMAGE | Directory or image name to push (default: .) |
Push process
- Builds the image (same as
aide.sh build). - Reads registry credentials from the vault (
AIDE_REGISTRY_TOKEN). - Uploads the
.tar.gzarchive tohub.aide.sh.
Requires prior authentication via aide.sh login.
aide.sh pull
Download an agent image from the registry.
aide.sh pull <USER>/<TYPE>[:VERSION]
Pull process
- Resolves the image reference. Version defaults to
latest. - Downloads the archive from
hub.aide.sh. - Extracts to
~/.aide/types/<user>/<type>/.
Example
aide.sh pull ydwu/school-assistant
aide.sh pull ydwu/school-assistant:0.1.0
Related commands
aide.sh images-- List locally available agent images.aide.sh search <query>-- Search the registry.aide.sh login-- Authenticate with the registry.