Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (e.g gpt, claude, gemini, llama, qwen, mistral).
69c8f45830f02c4d7b19865a57779e17b85b8f74: Use scopes to represent whether the user is subscribed. If billing is turned off, by default all users are subscribed.
e5b1350523102f89efe1ef579546234e24950f36: Enforce limits to the chat endpoint based on state.billing_enabled
771f9bcfa1844827bb23b99be9f9bf6bf3e98d35: If the user's subscription state was created over 7 days ago, consider their state expired. Eventually, we should assign their trial validity dynamically based on how they signed up.
state.billing_enabled