Repository navigation
Is RTK compatible with Antigravity CLI? #2466
Answered
by
starkmarkus
dashsubrat
asked this question in
Q&A
|
RTK was working fine with GEMINI CLI but now I had to migrate to Antigravity CLI. But I guess RTK is not working with this Antigravity CLI. Am I missing something? Please advise. |
Answered by
starkmarkus
Jun 22, 2026
Replies: 2 comments 2 replies
|
You’re probably just missing the Antigravity init step. RTK supports Antigravity with After that, restart Antigravity and try again from the repo root. If it still doesn’t rewrite commands, the two things I’d check first are whether that rules file exists and whether the repo is actually open at the project root. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Glad it works now!
Just to make the conclusion explicit for anyone finding this later: Antigravity support in RTK is initialized via the agent-specific setup command, even if you are using Antigravity from the CLI side:
This creates the project-scoped Antigravity rules file under:
After that, restart Antigravity / reopen the project from the repo root so the rules are picked up.
So the issue was not that RTK is incompatible with Antigravity CLI, but that Antigravity needs the RTK rules file generated first.
If this fully resolves it, you can mark the answer as accepted so the setup step is easier to find for others.