Skip to main content
FrogBot is built around a small set of declarative building blocks in one config (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 loads frogbot.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.
Running 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: When agents are configured, FrogBot automatically registers default 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-defined AgentConfig object backed by an AI SDK ToolLoopAgent. Tools use Zod input schemas and receive a request-aware context (ctx.frogbot and ctx.req).
Every agent automatically gets 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 full UIMessage.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

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). Pass req: ctx.req and overrideAccess: false when acting for a signed-in user, or overrideAccess: true for trusted server work such as scripts, seeds, and jobs.