Version lifecycle
Version states
Tool and dependency validation
When you save an agent withguild agent save, Guild validates the tools and dependencies declared in the build before persisting the version. If a declared dependency is broken or violates visibility rules, Guild rejects the build with a 400 BadRequest error and lists the specific validation failures.
Guild rejects the build when your agent depends on:
- A private sub-agent or integration owned by another account.
- A private sub-agent or integration owned by the same account when the agent itself is public.
- A sub-agent that has been archived.
Testing before publishing
Useguild agent test to create a temporary version for testing without saving:
Ephemeral versions include only files tracked by Git. Files that are already committed or staged with
git add are uploaded. New untracked files are ignored until you stage them with git add. Modified tracked files still upload their working-tree content, so you can test uncommitted changes to existing files without committing them first.