---
url: "https://supabase.com/solutions/agents"
title: Supabase for Agents
domain: supabase.com
locale: en
type: other
words: 608
cited_by: 4
indexed_by: stealpage
---

## Why agent builders choose Supabase

You need infrastructure that keeps up with agents that plan, act, and learn autonomously. Supabase is the complete Postgres developer platform built for agentic workloads.

-   #### One platform, not five.
    
    Most agent stacks require a vector database, an auth provider, a file store, an API layer, and a separate Postgres instance. Supabase replaces all of them. One connection string, one dashboard, one bill.
    
-   #### Security at agent speed.
    
    Agents make autonomous decisions with no human in the loop. Row Level Security ensures every database call respects tenant boundaries. Combined with SOC 2 Type II certification and database audit logs, your agent workloads stay secure at production scale.
    
-   #### Native MCP from day one.
    
    Supabase includes an MCP server that supports both read and write operations. Your agents can query schemas, insert records, and manage data through a standardized protocol.
    

## Supabase is the Postgres platform your agents control

Everything your agents need to connect, query, and act on your data.

### Database

A fully managed Postgres database.  
No forks: 100% pure Postgres.

-   100% portable
-   Built-in Auth with RLS
-   Easy to extend

NAME

PUBLICATION

Jon Meyers

All

Chris Martin

All

Amy Quek

No

Riccardo Bussetti

No

Beng Eu

All

Tyler Hillery

All

### Authentication

Secure authentication with email/password, magic links, OAuth (Google, GitHub, Twitter, etc.), SAML, SSO, and phone/SMS OTP.

![Supabase Authentication user db rows](https://supabase.com/images/index/products/auth.svg?dpl=dpl_CfpQuiQycYCX671hRi7AEZqS6aM4)

### Role-Based Access Control

Secure your data properly.

### Realtime

Postgres replication enables live sync functionality for collaborative applications.

![Supabase Realtime](https://supabase.com/images/index/products/realtime-dark.svg?dpl=dpl_CfpQuiQycYCX671hRi7AEZqS6aM4)

### Storage

Scalable S3-compatible object storage for managing files, images, and videos.

### Edge Functions

Serverless functions powered by Deno, deployed globally for low-latency execution.

![Supabase Edge Functions globe](https://supabase.com/images/index/products/edge-functions-dark.svg?dpl=dpl_CfpQuiQycYCX671hRi7AEZqS6aM4)

### Vectors

pgvector extensionfor AI/ML applications, enabling fast semantic search and embedding storage.

### Row Level Security

Granular access control policies to secure data at the row level.

### Full SQL access

Supabase supports CTEs, triggers, foreign keys, JSONB, full-text search, and more.

### Postgres functions

Run backend logic in the database if you prefer using stored procedures, PL/pgSQL, and custom functions.

### Postgres extensions

Tap into the full Posgres ecosystem, including pgvector, PostGIS, pg\_stat\_statements, and over XX more Postgres extensions.

## Developers can build faster with Supabase

Features that help developers move quickly and focus.

## Top performance,  
at any scale

Supabase ensures optimal database performance at any scale, so you can focus on innovating and growing without worrying about infrastructure limitations — whether you're handling high-traffic applications, complex queries, or massive data volumes.

-   Databases Created
    
    44,000,000+
    
-   Databases launched daily
    
    200,000+
    

Users

0,000,000

+00.0%

-   SOC 2 Type II certified
    
-   HIPAA compliant
    
-   DDoS Protection
    
-   Multi-factor Authentication
    
-   Vulnerability Management
    
-   Role-based access control
    
-   Database Audit Logs
    
-   Security Advisors
    
-   Encrypted Storage
    
-   Network restrictions
    

## Works with every agent framework

Supabase integrates with the tools and frameworks agent builders already use.

-   #### Agent frameworks.
    
    LangChain and any framework that speaks SQL, REST, or MCP—including CrewAI, AutoGen, and others.
    
-   #### AI providers.
    
    OpenAI, Anthropic, Google, Mistral, and any model provider. Supabase is model-agnostic.
    
-   #### Development tools.
    
    Cursor, Windsurf, VS Code Copilot, Claude Code, and every editor that supports MCP.
    

## Get started

Copy these prompts into your AI editor to scaffold agent infrastructure on Supabase:

### Build an agent memory store

Create a Supabase schema for persistent agent memory with session tracking, JSONB state storage, and vector embeddings for semantic recall.

### Set up a RAG pipeline

Build a RAG pipeline on Supabase with document upload to Storage, text extraction via Edge Functions, and pgvector embeddings with hybrid search.

### Configure multi-tenant agent access

Design a multi-tenant Supabase schema with Row Level Security policies that restrict each agent to its own tenant's data.

### Deploy a tool-calling endpoint

Create a Supabase Edge Function that serves as a tool endpoint for an AI agent, accepting structured input, querying the database, and returning formatted results.

## Customer stories