AI-assisted development is evolving rapidly. Modern tools no longer act merely as code autocomplete. They are capable of planning features, implementing code, running tests, and more..
AI-assisted development is evolving rapidly.
Modern tools no longer act merely as code autocomplete. They are capable of:
Antigravity follows this same proposal of turning AI into an active member of the development team.
Instead of merely answering questions, it acts as a system capable of planning, executing, and validating software tasks.
A typical workflow within Antigravity can follow three stages:
Before writing code, the agent analyzes:
Example:
Criar autenticação JWT para API.
The agent first creates a plan:
After the plan is approved, the agent:
Finally:
The goal is to deliver a validated change, not just generate code.
Antigravity can use different models depending on the task.
| Model | Cost | Speed | Quality | Best Use |
|---|---|---|---|---|
| Gemini Flash | Low | Very high | Good | Simple tasks |
| Gemini Pro | Medium | High | Very good | Daily development |
| Claude Sonnet | Medium | High | Excellent | Code and architecture |
| Claude Opus | High | Medium | Excellent | Complex problems |
| GPT-5 (when available) | Medium/High | High | Excellent | General development |
Examples:
Examples:
Examples:
The agent doesn't change anything.
It only:
Ideal for:
The agent executes directly.
Ideal for:
During execution, Antigravity generates artifacts useful for auditing.
A structured list of activities.
Example:
[ ] Criar endpoint
[ ] Criar service
[ ] Criar testes
[ ] Atualizar documentação
Shows exactly what was changed.
Example:
+ Add JwtAuthenticationMiddleware
+ Add TokenService
- Remove LegacyAuth
A complete execution history.
Example:
Running tests...
Build succeeded
Coverage 91%
One of the most interesting capabilities is the parallel execution of specialized agents.
A main agent coordinates the others.
Example:
Agent Manager
├── Backend Agent
├── Frontend Agent
├── Database Agent
├── Security Agent
└── QA Agent
Each agent has:
Implement social login. The Agent Manager can delegate:
Backend Agent
Implementar OAuth
Frontend Agent
Criar tela de login
Database Agent
Criar tabelas necessárias
Security Agent
Validar riscos
QA Agent
Criar testes
All in parallel.
A common mistake is to simply ask:
Crie uma API de pagamentos.
Effective prompts have structure.
System information.
Projeto em .NET 9.
Arquitetura Clean Architecture.
Banco PostgreSQL.
What needs to be done.
Criar endpoint para cadastro de clientes.
Restrictions.
Não utilizar Entity Framework.
Utilizar Dapper.
Seguir SOLID.
Cobertura mínima 80%.
How to validate success.
Todos os testes devem passar.
Build sem warnings.
Endpoint documentado no Swagger.
The more context and criteria provided, the better the results tend to be.
A weak prompt:
Crie uma API de pagamentos.
Leaves unclear:
A more complete prompt:
Context:
Projeto em .NET 9 utilizando Clean Architecture.
Estrutura atual:
- API
- Application
- Domain
- Infrastructure
Banco PostgreSQL.
Dapper para acesso a dados.
Swagger habilitado.
xUnit para testes.
Task:
Implementar endpoint de reembolso de pagamentos.
Criar rota:
POST /api/payments/refund
Criar toda a estrutura necessária:
- Controller
- Request DTO
- Response DTO
- Command
- Handler
- Repository
- Testes unitários
- Documentação Swagger
Request:
{
"paymentId": "PAY-123456",
"amount": 50.00,
"reason": "Cliente desistiu da compra"
}
Campos obrigatórios:
- paymentId
- amount
Validações:
- paymentId não pode ser vazio
- amount deve ser maior que zero
- amount não pode ser maior que o valor original da transação
- pagamento deve existir
- pagamento deve estar aprovado
- pagamento não pode estar totalmente reembolsado
Retorno HTTP 200:
{
"refundId": "REF-987654",
"paymentId": "PAY-123456",
"amount": 50.00,
"status": "Approved"
}
Retorno HTTP 400 para:
- paymentId inválido
- valor inválido
- pagamento inexistente
- pagamento já reembolsado
- pagamento não elegível para reembolso
Retorno HTTP 404 para:
- transação não encontrada
Retorno HTTP 500 para:
- falhas inesperadas
Constraints:
- Utilizar Dapper
- Não utilizar Entity Framework
- Seguir SOLID
- Seguir CQRS
- Não criar lógica de negócio no Controller
- Todas as validações devem ficar na camada Application
- Repository apenas para acesso a dados
- Utilizar injeção de dependência
- Criar logs estruturados
Success Criteria:
- Build sem warnings
- Todos os testes passando
- Cobertura mínima de 80%
- Endpoint documentado no Swagger
- Sonar sem code smells críticos
- Nenhuma regra de negócio implementada no Controller
- Código aderente aos princípios SOLID
Notice that in this format the agent receives what is essentially a mini functional specification.
This reduces ambiguity, cuts down on rework, and significantly increases the chance that the result will be close to expected on the very first run.
Agents hold a lot of power. That's why protection mechanisms are essential.
Define limits of behavior.
Example:
Nunca apagar banco de produção.
Controls the scope of actions.
Example:
Pode alterar apenas arquivos dentro de src/.
Require human approval.
Example:
Alteração em infraestrutura
→ requer aprovação
Policies allow controlling what agents can and cannot do.
Explicit permissions.
Pode criar arquivos.
Pode executar testes.
Pode atualizar documentação.
Explicit restrictions.
Não pode apagar banco.
Não pode alterar secrets.
Não pode publicar em produção.
Projects can define agent behavior through the .agents folder.
Global rules.
Example:
Sempre seguir SOLID.
Sempre criar testes.
Reusable capabilities.
Example:
Criar API REST
Criar Migration
Criar Testes
Complete flows.
Example:
Nova Feature
1. Planejar
2. Implementar
3. Testar
4. Revisar
5. Gerar documentação
The future of development won't be based on a single agent writing code.
The trend is toward the use of multiple specialized agents working together, supervised by human developers.
Tools like Antigravity show a path where AI participates in the entire development cycle:
In this scenario, the differentiator is no longer just knowing how to program.
It becomes knowing how to orchestrate agents, define processes, write good prompts, and establish security controls capable of ensuring that the speed of AI does not compromise software quality.