TL;DR

InsForge là backend-as-a-service open-source được thiết kế natively cho AI coding agents — không phải cho con người click dashboard. Nó expose database (Postgres), auth, storage (S3-compatible), edge functions và một Model Gateway qua một semantic layer truy cập qua MCP. Agents như Cursor, Claude Code, Codex có thể reason, configure và inspect toàn bộ backend end-to-end.

Founded 7/2025, backed by Y Combinator, 7.8k sao GitHub, Apache 2.0. Benchmark riêng cho AI agents: 1.6× nhanh hơn, 30% ít token hơn, 1.7× accuracy cao hơn so với Supabase.

InsForge MCP connection flow between AI coding agents and backend primitives

What's new

AI agents ship frontend đẹp trong vài giây. Nhưng ngay khi bạn hỏi "thêm database", "wire auth", "upload file" — chúng sụp đổ. Đây là cái mà Vonng gọi là "last mile problem" của vibe coding: traditional BaaS được thiết kế cho con người, dashboards với agent về cơ bản invisible.

InsForge tiếp cận vấn đề từ góc hoàn toàn khác: design-first-question là "can the agent understand this?", không phải "is the UI pretty?". Thay vì forced agents manipulate low-level APIs, InsForge expose 6 backend primitives qua một semantic layer MCP — agents interact bằng concept như create user authentication, store file upload, query primary database.

What's under the hood

Dưới lớp semantic, InsForge là một stack quen thuộc:

  • PostgreSQL 15 làm engine trung tâm — data, API generation, auth state, RLS policies đều nằm trong PG
  • PostgREST auto-generate REST API từ schema
  • Deno + TypeScript cho edge functions
  • Deploy qua 5 Docker containers

Vonng mô tả khá chính xác: "basically a slim Supabase". Codebase 89.8% TypeScript, 622 forks, 71+ contributors, 32 releases (latest v2.0.8).

Semantic layer & MCP tooling

Phần hay nhất là cách InsForge chia trách nhiệm giữa SDK và MCP:

  • SDK cho application logic: auth register/login, database CRUD, storage upload, AI chat, function invocation
  • MCP tools cho infrastructure: download-template, get-backend-metadata, run-raw-sql, get-table-schema, create-bucket, create-function, và quan trọng nhất fetch-docs — bắt buộc agent phải call trước khi viết code

Trước mỗi integration, agent được yêu cầu fetch docs phù hợp: db-sdk, auth-components-nextjs, storage-sdk, ai-integration-sdk, real-time… Điều này ngăn agent hallucinate API từ training data cũ.

Technical facts & benchmarks

InsForge publish benchmark riêng so sánh agent workflow trên InsForge vs Supabase vs Postgres thuần:

MetricInsForgeSupabasePostgres
Task completion time150s239s215s
Tokens sử dụng8.2M11.6M10.4M
Accuracy47.6%28.6%38.1%

Con số biết nói: 1.6× faster, -30% token, 1.7× higher accuracy khi agent làm việc với InsForge thay vì Supabase. Lý do không nằm ở tốc độ Postgres — cả 3 đều chạy trên PG engine gần như tương đương — mà ở ít vòng lặp debug hơn: semantic layer cho agent biết chính xác cần gọi gì, trạng thái backend ra sao, lỗi nằm đâu.

Comparison với Supabase, Firebase, hosted Postgres

  • Vs Supabase: stack gần như trùng nhau. Khác ở abstraction boundary. Supabase tối ưu cho dashboard human; InsForge tối ưu cho agent reasoning qua MCP. Trên agent task, InsForge thắng rõ rệt như bảng trên.
  • Vs Firebase: InsForge trả về relational Postgres, không NoSQL. Testimonial từ Chloe Huang (PawPals): "Before InsForge, debugging with Lovable was a rabbit hole. After connecting InsForge, the loop stopped and things finally worked."
  • Vs hosted Postgres thuần: InsForge dùng chính Postgres làm engine. Giá trị thêm là lớp agent-facing (PostgREST API, auth, storage, MCP). Điểm yếu: self-hosted mặc định là single-node Docker, không HA/backup — production cần pair với Pigsty hoặc managed PG.

Hoạt động với bất kỳ agent nào bạn đang dùng: Cursor, Claude Code, Codex, OpenClaw, Hermes, Lovable.

Use cases thực tế

  • "I typed 'build a blog app' and suddenly comments were flowing into a live database" — Jingbang Zhong, Software Engineer, dùng Cursor + InsForge
  • "I asked my agent for Google login and InsForge handled everything out of the box. No setup, it just worked." — Forrest, CTO @Forest Market
  • AI chatbot: agent auto-wire Model Gateway (OpenAI-compatible), auto-persist chat history vào Postgres
  • CRM weekend prototype: npx @insforge/cli create → agent build phần còn lại

Ai hưởng lợi nhiều nhất? Frontend-only devs chưa từng touch database, non-technical founders prototype trong weekend, và enterprise team build AI-driven engineering pipeline.

Limitations & pricing

  • Vẫn build trên PostgreSQL 15 (Pigsty đã ở PG 18)
  • Default self-hosted: single-node Docker — không HA, không monitoring, không automated backup. Production nên pair với external PG distro
  • Docs còn thin ở advanced self-hosting (HA, backup, hardening)
  • Hard constraint: frontend phải dùng Tailwind CSS 3.4, không upgrade v4 được
  • Serverless functions: single endpoint, không có subpath
  • Team 5 người — velocity product cao nhưng ecosystem vẫn non-trẻ

Pricing: open-source Apache 2.0, self-host miễn phí qua Docker Compose. Cloud hosted tại insforge.dev. One-click deploy trên Railway, Zeabur, Sealos.

What's next

Changelog gần đây (2026) cho thấy pace rõ ràng:

  • Apr 12 — Backend Alert Notifications + Integrations Hub
  • Apr 7 — Custom SMTP + editable auth email templates
  • Apr 1 — Edge Function Editor
  • Mar 30 — Custom Domains, Realtime Retention, OSS Skills

Hướng tiếp theo: mở rộng Integrations Hub (payment, monitoring), hoàn thiện site deployment, và cải thiện production story (HA, backup) để cạnh tranh seriously với managed Supabase trên production workload.

Nếu bạn đang vibe-code bằng Cursor hoặc Claude Code và đã đụng "last mile wall" — auth broken, RLS rối, file upload không work — InsForge đáng thử một buổi chiều. Repo ⭐ ở github.com/InsForge/InsForge.

Nguồn: GitHub InsForge, insforge.dev, Vonng blog, FunBlocks review, Daily Dose of DS.