-
v0.2.0 — Auth & Billing Stable
released this
2026-02-10 15:37:56 +00:00 | 8 commits to main since this releaseWhat's New
AgentLens is now a production SaaS with user accounts, API key authentication, and Stripe-powered subscription billing.
User Authentication
- Email + password registration and login (NextAuth v5)
- JWT sessions with bcrypt password hashing (12 rounds)
- Protected dashboard — login required, each user sees only their own traces
- Middleware-enforced route protection
API Key System
- Generate API keys from the dashboard (
al_prefix, SHA-256 hashed) - One-time plaintext display on creation with copy-to-clipboard
- Revoke keys instantly from the dashboard
- Every trace ingestion request validated against API key
Subscription Tiers & Rate Limiting
Tier Price Sessions Free $0 20 / day Starter $5/mo 1,000 / month Pro $20/mo 100,000 / month - Rate limiting enforced per tier on trace ingestion
- Usage tracking with automatic reset on billing cycle
Stripe Billing Integration
- Checkout sessions for tier upgrades
- Webhook handling for subscription lifecycle (create, update, cancel, invoice)
- Self-service billing portal for subscription management
- Security hardened: no secrets exposed to client, webhook signature verification
Dashboard Scoping
- All API endpoints scoped to authenticated user
- Traces, decisions, stats, and SSE streams filtered by ownership
- Settings page rewritten with account info, subscription tiers, and billing UI
Security
- Stripe secret key never exposed to client
stripeCustomerIdsanitized from API responses- Webhook error logs scrubbed of sensitive data
- API key comparison via SHA-256 hash (not plaintext)
Full Changelog: https://gitea.repi.fun/repi/agentlens/compare/v0.1.6...v0.2.0
Downloads