# Routes and endpoints

## Agent Hub

- `GET /health`
- `GET /api/v1/agents`
- `GET /api/v1/agents/{agent-id}`
- `GET /api/v1/agents/{agent-id}/status`
- `POST /api/v1/agents/{agent-id}/chat`
- `POST /api/v1/agents/{agent-id}/tasks`

Example local chat request:

```bash
curl -sS http://127.0.0.1:8770/api/v1/agents/marketing-boss/chat \
  -H 'Content-Type: application/json' \
  -d '{"mode":"deep","message":"Review the current SHIRE3D campaign and propose the three strongest customer hooks. Do not publish."}' | python3 -m json.tool
```

## Marketing Boss

- `GET /api/health`
- `GET /api/agent-state`
- `POST /api/agent-state`
- `GET|POST /api/sync-products`
- `GET /agent-review`

All services bind to `127.0.0.1`. No public inbound port is opened.
