Settings & Security

This guide covers how to manage all of ProjectHub's settings and explains the security system.

Accessing Settings

You can access settings through the following methods:

MethodDescription
Project Settings buttonGear icon in the project detail header
Network Status clickNetwork indicator on the left side of the toolbar
Screenshot: Full settings sheet (with tab sections)

Intelligence Settings (AI Configuration)

These are the core settings for configuring and managing AI providers.

BYOK (Bring Your Own Key)

ProjectHub operates on a BYOK model. It uses your own API keys directly. ProjectHub does not store, proxy, or cache any API credentials or responses. All API usage is billed directly to your account with each AI provider.

A BYOK notice badge is displayed at the top of the settings screen.

Screenshot: Full Intelligence settings tab

AI Provider Management

ProviderDescriptionInstallation CheckConfiguration
Claude CLIAnthropic Claudeclaude --versionModel selection, enable/disable
Gemini CLIGoogle Geminigemini --versionModel selection, enable/disable
OllamaLocal AIollama --versionHost, model, enable/disable
OpenCodeOpen sourceopencode --versionEnable/disable
Screenshot: Provider list - installation status and toggles

For each provider:

  • Enable/Disable toggle
  • Availability auto-detection (installation status check)
  • Model selection (where applicable)

Autonomous Mode

Screenshot: Autonomous mode toggle with description

SettingDescription
Autonomous ModeAuto-approve AI file operations
When autonomous mode is enabled:
  • AI Agent (Vibe Coding): Auto-approves file creation and modification
  • Alliance: Auto-selects at Human Checkpoints
  • Alliance: Auto-retries at Fix Checkpoints

Caution: In autonomous mode, the AI modifies files without approval. Always create a snapshot first when working on important projects.

Ollama Remote Configuration

You can run Ollama on another computer and connect to it over the network:

Screenshot: Ollama remote configuration fields

Format: host:port|model
Example: 192.168.1.100:11434|llama3
FieldDescriptionExample
HostOllama server IP192.168.1.100
PortOllama server port11434 (default)
ModelModel name to usellama3, codellama

Ollama Model License Guide

While Ollama itself is MIT-licensed, individual models have their own licenses. When you select a model, ProjectHub automatically classifies its license and displays guidance.

ClassificationExample ModelsDisplay
Commercial OKLlama 3, Qwen 2.5, Phi, DeepSeek, Gemma, MistralNo warning
RestrictedCodestralRed warning
Verify RequiredModels not in the known listOrange notice

When distributing commercially, always verify the license terms of the models you intend to use.

Network Settings (P2P)

Configure P2P connections between ProjectHub instances.

Screenshot: Network settings panel

Network Status Indicator

Screenshot: Network status indicator in the toolbar (connected/disconnected)

StatusColorDescription
ConnectedGreenConnected to another ProjectHub instance
No ConnectionGrayRunning in standalone mode
ErrorRedConnection failed

P2P Features

FeatureDescription
Project ChatReal-time chat between collaborators on the same project
Contact SyncUser list across the network
AuthenticationApprove or deny incoming connection requests

Authentication Dialog

Screenshot: P2P authentication dialog (approve/deny)

When a connection request arrives from another ProjectHub instance, an authentication dialog appears:

  • Approve -- Allow the connection
  • Deny -- Reject the connection

Security System

ProjectHub uses an HMAC-SHA256 authentication system to secure AI Agent communications.

AI Agent Authentication

ItemDescription
AlgorithmHMAC-SHA256
Key Storage~/.projecthub/agent_secret.key
Token Expiry60 seconds
Replay PreventionNonce-based

Authentication Flow

1. ProjectHub generates a token using the secret key
  1. The token is passed to the AI Agent
  2. The AI Agent authenticates with the token
  3. The token expires if not used within 60 seconds
  4. The same token cannot be reused (nonce)

Secret Key Management

The secret key is automatically generated on the first app launch:

  • Location: ~/.projecthub/agent_secret.key
  • Format: Random byte string
  • Permissions: Owner read/write only (600)

If you delete the secret key, a new one is automatically generated, but all existing sessions will be invalidated.

App Data Management

Data Locations

DataLocation
Project list~/Library/Application Support/ProjectHub/projects.json
Paper bookmarks~/Library/Application Support/ProjectHub/paper_bookmarks.json
Schedule notification settings~/Library/Application Support/ProjectHub/ScheduleNotificationSettings
Security key~/.projecthub/agent_secret.key

Backing Up Data

To back up ProjectHub's global data:

# Back up global settings
cp -r ~/Library/Application\ Support/ProjectHub/ ~/ProjectHub_Backup/

Back up security key

cp ~/.projecthub/agent_secret.key ~/ProjectHub_Backup/

Resetting Data

Warning: The following operations will delete all project lists and settings.

# Reset global settings
rm -rf ~/Library/Application\ Support/ProjectHub/

Reset security key

rm -rf ~/.projecthub/

Next Steps