{"repo":"yxp934/Prompt-Tree","free":true,"listed":false,"github":"https://github.com/yxp934/Prompt-Tree","clone":"git clone https://github.com/yxp934/Prompt-Tree.git","description":"A local AI client with Git‑style tree context. Branch conversations, compress long chats, and visually assemble per‑request context to avoid LLM “long-chat degradation.","language":"TypeScript","stars":86,"topics":["ai","context-engineering","context-management","llm","llm-client","mcp","ui","web-app","webui","llmclient"],"license":null,"category":"ai-agents","readme_excerpt":"Prompt Tree English · 中文 Prompt Tree is a local-first AI chat client that models each conversation as a node-based DAG (a tree with branches) and provides an explicit Context Box for prompt assembly. Motivation Most chat UIs are linear: - Exploring alternatives means copy/paste, losing context, or starting over. - Long threads are hard to navigate and expensive in tokens. - “Context management” is implicit, fragile, and hard to audit. Prompt Tree turns a conversation into a canvas you can branch, compress, and curate. Key Features - Conversation DAG (tree + branches) : continue from any node and compare outcomes. - Canvas + chat in one place : visualize the thread while you talk. - Context Box : drag nodes into a curated context, reorder, preview, and track tokens. - Long-term memory (3-layer) : - User Profile (JSON → derived Markdown) : persistent preferences/identity, fully visible & editable in Settings. - Memory Bank (items) : atomic memories with tags, status, confidence, and sources; supports user/folder scope. - Folder Doc (JSON → derived Markdown) : per-folder long-term doc, visible & editable in the folder page. - First-message base injection + per-message memory refresh : on a thread’s first user message, inject Profile/Folder Doc + initial topK(folder) + topK(user) memories; on every user message, refresh auto memory hits in the Context Box. - Recent messages continuity (optional) : on a thread’s first user message, copy the last N messages from your most recent th","default_branch":null,"files":null,"tree":[],"storefront":"/r/yxp934","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yxp934/Prompt-Tree/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}