Skip to content

feat: add Gmail and Calendar context providers - #22

Closed
Mustafa-Esoofally wants to merge 2 commits into
agno-agi:mainfrom
Mustafa-Esoofally:feat/google-context-providers
Closed

feat: add Gmail and Calendar context providers#22
Mustafa-Esoofally wants to merge 2 commits into
agno-agi:mainfrom
Mustafa-Esoofally:feat/google-context-providers

Conversation

@Mustafa-Esoofally

Copy link
Copy Markdown
Contributor

Summary

Wire up GmailContextProvider and CalendarContextProvider to Scout's context registry.

Depends on: agno-agi/agno#7747

Changes

  • Add _create_gmail_provider() factory
  • Add _create_calendar_provider() factory
  • Register both in create_context_providers() loop

Auth requirements

Provider OAuth Service Account
Gmail GOOGLE_CLIENT_ID + GOOGLE_CLIENT_SECRET GOOGLE_SERVICE_ACCOUNT_FILE + GOOGLE_DELEGATED_USER
Calendar GOOGLE_CLIENT_ID + GOOGLE_CLIENT_SECRET GOOGLE_SERVICE_ACCOUNT_FILE (delegation optional)

Test plan

  • Tested with OAuth credentials locally
  • Cross-context queries work (Gmail + Calendar + GDrive together)
  • Test with service account credentials

Notes

Draft PR — waiting for agno PR to merge first.

Wire up GmailContextProvider and CalendarContextProvider to Scout's
context registry. Both auto-enable when OAuth or SA credentials are set.

- Gmail requires SA+delegated_user or OAuth
- Calendar requires SA (delegation optional) or OAuth
- Both use read-only mode by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant