{"repo":"yezz123/ai-template","free":true,"listed":false,"github":"https://github.com/yezz123/ai-template","clone":"git clone https://github.com/yezz123/ai-template.git","description":"Multi-tenant SaaS boilerplate built on FastAPI & Authx :sparkles:","language":"Python","stars":257,"topics":["fastapi","sqlalchemy","rest-api","swagger-ui","uvicorn","asyncio","python","ai","authx","nextjs"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"AI Template Multi-tenant SaaS boilerplate built on FastAPI + authx + Next.js. Every feature toggleable via env vars; ship a production-ready SaaS in a weekend. A polished SaaS starter with a FastAPI control plane, tenant app, and admin portal. What you get - Organizations / Workspaces with per-org data isolation (every tenant row carries org id ). - Roles : Owner / Admin / Member, mapped to authx scopes with wildcard support ( org:members: ). - JWT scoped to org &mdash; switch orgs and the access token is re-issued with the new org id and computed scopes. - API keys per organization with scoped permissions, validated via X-API-Key . - Email invitations &mdash; or token-link only when email delivery is disabled. - Optional, all gated by FEATURE env vars: OAuth (Google/GitHub), magic-link, real email delivery (Resend/SMTP), Stripe billing, Pydantic AI + LLM Gateway (chat, demo agents + production agent templates with a golden-transcript eval harness), Logfire observability, audit log, rate limiting. Repository layout Stack Layer Tech ------------ --------------------------------------------------------------------------------------------------------------------------- Backend FastAPI, Pydantic v2, authx 1.6.0, SQLAlchemy 2 async, Alembic, Postgres 17, Redis 7, uv Frontend Next.js 16, React 19, Tailwind v4, Framer Motion, Zod, bun Admin Portal Next.js 16, React 19, Tailwind v4, Framer Motion, Zod, bun Optional Pydantic AI, LLM Gateway, Pydantic Logfire, Resend, Stripe, Authlib Q","default_branch":null,"files":null,"tree":[],"storefront":"/r/yezz123","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yezz123/ai-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}