Troubleshooting
Common issues and how to fix them.
Agent Issues
Agent times out before completing task
Symptoms: Task stops with timeout error, agent was making progress.
Causes:
- Task too complex for timeout setting
- Agent stuck in reflection loop
- Slow LLM responses
Solutions:
- Increase timeout in settings
- Break task into smaller steps
- Use faster model (gpt-5-mini)
Agent goes in loops
Symptoms: Same actions repeated, token usage spikes.
Causes:
- Unclear task description
- Page content confusing the agent
- Reflection not accepting valid results
Solutions:
- Be more specific in your request
- Check page content structure
- Try simpler wording
"Cannot read properties of undefined"
Symptoms: Console shows property access errors.
Causes:
- Page not fully loaded
- Element indices changed after action
Solutions:
- Add wait between actions
- Re-fetch page content before interactions
Extension Issues
Extension not loading
Symptoms: No Vibe icon in toolbar, side panel empty.
Solutions:
- Check
chrome://extensionsfor errors - Verify Developer mode is enabled
- Reload the extension
API key not working
Symptoms: "Invalid API key" or authentication errors.
Solutions:
- Verify key is correct (no extra spaces)
- Check key has sufficient quota
- For OpenAI: ensure key is not restricted
Side panel won't open
Symptoms: Click icon but panel stays closed.
Solutions:
- Right-click icon → "Open side panel"
- Use keyboard shortcut
Ctrl+Shift+V - Check for conflicting extensions
CLI Issues
"OPENAI_API_KEY not set"
Solution:
export $(< .env)
# or
export OPENAI_API_KEY=sk-your-key
Browser window not appearing
Symptoms: CLI runs but no browser opens.
Solutions:
- Check
HEADLESSis not set - Install Playwright browsers:
npx playwright install chromium
Timeout on complex tasks
Solution: Increase timeout:
node cli.js --timeout 300 run "complex task"
Performance Issues
Slow tool execution
Causes:
- Page content too large
- Too many page elements
- Network latency
Solutions:
- Scroll to relevant section first
- Use specific element indices
- Enable content truncation
High token usage
Causes:
- Large page content
- Long conversation history
- Reflection loops
Solutions:
- Start fresh conversation for new tasks
- Use gpt-5-mini instead of gpt-4
- Simplify task descriptions
Debug Mode
Enable verbose logging:
# CLI
node cli.js --verbose run "task"
# Extension - check console
# Open DevTools → Console → filter "vibe"
Reading Agent Logs
# Find LLM calls
grep "LLM invoke" console.log
# Find tool executions
grep "Tool execution" console.log
# Find errors
grep -E "Error:|exception" console.log
Getting Help
If issues persist:
- Check GitHub Issues
- Include:
- Error message
- Console logs
- Steps to reproduce
- For extension: screenshot of side panel
- For CLI: full command used