Grix Grix

Quick Start

Go from zero to chatting with an AI agent in just a few minutes. This chapter gets you started with Grix the fastest way possible.

This chapter helps you get started with Grix as quickly as possible — from zero to chatting with an AI agent in minutes.

Two Ways to Get Started

MethodBest ForDifficulty
Option 1: Install Grix DesktopRecommended, easiest⭐ Easy
Option 2: Install grix-connector directlyHeadless servers, or you prefer not to install an extra app⭐⭐ Manual setup

This is the fastest path. After installing the desktop app, Grix automatically installs and manages grix-connector — everything happens within the UI.

Step 1: Download and Install

PlatformDownload Link
macOSGrix-macOS.zip — unzip and drag to Applications
WindowsGrix-Windows.zip — unzip and run the installer
LinuxGrix-Linux-x64.tar.gz — extract and run

💡 All links always point to the latest version. For previous releases, visit the Releases page.

Step 2: Sign Up / Log In

Open Grix Desktop and sign up for a new account or log in with an existing one.

Step 3: Auto-Install grix-connector

When you first visit the “System” page in Grix Desktop:

Step 4: Add an Agent with One Click

  1. Go to the “System” page and select the agent type you want (e.g., Claude, Gemini, Qwen, etc.)
  2. Click the type icon → click “New” in the dialog
  3. Enter a name → click “Create”

Grix automatically:

You can now chat with your agent.

Step 5: Use on Your Phone

Install Grix on your phone (iOS / Android) and log in with the same account:

💡 Key concept: Agents run on your computer. Your phone interacts with them remotely through the Grix platform. Desktop handles execution, phone handles anywhere-anytime access.

Option 2: Install grix-connector Directly

Use this if you don’t want the desktop GUI, or need to deploy agents on a remote server.

Step 1: Register a Grix Account

Go to grix.dhf.pub, sign up and get your API key and Agent ID.

Step 2: Install grix-connector

# Requires Node.js >= 18
npm install -g grix-connector

On Windows, grix-connector uses the built-in Task Scheduler (no extra dependency required).

Step 3: Create Agent Config

Create ~/.grix/config/agents.json:

{
  "agents": [
    {
      "name": "my-agent",
      "ws_url": "wss://grix.dhf.pub/v1/agent-api/ws",
      "agent_id": "your-agent-id",
      "api_key": "your-grix-api-key",
      "client_type": "claude"
    }
  ]
}

Change client_type to match the agent you want to connect (see table below). You can define multiple agents in one file, or use separate files under ~/.grix/config/.

Supported Agent Types

client_typeAgentRequired CLI
claudeClaude Code (Anthropic)claude
codexCodex (OpenAI)codex
copilotGitHub Copilotcopilot or gh
geminiGemini (Google)gemini
qwenQwen (Alibaba)qwen
codewhaleCodeWhalecodewhale
cursorCursor Agentagent
opencodeOpenCodeopencode
piPipi
openhumanOpenHumanopenhuman-core
reasonixReasonixreasonix

⚠️ Make sure the corresponding CLI tool is installed locally before connecting an agent. grix-connector will automatically find and launch the CLI based on client_type.

Config Reference

FieldRequiredDescription
nameyesDisplay name for this agent
ws_urlyesWebSocket endpoint URL, e.g. wss://grix.dhf.pub/v1/agent-api/ws
agent_idyesAgent ID from Grix platform
api_keyyesAPI key for authentication
client_typeyesSee Supported Agents table above
prompt_timeout_msnoPrompt execution timeout (ms)
pool.maxSizenoMax adapter pool size (default 20)
pool.idleTimeoutMsnoIdle adapter eviction timeout (default 300000 = 5 min)

Multi-Agent Example

{
  "agents": [
    {
      "name": "my-claude",
      "ws_url": "wss://grix.dhf.pub/v1/agent-api/ws",
      "agent_id": "agent-id-1",
      "api_key": "your-api-key",
      "client_type": "claude"
    },
    {
      "name": "my-gemini",
      "ws_url": "wss://grix.dhf.pub/v1/agent-api/ws",
      "agent_id": "agent-id-2",
      "api_key": "your-api-key",
      "client_type": "gemini"
    }
  ]
}

Step 4: Start grix-connector

grix-connector start

The daemon connects to Grix via WebSocket and starts routing chat messages to your agents.

Commands

grix-connector start      # Start as system service (auto-installs on first run)
grix-connector stop       # Stop the service
grix-connector restart    # Restart the service
grix-connector status     # Check service status

Comparison

AspectDesktop (Recommended)Direct connector
Installation complexityDownload and installRequires command line
Connector managementAuto install, start, restartManual management
Adding agentsOne-click in UIEdit JSON config file
Agent CLI installAuto-detect and installInstall corresponding CLI yourself
Best forAll usersDevelopers, server deployments
Mobile usage✅ Same account✅ Same account