Skip to main content

Explyt CLI quickstart

In a few minutes you will install Explyt CLI, sign in to your Explyt account, ask the agent a question about your project, and make your first change.

Before you start​

  • One of the supported platforms: Windows x64, macOS on Intel or Apple Silicon, Linux x64 with glibc.
  • An account at app.explyt.ai to use Explyt models. With your own API key or a local model, you can work without an account.
  • On Windows: Windows 10 version 1803 or later and PowerShell.
  • On Linux and macOS: curl or wget, tar, and sha256sum or shasum.
  • Internet access.
  • A code project you understand.

You don't need Node.js, npm, or administrator rights: the installer downloads everything it needs into your home directory.

Step 1. Install Explyt CLI​

Windows (PowerShell):

irm https://explyt.ai/cli/install.ps1 | iex

Linux and macOS:

curl --proto '=https' --tlsv1.2 -fsSL https://explyt.ai/cli/install.sh | sh

If you'd rather not run a script blindly, open it at the same link and read it first.

The installer creates the explyt command in ~/.local/bin and adds this directory to PATH: on Windows, to the user environment variable; on Linux and macOS, as a line in your shell profile (the installer asks first). If the command isn't found after installation, open a new terminal window. For more on installation and updates, see Installation and updates.

Step 2. Start the agent in your project​

Go to the project folder and start the agent:

cd path/to/project
explyt

The agent works with files in the folder it was started from. Start it from the project root.

Step 3. Sign in​

  1. Type the /login command in the input field.
  2. Choose Sign in with an account, then Explyt.
  3. Complete sign-in in your browser.

The plan and the credit balance are shared with the Explyt JetBrains Plugin. The terms are described in Plans and balance.

If you want to work with your own provider API key, choose the provider in the same /login menu. To connect a local model or a corporate gateway, see Your own providers and local models.

Step 4. Choose a model​

Type /model and choose a model from the list. If you're not sure which one to pick, start with autobalanced: it routes requests to mid-range models and works on every plan. On Personal and higher plans, autofrontier routes hard tasks to frontier models. See Models and automatic selection.

Step 5. Ask your first question​

Start with a question that doesn't change the project:

Explain how this project is structured: which modules it has,
where the entry point is, and how to run the tests. Name a file for each claim.

Check the answer against the project: open the files it names and make sure they exist and do what the agent described.

Step 6. Make your first change​

Give the agent a small, clear edit:

Add a short doc comment to the parseConfig function in src/config.ts:
its purpose, parameters, and return value. Don't change anything else.

Replace the function and file names with your own. The agent reads the file, makes the edit, and tells you what it changed.

By default, the agent works in the default permission mode: routine actions run right away, and the agent asks before dangerous ones. Read what it is about to do, then approve or decline. Permission modes are described in Permission modes.

Check the result the way you usually do: look at git diff, open the file in your editor, run the tests.

Command cheat sheet​

All commands start with /. Type / in the input field to see the full list with descriptions. Commands are sorted from the most common to the rarest.

Change the model​

Opens the model list. With a model name, switches right away.

> /model autobalanced
Switched to autobalanced

Start a new session​

> /new
✓ New session started

Go back to an earlier session​

Opens the list of this project's sessions. You can also continue the last session at startup: explyt --continue.

> /resume
Resumed session

Compact the context​

Replaces the older part of the conversation with a short summary. In the argument, you can say what to keep in detail.

> /compact keep the details about the API client
Compacted from 182k tokens

Ask without interrupting the agent​

The answer appears in a separate window and stays out of the history. See Quick question: /btw.

> /btw why are you changing build.gradle?

Change the permission mode​

Without an argument, switches to the next mode. Shift+Tab does the same. See Permission modes.

> /mode paranoid

Set the reasoning level​

> /thinking high
Thinking level: high

Copy the last answer​

> /copy
Copied last agent message to clipboard

Go back to an earlier message​

/fork opens the list of your messages and continues the conversation from the chosen one in a new session. /tree shows the whole branch tree of the session. See Sessions.

> /fork
Forked to new session

Copy the session​

> /clone
Cloned to new session

Rename the session​

> /name auth refactoring
Session name set: auth refactoring

See token usage​

Shows the number of messages, tokens, cache hits, and the cost of the current session.

> /session
Session Info
...
Tokens
Input: 412,580
Output: 18,204

Export the chat​

Without an argument, saves an HTML file to the project folder. A path ending in .jsonl saves the session in a format you can later load with /import.

> /export
Session exported to: explyt-session-<id>.html

Sign in or change the provider​

/login signs in to your Explyt account or with a provider key; /logout signs out.

> /login

Connect your own model or gateway​

The wizard adds an OpenAI-compatible endpoint, a local model, or a known provider. See Your own providers and local models.

> /custom-provider

View MCP servers​

Opens the server list: their status and tools, and lets you turn them on and off. See MCP servers.

> /mcp

View skills, rules, and agents​

/skills lists skills and lets you turn them on or off, /rules shows the rules in effect in the project, /agents lists subagents. Any skill can be called by name, for example /code-review-orchestrated.

> /skills

Run a workflow​

/workflows shows workflows and their runs. Each workflow is called by its own name. See Workflows.

> /workflows

Apply settings changes without restarting​

Reloads extensions, skills, rules, and context files.

> /reload
Reloaded keybindings, extensions, skills, prompts, themes, and context files

Settings and hotkeys​

/settings opens the settings menu, /hotkeys shows all keyboard shortcuts.

> /hotkeys

Control the agent from Telegram​

See Control from Telegram.

> /telegram

Desktop notifications​

Sets when and how notifications arrive.

> /notify

Rare commands​

CommandWhat it does
/import <file.jsonl>Load a session from a file and continue it
/scoped-modelsChoose the models that Ctrl+P switches between
/send <recipient> <text>Send a message to another session or to your subagent
/mascotChoose the mascot in the agent's working row
/quitExit Explyt CLI

What's next​