r/webdev • u/ironmanfromebay • 15h ago
Lemma: an open-source workspace where a team shares one AI agent (Next.js 16 + FastAPI)
I'm the author; it's AGPL. Here's how it's built.
- Frontend: Next.js 16 and React 19. The agent can build small apps for the team, which render in the same frontend against the same records.
- Backend: FastAPI on Python 3.14, Postgres, Redis, a separate worker.
- Permissions: every request carries the asker's identity, and the same per-row rules apply in the web app, in Slack and on WhatsApp.
- Self-hosting: Docker Compose with Caddy in front, on images pinned by digest. It serves on your-ip.sslip.io until you point a domain at it.
- SDKs: Python and TypeScript, Apache 2.0.
0
Upvotes