
mastershashi/prompt-enginePrompt Engine is a lightweight Go library for building efficient prompts for chatbots, AI agents, and LLM apps. It assembles system, user, and assistant messages, renders templates with variables, enforces token and character limits, summarizes older context if needed, and compiles prompts with low memory overhead.