hlvm serve exposes the provider-neutral HLVM runtime host for GUI clients and
tools.
hlvm serve
Default host:
http://127.0.0.1:11435
| Method | Path | Purpose |
|---|---|---|
GET | /health | Runtime health check |
POST | /api/chat | Chat, eval, and agent submissions |
GET | /api/chat/messages | Current conversation messages |
GET | /api/chat/stream | Server-sent conversation events |
curl -X POST http://127.0.0.1:11435/api/chat \
-H "Content-Type: application/json" \
-d '{"mode":"eval","messages":[{"role":"user","content":"(+ 1 2)"}]}'
curl -X POST http://127.0.0.1:11435/api/chat \
-H "Content-Type: application/json" \
-d '{"mode":"chat","messages":[{"role":"user","content":"hello"}]}'
The runtime host is not itself a model engine. It can route to native harnesses, cloud providers, or local models. It never installs or starts Ollama. When an Ollama route is selected, the user-owned service at its standard endpoint must already be available.