Serve Holo4
- GPU server (vLLM)
- Mac (llama.cpp)
vLLM
http://localhost:8000/v1.Two model names
GPUs on another machine
No API key is sent to your server, so keep it private. Use an SSH tunnel and keephttp://localhost:8000/v1:
SSH tunnel
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Point Client.local() at your own Holo4 server: the agent and the model both run on hardware you control.
your code ──► Client.local() ──► local runtime ──► your model server
└──► your browser or desktop
vllm serve Hcompany/Holo4-35B-A3B-FP8 \
--served-model-name holo4-35b-a3b \
--max-model-len 262144 \
--enable-prefix-caching \
--chat-template-content-format openai \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder \
--reasoning-parser qwen3 \
--limit-mm-per-prompt '{"image": 5, "video": 0}'
http://localhost:8000/v1.brew install llama.cpp
llama-server -hf Hcompany/Holo4-35B-A3B-GGUF
http://localhost:8080/v1. Any model ID works.pip install "hai-agents[browser]"
from hai_agents import Client
from hai_agents_local.runtime import Inference
agent = {
"name": "local-web",
"description": "Drives Chrome on this machine.",
"model": "holo4-35b-a3b",
"environments": [{"id": "browser", "kind": "web", "host": "user_device"}],
}
inference = Inference.self_hosted("http://localhost:8000/v1", model="holo4-35b-a3b")
with Client.local(inference=inference) as client:
result = client.run_session(agent=agent, messages="Open example.com and tell me the page heading.")
print(result.status, result.answer)
| Field | Value |
|---|---|
Agent model | The Holo version you serve: holo4-35b-a3b, holo4-27b, or holo3-1-35b-a3b. Sets the prompt format. |
Inference.self_hosted(model=...) | Your server’s model name. |
http://localhost:8000/v1:
ssh -N -L 8000:localhost:8000 you@gpu-host
| Error | Fix |
|---|---|
No health endpoint at http://.../health | The base URL must end in /v1, and the server must answer GET /health. |
inference selection cannot reconfigure an existing runtime | Close the other client, or pass local_options={"port": 18796}. |
Unknown model '...' | Use an agent model from Two model names. |
Was this page helpful?