Skip to content

Hlix Code

Work with a cloud project from your terminal, or run a local coding chat with Hlix Code.

hlix opens the Hlix Cloud client from any directory. A detected project is selected automatically; otherwise, choose a cloud project or import a local folder. Your terminal shows the project team’s conversations and work. Use --local for a coding chat on your machine, or --sandbox docker for a container.

Terminal window
hlix # open the cloud client
hlix --local # …with the agent on this machine
hlix --sandbox docker # …in a container, this folder mounted
hlix --yolo # …approving every tool, nothing asks
hlix -p "write a test for parseArgs" # one turn, print the answer, exit
hlix -p "fix the build" --yolo # …and let that turn change things
hlix -p "what does this repo do" --json # JSONL events instead of prose

The default setup needs a hlix credential, with model access provided by the selected Workspace. Local and Docker chats can also use your own model endpoints.

  • --sandbox cloud|docker|local — where the agent’s files and commands run. Defaults to the cloud client. A saved sandbox setting can select another environment; an explicit flag overrides it. --local is different: Hlix Code on this device only, and the platform is called only for the model (sign in with hlix login). --sandbox local is the wider local mode.
  • --docker-image <ref> — the container image for docker runs. Defaults to one carrying git, node and python3.
  • --coder <name> — the harness for a local or Docker chat. Use Hlix Code or an installed outside harness. Configure cloud projects through Connect your agents.
  • --project <id> — the project to act in, when the folder is not bound to one.
  • -p, --print <prompt> — one turn, printed, then exit. Takes the rest of the line, so quoting is optional.
  • --json — with -p, one JSON object per line instead of the final text.
  • --yolo — approve every tool without asking. --allow-writes is an alias.
  • --cwd <dir> — open the shell on another folder.

Use a terminal for the interactive shell. In a script or CI job, pass -p for a single turn and --json for structured events.

The cloud client shows the project team’s conversations and progress as they happen. Messages queue while a turn runs, and cloud work continues after you disconnect.

Terminal window
hlix --project <project-id>
hlix --sandbox cloud -p "Add a health check to the server"
hlix pull

Use hlix terminal for an interactive shell in a project’s Cloud Machine.

Type / to see available commands and project skills. Select a cycle or use Ctrl-P to focus its conversation; Ctrl-N opens the harness launcher.

Command Action
/project Switch projects
/import [folder] Review and import local files into a new cloud project
/github owner/name Link the project’s GitHub repository
/cycles, /focus Select the conversation receiving messages
/launch <harness> <brief> Request work with a selected harness
/skills Choose an available project skill
/steer <message>, /force <message> Send guidance for the next turn
/interrupt Stop the active turn while keeping queued messages
/stop Stop the selected chat and cancel your queued messages
/stop project Stop project work and cancel your queued messages
/quit, Ctrl-C Disconnect; cloud work continues

The settings below configure local and Docker coding chats. Cloud projects use their project and Workspace settings.

hlix.yml sets them under coder and local when those keys are present. sandbox is local.runtime (cloud, local, or docker) and dockerImage is local.image. A field it leaves out comes from ~/.hlix/hlix.yml. A machine-wide coder still applies in a folder whose file only names a sandbox. hlix config list shows the resolved value, the file it came from, and where it applies. hlix config set <key> <value> writes this folder’s hlix.yml, and --global writes ~/.hlix/hlix.yml. A model server of your own goes under providers in ~/.hlix/hlix.yml or hlix.local.yml. Name its secret with apiKeyEnv. A committed hlix.yml can name the server, and that copy does not read the environment variable. A cloud chat ignores that list.

key value where it applies
sandbox cloud, docker, local selects the chat environment
coder a harness from Connect your agents local and Docker; cloud projects use project settings
model a model id from /model local and container runs only — cloud projects use Workspace model settings
dockerImage an image reference container runs only
maskToolOutputs false (default), true, or a number of tokens — clears old tool outputs from a request past that size (true = 100000) local and Docker
yolo true, false local and Docker

The commands below apply to local and Docker chats. Use Cloud commands when connected to a cloud project.

/help every command this build knows
/model pick the model, from what your workspace serves
/coder pick which harness does the work
/sandbox pick where this chat’s files and commands run
/rules which rules files the agent loaded, and how big they are
/standards what this folder gave the agent, and which MCP servers connected
/yolo run without being asked for approval — toggles
/log this chat’s diagnostic log
/new, /threads, /resume, /compact start a conversation, list this project’s, pick an earlier one, condense the current one
/watch the project manager’s activity, live: decisions, cycles, tasks, its messages — ESC or q stops it
/pm <text> send the project manager a message; its answer appears in the panel as it is written
/follow <task-id> one task’s status until it is over
/<any hlix command> /status, /tasks-list, /push — the CLI, inline, as its own panel
/<your own> every .md file in .claude/commands or .hlix/commands
⇧Tab switch between build and plan
Ctrl-O expand the newest tool, command or subagent panel
ESC stop the turn, or the command, that is running
Ctrl-C twice leave

/coder, /sandbox, /model and /resume open a picker with the current value marked — arrows and Enter choose, ESC cancels. Given an argument (/coder codex) they apply it directly.

Use the terminal’s scrolling controls to review earlier output. Ctrl-O expands a tool, command or subagent panel; ESC cancels the current command. A blocked command shows its findings and a recovery command that you can place in the composer with Enter.

Local and Docker chats use the tool approval behavior below. Cloud projects follow the project delivery workflow.

A tool that changes something asks first, as a block directly above the prompt:

┌ Approve Run ───────────────────────────────────────────────────────
│ node --test
→ Allow once Run bash this one time
Decline Do not run it; tell the agent why
Always allow Allow every execute tool for the rest of this session

Reads never ask. Always allow grants that family — reads, edits, shell commands, hlix calls and MCP tools are separate families, so allowing one never covers another.

/yolo turns the asking off for as long as you leave it on, and the footer says yolo while it is. Your Always allow choices are untouched, so turning it off puts you back where you were. hlix config set yolo true makes it a folder’s default, --global every project’s.

Headless -p chats read freely and decline write tools unless you pass --yolo.

When the agent cannot go on without a choice only you can make, it asks. The question appears in the same place as an approval, with the agent’s suggested answers as a list and “Something else…” to type your own. ESC skips it, and the agent is told nobody answered, so it decides and carries on. In -p runs there is nobody to ask, and the agent is told so. Over hlix acp, a question with suggested answers goes to your editor as a permission request.

A dev server or watcher runs as a background command: the agent starts it, reads what it printed, and stops it when it is done. Background commands end when the chat ends. In a Docker chat, stopping a command (ESC, a timeout, or the agent stopping it) also ends the processes it started inside the container.

For local and Docker chats:

hlix rules shows the two instruction files Hlix Code loads, with their sizes; hlix rules --edit opens one in $EDITOR, creating it with a short header if it does not exist:

  • ~/.hlix/AGENTS.md — your own rules, read in every project you open.
  • this project’s AGENTS.md, else CLAUDE.md, else GEMINI.md — one of them, the first that exists.

Your rules load first, followed by the project’s rules, which take precedence in a disagreement. Only the first supported project instruction file is loaded.

hlix standards lists recognized instruction files, skills, commands, and MCP registrations already in the folder. Skills load from .claude/skills, .agents/skills, .hlix/skills and .codex/skills; a skill whose name: is a human title loads under its directory name.

A project’s MCP servers start with the chat and their tools join the agent’s. They are read from .mcp.json, .hlix/mcp.json, and the MCP registrations other editors and agents (Cursor, Gemini, VS Code, Codex and more) already keep in the folder. ${VAR} placeholders resolve from your environment, so no secret has to live in the file.

A server that cannot start is listed in /mcp; /mcp retry tries it again. Other connected servers remain usable.

To activate a machine-wide MCP registration for this project, copy it into .hlix/mcp.json.

Three ship with Hlix Code, and the agent chooses between them:

  • explore — read-only investigation. Answers “where is X” or “how does Y work” without filling the conversation with file contents.
  • plan — works out how to make a change and returns the plan: files, edits, order, and how to verify. Changes nothing itself.
  • execute — carries out one self-contained change and verifies it with the project’s own command.

While a subagent works, its block lists the tools it has called; Ctrl-O opens it.

Every .claude/agents/*.md and .hlix/agents/*.md in the folder is registered alongside them. Choose a distinct name for each custom agent.

The desktop app’s Terminal tab opens hlix --project <id> using your signed-in login. hlix auth status identifies that credential as session (desktop); sign out in the app to end it. See Install the CLI if it is not already on your machine.

The header can switch to the project’s Cloud Machine shell or create a local copy with hlix init --project, followed by hlix pull.

The cloud client uses the project’s saved conversations. Local and Docker chats keep their own, as described below.

Local conversations are scoped to the project. The startup line names the scope and how many conversations are in it:

threads: my-shop · 3 threads

A folder bound to a project (hlix init, hlix import) is keyed by that project, so a second clone of it shares one history. An unbound folder is keyed by its own repository root, and the line reads threads: this folder. Starting in a subdirectory is the same project as starting at the root.

/threads lists this project’s conversations, and /resume picks one to continue. Older content of a long conversation is condensed automatically when it nears the model’s context limit; /compact condenses it now.

  • Conversations — ~/.hlix/code/sessions/, one database file per project. Files from earlier versions in ~/.hlix/code/ are left alone and not read.
  • Logs — ~/.hlix/code/hlix-code.log. Use /log to read diagnostic output.
  • Settings — hlix.yml when it sets the field, then ~/.hlix/hlix.yml. See Settings above and config.

With -p --json, each line is one event:

  • message_start / message_update / message_end — role and the text so far.
  • tool_start / tool_end — the tool and its call id; tool_end carries isError, and denied when permission was declined.
  • tool_approval_required — the tool a turn was asked about.
  • question_asked — the question the agent put to you.
  • subagent_start / subagent_end — the subagent’s type, its task, and how long it took.
  • usage_update — totalTokens, and costMicros (whole micros of a US dollar: 1000000 is US$1) when the provider reported a price.
  • agent_end — the last line, with a reason. Anything but complete exits 1.