Brian Hung
Workflow
Workspace for integrated chats and notes between you and your LLMs.
Storing chats and notes
changesNote editorProseMirror, syncPluginChat threadappendToChatMutatorAutomerge Repoa root doc lists every note and chateach one is its own documentIndexedDBIndexedDBStorageAdapterOther open tabsBroadcastChannelCloudflare WorkerDurable Object storageStorage and peers sync both ways. The arrows follow a local change.The dashed link is optional, switched on by a setting.
Editing a note with the model
messagesa tool callan editthe doc, as JSONmergeBranchChatSideBaruseChat, POST /api/docstreamTextAnthropic, OpenAI, GoogleonToolCallruns tools in the browserBranch in the editorrepo.clone of the noteThe noteuntouched until mergedThe model edits a clone of the note; its changes merge in only when the user asks.