Configure agents and models
Preferences › Nour (AI) › Agents lists the agent CLIs GitTree found, marked Installed or Not installed. Choose the Agent for new chats, a Model for each (empty uses the agent’s own default), and the Automatic selection order that First one installed follows. Test checks an agent works on this computer.
Needs GitTree Pro or a running trial; Free keeps every local Git feature. Compare the plans.
On this page
Before you start
- GitTree Pro or a running trial: Nour is part of Pro.
- At least one agent CLI installed and signed in.
Where to find it
- Preferences › Nour (AI) › Agents; Nour settings in the Nour header.
| Action | macOS | Windows and Linux |
|---|---|---|
| Preferences | ⌘, | Ctrl+, |
Steps
Pick the agent
Under Agent for new chats, pick one, or First one installed. Look again searches for agents installed since.
Set the model
Type a Model for the agent, or leave The agent’s own default.
Test it
Press Test. Working (… ms). means it answered; otherwise GitTree says why, such as Sign-in required. or This version is too old for Nour. Update it.
Order the fallbacks
Use Try … earlier and Try … later: First one installed tries agents from top to bottom.
Expected result
Nour uses the agent and model you chose, and falls back in the order you set.
Custom agents and API models
Add a custom agent runs any command-line agent: its Program (an absolute path), Arguments, one per line with {promptFile} where it expects the prompt, how it takes the Prompt and what Output it prints. For models through an API such as OpenRouter, use an agent that calls them with your own key, such as OpenCode or Codex; GitTree never stores an API key.
If something goes wrong
“Node.js was not found, and this agent needs it.”
Install Node.js, then press Look again and Test.
Questions
What does “Not yet tested by GitTree” mean?
GitTree runs that agent with the flags its documentation gives. Run Test once to confirm it works on this computer.