You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make Warp work with Local Language Models (like Ollama models) #4339
Due to safety concerns, many users are getting paranoid about Warp's forced login and online AI assistance. Since terminals are used to access critical data on local machines and servers, adding the ability to use local language models like Llama 2 using Ollama instead of online AI engines would be a great plus to Warp terminal emulator.
Is your feature request related to a problem? Please describe.
Mostly safety concerns when using Warp for accessing password protected systems and documents.
Reacted by LFdev, Harry Holt, Sébastien SIME, Ayush Singhal, Leo Newton, 최규우, dguachala, Adam Scrivener, Thomas Herrmann, Abdul rehman and 1227 more
Reacted by crazygamerz783, Vincent Passaro, agoncas, Soumya Snigdha Kundu, sherichev, Andrew, ultrahumanite, Chih-Hsuan Kuo, Drew, BigFei and 2 more
Reacted by 12th, Gordo, No_Fuse8771, Antonio Reuter, Kayvan Sylvan, Mudflapper, ghchris2021, Sudhir, Jake Mannix, user77 and 55 more
Reacted by kn0wmad, aidanjsamuels, Angelo Annunziata, magnus8672, Aqil Contractor, Arcaño, mortenengelsastro, Rajeesh, Th34rch1t3ctOfficial, Logger and 56 more
Reacted by kn0wmad, Hunter Beast, Razvan B., Ricky M, Kaining Zhong, Felipe Ribeiro, Jonas Pinheiro de Lima, James R. Griffin III, flames5123, Manolo Santos and 63 more
Some local LLM tools even expose an OpenAI API-compatible server, which I believe could allow for rudimentary support with just a setting to change the OpenAI endpoint?
Reacted by Caleb Barr, Gus Branchesi, Myoungdo Park, JeromeNelsonC, Arav Jain, RossCobb, zaidorx, Mik43l, Jorge Morales, Rajeesh and 44 more
To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.
Reacted by Myoungdo Park, yshung1971, Steve Galbincea, Vajra456, Arav Jain, Daniel Parnell, Ch1zh, Eng-Omar-alkatheri, Gunasekaran Namachivayam, Michael Jeffrey Wu and 332 more
As a warp user and system's administrator, this feature alone would make getting buy in from our CTO 100x easier. I love using Warp in my home lab / personal environments but no way in its current iteration could I even get it in my professional environment to demo a proof of value. Having the option to show case the AI integrations with local models would allow us to begin the discussion on an enterprise plan with zero data retention.
Reacted by 3ogdan_Stoicesco, Hunter Beast, Mir Shafayat Ahmed, Yassine Safraoui, Razvan B., Marwâne, Caleb Barr, AKPLA Eric, PRJX-UK, Melvin Gundlach and 105 more
Reacted by kn0wmad, Hunter Beast, PRJX-UK, Melvin L, Diego Mora, Gustin Johnson, miltonparedes, Jorge Morales, Alex Graupera, Skylar Weaver and 8 more
Yes, please. Ollama is easiest. LMStudio great too. Groq (not the X model) would be rather interesting. Let people use the LLM they want to use. Warp team, this INCREASES the value of this tool greatly! Your value is NOT in being a niche gateway to popular LLMs.
Reacted by Matthew Fine, kn0wmad, i2z1, Hunter Beast, Mir Shafayat Ahmed, PXLKSR, David A. K. Ad., Marwâne, Andrii Bolharyn, Caleb Barr and 26 more
@zerx-lab Nice to see a fork! Could you enable issues and binary releases to allow testing?
Sorry for the delayed response. The BYOP capability is basically complete, though there may still be some minor compatibility issues with model service providers that need debugging. Overall, it should be usable now after two weeks.
Reacted by Vaibhav Shetye and minzdrav
Reacted by Rene Leonhardt, John Lombardo, Victor Gil, Ignacio Ciccioli, Nir Singher and Vaibhav Shetye
Thanks for raising this. Warp now supports custom inference endpoints compatible with the OpenAI Chat Completions API, so some local or self-hosted setups may work today if they expose an OpenAI-compatible endpoint.
That said, this is not the same as fully client-side local model support with no Warp server routing. Fully local model support is still a separate direction. We’re planning a lightweight local client harness so Warp can connect directly to local models without routing through Warp’s servers, and we’re also planning support for Agent Client Protocol so developers can bring other harnesses into Warp’s terminal UI.
We’re tracking that broader local/arbitrary model direction here: #9619
We’ll keep this issue open for the fully local model use case. If you try a local OpenAI-compatible endpoint and hit a concrete issue, please share the endpoint setup, model, and error so we can understand what’s missing.
Reacted by Anton P., Gareth Evans, yeshan333, João Pedro Vieira, Rene Leonhardt and John Lombardo
Reacted by Liam Jones, João Pedro Vieira and John Lombardo
This is the single most important feature Warp could ship right now. Privacy is the top reason people hesitate to adopt Warp, and local models solve that completely.
I'd like to contribute a PR. My proposed approach:
Architecture: Add a pluggable AIProvider trait/interface in the backend. Currently Warp's AI is hardwired to a cloud endpoint; this would abstract it behind an enum:
Define the backend-agnostic provider interface (prompt → streaming response)
Implement an Ollama provider that speaks its REST API (/api/generate, /api/chat)
Add a settings toggle in the AI preferences panel ("AI Provider: Warp Cloud / Local (Ollama)")
Wire the provider selection through the existing AI command generation and explanation features
Why Ollama first: It's the de facto standard for local LLM serving on macOS, has a stable API, supports all major open models (Llama 3, Mistral, Qwen, DeepSeek, etc.), and requires zero config beyond ollama pull .
This keeps the implementation minimal, reversible, and entirely opt-in. No new dependencies — just HTTP calls to localhost.
I'm happy to draft a spec/design doc first if the maintainers want to review before I write code. Thoughts?
Reacted by Jasper Frumau, Max Grom, Prakash Meena and Alexey Gopachenko
Now branded as Local-Warp emphasizing BYOK and BYOP support. New release available today for #Linux #MacOS #Windows. If you are using terminal, you want this. I will soon have a video highlighting the BYOK and BYOP updates. Best part is that it is constantly updated with features from Warp. Check it out here: https://github.com/wolverine2k/warp
Reacted by shlomiuziel, Daniel Maricic, jarrah31, Alex Dunstan and Martín Cigorraga
@bholmesdev, it looks like implementing a local endpoint is not straightforward. Is there any roadmap beyond following the discussion here? #9619 (comment)
PR was closed, but unsure why? @GeekLuffy are we not in favor of supporting local ollama runs for warp agent?
Hey @TeckniX ! Definitely in favor of local Ollama support but this PR wasn't actually the solution for that.
A couple of reasons it was closed after chatting with the maintainers:
It didn't solve direct local inference: Warp Agent requests are still proxied through Warp's cloud servers, so local/private IPs (like localhost:11434 for Ollama) still fail without a public tunnel (like ngrok). True local Ollama support requires a client-side execution path which the Warp team is tracking separately in #9619
Design alignment: This PR just added a base URL override to standard OpenAI BYOK. The Warp team explained that they intentionally keep hosted models and custom endpoints separated (via the "Add custom model" flow) to keep routing explicit rather than proxying standard model names behind the scenes.
So closing it was just aligning with the team's product and architectural direction!
I would not mind paying a small fee for a paid version of Warp. But for me this is a must have. For many reasons. But for me as a freelance engineer I take my responsibility in ensuring data from my clients stay safe. I use Vertex AI myself due to their data guarantees and I can use a wide variety of models. And that's next to company policies from some clients that require me to use only their own managed LLM's (approved by corporate etc etc). In Opencode I can add their LLM and just use that whenever I'm working on those projects.
Sure I have additional gemini, openai keys etc but my work environment is my sanctuary. I need full control over it. Warp is one of the tools that lives in that space. Also as a small business I don't want a whole list of small payments here in there. So if I would buy tokens from you directly, I'd do it in my own name and not count it toward business expenses. But most european customers don't have a (personal) credit card. So I can't even (privately) buy tokens if I wanted to. There is also the case of European legislation. What if I use Warp to SSH into a server that holds personal information? If warp reads those files for whatever reason personal information might end up on servers without any data processing agreement. Warp loses its added value for me when I have to worry about all those things. There are plenty of alternatives although Warp could fit better in my day to day activities.
I am a point where I'm starting to skip or drop products where I can't bring my own model. Warp is among them for now.
Activity
Absolucy commentedon Mar 9, 2024
Some local LLM tools even expose an OpenAI API-compatible server, which I believe could allow for rudimentary support with just a setting to change the OpenAI endpoint?
dannyneira commentedon Apr 3, 2024
Thanks for this feature request @hmdz105!
To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.
kn0wmad commentedon Jan 19, 2025
This is the feature that would bring me to use Warp
Ryj3l commentedon Jan 20, 2025
As a warp user and system's administrator, this feature alone would make getting buy in from our CTO 100x easier. I love using Warp in my home lab / personal environments but no way in its current iteration could I even get it in my professional environment to demo a proof of value. Having the option to show case the AI integrations with local models would allow us to begin the discussion on an enterprise plan with zero data retention.
kentlangley commentedon Jan 24, 2025
Yes, please. Ollama is easiest. LMStudio great too. Groq (not the X model) would be rather interesting. Let people use the LLM they want to use. Warp team, this INCREASES the value of this tool greatly! Your value is NOT in being a niche gateway to popular LLMs.
135 remaining items
zerx-lab commentedon May 15, 2026
Sorry for the delayed response. The BYOP capability is basically complete, though there may still be some minor compatibility issues with model service providers that need debugging. Overall, it should be usable now after two weeks.
petradonka commentedon May 22, 2026
Thanks for raising this. Warp now supports custom inference endpoints compatible with the OpenAI Chat Completions API, so some local or self-hosted setups may work today if they expose an OpenAI-compatible endpoint.
That said, this is not the same as fully client-side local model support with no Warp server routing. Fully local model support is still a separate direction. We’re planning a lightweight local client harness so Warp can connect directly to local models without routing through Warp’s servers, and we’re also planning support for Agent Client Protocol so developers can bring other harnesses into Warp’s terminal UI.
We’re tracking that broader local/arbitrary model direction here: #9619
Custom endpoint docs: https://docs.warp.dev/agent-platform/inference/custom-inference-endpoint/
We’ll keep this issue open for the fully local model use case. If you try a local OpenAI-compatible endpoint and hit a concrete issue, please share the endpoint setup, model, and error so we can understand what’s missing.
nilo19 commentedon May 23, 2026
Could you please support local endpoints as well? For example this url cannot be saved and added.
sponsfreixes commentedon May 24, 2026
Getting the same issue here:
shinayser commentedon May 26, 2026
Yeap... not working with local models 🥲
Pcmhacker-piro commentedon May 27, 2026
This is the single most important feature Warp could ship right now. Privacy is the top reason people hesitate to adopt Warp, and local models solve that completely.
I'd like to contribute a PR. My proposed approach:
Architecture: Add a pluggable AIProvider trait/interface in the backend. Currently Warp's AI is hardwired to a cloud endpoint; this would abstract it behind an enum:
Scope of changes:
Why Ollama first: It's the de facto standard for local LLM serving on macOS, has a stable API, supports all major open models (Llama 3, Mistral, Qwen, DeepSeek, etc.), and requires zero config beyond ollama pull .
This keeps the implementation minimal, reversible, and entirely opt-in. No new dependencies — just HTTP calls to localhost.
I'm happy to draft a spec/design doc first if the maintainers want to review before I write code. Thoughts?
bholmesdev commentedon May 30, 2026
@sponsfreixes We will be working on local model support next! Hang tight and follow along on the GitHub discussion: #9619
wolverine2k commentedon Jun 5, 2026
https://github.com/wolverine2k/warp/tree/multi-local-llm --> local model and various provider support. Allows for multiple providers to be used simultaneously including Oz as a backup. Check it out.
hitman4274 commentedon Jun 14, 2026
Set up Ollama
import VideoEmbed from '@components/VideoEmbed.astro';
Running AI models locally just got easier — and faster — with Ollama.
In this guide, we’ll walk through how to use Warp to install, profile, and integrate Ollama into your local setup.
1. Check your system specs
Before running large language models (LLMs) locally, confirm your hardware can handle them.
Example setups:
2. Run your first model
Run a model locally:
For example:
Compare their performance and quality side-by-side.
Use Warp to easily monitor GPU usage and model response time.
3. Understanding model terms
Here’s a quick glossary for choosing the right local model:
4. Integrate Ollama into your app
Most apps use OpenAI-compatible APIs, so integration is simple.
Warp helps you quickly locate, edit, and test the integration directly from the terminal.
6. Customize model behavior
Pull and modify a model.
Then save it as a custom model with new settings like temperature or system prompt.
Use Warp to generate a model file automatically.
This adds a structured system prompt for that task — ready to use instantly.
___________------------------>>>>>They have a page on it even..... but dont have it themselves........
wolverine2k commentedon Jul 3, 2026
Now branded as Local-Warp emphasizing BYOK and BYOP support. New release available today for #Linux #MacOS #Windows. If you are using terminal, you want this. I will soon have a video highlighting the BYOK and BYOP updates. Best part is that it is constantly updated with features from Warp. Check it out here: https://github.com/wolverine2k/warp
gabrielstuff commentedon Jul 5, 2026
A fork and PR were opened for this: #13087
Thanks @wolverine2k for your work on local-warp.
@bholmesdev, it looks like implementing a local endpoint is not straightforward. Is there any roadmap beyond following the discussion here?
#9619 (comment)
Thanks a lot for everything!
furetosan commentedon Aug 5, 2026
may we turn telemetry off?
TeckniX commentedon Sep 13, 2026
PR was closed, but unsure why? @GeekLuffy are we not in favor of supporting local ollama runs for warp agent?
GeekLuffy commentedon Sep 13, 2026
Hey @TeckniX ! Definitely in favor of local Ollama support but this PR wasn't actually the solution for that.
A couple of reasons it was closed after chatting with the maintainers:
It didn't solve direct local inference: Warp Agent requests are still proxied through Warp's cloud servers, so local/private IPs (like localhost:11434 for Ollama) still fail without a public tunnel (like ngrok). True local Ollama support requires a client-side execution path which the Warp team is tracking separately in #9619
Design alignment: This PR just added a base URL override to standard OpenAI BYOK. The Warp team explained that they intentionally keep hosted models and custom endpoints separated (via the "Add custom model" flow) to keep routing explicit rather than proxying standard model names behind the scenes.
So closing it was just aligning with the team's product and architectural direction!
DaanBiesterbos commentedon Oct 23, 2026
I would not mind paying a small fee for a paid version of Warp. But for me this is a must have. For many reasons. But for me as a freelance engineer I take my responsibility in ensuring data from my clients stay safe. I use Vertex AI myself due to their data guarantees and I can use a wide variety of models. And that's next to company policies from some clients that require me to use only their own managed LLM's (approved by corporate etc etc). In Opencode I can add their LLM and just use that whenever I'm working on those projects.
Sure I have additional gemini, openai keys etc but my work environment is my sanctuary. I need full control over it. Warp is one of the tools that lives in that space. Also as a small business I don't want a whole list of small payments here in there. So if I would buy tokens from you directly, I'd do it in my own name and not count it toward business expenses. But most european customers don't have a (personal) credit card. So I can't even (privately) buy tokens if I wanted to. There is also the case of European legislation. What if I use Warp to SSH into a server that holds personal information? If warp reads those files for whatever reason personal information might end up on servers without any data processing agreement. Warp loses its added value for me when I have to worry about all those things. There are plenty of alternatives although Warp could fit better in my day to day activities.
I am a point where I'm starting to skip or drop products where I can't bring my own model. Warp is among them for now.