Documentation
Overview

Flapjack Developer Documentation

Build AI-powered products with Flapjack. Create agents, embed them with the SDK, extend with MCP tools, and manage via the REST API.

Flapjack is a hosted platform for deploying AI agents. You create agents on the dashboard, then embed them in your product using the TypeScript SDK, React hooks, or REST API.

Architecture

Client (SDK/API) → Flapjack API → Tensorlake Runtime → LLM (OpenAI / Anthropic)
                   [control plane]   [execution plane]
                   Next.js + Supabase   Python
  • Control plane: Agent config, auth, threads, message persistence, MCP management
  • Execution plane: LLM calls, tool dispatch, memory, RAG, streaming
  • SDK: @flapjack/sdk — TypeScript client + React hooks

Choose Your Path

Path 1: Flapjack Skill (Fastest — 30 seconds)

Install the Flapjack plugin in Claude Code, Cursor, or any Agent Skills-compatible editor. Your AI assistant gets full SDK knowledge and can scaffold integrations for you.

/plugin add maatskappy/flapjack

Quickstart: Skill

📋 Copy as prompt

Install the Flapjack plugin in my editor using /plugin add maatskappy/flapjack, then help me set up a Flapjack-powered chatbot in my project.

Path 2: TypeScript SDK (5 minutes)

Install @flapjack/sdk and stream your first agent response in 10 lines of code.

npm install @flapjack/sdk

Quickstart: SDK

Path 3: REST API (Direct)

Call the Flapjack API directly with curl or any HTTP client.

curl -X POST https://api.flapjack.dev/api/threads \
  -H "Authorization: Bearer fj_live_..." \
  -H "Content-Type: application/json" \
  -d '{"agentId": "your-agent-id"}'

Quickstart: API

Documentation Sections

SectionWhat You'll Learn
Getting StartedInstall, configure, send your first message
ConceptsAgents, threads, streaming, tools, knowledge, memory, plans, skills, tracing
SDK ReferenceFlapjackClient methods, React hooks, patterns
API ReferenceREST endpoints, request/response schemas
MCP GuideConnect external tools via Model Context Protocol
RunnersHeadless, schedulable AI pipelines
GuidesPublish agents, connect Postgres, enable web tools, Google Workspace

Key Resources

ResourceURL
Dashboardflapjack.chat
API Base URLhttps://api.flapjack.dev
SDK Package@flapjack/sdk on npm
Plugin/plugin add maatskappy/flapjack
GitHubmaatskappy/flapjack
LLM Manifestllms.txt

Last updated: 2026-05-11

Docs last updated May 11, 2026