2

Show HN: TrAIn of Thought – AI chat as I want it to be

My conversations with LLMs branch in many directions. I want to be able to track those branches, revert to other threads, and make new branches at arbitrary points. So I built my own solution to it.

It's essentially a tool for non-linear thinking. There's a lot of features I'd love to add, and I need some feedback before I take it anywhere else. So, I'm listening to whatever you're thinking is broken.

Basic feature set: - Branching conversations: follow up from any node at any time, not just the latest message

- Context inheritance: when you branch off a node, the AI gets the full ancestry of that branch as context, so answers are aware of the whole conversation path leading to them.

- Text-to-question: highlight any text in an answer to instantly seed a new question from it.

- Multi-provider AI: compare and adjust responses from OpenAI, Anthropic, and Google Gemini.

- Visual graph: the conversation renders as a React Flow graph with automatic layout, so you can see the whole structure at a glance.

- Shareable links: your entire chat is compressed and stored in the URL. Everything is local (well, except the API calls).

- Branch compression: long branches can be collapsed into a summary node to keep the graph tidy.