Skip to content

Add gated Gravity Index tool#567

Merged
jahooma merged 7 commits intomainfrom
jahooma/gravity-tech-index
Apr 30, 2026
Merged

Add gated Gravity Index tool#567
jahooma merged 7 commits intomainfrom
jahooma/gravity-tech-index

Conversation

@brandonkachen
Copy link
Copy Markdown
Collaborator

@brandonkachen brandonkachen commented Apr 29, 2026

Summary

  • Add native gravity_index tool, but keep it gated out of base/free agent tool lists for initial rollout
  • Consolidate Gravity Index actions behind one tool: search, browse, list_categories, get_service, and report_integration
  • Proxy Gravity Index through /api/v1/gravity-index, using server-side GRAVITY_API_KEY only for publisher-key actions
  • Fold guidance from @gravity-ai/index-mcp tool prompts into the native tool prompt, including setup-link handling
  • Share the Gravity input schema between the native tool and API route, and fix generated tool typings for root union schemas
  • Add runtime, API, SDK E2E, and tool-definition generator coverage; SDK E2E opts into the tool with a test-only agent

Tests

  • bun test agents/e2e/gravity-index.e2e.test.ts common/src/tools/__tests__/compile-tool-definitions.test.ts web/src/app/api/v1/gravity-index/__tests__/gravity-index.test.ts packages/agent-runtime/src/__tests__/gravity-index-tool.test.ts
  • bun run --cwd agents typecheck
  • bun run --cwd common typecheck
  • bun run --cwd web typecheck
  • bun run --cwd packages/agent-runtime typecheck

@jahooma jahooma marked this pull request as ready for review April 29, 2026 23:43
@brandonkachen brandonkachen changed the title Add Gravity Index search tool Add unified Gravity Index tool Apr 30, 2026
@brandonkachen brandonkachen changed the title Add unified Gravity Index tool Add gated Gravity Index tool Apr 30, 2026
@jahooma jahooma merged commit efd5295 into main Apr 30, 2026
34 checks passed
@jahooma jahooma deleted the jahooma/gravity-tech-index branch April 30, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants