Cookie Policy

Last updated: June 24, 2026

During the current beta, we do not use Stripe or payment-related cookies.

1. What Are Cookies?

Cookies are small text files stored on your device when you visit a website. We also use local storage, session storage, and similar browser technologies. This policy explains how Ai.Libi uses them on https://www.ai-libi.com.

2. Consent Management

On your first visit, we show a cookie banner. Essential cookies load immediately because the game cannot function without them. Analytics cookies—including browser-side Sentry error monitoring—load only if you choose "Accept All" or enable Analytics in custom preferences. You can change your choice anytime via the cookie icon on the site.

3. Cookie Categories

3.1 Essential

Required for authentication, guest sessions, game rooms, and security. These cannot be disabled while using the Service.

3.2 Analytics (optional)

Help us diagnose crashes and improve performance. Browser Sentry, Vercel Web Analytics, and Speed Insights load only if you accept Analytics cookies (or choose Accept All).

3.3 Functionality

Remember language, theme, in-game UI state, and onboarding progress.

3.4 Marketing

We do not currently use advertising or retargeting cookies. If that changes, we will update this policy and request consent where required.

4. Cookies and Storage We Use

NameProviderPurposeTypeDuration
ailibi_cookie_consentAi.LibiStores your cookie consent choicesEssential1 year
ailibi_fingerprintAi.LibiDevice identifier for guest sessions, rate limiting, and abuse preventionEssentialUntil cleared in browser
ailibi.auth.* (accessToken, refreshToken, user)Ai.LibiAuthenticated session tokens and profile snapshotEssentialSession / token expiry
NextAuth session cookiesAi.Libi / NextAuthOAuth sign-in state (e.g. Google)EssentialSession
ailibi.inbox.* / ailibi.npc.*Ai.LibiIn-game UI state and onboarding flagsFunctionalitySession or until cleared
Sentry monitoringSentryError reporting and performance monitoring (only if you accept Analytics cookies)AnalyticsPer Sentry policy
@vercel/analytics / speed-insightsVercelAggregated page views and performance metrics (only if you accept Analytics cookies)AnalyticsPer Vercel policy
posthog-js / PostHog cookiesPostHogProduct analytics, funnels, and optional session replay during beta (only if you accept Analytics cookies)AnalyticsPer PostHog policy

Local storage keys

Key / patternPurpose
ailibi_cookie_consentCookie preference record
ailibi_fingerprintHashed device identifier for guest play
ailibi.auth.*Authentication tokens when signed in
ailibi.inbox.* / game session keysTemporary investigation progress and read-state

5. Third-Party Cookies and Services

Third parties may set cookies or process data when you use specific features:

  • Vercel: Frontend hosting, CDN, Web Analytics, and Speed Insights. Privacy Policy
  • Railway: Backend API hosting. Privacy Policy
  • PostgreSQL (via Railway): Persistent account and game metadata storage. Privacy Policy
  • Redis (via Railway): Real-time game sessions, caching, and waitlist data. Privacy Policy
  • Sentry: Error tracking and performance monitoring (browser, with your consent). Privacy Policy (browser analytics, consent required)
  • PostHog: Product analytics, funnels, and optional session replay (browser, with your consent). Privacy Policy (browser analytics, consent required)
  • Google: Optional OAuth sign-in. Privacy Policy
  • OpenAI: AI text, image, and audio generation for game content. Privacy Policy
  • Anthropic: AI narrative and NPC dialogue generation. Privacy Policy
  • Together AI: AI model inference (fallback provider). Privacy Policy
  • ElevenLabs: AI voice generation for character audio. Privacy Policy

Google sets cookies if you choose "Sign in with Google."

6. Retention

  • Session cookies expire when you close the browser
  • Consent preferences: 1 year (until you change them or we update consent version)
  • Authentication tokens: per token expiry configured on our servers
  • Guest fingerprint in local storage: until you clear site data

7. How to Control Cookies

Use our cookie banner / preference icon, or your browser settings:

  • Chrome: Settings → Privacy and security → Cookies and other site data
  • Firefox: Settings → Privacy & Security → Cookies and Site Data
  • Safari: Settings → Privacy → Manage Website Data
  • Edge: Settings → Cookies and site permissions

Blocking essential cookies or clearing local storage will log you out, reset guest identity, and may prevent multiplayer sessions from working.

8. Changes

We may update this Cookie Policy when we add features or subprocessors. Check the "Last updated" date above. Material changes may trigger a new consent prompt.

9. Contact

See also our Privacy Policy.