Skip to content
MarsX

prompt-engine

Archived Microsoft npm library for building and managing LLM prompts

What is prompt-engine?

A TypeScript/JavaScript library that builds prompts from a description, examples and dialog history. It includes engines for general prompts, natural-language-to-code and chat, and can handle token overflow. Prompts can be stored as YAML. The repository is now read-only.

As first listed on MarsX: “A library for helping developers craft prompts for Large Language Models”

What are prompt-engine's main features?

  • PromptEngine, CodeEngine and ChatEngine
  • Dialog history persistence
  • maxTokens overflow handling
  • YAML prompt files
  • Model-agnostic prompts

Is prompt-engine free?

Yes. prompt-engine is free to use, based on its website. Prices change, so check their website before you buy (we checked on December 2, 2026).

What can you use prompt-engine for?

  • Prompting code models
  • Keeping chat context for stateless models

Where does prompt-engine work?

api.

prompt-engine alternatives in AI developer tools

Other AI developer tools listed on MarsX: KaneAI by TestMu AI, MarsX and Duino Code Generator and more.

See all AI developer tools →

More AI developer tools to explore

  • Jedi: Python static analysis library for editor autocompletion and navigation
  • Denigma: AI that reads code and explains it in plain English
  • OpenAI Codex: Original 2021 Codex launch post; current Codex is a coding agent product
  • ChatGPT - EasyCode: JetBrains IDE plugin for chatting with AI models with codebase indexing

prompt-engine is listed in the best AI developer tools and the best no-code and AI app builders. Related lists: AI assistants, AI chatbots. Or browse all AI startups on MarsX.

Building an AI startup?

List it on MarsX for free, or skip the queue and get a dofollow link today. Need to build the product first? MarsX lets you start in No-Code and switch to Code when you outgrow it.

Facts checked on the product's website on 2026-12-02. Spotted something wrong? Email john@marsx.dev.