Getting Started
Welcome to Cobbl - the feedback-driven prompt management platform for LLM applications
Welcome to the Cobbl documentation! Cobbl is a lightweight prompt management platform + SDK for engineering teams and startups building with LLMs.
New to Cobbl?
Get up and running in under 5 minutes with our Quick Start Guide.
What is Cobbl?
Cobbl helps you close the feedback loop on LLM prompts — collect real user feedback, review it, and ship improved prompt versions without leaving your stack.
Core Features
📝
Prompt Management
Store, version, and manage your prompts centrally with full history tracking.
💬
Feedback Collection
Collect user feedback via SDK or embedded widget seamlessly.
🔄
Review Workflow
Review feedback side-by-side with AI outputs for quick iteration.
📊
Analytics
Track prompt performance and usage metrics in real-time.
Quick Start
Get started with Cobbl in under 5 minutes:
SDK
TypeScript/JavaScript SDK for running prompts and collecting feedback programmatically.
Feedback Widget
Drop-in embeddable widget for collecting user feedback with no code required.
Architecture
Cobbl consists of three main components:
| Component | Description |
|---|---|
| Dashboard | Web app for reviewing feedback and managing prompts |
| SDK | TypeScript/Node.js client for developers |
| API | Backend API for prompt execution and feedback |
Basic Usage
import { CobblAdminClient } from '@cobbl-ai/sdk'
import { CobblPublicClient } from '@cobbl-ai/sdk'
// Initialize the admin client (server-side)
const adminClient = new CobblAdminClient({
apiKey: process.env.COBBL_API_KEY,
})
// Run a prompt
const result = await adminClient.runPrompt('sales_summary', {
topic: 'Q4 Results',
tone: 'friendly',
})
console.log(result.output)
console.log(result.runId) // Save for feedback
// Initialize the public client (client-facing)
const publicClient = new CobblPublicClient()
// Submit feedback
await publicClient.createFeedback({
runId: result.runId,
helpful: 'helpful',
userFeedback: 'Great summary!',
})