AI agents and existing subscriptions

Glyph can drive coding agents you already use. You bring the CLI and the subscription. Glyph does not sell those subscriptions and does not need a Glyph API key for these agents.

Open a Space, enable AI features, then set Connection type to Agents under Settings → AI and choose a Provider.

Supported agents

AgentHow you connect
CodexCodex CLI installed and signed in
CursorCursor agent CLI installed and signed in
GrokGrok CLI installed and signed in
Claude CodeMatching CLI installed
OpenCodeMatching CLI installed
PIMatching CLI installed

Install the CLI for the agent you want. Glyph calls that tool on your machine. It does not ship each vendor’s full installer for you.

Confirm the CLI runs in your system terminal and that you can sign in there before you debug Glyph. If the terminal fails, the Glyph AI panel will fail too.

Codex

Install the Codex CLI and sign in with it from Terminal. Glyph uses the CLI’s own sign-in. Your ChatGPT or OpenAI access is between you and OpenAI. Glyph does not replace that account or sell ChatGPT plans.

Then pick Codex as the provider for the Space and open the AI panel.

Cursor

Install Cursor’s agent CLI and confirm that it runs and is signed in from Terminal. Glyph looks for agent or cursor-agent on PATH. A custom installation can be selected with CURSOR_CLI_PATH in Glyph’s process environment.

Choose Cursor in AI settings, select a model, then send a short message to check the connection.

Grok

Install the Grok CLI and confirm that it runs with your account from Terminal. Glyph looks for grok on PATH. A custom installation can be selected with GROK_CLI_PATH in Glyph’s process environment.

Choose Grok in AI settings and pick an available model. Fix CLI installation or sign-in errors in Terminal first if the agent cannot start.

Subscriptions

Glyph does not sell Codex, Cursor, Grok, OpenCode, Claude Code, or PI subscriptions. You pay those providers (or use their free tiers) on their terms. Glyph connects the agent to the AI sidebar panel and the Agent tab.

You do not enter a Glyph API key for these agents. Agent auth is whatever the CLI already uses on your account.

API keys for OpenAI, Anthropic, Google, OpenRouter, and OpenAI compatible endpoints are a different path. Those belong in the API keys guide, not here.

Custom CLI locations

Glyph finds each CLI on your PATH. To use a CLI installed somewhere else, set its path in Glyph’s process environment: CODEX_CLI_PATH, CURSOR_CLI_PATH, GROK_CLI_PATH, CLAUDE_CODE_CLI_PATH, OPENCODE_CLI_PATH, or PI_CLI_PATH.

Agent settings

Depending on the agent, AI settings can also show:

  • Reasoning level: how much effort the model spends before it answers
  • Chat Naming Model: names chats from the conversation after each reply, with one extra model request. Choose Same as chat model to reuse the chat model.

Tools and chat

With an agent selected:

  • Tools on: create mode
  • Tools off: chat-only

Same rules as the Glyph AI overview. History and @ context work in the Glyph AI sidebar and Agent tab. See AI editing workflows. Send and Stop control the run.

Create mode can change files in the Space. Use chat-only when you want discussion without create actions.

Per-space choice

Agent choice is per space. Pick Codex in one Space and Claude Code in another if you want. Each Space keeps its own AI profile. AI availability and tools mode apply across Glyph on this Mac. Provider profiles, the active provider, and API credentials are configured for the open Space. Open the Space you want before changing its provider or credentials.

Tips

  • If an agent fails to start, run the CLI in Terminal and fix auth there first.
  • Keep System PATH working so Glyph can find the CLI the same way your shell does.
  • Official Glyph licensing (trial or Activate under General) is separate from agent subscriptions.