AI Chat Setup
Configure AI assistants to work with your PC2 node. For Ollama installation, see AI Setup.
Provider Options
| Provider | Privacy | Cost | Speed |
|---|---|---|---|
| Ollama (Local) | Maximum (all local) | Free (your hardware) | Depends on hardware |
| OpenAI | Sent to OpenAI servers | Per-token pricing | Fast |
| Anthropic | Sent to Anthropic servers | Per-token pricing | Fast |
| Sent to Google servers | Per-token pricing | Fast | |
| xAI | Sent to xAI servers | Per-token pricing | Fast |
Ollama Setup (Recommended for Privacy)
- Install Ollama if you haven't already
- Pull a model:
ollama pull deepseek-r1:7b - Go to Settings -> AI Assistant
- Select Ollama as provider
- Ensure Ollama URL is
http://localhost:11434 - Select your model from dropdown
- Click Save
With Ollama, your conversations never leave your hardware.
Cloud Provider Setup
Get API Keys
| Provider | Get Key At |
|---|---|
| OpenAI | platform.openai.com |
| Anthropic | console.anthropic.com |
| aistudio.google.com | |
| xAI | console.x.ai |
Add to PC2
- Go to Settings -> AI Assistant
- Find your provider section
- Click Add Key
- Paste your API key
- 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
| Provider | Your Data |
|---|---|
| Ollama | Never leaves your hardware |
| Cloud Providers | Sent to provider's servers |
For maximum privacy, use Ollama and disable cloud providers in settings.