# Hlix Code

**Hlix Code is the default harness in hlix.** It works the cycle's checklist on the cycle branch, using an isolated [Cloud Machine](/concepts/project-environment/) 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](/harnesses/models-and-keys/#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](/harnesses/models-and-keys/), including OpenAI and Anthropic. It also supports an OpenAI-compatible harness API-key account. See [AI accounts and funding](/harnesses/accounts/).

## Prerequisites

- A project in your Workspace. Its [Cloud Machine](/concepts/project-environment/) is prepared for you before the first cycle.
- With managed funding, a model for the Cycle group, or the default. See [Models & provider keys](/harnesses/models-and-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.

## What one cycle run looks like

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.

## After the turn

Hlix commits the changes, runs your [verification command](/harnesses/verification/) 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.

### Credentials and funding

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](/harnesses/accounts/).

<span id="no-time-limit-per-run" />

## Run progress and charges

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](/billing/plans/).

## What you can watch, and what you keep

- 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](/running/dashboard/) for where these appear.

<span id="common-questions" />

For local coding chats, see [Hlix Code in the terminal](/reference/cli/code/). To choose another harness, see [Outside harnesses](/harnesses/external-acp/).

## If a cycle on Hlix Code fails

- **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.

<span id="where-to-go-next" />

## Next steps

[Verification](/harnesses/verification/)
  [Outside harnesses](/harnesses/external-acp/)
  [Models & provider keys](/harnesses/models-and-keys/)
  [Cloud Machines](/concepts/project-environment/)