Prompt Library

What are our Prompts, and how can you manage it using API.

The Prompt Library (also referred to as the Agent Library) is the curated collection of reusable prompts, agent system messages, tool configurations, and patterns that power your Knowledge Bots. It standardizes how agents reason, retrieve, and act.

What it is

  • Reusable components: System prompts, instruction blocks, retrieval and tool patterns, and example dialogues.

  • Prompt templates: Parameterized bot definitions that can be instantiated as concrete bots in Cortex.

  • Governed catalog: A single place to review, version, and approve prompts and agent behaviors.

Why use a Prompt Library

  • Consistency: Ensure agents follow shared guidelines for tone, safety, and retrieval.

  • Reusability: Avoid copy–paste drift by centralizing common patterns and instructions.

  • Velocity: Compose new bots quickly from vetted building blocks.

  • Compliance: Review and audit agent behavior from a single source of truth.

Typical lifecycle

  1. Draft or update a prompt/agent template in the library.

  2. Review and test the prompt in your specific Use-Case.

  3. Publish a template; dependent bots are automatically updated to inherit changes.

Last updated

Was this helpful?