Skip to content
CompletedJanuary 2025 - Present

Personal API Gateway

Centralized API gateway providing unified access to Google services, AI providers, and internal microservices — the backbone of the Sazed personal AI ecosystem.

FastAPIPythonGoogle OAuthCloud RunDockerSecret ManagerAnthropic APIOpenRouter

Challenge

Managing authentication and API calls across multiple services (Google Calendar, Gmail, Tasks, AI providers) was becoming repetitive across projects, with scattered credentials and inconsistent patterns.

Solution

Built a centralized FastAPI gateway with unified authentication via API keys

Implemented Google OAuth 2.0 with automatic token refresh for all Google services

Created OpenAI-compatible AI routing supporting Claude and OpenRouter providers

Deployed to GCP Cloud Run with secrets managed via Secret Manager

Result

Single endpoint powers the Sazed agent, automations platform, and knowledge base service. Clean separation of auth logic from application code, with consistent rate limiting and error handling across all consumers.