DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run an agent on a local model with Ollama or LM Studio with Openbot

Connect an agent to a local model server so prompts stay on your machine.

Short answer: Start Ollama or LM Studio on the same computer and load a model; then open OpenBot and go to agent setup or the provider settings; let OpenBot detect the local model server, or add a custom OpenAI-compatible endpoint if detection does not find it. All steps.

Who it is forA developer who wants to try agents without sending prompts to a hosted provider, or who already runs Ollama or LM Studio.

The problemHosted providers are not an option for some code or data, and the agent setup needs to work offline from the cloud.

The outcomeAn agent backed by a local model server, with the model chosen in OpenBot's model picker.

What you need first

  • A macOS 13+, Windows 10+, or x64/arm64 Linux AppImage machine, or an Ubuntu 24.04 host with systemd for the server
  • An account with at least one supported provider (Codex, Claude, Grok, OpenCode, Gemini, Cursor, or Cline), or a local model server such as Ollama or LM Studio
  • Willingness to run agents with danger-full-access and approvalPolicy never after the first-launch consent

Steps

  1. Start Ollama or LM Studio on the same computer and load a model.
  2. Open OpenBot and go to agent setup or the provider settings.
  3. Let OpenBot detect the local model server, or add a custom OpenAI-compatible endpoint if detection does not find it.
  4. Create an agent that uses the detected model and send it a test prompt.
  5. Check the agent's reply in its conversation before giving it real work.

Prompt for your agent

In the nightly-labs/openbot repo, connect the desktop app to the local model server at <endpoint-url> and create an agent that uses it. Expected output: one test reply from the agent in its conversation. Verify the reply came from the local server before reporting success.

Caveat. Local models may not match hosted models for tool use or long threads, and OpenBot still runs the agent with danger-full-access.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for nightly-labs/openbot and "Run an agent on a local model with Ollama or LM Studio"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer