# AgentCode Mac Quickstart

Status: private beta for one trusted Mac user.

## Install

```bash
curl -fsSL https://agentcode.5nota.com/install-mac.sh | bash
```

The installer does four things:

1. Installs the signed AgentCode runtime.
2. Starts the local AgentCode Node and OpenCode services.
3. Installs the `agentcode` command.
4. Opens the local AgentCode page.

## Daily Commands

```bash
agentcode health
agentcode open
agentcode logs
```

## Updates

```bash
agentcode check
agentcode update --dry-run
agentcode update --restart
```

## Uninstall Services

```bash
agentcode uninstall --dry-run
agentcode uninstall --yes
```

Uninstall stops AgentCode services and removes LaunchAgent plist files. It keeps the runtime folder, workspace, logs, and test runs so user files are not removed by accident.

## Expected Good State

`agentcode health` should show:

- `Local node`: OK
- `OpenCode`: OK
- `Model gateway`: OK
- `Model tunnel`: OK
- `Visible model list`: `agent-pipeline-orchestrator`
- `Policy mode`: `enforced`

If anything shows `FAIL`, run:

```bash
agentcode logs
```

## Important Limit

The convenient top-level installer (`/install-mac.sh`) is a private-beta shortcut. The runtime files, including `agentcode_cli.py`, are included in the signed Minisign release manifest under `/downloads`. This is ready for a trusted Mac user, but it is still not a public production release.
