memcode docs
Halo

How Halo works

What happens between typing a request and seeing the result.

From request to result

  1. You type a request. Nothing is sent until you press Enter.
  2. Halo interprets it. The Halo service turns your words into a specific action: what to do, on what, with which conditions.
  3. Your machine checks it. Halo checks the action locally before running it, including which files it touches and what access it needs.
  4. You approve when needed. Read-only actions run straight away. Anything that changes your machine shows a preview and waits for your approval.
  5. It runs locally. The action runs on your computer and the result appears in your terminal. Results stay on your machine.

Specific actions, not improvised scripts

For the tasks Halo supports, each request becomes a specific action you can read before it runs, not an improvised shell script. If an action requires an external program, Halo shows the exact command and runs exactly that command.

When Halo is unsure

If a request could mean two things, Halo asks which one you meant. If it's outside what Halo supports, Halo says so. It doesn't guess.

Conversations

Halo keeps the conversation on your machine, so follow-ups work:

➜ list the python files here
➜ only the ones changed today

To understand a follow-up, the service receives your earlier requests in the conversation and limited metadata about the results, such as their number (for example, "214 files"). It never receives the results themselves.

For how these guarantees are enforced, see Security architecture.

On this page