Skip to content

Hlix Code

Use Hlix Code, the default harness, to work a cycle checklist with an isolated Cloud Machine, saved progress, verification and review.

Hlix Code is the default harness in hlix. It works the cycle’s checklist on the cycle branch, using an isolated Cloud Machine for files, commands and application tests.

With Managed by hlix, you do not need a separate harness credential. hlix uses the cycle’s resolved model and funding settings. See Which model a cycle runs on.

You can instead select a connected model provider and one of its models. Hlix Code supports the providers listed in Models & provider keys, including OpenAI and Anthropic. It also supports an OpenAI-compatible harness API-key account. See AI accounts and funding.

  • A project in your Workspace. Its Cloud Machine is prepared for you before the first cycle.
  • With managed funding, a model for the Cycle group, or the default. See Models & provider keys. With your own provider or API-key account, a selected native model ID.
  • Hlix Code is the default when you leave the harness selection unset.

hlix starts a Cloud Machine from the project’s Project Environment and checks out the cycle branch. Hlix Code receives the brief, project instructions and checklist, then edits files and runs commands through that environment. It marks checklist items as it works. When review requests changes, the next turn receives the findings and continues on the same branch.

Hlix commits the changes, runs your verification command and pushes the branch with its check results for review. A failed check gives the harness one repair turn.

Progress is also committed and pushed while the harness works. After an interruption, the next run continues from published commits. Unpushed edits in a lost Cloud Machine may need to be repeated.

With managed funding, hlix handles model access for the run. With your own provider or API-key account, Hlix Code uses that selection’s endpoint and native model ID. Your provider bills that usage separately; removing the account from hlix does not revoke the key at the provider. See AI accounts and funding.

The harness works through the cycle’s checklist. The work uses Hlix Dollars (H$) by what it uses: models, Cloud Machines and Storage. Your provider bills connected API usage separately. See Plans & pricing.

  • The harness’s progress shows live while the run works.
  • Every turn’s report is kept, including the repair turn’s.
  • The branch is the record: what the harness changed is in its commits, and review reads that exact commit.

See The dashboard for where these appear.

For local coding chats, see Hlix Code in the terminal. To choose another harness, see Outside harnesses.

  • The setup command failed. The repository’s setup failed before the harness started. Fix the command on the repository and run the cycle again.
  • The cycle keeps returning from review. Read the review findings and the verification output on the cycle; each round continues on the same branch.
  • A provider 401 in the run’s output. Check the run’s funding selection. For a connected provider or API-key account, test or replace its key and verify its endpoint under Settings → Models & accounts → Accounts. For managed funding, share the request ID with support@hlix.ai if the authentication failure persists.