Skip to main content

AI Coaching

go-pomodoro works without AI. The core timer commands do not require an API key. If you set GROQ_API_KEY, the CLI can use AI for coaching and break guidance.

What AI is used for

AI can help with:
  • Break tips after focus sessions.
  • Deep work break guidance.
  • Productivity advice from pomodoro coach.
If AI is not configured, go-pomodoro uses built-in fallback tips where possible.

Set GROQ_API_KEY

macOS and Linux

To make it permanent, add the export line to your shell profile, such as .zshrc, .bashrc, or .profile.

Windows PowerShell

Close and reopen PowerShell after running setx. Then check that the variable exists:

Test coaching

Complete a few focus sessions first:
Then run:
If there are no sessions yet, the command prints:

Coaching cache

go-pomodoro can reuse recent coaching output for a short time. This keeps the command fast and avoids asking the AI service for new advice every time. If you want fresh advice, complete more sessions and run:

Use without AI

You can ignore AI setup completely and still use:
AI is an optional layer, not a requirement.