anysphere/priompt
Prompt design using JSX. observed · 2026-08-28
Health v2 · maintenance only
50/100
- Activity 47
- Release rhythm 35
- Longevity 83
Flags: no_releases
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: 1167
- days_rel: n/a
- days_push: 323
- n_releases_24m: 0
Adoption not part of the score
2850 stars · 159 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Priompt is a JSX-based prompt design library for building LLM prompts with React-like components. It uses priority levels to decide which prompt components fit within the context window's token limit.
Use cases
- build llm prompts with jsx components
- prioritize which context to include when token limit is exceeded
- compose chat prompts from message history with fallbacks
- reserve token space in prompts for model responses
- design prompts declaratively like react components
When to choose
- you build LLM applications in TypeScript and want declarative prompt composition
- you need fine-grained control over what gets dropped when context overflows
- you want React-style component reuse for prompt engineering
When to avoid
- you work in Python or another non-JS language
- you need a full LLM orchestration framework with agents and tooling
- you prefer simple string-template prompts without priority logic
Facets
library · maturity active
prompt-engineering llm-inference templating large-language-models artificial-intelligence developer-tools jsx prompt-design context-window token-prioritization llm nodejs typescript
1 source
- readme: https://github.com/anysphere/priompt · fetched 2026-08-28 · 32c6c67b96b5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| anysphere/priompt | main | 50 |
For agents
markdown · JSON · MCP: product_card(name="anysphere/priompt")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem