Skip to content

Make Warp work with Local Language Models (like Ollama models) #4339

Open

Description

@hmdz105

Discord username (optional)

No response

Describe the solution you'd like?

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.

Additional context

No response

How important is this feature to you?

4

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

Activity

  1. Absolucy commented on Mar 9, 2024

    @Absolucy

    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?

  2. dannyneira commented on Apr 3, 2024

    @dannyneira
    Member

    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.

  3. pinned this issue on Jan 17, 2025
  4. kn0wmad commented on Jan 19, 2025

    @kn0wmad

    This is the feature that would bring me to use Warp

  5. Ryj3l commented on Jan 20, 2025

    @Ryj3l

    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.

  6. kentlangley commented on Jan 24, 2025

    @kentlangley

    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.

  7. 135 remaining items

  8. zerx-lab commented on May 15, 2026

    @zerx-lab

    @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.

  9. petradonka commented on May 22, 2026

    @petradonka
    Contributor

    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.

  10. nilo19 commented on May 23, 2026

    @nilo19

    Could you please support local endpoints as well? For example this url cannot be saved and added.

    Image
  11. sponsfreixes commented on May 24, 2026

    @sponsfreixes

    Could you please support local endpoints as well? For example this url cannot be saved and added.

    Getting the same issue here:

    Image
  12. shinayser commented on May 26, 2026

    @shinayser

    Yeap... not working with local models 🥲

  13. Pcmhacker-piro commented on May 27, 2026

    @Pcmhacker-piro

    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:

    1. Define the backend-agnostic provider interface (prompt → streaming response)
    2. Implement an Ollama provider that speaks its REST API (/api/generate, /api/chat)
    3. Add a settings toggle in the AI preferences panel ("AI Provider: Warp Cloud / Local (Ollama)")
    4. 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?

  14. bholmesdev commented on May 30, 2026

    @bholmesdev
    Contributor

    @sponsfreixes We will be working on local model support next! Hang tight and follow along on the GitHub discussion: #9619

  15. wolverine2k commented on Jun 5, 2026

    @wolverine2k

    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.

  16. hitman4274 commented on Jun 14, 2026

    @hitman4274

    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:

    • Mac: 64GB unified memory — good for larger models but with lower throughput.
    • Windows (NVIDIA RTX 5090): 32GB VRAM — excellent performance, but limited by VRAM capacity.

    🧠 Rule of thumb: You’ll need roughly 1GB of VRAM per billion parameters.


    2. Run your first model

    Run a model locally:

    ollama run gpt-oss

    For example:

    • Try GPT-OSS 20B (requires ≥16GB VRAM, supports tool calling).
    • Then try Mistral 8B for a faster, smaller alternative.

    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:

    Term Meaning
    Thinking The model “thinks” before answering; better for complex reasoning.
    Tools Models can use external utilities (e.g., web search).
    Vision Can process and respond to images.
    Embedding Converts text to numeric form for search or RAG pipelines.
    Quantization Reduces memory use by lowering precision (e.g., 4-bit).

    4. Integrate Ollama into your app

    Most apps use OpenAI-compatible APIs, so integration is simple.

    1. Open your app’s code in Warp.
    2. Locate the OpenAI client initialization.
    3. Replace the base URL with Ollama's
    4. Update your API key and model name.

    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........

  17. wolverine2k commented on Jul 3, 2026

    @wolverine2k

    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

  18. gabrielstuff commented on Jul 5, 2026

    @gabrielstuff

    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!

  19. furetosan commented on Aug 5, 2026

    @furetosan

    may we turn telemetry off?

  20. TeckniX commented on Sep 13, 2026

    @TeckniX

    PR was closed, but unsure why? @GeekLuffy are we not in favor of supporting local ollama runs for warp agent?

  21. GeekLuffy commented on Sep 13, 2026

    @GeekLuffy
    Contributor

    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!

  22. DaanBiesterbos commented on Oct 23, 2026

    @DaanBiesterbos

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions