Bonsai – a toolkit for building AI chat apps with branchable conversations
bonsai-core Bonsai is a toolkit for building chat apps where conversations with an AI don't have to stay a single, linear thread. What Bonsai is for Most AI chat apps force every conversation down one straight line: you ask, it answers, you ask again, and the whole history piles up in order. If you want to explore a tangent — "what if we tried a different approach?" — you either derail the conversation or start over from scratch and lose the context you'd already built up.
- ▪bonsai-core Bonsai is a toolkit for building chat apps where conversations with an AI don't have to stay a single, linear thread.
- ▪What Bonsai is for Most AI chat apps force every conversation down one straight line: you ask, it answers, you ask again, and the whole history piles up in order.
- ▪If you want to explore a tangent — "what if we tried a different approach?" — you either derail the conversation or start over from scratch and lose the context you'd already built up.
Hacker News (AI / LLM) files mainly under ai. We currently carry 2,209 of its stories.
Opening excerpt (first ~120 words) tap to expand
bonsai-core Bonsai is a toolkit for building chat apps where conversations with an AI don't have to stay a single, linear thread. What Bonsai is for Most AI chat apps force every conversation down one straight line: you ask, it answers, you ask again, and the whole history piles up in order. If you want to explore a tangent — "what if we tried a different approach?" — you either derail the conversation or start over from scratch and lose the context you'd already built up. Bonsai lets a conversation branch. From any point in a chat, you can branch off to explore an idea, without disturbing the original thread. If the branch turns out useful, you can merge a summary of it back into the main conversation. If it's a dead end, you just abandon it — nothing about it leaks back in.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.