Use memtwig with Antigravity
PreInvocation + MCPInject gated vault context via PreInvocation hooks and expose 6 scoped MCP tools.
Google DeepMind
Antigravity
PreInvocation + MCP
hooks + MCP memtwig
injectSteps + 6 tools
Studio UI Diff queue
Active vault
cwd & remote routed
Personal rules
SOUL.md · persona/**
Other clients
isolated
Print the Antigravity hook & MCP config snippet
memtwig setup
memtwig install antigravitySnippet generated for your Antigravity config
{
"mcpServers": {
"memtwig": {
"command": "memtwig",
"args": ["mcp"]
}
},
"hooks": {
"PreInvocation": [
{ "command": "memtwig hook antigravity" }
]
}
}Why pair memtwig with Antigravity
- Native PreInvocation adapter emits standard injectSteps payloads automatically.
- Gated query filter avoids wasting context on short acknowledgements.
- Full Studio UI and TUI let you browse the Knowledge Graph and review diffs.
More integrations
Last updated
How does the Antigravity hook avoid injecting noise? +
memtwig hook antigravity gates short or courtesy prompts and skips retrieval when no relevant snippets pass score thresholds.
Can Antigravity log architectural decisions automatically? +
Yes. Calling memory_decide logs a dated entry in decisions/YYYY-MM.md and queues a proposal to update the project note.