Skip to main content
HOW-TO

AI Chat Setup

Configure AI assistants to work with your PC2 node. For Ollama installation, see AI Setup.

Provider Options​

ProviderPrivacyCostSpeed
Ollama (Local)Maximum (all local)Free (your hardware)Depends on hardware
OpenAISent to OpenAI serversPer-token pricingFast
AnthropicSent to Anthropic serversPer-token pricingFast
GoogleSent to Google serversPer-token pricingFast
xAISent to xAI serversPer-token pricingFast
  1. Install Ollama if you haven't already
  2. Pull a model: ollama pull deepseek-r1:7b
  3. Go to Settings -> AI Assistant
  4. Select Ollama as provider
  5. Ensure Ollama URL is http://localhost:11434
  6. Select your model from dropdown
  7. Click Save

With Ollama, your conversations never leave your hardware.

Cloud Provider Setup​

Get API Keys​

ProviderGet Key At
OpenAIplatform.openai.com
Anthropicconsole.anthropic.com
Googleaistudio.google.com
xAIconsole.x.ai

Add to PC2​

  1. Go to Settings -> AI Assistant
  2. Find your provider section
  3. Click Add Key
  4. Paste your API key
  5. Click Save

Available Models​

OpenAI: GPT-4o (recommended), GPT-4o Mini (faster/cheaper), GPT-4 Turbo, GPT-3.5 Turbo

Anthropic: Claude Opus 4 (most capable), Claude Sonnet 4 (balanced), Claude 3.5 Haiku (fast)

Google: Gemini 2.0 Flash, Gemini 1.5 Pro, Gemini 1.5 Flash

xAI: Grok 3, Grok 3 Fast, Grok 2, Grok Vision

Using AI Chat​

Click the AI icon in the taskbar or hover on the right edge to open the chat sidebar. Open "AI Chat" from the app launcher for full-screen experience.

Features​

  • Streaming -- watch responses generate in real-time
  • Tool Calling -- AI can read/write files on your node
  • Multi-Model -- switch models mid-conversation
  • History -- conversations persist across sessions

Tool Capabilities​

The AI can:

  • Read files -- analyze documents, code, data
  • Write files -- create or modify files
  • List directories -- browse your filesystem
  • Execute commands -- run terminal commands (with permission)
warning

Tool calling requires explicit permission. The AI will ask before making changes.

Privacy Considerations​

ProviderYour Data
OllamaNever leaves your hardware
Cloud ProvidersSent to provider's servers

For maximum privacy, use Ollama and disable cloud providers in settings.