nxm-tui — Chat Stream with Tool Call Sequence

nxm-tui — Chat Stream with Tool Call Sequence A sequence diagram generated by Archify. type message + Enter spawn Agent with registry resolve provider key Zeroizing secret POST /chat/completions SSE token deltas resolve tool_call structured result re-query with tool output finish_reason: stop ToolPart stream rendered markdown Request Tool loop Response User · keyboard input · Sequence participant User keyboard input TUI · ratatui render loop · Sequence participant TUI ratatui render loop Agent · bounded loop · Sequence participant Agent bounded loop Tool Registry · nexum-tools · Sequence participant Tool Registry nexum-tools LLM Server · SSE stream · Sequence participant LLM Server SSE stream KeyStore · key resolution · Sequence participant KeyStore key resolution Legend main request return security message