Using Google Tools from pre fetched creds

So while working with google tools like calendar and email there was thing missing that i needed very much. It was using these tools without again auth. So on my website, users have to login with google oauth only, so i wanted that those creds during login to be used directly here only but i was getting confused, going from one llm to another and finding docs/cookbooks to find. But couldn’t, so here i am uploading that updated cookbook.

I added the example pr here - feat: Update Gmail Agent documentation and add OAuth credential example by aryan-panja · Pull Request #4323 · agno-agi/agno · GitHub

Hey @aryan_panja, Thank you for your contribution. Our team will take some time to review and get back to you

1 Like

Hi @aryan_panja, thanks for bringing this up! We’ve updated our docs and cookbooks, and the changes will be reflected in the next release.

I also reviewed your PR — really appreciate the effort in adding the snippet for reusing pre-fetched Google OAuth2 credentials :raising_hands:. That said, our cookbooks are meant to focus on tool usage within Agno’s framework, while credential handling (e.g., refreshing expired tokens) is typically done in the frontend or app layer.

Since this addition is more about extra credential config rather than tool integration itself, it’s a bit out of scope for the cookbook. But your suggestion did help us realize the docs needed clarification, so thanks again for that!

1 Like