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 CaptainWrite 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:
-
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.
-
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.
-
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:
| Component | What it does | Runs as |
|---|---|---|
| API | Collections, indexing, query, sync, evaluations and parsing. It is also the sign-in issuer | Deployments captain-api and captain-api-query (searches) |
| MCP server | Serves the same collections to agents, with API keys | A container beside the API |
| Web app | The signed-in application: API keys, playground, documents, sync, activity, settings | Deployment captain-app |
| Workers | Read, chunk, tag and embed files. One worker type per kind of file | One Deployment per worker type |
| Captain workflows (Temporal) | Run indexing, evaluation and parse jobs, and the timers. Jobs survive a restart | Temporal's own pods |
| Parser | Turns PDFs into text, tables and figures | Deployment captain-parser |
| Word converter | Converts Word files to PDF before parsing | Deployment, reachable by the document worker only |
| Captain Vector DB | Stores vectors, chunk text and the keyword index | StatefulSet, two replicas by default |
| Postgres (Cloud SQL) | Product data, accounts, audit records and job state | Managed by Google, private address only |
| Bucket (Cloud Storage) | Uploaded files, indexing work files, parser job files and Captain Vector DB snapshots | Managed 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 provider | Status |
|---|---|
| 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.
The same API reference applies. Each install also serves its own copy at GET /openapi.json.
The MCP server runs beside the API in your install, at mcp.captain.internal/mcp by default, and agents connect to it with an API key.
People sign in to the web app with a local account or single sign-on to manage API keys, documents, sync and settings.
Keep a collection current with Google Cloud Storage, Amazon S3, Azure Blob or a SharePoint library.
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.
| Area | Hosted | BYOC |
|---|---|---|
| API address | https://api.captain.dev | The install's own address on your network, api.captain.internal by default |
| Models | Chosen by Captain | Named in settings, called on your own provider accounts |
| Rerank | Captain's rerank models | Google's ranking service, or a chat model you name |
| PDFs | An outside parsing service for complex files | Captain's own parser for every PDF, with your vision model for hard pages |
| Vector store | Captain's hosted store | Captain Vector DB inside the project |
| Sign-in | Captain's hosted sign-in | Local accounts in the install, plus single sign-on by OpenID Connect with your own identity provider |
| MCP server | Hosted, with sign-in | Runs beside the API, with API keys |
| Activity records | Captain's analytics store | Postgres in the project |
| Sent by Captain | Sent by your mail server, or off | |
| Reaching it | Over the internet | Over 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.