Skip to main content

Prompt Studio

Prompt Studio is the centralized prompt management system in Strongly.AI. It provides a dedicated space to create, version, test, compare, and share prompts across your organization. Rather than hardcoding prompts inside workflows or agent configurations, Prompt Studio lets you manage them as first-class platform resources with full version history and access control.

Key Features

  • Four Prompt Types: System Prompts, User Prompts, Skills, and Templates
  • Automatic Versioning: Every edit creates a new version with change notes
  • Variable Templating: Use {{variableName}} syntax for reusable, parameterized prompts
  • Model Comparison: Test prompts against multiple AI Gateway models side-by-side
  • Sharing & Visibility: Share with specific users or make public to your organization
  • REST API: Full programmatic access for CI/CD integration
  • Prompt Picker: Reusable component for selecting prompts in workflows and agents

Prompt Types

TypeDescriptionUse Case
System PromptDefines AI model behavior and personalityAgent system instructions, chatbot personas
User PromptQueries or instructions sent to modelsExtraction templates, analysis requests
SkillReusable instruction sets (typically Markdown)Teaching AI specific tasks or procedures
TemplatePre-built prompt structuresSummarization, classification, code generation

Quick Start

Creating a Prompt

  1. Navigate to Prompt Studio in the sidebar
  2. Click New Prompt
  3. Select a prompt type from the dropdown
  4. Enter a name and optional description
  5. Write your prompt content in the editor
  6. Add tags for organization (comma-separated)
  7. Click Save

Using Variables

Variables use the {{variableName}} syntax. Prompt Studio automatically detects variables in your content and displays them in the variables panel.

You are a customer support agent for {{company}}.
Your role is to help customers with {{topic}} questions.
Always respond in {{language}}.

Each variable can have:

  • Description: What the variable represents
  • Default Value: Used when no value is provided
  • Required: Whether the variable must be supplied

Versioning

Every time you save changes to a prompt, a new version is created automatically. The version history shows:

  • Version number (incrementing)
  • Change note describing what was modified
  • Author who made the change
  • Timestamp

You can view any previous version to see its content, or restore it to make it the current version. Restoring creates a new version rather than overwriting history, so nothing is ever lost.

Sharing

Prompts support two visibility modes:

  • Private: Only you and users you explicitly share with can access the prompt
  • Public: All users in your organization can see and use the prompt

To share with specific users:

  1. Open a prompt's detail page
  2. Go to the Sharing tab
  3. Search for users and click Share
  4. Or toggle Public to make it visible to everyone

In multi-tenant environments, sharing is restricted to users within the same organization.

Duplicating

Click the Duplicate button on any prompt you have access to. This creates a copy with:

  • Your user as the new owner
  • Name suffixed with "(Copy)"
  • Version reset to 1
  • All content and variables preserved

This is useful for experimenting with variations without modifying the original.

Model Comparison

The Compare feature lets you test prompts against multiple AI Gateway models simultaneously.

Running a Comparison

  1. Navigate to Prompt Studio > Compare (or click Compare from a prompt's detail page)
  2. Click Add Model to select AI Gateway models (up to 4)
  3. Enter a system prompt and user prompt for each model (or they'll be pre-populated from the source prompt)
  4. Adjust parameters per model:
    • Temperature (0.0 - 2.0): Controls randomness
    • Max Tokens: Maximum response length
    • Top P (0.0 - 1.0): Controls output diversity
  5. Click Run Comparison

Reviewing Results

Results display side-by-side with metrics for each model:

  • Response time in milliseconds
  • Input tokens consumed
  • Output tokens generated
  • Total tokens used

Best values are highlighted in green for easy identification.

Saving Comparisons

After running a comparison, you can:

  • Export as JSON for offline analysis
  • Save with optional notes for future reference
  • View saved comparisons in the History tab

Integration

Using in Workflows

When configuring an AI Gateway node in the workflow builder, use the Prompt Picker to browse and select prompts from Prompt Studio. If the selected prompt has variables, you'll be prompted to fill them in.

Using in Agents

Agent system prompts can reference prompts from Prompt Studio. The Prompt Picker component allows browsing by type and searching across your prompt library.

REST API

All Prompt Studio operations are available via the REST API. See the Prompts REST API documentation for complete endpoint reference.

Next Steps