pmndrs/prai
JS Framework for building step-by-step LLM instructions
This is a JavaScript framework designed for developers building applications that use Large Language Models (LLMs). It helps structure multi-step LLM prompts into clear, maintainable code, making it easier to manage complex AI interactions. Developers input instructions and data, and the framework produces reliable, structured outputs from the LLM.
No commits in the last 6 months. Available on npm.
Use this if you are a developer building an application that needs to perform complex, multi-step tasks with an LLM and require structured, predictable outputs.
Not ideal if you are looking for a no-code solution or a simple wrapper for single LLM calls without needing robust prompt orchestration.
Stars
76
Forks
4
Language
TypeScript
License
MIT
Category
Last pushed
Oct 02, 2025
Commits (30d)
0
Dependencies
9
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/pmndrs/prai"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
lmstudio-ai/lmstudio-js
LM Studio TypeScript SDK
lmstudio-ai/lms
LM Studio CLI
samestrin/llm-interface
A simple NPM interface for seamlessly interacting with 36 Large Language Model (LLM) providers,...
nbonamy/multi-llm-ts
A Typescript library to use LLM providers APIs in a unified way.
token-js/token.js
Integrate 200+ LLMs with one TypeScript SDK using OpenAI's format.