Agent Link

A Supabase foundation
to build apps with AI agents.

Production-ready in minutes.

One command scaffolds auth, multi-tenancy, security, edge functions, and a frontend. Your agent keeps building on solid architecture — fewer errors, less tokens, secure from the start.

$npm init agentlink@latest

Requires Claude Code and a Supabase account. New here? →

or see how it works ↓

WHAT IT IS

Two Tools. One Workflow.

The CLI runs every command in the project lifecycle. The plugin teaches your agent the reasoning behind them.

The CLI

Start your project, keep building, ship it.

  • Scaffold a complete Supabase project — auth, multi-tenancy, RLS
  • Apply schemas, generate migrations, regenerate types
  • Run ad-hoc SQL against local or cloud
  • Manage local and cloud environments side by side
  • Deploy to production with diff-based migrations
  • Diagnose with check, repair with --force-update
Learn more →

The Plugin

Five domain skills teach your agent the architecture.

  • Database — schemas, migrations, type generation
  • RPC — business logic as Postgres functions
  • Auth — RLS policies, tenant isolation, RBAC
  • Edge Functions — external APIs, webhooks
  • Frontend — client setup, RPC calls, auth state
Learn more →

WHAT YOU GET

Everything wired up. One command.

The boring-but-critical foundation — done before your agent writes a single line.

terminal

$ npm init agentlink@latest

Project scaffolded

Database configured

Agent ready

→ Launching Claude Code...

Security best practices

Schema isolation with a dedicated api schema exposed to clients and RLS enabled on every table.

Multi-tenancy built in

Tenants, memberships, and invitations tables with RLS policies and helper functions.

Background jobs

pgmq and cron pre-enabled with a queue-worker edge function ready for async work.

Transactional email with Resend

Customizable react-email templates and send-email edge function with auth hooks wired up from day one.

Frontend pre-wired

React + Tan Stack Router frontend with a typed Supabase client and auth flows connected.

Agent fully loaded

Claude Code plugin installed with all five skills, MCP server connected, destructive commands blocked.

Ready for production grade apps.

Your agents will choose Supabase. Make sure they use it right.