Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ceca820
feat(setup): implement antigravity integration setup and hook adapter…
NilotpalK May 20, 2026
b6f9668
docs(readme): list Antigravity in supported editors
NilotpalK May 20, 2026
83d2f3c
test(setup-antigravity): pin platform per-test to fix Windows CI failure
NilotpalK May 21, 2026
bc9f27b
Merge branch 'main' into feat/antigravity-support
magyargergo May 21, 2026
edaf1cb
Merge branch 'main' into feat/antigravity-support
magyargergo May 21, 2026
82f15d8
Merge branch 'main' into feat/antigravity-support
magyargergo May 21, 2026
d2e923a
Merge branch 'main' into feat/antigravity-support
magyargergo May 21, 2026
ca13751
Merge branch 'main' into feat/antigravity-support
magyargergo May 21, 2026
a55e07c
Merge branch 'main' into feat/antigravity-support
magyargergo May 21, 2026
219d205
Merge branch 'main' into feat/antigravity-support
magyargergo May 22, 2026
612faa0
Merge branch 'main' into feat/antigravity-support
magyargergo May 24, 2026
c1872b4
fix(antigravity): align hook adapter to Gemini CLI schema + fix Windo…
NilotpalK May 24, 2026
0baf200
Merge branch 'main' into feat/antigravity-support
NilotpalK May 24, 2026
8f81897
Merge branch 'main' into feat/antigravity-support
magyargergo May 24, 2026
3f110b4
Merge branch 'main' into feat/antigravity-support
magyargergo May 25, 2026
4d9cc85
fix(antigravity): address PR review — windowsHide, stale docs, dead code
NilotpalK May 25, 2026
7844967
test(antigravity): add integration tests and register in cross-platfo…
NilotpalK May 25, 2026
31272ed
Merge branch 'main' into feat/antigravity-support
magyargergo May 25, 2026
0a91ccc
Merge branch 'main' into feat/antigravity-support
magyargergo May 25, 2026
8945106
fix(antigravity): review fixes — dedup, silent-failure guard, type co…
May 25, 2026
09db8e5
Merge remote-tracking branch 'origin/main' into pr-1730-review
May 25, 2026
230b705
Merge branch 'main' into feat/antigravity-support
magyargergo May 25, 2026
9a01bc8
chore(autofix): apply prettier + eslint fixes via /autofix command
github-actions[bot] May 25, 2026
21a718c
chore: trigger CI
May 25, 2026
2e1ecce
Merge branch 'feat/antigravity-support' of https://github.com/Nilotpa…
May 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 28 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ https://github.com/user-attachments/assets/172685ba-8e54-4ea7-9ad1-e31a3398da72

> _Like DeepWiki, but deeper._ DeepWiki helps you _understand_ code. GitNexus lets you _analyze_ it — because a knowledge graph tracks every relationship, not just descriptions.

**TL;DR:** The **Web UI** is a quick way to chat with any repo. The **CLI + MCP** is how you make your AI agent actually reliable — it gives Cursor, Claude Code, Codex, and friends a deep architectural view of your codebase so they stop missing dependencies, breaking call chains, and shipping blind edits. Even smaller models get full architectural clarity, making it compete with Goliath models.
**TL;DR:** The **Web UI** is a quick way to chat with any repo. The **CLI + MCP** is how you make your AI agent actually reliable — it gives Cursor, Claude Code, Antigravity, Codex, and friends a deep architectural view of your codebase so they stop missing dependencies, breaking call chains, and shipping blind edits. Even smaller models get full architectural clarity, making it compete with Goliath models.

---

Expand All @@ -48,7 +48,7 @@ https://github.com/user-attachments/assets/172685ba-8e54-4ea7-9ad1-e31a3398da72
| | **CLI + MCP** | **Web UI** |
| ----------- | --------------------------------------------------------------------- | -------------------------------------------------------------------- |
| **What** | Index repos locally, connect AI agents via MCP | Visual graph explorer + AI chat in browser |
| **For** | Daily development with Cursor, Claude Code, Codex, Windsurf, OpenCode | Quick exploration, demos, one-off analysis |
| **For** | Daily development with Cursor, Claude Code, Antigravity, Codex, Windsurf, OpenCode | Quick exploration, demos, one-off analysis |
| **Scale** | Full repos, any size | Limited by browser memory (~5k files), or unlimited via backend mode |
| **Install** | `npm install -g gitnexus` | No install — [gitnexus.vercel.app](https://gitnexus.vercel.app) |
| **Storage** | LadybugDB native (fast, persistent) | LadybugDB WASM (in-memory, per session) |
Expand Down Expand Up @@ -114,16 +114,20 @@ To configure MCP for your editor, run `npx gitnexus setup` once — or set it up

### Editor Support

| Editor | MCP | Skills | Hooks (auto-augment) | Support |
| --------------- | --- | ------ | --------------------------------------------------------------------------------------- | ------------ |
| **Claude Code** | Yes | Yes | Yes (PreToolUse + PostToolUse) | **Full** |
| **Cursor** | Yes | Yes | Yes (postToolUse, [manual install](gitnexus-cursor-integration/README.md#hook-install)) | **Full** |
| **Codex** | Yes | Yes | — | MCP + Skills |
| **Windsurf** | Yes | — | — | MCP |
| **OpenCode** | Yes | Yes | — | MCP + Skills |
| Editor | MCP | Skills | Hooks (auto-augment) | Support |
| -------------------- | --- | ------ | --------------------------------------------------------------------------------------- | ------------ |
| **Claude Code** | Yes | Yes | Yes (PreToolUse + PostToolUse) | **Full** |
| **Cursor** | Yes | Yes | Yes (postToolUse, [manual install](gitnexus-cursor-integration/README.md#hook-install)) | **Full** |
| **Antigravity** (Google) | Yes | Yes | Yes (AfterTool, [Gemini CLI hooks schema](https://geminicli.com/docs/hooks/reference/))[¹](#fn-antigravity-hooks) | **Full** |
| **Codex** | Yes | Yes | — | MCP + Skills |
| **Windsurf** | Yes | — | — | MCP |
| **OpenCode** | Yes | Yes | — | MCP + Skills |

> **Claude Code** gets the deepest integration: MCP tools + agent skills + PreToolUse hooks that enrich searches with graph context + PostToolUse hooks that detect a stale index after commits and prompt the agent to reindex.

<a id="fn-antigravity-hooks"></a>
> ¹ **Antigravity hooks** follow the [Gemini CLI hooks reference](https://geminicli.com/docs/hooks/reference/) (Antigravity 2.0 is the documented successor to Gemini CLI). Augmentation runs in `AfterTool` because `BeforeTool` has no context-injection channel in the Gemini contract — the agent sees graph context appended to the tool result via `hookSpecificOutput.additionalContext`. Stale-index hints land in the same channel after a successful `git commit/merge/rebase/cherry-pick/pull`. The schema may evolve if Antigravity-specific hook docs diverge from Gemini CLI's; the implementation will track those changes.

## Community Integrations

Built by the community — not officially maintained, but worth checking out.
Expand Down Expand Up @@ -168,6 +172,21 @@ codex mcp add gitnexus -- npx -y gitnexus@latest mcp
}
```

**Antigravity** (Google) — `~/.gemini/antigravity/mcp_config.json`:

```json
{
"mcpServers": {
"gitnexus": {
"command": "npx",
"args": ["-y", "gitnexus@latest", "mcp"]
}
}
}
```

> `gitnexus setup` also merges an `AfterTool` entry into `~/.gemini/settings.json` (under the canonical [Gemini CLI hooks schema](https://geminicli.com/docs/hooks/reference/)) and installs skills to `~/.gemini/antigravity/skills/`. Existing user hooks are preserved. The hook adapter's path is rewritten at install time, so run `gitnexus setup` rather than hand-editing.

**OpenCode** (`~/.config/opencode/config.json`):

```json
Expand Down
3 changes: 2 additions & 1 deletion gitnexus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**Graph-powered code intelligence for AI agents.** Index any codebase into a knowledge graph, then query it via MCP or CLI.

Works with **Cursor**, **Claude Code**, **Codex**, **Windsurf**, **Cline**, **OpenCode**, and any MCP-compatible tool.
Works with **Cursor**, **Claude Code**, **Antigravity** (Google), **Codex**, **Windsurf**, **Cline**, **OpenCode**, and any MCP-compatible tool.

[![npm version](https://img.shields.io/npm/v/gitnexus.svg)](https://www.npmjs.com/package/gitnexus)
[![License: PolyForm Noncommercial](https://img.shields.io/badge/License-PolyForm%20Noncommercial-blue.svg)](https://polyformproject.org/licenses/noncommercial/1.0.0/)
Expand Down Expand Up @@ -34,6 +34,7 @@ To configure MCP for your editor, run `npx gitnexus setup` once — or set it up
|--------|-----|--------|---------------------|---------|
| **Claude Code** | Yes | Yes | Yes (PreToolUse) | **Full** |
| **Cursor** | Yes | Yes | Yes (postToolUse, [manual install](../gitnexus-cursor-integration/README.md#hook-install)) | **Full** |
| **Antigravity** (Google) | Yes | Yes | Yes (AfterTool, [Gemini CLI hooks schema](https://geminicli.com/docs/hooks/reference/)) | **Full** |
| **Codex** | Yes | Yes | — | MCP + Skills |
| **Windsurf** | Yes | — | — | MCP |
| **OpenCode** | Yes | Yes | — | MCP + Skills |
Expand Down
Loading
Loading