microsoft/prompt-engine
A library for helping developers craft prompts for Large Language Models observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1538
- days_rel: n/a
- days_push: 1226
- n_releases_24m: 0
Adoption not part of the score
2752 stars · 121 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An NPM utility library from Microsoft for building and maintaining prompts for Large Language Models, with generic, code, and chat prompt engines. It manages descriptions, few-shot examples, and ongoing dialog context so developers don't have to manipulate prompt strings manually.
Use cases
- build few-shot prompts for GPT-3 or Codex
- generate natural language to code prompts
- maintain conversation context for stateless LLMs
- structure chat prompts with examples and dialog history
- codify prompt engineering patterns in TypeScript
When to choose
- you're building LLM apps in Node.js/TypeScript and want structured prompt construction
- you need to manage few-shot examples and dialog history programmatically
When to avoid
- you use Python-based LLM tooling ecosystems
- you need a full agent or orchestration framework rather than prompt string management
- you need actively maintained features - the repo's last release was 2023
Facets
library · maturity maintenance
prompt-engineering llm-inference developer-tools large-language-models artificial-intelligence developer-tools few-shot-prompting npm chat-prompts code-generation-prompts nodejs typescript
1 source
- readme: https://github.com/microsoft/prompt-engine · fetched 2026-08-28 · a676996e392f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/prompt-engine | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/prompt-engine")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem