promptgarten ๐ŸŒฑ

Command reference ยท Antigravity CLI

agy --agent <name>

Selects a custom agent at startup.

agy --agent <name> is likewise a startup flag for the terminal invocation of agy (not a slash command) and was introduced, according to the official changelog, in version 1.1.1. It directly selects a previously defined custom agent at startup, instead of starting with the default agent. Alongside the flag, the changelog also introduced the agent/agents subcommand, which lets you list available custom agents before picking one via --agent <name>. Since version 1.1.6, custom agents can also be defined as Markdown files (agent.md) with YAML frontmatter, which makes using the flag more relevant in practice because agents can be versioned and maintained by a team more easily this way.

โœ… WHEN TO USE IT?

Start with a custom agent

agy --agent code-reviewer, to start directly with an agent specialized in reviews

Check available agents beforehand

Run agy agents to see defined custom agents, then use agy --agent <name> for a specific one

โ›” WHEN NOT TO?

The agent name is unknown

--agent expects an existing, exact agent name.

Better: First use agy agents to list them, then set --agent <name>

SOURCES

MORE COMMANDS ยท Antigravity CLI

agy agent / agy agentsagy --project <name>agy --new-project <name>agy --sandboxagy --mode <default|accept-edits|plan>agy --dangerously-skip-permissionsagy plugin listagy plugin install <path>agy plugin enable <name>agy plugin disable <name>agy plugin uninstall <name>agy plugin import gemini

All commands ยท Antigravity CLI โ†’

Share:๐•in๐Ÿ’ฌ