You can export a provider API key now, or configure it interactively in the TUI after connecting.
3
# Pick one (or skip and configure in the TUI):export ANTHROPIC_API_KEY=sk-ant-...export OPENAI_API_KEY=sk-...export GEMINI_API_KEY=...
4
Start the server
5
From source
uv run ntrp-server serve
Installed
ntrp-server serve
6
On first run, ntrp generates an API key and prints it:
7
Your API key: nBx7k2...Enter this in the TUI to connect. It won't be shown again.
8
Copy this key — it’s only shown once. Use ntrp-server serve --reset-key to generate a new one.
9
Start the TUI
10
In a separate terminal:
11
Installed
ntrp
From source
cd ntrp-uibun run start
12
Paste your API key in the connection dialog. If no LLM provider is configured, a provider setup screen appears where you can connect a provider and choose a default model.