The workbench, every surface.
Prompt Studio is a structured workflow for writing better prompts · analyze, score, optimize, compress, count, map, generate, and persist. Every feature runs offline against a TypeScript fallback when the FastAPI backend isn't reachable.
Analyze
Paste a prompt, get instant feedback on structure, clarity, and completeness. Runs the full pipeline: score, issues, token count, format preview.
Score
7-dimension breakdown · clarity, specificity, context richness, format spec, mode alignment, token efficiency, constraints · rolled into an overall letter grade A–F.
Optimize
Rule-based improvement pass. Adds missing persona, format directives, few-shot examples, and constraints in one shot.
Compress
Strip filler tokens without losing semantic content. Ships shorter payloads at the same intent.
Token counter
Estimate input/output tokens and per-call USD cost across 7 models: GPT-4o, Claude 3.5, Gemini 1.5, GPT-3.5, Llama 3.1, Mistral Large, DeepSeek-V3.
Context map
Visualize how your prompt fits across every supported context window · 16K to 1M tokens.
Adaptive wizard
7-question guided flow that auto-generates a well-structured prompt from your intent.
History + semantic search
Persistent session history backed by PostgreSQL. pgvector ivfflat index for cosine-similarity retrieval when embeddings are wired.