Repository navigation
Description
Pre-submit Checks
- I have searched Warp bugs and there are no duplicates
- I have searched Warp known issues page and my issue is not there
- I have an issue with AI and have included the debugging ID (Optional, but helps expedite the AI quality fix). Debugging ID instructions
- I have technical issue and have included the logs (optional, but helps expedite the bug fix). Log instructions
Describe the bug
I've been testing Warp's "Custom Inference" feature, which lets users configure a custom LLM endpoint and API token. After inspecting the network behavior, it's clear that requests are not sent directly to the configured endpoint — they are proxied through Warp's own infrastructure (*warp.dev). There is no technical reason for this. The user explicitly configured a third-party endpoint; the client should call it directly.
More importantly, the "Custom Inference" documentation claims that API keys are stored locally and never synced to the cloud. That statement is false in practice. If every request is routed through your servers, then the API key is, by definition, transmitted to and handled by your infrastructure on every call — regardless of where the key is "stored" at rest. The distinction between "synced" and "transmitted on every request" is meaningless from a security and privacy standpoint.
This is a serious misrepresentation. Please either (1) change the implementation so custom endpoints are called directly from the client, or (2) update the documentation to accurately describe the data flow, including the fact that user credentials and prompts are routed through Warp-controlled servers. Until one of those happens, the current description is misleading users about what they're consenting to.
To reproduce
Warp's "Custom Inference" feature claims that API keys are stored locally and never synced to the cloud. In practice, requests made to a user-configured custom endpoint are not sent directly from the client — they are proxied through Warp's own infrastructure (*.warp.dev). This contradicts the in-product description and has clear privacy/security implications: the API key and prompt content are transmitted to Warp servers on every request.
Steps to reproduce
- Open Warp → Settings → AI → Custom Inference (or equivalent).
- Configure a custom LLM provider with:
- A custom endpoint URL pointing to a host you control (e.g.
https://my-provider.example.com/v1). - A custom API token.
- A custom endpoint URL pointing to a host you control (e.g.
- Save the configuration and select this provider as the active one.
- Start capturing outbound network traffic from the Warp process,
- In Warp, trigger any AI action that should hit the configured endpoint (chat message, command suggestion, etc.). But its not.
- Observe the network traffic.
Expected behavior
No response
Screenshots, videos, and logs
No response
Operating system (OS)
Select an OS
Operating system and version
Macos 26
Shell Version
No response
Current Warp version
No response
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
No
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
Activity
warp-for-oss commentedon May 26, 2026
@bmansvk
Here's what I found while triaging this issue:
Thanks for flagging this. This looks like a real custom-inference data-flow/documentation mismatch: endpoint credentials are stored locally at rest, but current requests appear to go through Warp's agent infrastructure rather than being fully direct client-to-endpoint calls.
Maintainer details
I concluded that custom inference appears to use Warp's server-mediated agent request path while the docs emphasize local-only endpoint credential storage, creating a likely data-flow/documentation mismatch..
Triage summary
This looks like a valid custom inference data-flow/documentation issue rather than just a reporter hypothesis. The submitted report does not include a packet capture, debugging ID, or exact Warp build, but the current client implementation supports the key observation: custom endpoint details are sent through Warp's normal agent API request path.
Evidence from current code/docs
crates/ai/src/api_keys.rsstores custom endpoints in local secure storage, butcustom_model_providers_for_requestalso builds a request payload containing each endpoint'sbase_url,api_key, and modelconfig_key.app/src/ai/agent/api.rsincludescustom_model_providersinRequestParamswhenCustomInferenceEndpointsis enabled and the workspace/user is eligible.app/src/ai/agent/api/impl.rsplaces that value intoRequest.Settings.custom_model_providers.app/src/server/server_api.rssends the resulting agent request toChannelState::server_root_url()/ai/multi-agentrather than making a direct provider request from this code path.app/src/settings_view/custom_inference_modal.rsrejects localhost/private endpoint hosts, which is also consistent with server-mediated endpoint access rather than arbitrary client-local routing.../docs/src/content/docs/agent-platform/inference/custom-inference-endpoint.mdxsay endpoint URLs and credentials are stored locally and never synced to Warp's servers, and that Warp does not retain/store endpoint credentials. That wording may be technically about storage/sync, but it does not clearly disclose transient handling if requests are routed through Warp infrastructure.Likely next step
Maintainers should decide whether the intended product contract is direct client-to-provider routing or server-mediated routing. If server-mediated routing is intended, the docs and in-product wording should explicitly describe the data flow and credential handling; if direct routing is intended, the client request-building path likely needs to change so custom inference credentials are not attached to Warp's
/ai/multi-agentrequest.This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
kevinchevalier commentedon May 26, 2026
The Oz agent harness is not open source. In order to use the harness, traffic must be routed to the Warp server that then makes requests to the model endpoint.
To avoid the Warp server completely, you must use a different harness.
Can you point to the documentation that states the key will not be sent to the Warp server?
bmansvk commentedon Jun 1, 2026
I saw the docs and its there (routing my api keys via your servers).
But this behavior should be mentioned directly in the app for the users who do not read the docs in the first place.
kevinchevalier commentedon Jun 1, 2026
I think that is reasonable.
warp-for-oss commentedon Jun 1, 2026
@kevinchevalier
I'm starting work on product and tech specs for this issue.
You can view the conversation on Warp.
I created a new spec PR for this issue.
Preview generated specs:
Next steps:
Powered by Oz