Skip to main content

Why Gemini for Cursor

When using Cursor without Claude Code, you need to configure an AI provider for VibeLearn’s concept extraction and quiz generation. Gemini’s free tier (1500 req/day) is more than sufficient for daily use.

Step 1: Get a Gemini API Key

  1. Go to aistudio.google.com/apikey
  2. Sign in with a Google account
  3. Click Create API key
  4. Copy the key (starts with AIza)

Step 2: Configure VibeLearn

Step 3: Install Cursor Hooks

Restart Cursor to load the hooks.

Step 4: Verify

Run an agent session in Cursor, then:

Troubleshooting

API key not valid — Key must start with AIza. Re-copy from AI Studio. RESOURCE_EXHAUSTED — Hit the 1500/day free limit. Resets midnight Pacific. Set up OpenRouter as a fallback:
No quiz questions after session — Check worker logs: