Skip to main content
It’s a central place to create, manage, and reuse prompt templates across your agents and workflows — with version tracking, response testing, and reference lookup built in. Navigation: select a project, then go to Resources > Prompt Library.

Prompt Lifecycle

A typical prompt lifecycle in Prompt Library:
StageDescription
Create PromptCreate a reusable prompt template and define its instructions and content.
Test and CompareTest the prompt across one or more models and compare responses, token usage, and response times.
Refine and VersionUpdate the prompt based on test results and save new versions as needed.
Activate PromptPromote a validated version to active status for production use.
Reuse and ManageReuse the prompt across the project and manage it through version history and references.

Create and Manage Prompts

The Prompt Library page lists all prompts in the selected project. For each prompt, you can:
  • Define prompt instructions and content.
  • Add tags for categorization.
  • Save prompts as drafts.
  • Promote validated prompts to the active version.
Create prompts

Manage Prompt Versions

Each prompt supports multiple versions. Use the Versions tab to:
  • View all available versions.
  • Track revisions over time.
  • Compare changes between versions.
  • Promote a selected version to active status.

Prompt States

StateDescription
DraftA work-in-progress version used for editing and testing.
ActiveThe published version available for production use.

Test and Compare Prompts

Use Test & Compare to evaluate prompt behavior across multiple language models before deployment. You can:
  • Select a prompt version.
  • Choose models for comparison.
  • Provide a test user message.
  • Upload an optional context file.
  • Run the prompt against selected models simultaneously.
Test prompts Results appear side by side with response metrics including response time and token usage.

Use Context During Testing

You can upload files to include additional context during a test run. The uploaded content is available during prompt execution, letting you evaluate how the prompt handles real-world, project-specific information.

View Prompt References

The References tab shows where a prompt is used within the project. Use it to:
  • Understand prompt dependencies.
  • Assess the impact of changes before modifying an active prompt.
  • Identify agents and workflows that rely on the prompt.

Best Practices

  • Use descriptive names that clearly indicate a prompt’s purpose.
  • Add tags to improve organization and searchability.
  • Save changes as drafts while iterating.
  • Test prompts across multiple models before promoting to active status.
  • Review references before modifying active prompts.
  • Use version history to track prompt evolution and preserve previous revisions.