frogbot.config.ts). Instead of generating thousands of lines of custom backend and UI glue code, you or your coding agent assemble these building blocks and FrogBot runs the application.
Configuration
One typed
frogbot.config.ts registers your database, collections, AI providers, agents, pieces, jobs, and plugins.Collections & Views
Schemas that generate database tables, Local/REST/GraphQL APIs, RBAC, and Table, Kanban, and Calendar views.
Agents & Tools
Code-defined tool loops with Zod schemas, model routing, and request-level access control.
Chat
Owner-scoped chats that persist full tool trajectories and restore server-owned history across turns.
Pieces & Connections
40+ integrations and chat channels with managed OAuth, webhook triggers, and interactive approval questions.
Jobs & Plugins
Durable background queues, cron schedules, and config-transform plugins including RBAC, audit logs, MCP, and Dojo.
1. One config file drives the app
FrogBot loadsfrogbot.config.ts at startup. Your TypeScript configuration is the single source of truth—FrogBot does not rely on hidden dashboard state or scan Markdown folders into the database.
frogbot generate:types produces frogbot-types.ts with end-to-end TypeScript types for every collection, field, agent, and piece in your config.
2. Collections generate your data layer, APIs, and Admin UI
Collections are source-controlled schema definitions. From each collection, FrogBot automatically provides:- Database storage & migrations across SQLite, Postgres, or MongoDB
- Admin UI views — instant Table, drag-and-drop Kanban boards, and Calendars
- Three APIs — zero-overhead Local API (
frogbot.find,frogbot.create), REST endpoints (/api/:slug), and GraphQL - Document & field access control and lifecycle hooks
chats and messages collections (or adopts collections marked with chat: true and message: true).
3. Agents run typed tool loops with user permissions
An agent is a code-definedAgentConfig object backed by an AI SDK ToolLoopAgent. Tools use Zod input schemas and receive a request-aware context (ctx.frogbot and ctx.req).
GET /api/agents and POST /api/agents/:slug HTTP endpoints supporting both JSON and Server-Sent Events (SSE) streaming.
4. Chat persists full model trajectories
Authenticated agent calls create or continue owner-scoped chats. Messages retain the fullUIMessage.parts structure—including tool calls and tool results—so follow-up turns see the complete reasoning trajectory rather than a flattened text transcript.
The server owns chat history: a client sends chatId and only the new user message, and FrogBot loads prior turns, validates them against the agent’s tools, and saves the new turn.
5. Pieces, connections, and jobs automate workflows
- Pieces & Connections wire up 40+ external services (Slack, Gmail, Linear, GitHub, Discord, Stripe, Notion, Xero) with managed OAuth, webhook triggers, and interactive channel questions that pause until a human replies in chat.
- Jobs run background tasks, cron schedules, and retries in your database without requiring a separate queue broker.
- Plugins transform your config to add capabilities like RBAC roles, audit logs, MCP servers, API keys, and the
dojotarget thatnpx frogbot deployruns by default on Dojo.
6. Requests connect every layer
FrogBotRequest carries req.user, req.frogbot, active database transactions, and locale across every layer of your app:
- HTTP endpoints (
/api/...and/api/agents/:slug) enforce collection and agent access rules automatically. - Local API calls (
frogbot.find,frogbot.update) enforce access control by default (overrideAccess: false). Passreq: ctx.reqandoverrideAccess: falsewhen acting for a signed-in user, oroverrideAccess: truefor trusted server work such as scripts, seeds, and jobs.