> Build and run Dewee locally in under 5 minutes

# Quickstart

Get up and running with Dewee on your local machine or server in 5 minutes.

## 1. Build and Initialize

```bash
git clone -b main https://github.com/nextlevelbuilder/dewee.git
cd dewee
make build
./dewee onboard
source .env.local && ./dewee
```

## 2. Health Check

```bash
curl http://localhost:18790/health
```

Expected response (`internal/gateway/server.go:672` and `pkg/protocol/frames.go:8`):

```json
{"status":"ok","protocol":3}
```

## 3. Interactive Terminal Chat

```bash
# Start interactive terminal chat with default agent
./dewee agent chat
```

## 4. HTTP API Invocation

```bash
curl -X POST http://localhost:18790/v1/chat/completions \
  -H "Authorization: Bearer $GOCLAW_GATEWAY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-20250514",
    "messages": [{"role": "user", "content": "Hello Dewee!"}]
  }'
```
