TheDocumentation Index
Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt
Use this file to discover all available pages before exploring further.
prismeai/prismeai-templates repository hosts a growing set of ready-to-import workspace templates. Each folder is a working DSUL workspace built around one clear use case, so you can study the pattern, fork it, or use it as a starting point for your own project.
Examples currently in the repo include a stateless LLM call from a form and a chat with a configurable agent. Browse the repository README for the full, up-to-date list — that’s where new templates land first.
When to use a template
A template is the fastest way to:- See an end-to-end pattern (workspace config → automations → page) in a few dozen lines of YAML.
- Decide which client app fits your use case before you write any of your own.
- Ship a working internal tool by tweaking instructions, prompts, or page copy rather than building from scratch.
README summarizes the trade-offs (LLM App for stateless calls; Agent Factory App for stateful, persona-driven agents).
How to import a template
- Get the template folder. Clone
prismeai/prismeai-templatesor download just the folder you want. - Zip the template folder. Create a
.zipwhose root contains the template’s files directly (index.yml,automations/,pages/, etc.). Don’t zip the whole repository, and don’t wrap the files in an extra parent folder. - Import the zip. Two options:
- In Studio, open Workspaces → Import and drop in the zip.
- Or
POSTthe zip to/v2/workspaces/import— see the Workspaces API reference.
- Open the imported workspace and follow the setup instructions in that template’s own
README.md(each folder has one). It walks through getting any required API key, configuring the client app, and any one-time provisioning.
Anatomy
Every template follows the same shape, so once you’ve read one you can navigate any of them:- The form fires a custom event on submit.
- An event-listener automation calls the client app, writes the result to
session.<key>, and emits a “ready” event. - The page’s
updateOn:re-runsloadPage, which re-readssession.<key>and refreshes the result block.