Prerequisites
- Python 3.13+ with uv
- Bun for the desktop app when running from source
- An LLM provider: Anthropic, OpenAI, Google, OpenRouter, custom OpenAI-compatible endpoint, or OpenAI account sign-in
Install
uv tool install ntrp installs the backend CLI. The Electron desktop app currently runs from a source checkout.- Backend package
- From source
Set up
You can export a provider API key now, or configure a provider interactively in the desktop app after connecting.
# Pick one, or skip and configure from the desktop app:
export ANTHROPIC_API_KEY=sk-ant-...
export OPENAI_API_KEY=sk-...
export GEMINI_API_KEY=...
If you want to use an OpenAI subscription/account instead of an API key, skip the key export and choose OpenAI Codex in provider onboarding. ntrp opens a browser sign-in and stores refreshable OAuth tokens in
~/.ntrp/openai-codex-auth.json.Paste your API key in the connection screen. If no LLM provider is configured, provider onboarding appears so you can connect a provider and choose defaults.
What’s next?
Desktop Guide
Learn the app surfaces: chat, approvals, settings, memory, and traces.
Configuration
Customize models, integrations, and runtime settings.
Memory
Understand how ntrp remembers things.
Connect Gmail
Let ntrp read and send emails.