Troubleshooting¶
Something not working? You're in the right place.
Before Anything Else¶
- Check your
.env— isGEMINI_API_KEYset and valid? - Run a simple test —
python main.py, pick Agent mode, quick effort, general browsing, and ask "what is 2+2?" - Read the docs — the Engineering page explains every design decision; the Guardrails page covers safety systems
Common Issues¶
"GEMINI_API_KEY not set" or authentication errors¶
Get a free key from Google AI Studio. Paste it into .env:
Playwright won't start / browser errors¶
Make sure Playwright browsers are installed:
If you're on a headless server, ensure PLAYWRIGHT_HEADLESS=true in .env.
Rate limits / quota exceeded¶
Gemini free tier has usage caps. If you hit them frequently:
- Switch to
WEB_SEARCH_ENGINE=duckduckgo(free, no quota) - Lower
MAX_CONCURRENT_SUB_AGENTSto reduce parallel API calls - Use
quickorbalancedeffort mode instead ofmax
Email sending fails¶
Gmail requires an App Password, not your account password. Set it in .env:
Still Stuck?¶
- Open a GitHub issue — github.com/hamza-mughal1/AIBA/issues
- Connect on LinkedIn — linkedin.com/in/-hamza-mughal
I built AIBA and I'm happy to help. Don't hesitate to reach out.