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
| Type | Description | Use Case |
|---|---|---|
| System Prompt | Defines AI model behavior and personality | Agent system instructions, chatbot personas |
| User Prompt | Queries or instructions sent to models | Extraction templates, analysis requests |
| Skill | Reusable instruction sets (typically Markdown) | Teaching AI specific tasks or procedures |
| Template | Pre-built prompt structures | Summarization, classification, code generation |
Quick Start
Creating a Prompt
- Navigate to Prompt Studio in the sidebar
- Click New Prompt
- Select a prompt type from the dropdown
- Enter a name and optional description
- Write your prompt content in the editor
- Add tags for organization (comma-separated)
- 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:
- Open a prompt's detail page
- Go to the Sharing tab
- Search for users and click Share
- 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
- Navigate to Prompt Studio > Compare (or click Compare from a prompt's detail page)
- Click Add Model to select AI Gateway models (up to 4)
- Enter a system prompt and user prompt for each model (or they'll be pre-populated from the source prompt)
- 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
- 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.