The open-source lego bricks for AI to build internal apps, automate workflows, and replace SaaS apps
Define agents, tools, integrations, and your entire data layer in one config — FrogBot turns it into a sleek production UI, database, and backend.
FrogBot is the fastest way to vibe code production-grade applications in the AI era. Prompting an AI from scratch produces 15,000 lines of fragile glue code for auth, tables, permissions, and background queues. FrogBot gives your coding agent established, declarative building blocks in one MIT codebase you own forever.
Paste this prompt into Claude Code, Cursor, Codex, or OpenCode to scaffold a FrogBot app with the bundled FrogBot skill:
Set up a new FrogBot app on this machine and help me build with it:
1. Verify Node.js >= 24.21 (node --version). If missing, give me https://nodejs.org/en/download and wait.
2. Ask which AI provider key I want to use (openai, anthropic, or google) and where to create the project folder.
3. Run: npx create-frogbot-app@latest my-frogbot --yes --ai <PROVIDER> --agents <AGENT>
(Use claude, codex, cursor, opencode, copilot, or gemini for <AGENT>.)
4. Read the installed FrogBot skill inside my-frogbot (.claude/skills/frogbot/SKILL.md or .agents/skills/frogbot/SKILL.md) before editing any files.
5. Help me add my provider API key to my-frogbot/.env, start the dev server (npm run dev), and open http://localhost:3000.
6. Ask what app or SaaS tool I want to build or replace, then configure collections, views, pieces, and agents in src/frogbot.config.ts.
You need Node.js 24.21 or newer and an AI provider key (OpenAI, Anthropic, or Google). Create and boot a project:
npx create-frogbot-app@latest my-app --ai openai
cd my-app
npm run devOpen http://localhost:3000 to create your admin account, view your collections, and open Chats to talk to your agent. See Installation for every CLI flag.
Everything lives in one typed configuration file—database collections, Admin UI views, AI providers, tools, and agents:
// frogbot.config.ts
import { sqliteAdapter } from '@frogbotai/db-sqlite';
import { buildConfig } from 'frogbot';
import type { Tool } from 'frogbot';
import { z } from 'zod';
const lookupDealSchema = z.object({
dealId: z.string().describe('The deal ID to look up.'),
});
const lookupDeal: Tool<typeof lookupDealSchema> = {
slug: 'lookup_deal',
description: 'Fetch a deal record using the signed-in user permissions.',
inputSchema: lookupDealSchema,
execute: ({ dealId }, ctx) =>
ctx.frogbot.findByID({
collection: 'deals',
id: dealId,
req: ctx.req,
overrideAccess: false,
}),
};
export default buildConfig({
secret: process.env.FROGBOT_SECRET!,
db: sqliteAdapter({ client: { url: 'file:./frogbot.db' } }),
collections: [
{
slug: 'deals',
fields: [
{ name: 'title', type: 'text', required: true },
{
name: 'stage',
type: 'select',
options: ['lead', 'qualified', 'proposal', 'won'],
defaultValue: 'lead',
},
{ name: 'value', type: 'number' },
],
},
],
ai: {
providers: {
openai: {},
},
},
agents: [
{
slug: 'assistant',
model: 'openai/gpt-4.1-mini',
instructions: 'You are FrogBot, a concise sales and operations assistant.',
tools: [lookupDeal],
access: ({ req }) => !!req.user,
},
],
});Boot locally with frogbot dev, generate end-to-end TypeScript types with frogbot generate:types, or deploy in one command with npx frogbot deploy (Dojo, Docker, Fly.io, Google Cloud, AWS or Azure).
- Full data layer & Admin UI — collections, fields, auth, access control, versions, drafts, and hooks, with instant Table, Kanban board, and Calendar views
- Config-first AI agents — typed Zod tool schemas, per-agent and per-request access control functions, and server-owned chat history
- Automatic REST & streaming endpoints — every agent (
POST /api/agents/:slug) and collection (/api/:slug) gets instant HTTP endpoints with JSON and SSE streaming - Embeddable MIT AI gateway — route to OpenAI, Anthropic, Google, and 30+ more providers through one self-hosted AI gateway
- 40+ native OAuth pieces & chat channels — connect Slack, Discord, Linear, GitHub, Teams, Telegram, Gmail, Stripe, Notion, Xero, and more with managed OAuth and human-in-the-loop channel approvals
- Durable jobs & schedules — background queues, cron schedules, retries, and workers backed by your database
- Single-command type generation —
frogbot generate:typesproduces end-to-end TypeScript types for your collections, agents, and pieces - Own & deploy anywhere — MIT licensed; swap SQLite, Postgres, or MongoDB and S3/R2/GCS/Azure/Vercel Blob adapters anytime, or deploy in one command with
npx frogbot deploy
This monorepo publishes the following packages:
| Package | Description |
|---|---|
frogbot |
FrogBot core: typed configuration surface, collections, agent runtime, jobs, CLI, and HTTP server |
create-frogbot-app |
CLI scaffolder for new FrogBot apps and coding-agent skills |
@frogbotai/next |
Next.js App Router integration for the Admin UI, REST API, and GraphQL endpoints |
@frogbotai/ui |
React UI components, Table/Kanban/Calendar views, and Chat UI library |
@frogbotai/gateway |
Embeddable, self-hostable MIT AI gateway built on the Vercel AI SDK |
@frogbotai/sdk |
Typed client SDK for calling FrogBot APIs from external frontends and services |
@frogbotai/protocol |
Zero-dependency types contract shared by the FrogBot server and its clients |
@frogbotai/richtext-lexical |
Lexical rich-text editor and field adapter |
@frogbotai/graphql |
GraphQL helper types and schema generator CLI |
Plugins
| Package | Description |
|---|---|
@frogbotai/plugin-dojo |
Dojo deploys (frogbot deploy, share) and every Dojo action from the CLI |
@frogbotai/plugin-roles |
Role-based access control (RBAC) collections and permission helpers |
@frogbotai/plugin-audit-log |
Immutable audit trail for collection and auth operations |
@frogbotai/plugin-mcp |
Expose collections and tools as a Model Context Protocol (MCP) server |
@frogbotai/plugin-ai-policy |
Per-user model allowlists and monthly AI budgets |
@frogbotai/plugin-api-keys |
Multiple named, independently revocable API keys |
@frogbotai/plugin-capture |
Capture AI calls and export JSONL chat training data |
@frogbotai/plugin-evals |
Score agents on saved test cases, from the admin or CI |
@frogbotai/plugin-usage-reports |
AI token and cost usage reporting |
@frogbotai/plugin-import-export |
CSV and JSON collection import and export |
@frogbotai/plugin-stripe |
Stripe webhooks and billing sync |
@frogbotai/plugin-nested-docs |
Hierarchical parent/child document trees and breadcrumbs |
@frogbotai/plugin-redirects |
URL redirect management collection |
@frogbotai/plugin-seo |
SEO metadata fields and preview helpers |
@frogbotai/plugin-sentry |
Sentry error reporting integration |
Pieces (40+ Integrations & Channels)
See packages/pieces for all 40+ native integrations, including @frogbotai/piece-openai, @frogbotai/piece-slack, @frogbotai/piece-discord, @frogbotai/piece-linear, @frogbotai/piece-github, @frogbotai/piece-microsoft-teams, @frogbotai/piece-telegram-bot, @frogbotai/piece-gmail, @frogbotai/piece-google-sheets, @frogbotai/piece-notion, @frogbotai/piece-airtable, @frogbotai/piece-stripe, @frogbotai/piece-xero, and @frogbotai/piece-resend.
Database adapters
| Package | Description |
|---|---|
@frogbotai/db-sqlite |
SQLite |
@frogbotai/db-postgres |
Postgres |
@frogbotai/db-mongodb |
MongoDB |
@frogbotai/db-vercel-postgres |
Vercel Postgres |
@frogbotai/db-d1-sqlite |
Cloudflare D1 |
Storage, KV, Image & Live Preview adapters
| Package | Description |
|---|---|
@frogbotai/storage-s3 |
Amazon S3 |
@frogbotai/storage-r2 |
Cloudflare R2 |
@frogbotai/storage-gcs |
Google Cloud Storage |
@frogbotai/storage-azure |
Azure Blob Storage |
@frogbotai/storage-vercel-blob |
Vercel Blob |
@frogbotai/kv-redis |
Redis KV store |
@frogbotai/transformer-sharp |
Image resizing and optimization (Sharp) |
@frogbotai/live-preview |
Live preview core (@frogbotai/live-preview-react, @frogbotai/live-preview-vue) |
The examples/ directory shows how to set up FrogBot in different ways:
- Simple — the smallest possible setup: one config, one agent, one tool, SQLite. No Docker, no external database.
- Tailwind CSS — Tailwind CSS 4 in custom admin components without replacing admin base styles.
- Business QA — a comprehensive showcase with authenticated agents, curated integration tools, OAuth, API keys, uploads, and connections.
pnpm install
pnpm build
pnpm testIntegration tests run against real databases via Docker:
pnpm docker:start
pnpm test:int:sqlite # or test:int:pg / test:int:mongoRequires Node ≥ 24.21 and pnpm.
Contributions are welcome! Read CONTRIBUTING.md before opening a PR, keep changes focused, and make sure pnpm check and relevant tests pass.
MIT © Colby Gilbert