Captain BYOC

Captain BYOC (Bring Your Own Cloud) is Captain File Search installed in a cloud account that belongs to you and run by your own team. It serves the same API as hosted Captain, so your applications do not change, but everything it stores stays in your account. Captain supports the install by preparing and delivering patches and new versions, and once your team switches on the health report during the install, together with the Captain team, it receives basic health telemetry about the install's pods, but it never receives logs or any of your data.

Get started

An install starts with a conversation, so that the Captain team knows your cloud, your region and your constraints before you run anything.

Contact Captain

Write to the Captain team to plan your install.

How Captain Works follows one install from the inside, and Networking explains how people and applications reach it.

Why BYOC?

Teams choose BYOC for one or more of these reasons:

  • Data residency. Files, vectors and query records are stored in the project and region you pick.
  • Network isolation. Captain runs in your VPC with no public address. Outbound traffic is limited to the hosts your settings name, such as the telemetry host and your sync sources.
  • Compliance. An install fits policies that forbid data and workloads outside infrastructure you control.
  • Your own encryption keys. Every store can be encrypted with keys in your own Cloud KMS, which means you can make the data unreadable by disabling them.
  • Your own model agreements. Model calls go to your own Vertex AI, or to Anthropic and OpenAI with your own keys, so they fall under agreements you already hold.
  • Support without seeing your data. Captain receives only basic health telemetry, through the health report once your team switches it on, and every access Captain has to the install is granted by you and can be withdrawn at any time.

How it works

An install is built up in three layers, and your team creates all three with one installer:

  1. Cloud resources: Your team runs the installer, which uses Terraform to create the network, the GKE cluster, the Postgres database, the bucket, the identities, the secrets and the encryption keys in your Google Cloud project.

  2. Software: The installer then installs one Helm chart onto the cluster. It contains the API, the web app, the workers, the parser and Captain Vector DB, and it finishes with a check that calls every part once.

  3. Models: Indexing and search call the model endpoints you chose. By default that is Vertex AI in the same project, reached through a private endpoint with each pod's own identity.

An install has no control plane that Captain operates and no deployment agent. Your team runs the installer under its own Google identity. Captain prepares each patch and new version and delivers it to you, and it is applied by your team or by Captain's support team with access you grant for that purpose, limited to the install and revocable at any time. The one connection from the install to Captain is the health report, which carries health telemetry only and is off until your team switches it on during the install.

These are the components the software layer installs:

ComponentWhat it doesRuns as
APICollections, indexing, query, sync, evaluations and parsing. It is also the sign-in issuerDeployments captain-api and captain-api-query (searches)
MCP serverServes the same collections to agents, with API keysA container beside the API
Web appThe signed-in application: API keys, playground, documents, sync, activity, settingsDeployment captain-app
WorkersRead, chunk, tag and embed files. One worker type per kind of fileOne Deployment per worker type
Captain workflows (Temporal)Run indexing, evaluation and parse jobs, and the timers. Jobs survive a restartTemporal's own pods
ParserTurns PDFs into text, tables and figuresDeployment captain-parser
Word converterConverts Word files to PDF before parsingDeployment, reachable by the document worker only
Captain Vector DBStores vectors, chunk text and the keyword indexStatefulSet, two replicas by default
Postgres (Cloud SQL)Product data, accounts, audit records and job stateManaged by Google, private address only
Bucket (Cloud Storage)Uploaded files, indexing work files, parser job files and Captain Vector DB snapshotsManaged by Google

The Security Model page covers how each of these layers is secured, and How Captain Works follows a file through them.

Supported cloud providers

Cloud providerStatus
Google Cloud (GKE)Available
AWS (EKS)Available

An install runs in one region of one cloud. Contact your Captain team about Azure or other requirements.

Connect your applications

An application talks to a BYOC install exactly as it talks to hosted Captain. The endpoints and request formats do not change. Only the base address does: it is the install's own address on your network.

Differences from hosted Captain

BYOC serves the same API as hosted Captain, so the same API reference applies and a client written for one works against the other. Each install also serves its own copy of the reference at GET /openapi.json, which marks the operations that this edition changes or leaves out.

Different

These parts of the product exist in both editions but work differently in BYOC, mostly because BYOC uses services inside your account where hosted Captain uses its own.

AreaHostedBYOC
API addresshttps://api.captain.devThe install's own address on your network, api.captain.internal by default
ModelsChosen by CaptainNamed in settings, called on your own provider accounts
RerankCaptain's rerank modelsGoogle's ranking service, or a chat model you name
PDFsAn outside parsing service for complex filesCaptain's own parser for every PDF, with your vision model for hard pages
Vector storeCaptain's hosted storeCaptain Vector DB inside the project
Sign-inCaptain's hosted sign-inLocal accounts in the install, plus single sign-on by OpenID Connect with your own identity provider
MCP serverHosted, with sign-inRuns beside the API, with API keys
Activity recordsCaptain's analytics storePostgres in the project
EmailSent by CaptainSent by your mail server, or off
Reaching itOver the internetOver your own network

Because the reranker and the PDF reader are different, and because keyword statistics are counted differently, the same files can return somewhat different search results in BYOC than in hosted Captain. If you are comparing the two, evaluate each on your own documents before you compare scores.

Frequently asked questions

General

Operations

Disaster recovery

Was this page helpful?