Skip to main content
@anonymous-dev/0x0-nvim-chat is the editor chat client for the server. It connects to /ws, starts agent sessions, streams assistant output, runs inline edits, and reviews worktree changes before they touch the user’s checkout.

Commands

CommandPurpose
:ZeroChatOpen the 0x0 chat buffer
:ZeroChatNewStart a new chat session
:ZeroChatOpen {id}Open an existing session
:ZeroChatSubmitSubmit the current prompt
:ZeroInlineEditEdit the selected range
:ZeroReviewOpen the change review view
:ZeroChangesStatusRefresh changed files
:ZeroAcceptAllAccept all agent changes
:ZeroDiscardAllDiscard all agent changes
:ZeroAcceptFile {path}Accept one changed file
:ZeroDiscardFile {path}Discard one changed file
:ZeroCancelCancel the active run
:ZeroCloseClose the WebSocket connection

Setup

Plugin module:
zeroxzero
Package name:
@anonymous-dev/0x0-nvim-chat
require("zeroxzero").setup({
  server_url = "http://localhost:4096",
  provider = "codex",
  model = "gpt-5.4",
})

Flow

  1. The plugin opens a WebSocket connection to the local server.
  2. A chat session creates a detached agent worktree for the current repo.
  3. The agent runs in that worktree and streams text back into Neovim.
  4. The server checkpoints changed files.
  5. The review commands accept or discard those changes.
The checkout stays under user control. Agent edits are staged in server-managed state until the user accepts them.