Skip to content

Contexts

Guide

Each Context is made of sections — independent content blocks that describe one aspect of the workspace. Sections can be:

  • Created manually by the user.
  • Imported from Markdown files (.md, .mdx).
  • Generated by AI, either in bulk or one at a time.

All changes (create, edit, import, generate, delete, reorder) are local until you click Publish. If you reload the page without publishing, pending changes are discarded.


TypeDescription
Plain textFree-form basic text
Text areaLonger multi-line text
Rich textMarkdown content
LinkSingle URL
Link listMultiple URLs
ListItems in list format
ChecklistList with checkboxes
CodeFormatted code block
QuoteQuote-style text
CalloutHighlighted colored boxes
GroupStructured profiles with name, description, goals, pains and traits (e.g. user personas)

At the top of the Contexts tab you’ll find, from left to right:

ElementDescription
Search fieldFilters sections by title or content text
Filter by typeFunnel button with popover to pick which section types to display
”Unpublished changes” badgeAppears when there are pending local changes
UndoDiscards all pending changes and reloads from the last published state
PublishPersists changes to the database and syncs Knowledge Base embeddings
Magic button (✨)Opens the bulk AI generation dialog, letting you review the prompt before confirming
Gear (⚙)Opens the Security settings (clear all Contexts)

Click Add Section (the + button in the tree on the left, or in the empty state). A new section is created at the end of the tree in edit mode, where you define title, type and content.

Click Upload (the upload button in the tree, or in the empty state). Select one or more .md / .mdx files — Prodgy converts each top-level heading into a section and preserves body formatting. Ideal for bringing in existing documentation.

Click the magic button (✨) in the header. A dialog opens showing the prompt that will be sent to the AI. You can:

  • Review and edit the prompt (controls which sections are generated).
  • Adjust Max Tokens (maximum response size, default 8000).
  • Adjust Temperature (creativity, default 0.7 — lower = more focused).
  • Click Generate to confirm.

Generated sections appear as drafts and are only persisted when you click Publish.

Inside the section tree, each item has a Generate with AI option in the context menu. This opens a dialog with a prompt focused on that section only, without affecting the others.


ActionDescription
EditModify title, description and content of a section in the editor on the right
DeleteRemove a section (via tree menu or editor)
ReorderDrag and drop items in the tree to rearrange
Generate with AIAvailable in the context menu of each section
Download as MarkdownDownload icon in the editor header — exports the selected section as a .md file (filename derived from the section title)

The Contexts tab uses a local draft model:

  1. Edit freely — create, change, import, generate or delete sections. Nothing is saved to the database yet.
  2. Visual indicators — modified sections show a yellow dot in the tree, and an “Unpublished changes” badge appears in the header.
  3. Publish — when you click Publish, all changes are persisted to the database and embeddings are synced with the Knowledge Base.
  4. Undo — discards all pending changes and returns to the last published state.

Access through the gear button (⚙) in the header.

  • Clear Contexts — permanently removes all sections from the database and cleans up embeddings from the Knowledge Base. This action cannot be undone.

When you publish, Prodgy:

  1. Persists all pending changes to the database (creates new sections, updates existing ones, deletes removed ones).
  2. Syncs the content with the Knowledge Base, generating embeddings so AI agents can consult this information during conversations and workflow executions.