agy-session-search
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGY_BRAIN_DIRS | No | Replace the default scan directories. Environment paths use `;` on Windows and `:` elsewhere. Default scan directories are `~/.gemini/antigravity/brain/` and `~/.gemini/antigravity-cli/brain/`. | |
| AGY_SEARCH_ENGINE | No | Choose SQLite FTS5 or pure-JavaScript BM25. Values: `sqlite` or `memory`. SQLite is the default, with automatic fallback to memory. | |
| AGY_SESSION_SEARCH_DB | No | Set the SQLite cache path, or `:memory:` for a nonpersistent index. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_sessionsA | Full-text BM25 search across local Google Antigravity chat sessions, transcripts, and markdown artifacts. Supports keywords, "exact phrases", prefix*, and project/date/role filters. Excludes noisy tool outputs by default unless include_tools=true. |
| list_sessionsA | List recent Google Antigravity chat sessions with their title, inferred project/workspace, timestamps, turn count, and artifact names. |
| read_sessionA | Read a slice of turns/steps from a specific Antigravity session. Defaults to 11 steps, with at most 101 per call. Use |
| read_artifactB | List or read markdown artifacts (such as implementation_plan.md, task.md, walkthrough.md) saved inside an Antigravity session. |
| reindex_sessionsA | Incrementally sync (or force rebuild) the local Antigravity session search index and return index statistics. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool occupies a distinct slot in the workflow: enumerate (list_sessions), maintain the index (reindex_sessions), query (search_sessions), read transcript content (read_session), and read attached markdown files (read_artifact). The only near-pair, read_session vs read_artifact, is clearly separated by the descriptions (turns/steps vs markdown artifacts). No two tools could plausibly be swapped for the same task.
All five names follow a strict snake_case verb_noun pattern (list_, reindex_, search_, read_, read_) with the shared 'session(s)'/'artifact' domain nouns. Verb choices accurately reflect the operation type, making the pattern predictable for an agent.
Five tools is a tight, well-earned surface for a session search server: one to index, one to browse, one to search, and two to read results at different granularities. Nothing is redundant and nothing feels padded.
The lifecycle is covered end-to-end: build/refresh the index, list sessions, search, then drill into turns and artifacts, including pagination guidance for long transcripts. Minor gaps exist — no direct fetch of a single session's metadata by id, no cross-session artifact listing, and no index cleanup/delete — but these are workaroundable via search and list.