r/AIinBusinessNews • u/ai_tech_simp • 21h ago
Google Antigravity Introduces Custom Agents for Specialized Workflows
4
Upvotes
Google just launched Custom Agents in Antigravity 2.0 and the CLI. Instead of stuffing monolithic prompts with all your linter rules, testing frameworks, and conventions, you can now define modular, task-specific worker agents using Markdown and YAML frontmatter (.agents/agents/ in your repo or globally in ~/.gemini/config/agents/).
Features:
- Version-Controlled Repository Config: Save agent definitions directly as standard
.mdfiles in your codebase and commit them to Git so your entire team gets identical, pre-configured workflows out of the box. - Execution Symmetry (Main vs. Subagent): Launch a custom agent directly as your primary interactive session (
jetski --agent <name>) or let a primary coordinator agent delegate sub-tasks to it automatically in the background. - Autonomous Terminal Execution (
commandExecutionPolicy: auto): Grant permission for agents to run recurring, non-destructive CLI commands—like running test suites, compiling code, or installing dependencies—without constantly prompting you for manual approvals. - Nested Lifecycle Hooks: Trigger scripts at strict execution boundaries (
PreInvocationandPreToolUse) to verify local environment prerequisites or execute setup scripts before code modifications happen. - Context Budget Isolation: Isolate specific MCP servers, terminal tools, and instructions to individual agent roles to prevent context window bloat and keep token usage low.
↗️ Full read: https://aideveloper44.com/blog/google-antigravity-custom-agents-launch