Guide/Admin
Back to Guide

Admin

Admin Role

Admin users have elevated permissions across VibeCodes. The admin role is controlled by the is_admin flag on the user record. Admins can:

  • View the AI usage analytics dashboard
  • Grant AI starter credits to any user
  • View per-user credit balances and platform AI costs
  • Manage Featured Agent Teams and Project Kits
  • View private ideas (even without being a collaborator)

Super admins: destructive operations — such as deleting other users' ideas or non-admin accounts — are gated behind a separate is_super_admin flag. A regular admin can monitor and grant credits but cannot perform these destructive actions.

AI Usage Dashboard

The admin page at /admin provides a comprehensive view of AI usage across the platform. The dashboard includes:

  • Stats cards — total AI calls, total tokens used, estimated cost, and a breakdown of platform vs BYOK (bring-your-own-key) usage
  • Filter bar — filter by date range and action type (enhance idea, generate tasks, etc.)
  • Recent activity log — a chronological list of all AI calls showing user, action, token counts, and model used

Tip: Use the date range filter to track usage trends over time and identify users who may need more starter credits.

User Credits

The admin dashboard includes a User Credits & Platform Costs table for managing each user's free AI allowance:

  • Grant credits — add AI starter credits to any user (1–100 at a time). New users start with 10 free credits; these are a lifetime allowance, not a daily reset.
  • View balances — see each user's credits remaining, credits used, and the estimated platform cost they've incurred.
  • Bring-your-own-key — users who add their own Anthropic API key bypass the credit system entirely, so they never consume starter credits.

Daily safety cap: separately from per-user credits, the platform enforces a global daily limit on platform-key AI calls (the PLATFORM_AI_DAILY_LIMIT environment variable, default 50). This is an abuse backstop, not a per-user allocation.

Featured Teams & Project Kits

Admins can also manage Featured Agent Teams — curated collections of agents that appear in the Agents Hub for all users to clone. Project Kits, which bundle agents, workflows, labels, and triggers for specific project types, are also managed by admins.

Content Moderation

Admins have moderation capabilities to keep the platform clean:

  • Delete any idea — remove ideas that violate guidelines, along with all associated data (comments, votes, boards)
  • Delete users — remove non-admin user accounts. This permanently deletes the user and cascades to all their data. Admin accounts cannot be deleted by other admins.

Note: Deletion is permanent and cannot be undone. Notifications that referenced deleted ideas will persist but show the idea as removed.