Commands
Command overview
Find the installed commands for terminal agents, hosting, retrieval, and development.
View Markdown source ↗Start with chat-tui for a local agent. Other commands provide file-backed
runs, optional hosting, retrieval, and development helpers. These are installed
executable names; from the checkout you can also use the corresponding Dune
targets described in each reference.
| Command | Purpose | Reference |
|---|---|---|
chat-tui | Native local, daemon-connected, or legacy file-backed terminal UI | CLI, controls |
ochat | File-backed completion, shell management, indexing, and other workflows | Command overview, completion, shell management |
ochat-agent-server | Durable daemon over private Unix sockets and optional HTTP | Server CLI |
ochat-agent-stdio | Local subprocess agent host or daemon gateway | Stdio CLI |
ochat-shell-resource-runner | Runtime-owned resource-limit helper, not a general agent launcher | Helper reference |
md-index / md-search | Build and query Markdown documentation indexes | Indexer, search |
odoc-index / odoc-search | Build and query OCaml API documentation indexes | Indexer, search |
mp-refine-run | Generate, score, and refine prompts | CLI, library guide |
mcp_server | Deprecated ChatMD prompt-serving compatibility | Compatibility reference |
dsl_script | Experimental embedded ChatML demonstration | Demo reference |
key-dump | Diagnose terminal key sequences | Reference |
highlight-debug | Inspect TextMate token scopes | Developer utilities |
terminal_render | Render a local bitmap using terminal color blocks | Developer utilities |
The ochat utility group also includes tokenize and html-to-markdown;
see the main command reference. Markdown/odoc indexers are
separate executables, not ochat md-index or ochat md-search subcommands.
See source-only demos
before trying older binary documentation.
Use the selected executable’s help for current flags. Do not combine legacy
TUI session or manifest-authorization flags with explicit native --local;
do not use legacy store commands with daemon session IDs. The
host-mode guide explains those boundaries.
For task-oriented instructions, see examples, search setup, or the documentation home.