The Atlas doc.haus documentation, bound to its code
108 documents

Zero to a running demo

From a fresh clone to asking a fictional engagement letter about its liability cap — the fastest way to feel what doc.haus is.

Default: Google Vertex via ADC

The shipped configuration in dochaus/opencode.json. It authenticates from the host's Application Default Credentials — there is no API key in the config.

"google-vertex": {
  "npm": "@ai-sdk/google-vertex",
  "name": "Google Vertex AI",
  "options": {
    "project": "{env:GOOGLE_VERTEX_PROJECT}",
    "location": "{env:GOOGLE_VERTEX_LOCATION}"
  },
  "models": {
    "gemini-3.1-pro-preview": { "name": "Gemini 3.1 Pro" },
    "gemini-3.5-flash": { "name": "Gemini 3.5 Flash" }
  }
}

Setup:

gcloud auth application-default login
export GOOGLE_VERTEX_PROJECT=<your-gcp-project>
export GOOGLE_VERTEX_LOCATION=global   # Gemini 3.x is global-only

Project and location can also be set from the web Settings panel ("Cloud project & region") instead of environment variables. Inference requests, including document content placed in the prompt, are sent to Google Cloud.