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
📋 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
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"}'
Documentation Sections
| Section | What You'll Learn |
|---|---|
| Getting Started | Install, configure, send your first message |
| Concepts | Agents, threads, streaming, tools, knowledge, memory, plans, skills, tracing |
| SDK Reference | FlapjackClient methods, React hooks, patterns |
| API Reference | REST endpoints, request/response schemas |
| MCP Guide | Connect external tools via Model Context Protocol |
| Runners | Headless, schedulable AI pipelines |
| Guides | Publish agents, connect Postgres, enable web tools, Google Workspace |
Key Resources
| Resource | URL |
|---|---|
| Dashboard | flapjack.chat |
| API Base URL | https://api.flapjack.dev |
| SDK Package | @flapjack/sdk on npm |
| Plugin | /plugin add maatskappy/flapjack |
| GitHub | maatskappy/flapjack |
| LLM Manifest | llms.txt |
Last updated: 2026-05-11