Cobbl

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.

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:

Architecture

Cobbl consists of three main components:

ComponentDescription
DashboardWeb app for reviewing feedback and managing prompts
SDKTypeScript/Node.js client for developers
APIBackend 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!',
})

Support

On this page