- Home
- Prompt libraries
- LangGPT
LangGPT
Structured prompt template framework with roles, rules and workflows
What it is
LangGPT is a template convention for writing prompts as structured documents with sections such as Role, Rules and Workflow, plus variables and reusable modules. The repository holds the templates, examples and a related paper, with documentation in English, Chinese and Japanese. Aimed at people who write and maintain many prompts.
Good for
- Write a role prompt from a fixed template
- Standardise prompts across a team
- Ask a model to draft a structured prompt
Worth knowingMuch of the surrounding community material and many examples are in Chinese.
Sources
- https://github.com/langgptai/LangGPT (project README, read 10 Nov 2026)
- https://api.github.com/repos/langgptai/LangGPT (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.