{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "nightly-labs-openbot--run-agent-on-local-model-server",
 "repo": "nightly-labs/openbot",
 "repo_url": "https://github.com/nightly-labs/openbot",
 "repo_slug": "nightly-labs-openbot",
 "title": "Run an agent on a local model with Ollama or LM Studio",
 "page_title": "How to run an agent on a local model with Ollama or LM Studio with Openbot",
 "summary": "Connect an agent to a local model server so prompts stay on your machine.",
 "who": "A developer who wants to try agents without sending prompts to a hosted provider, or who already runs Ollama or LM Studio.",
 "problem": "Hosted providers are not an option for some code or data, and the agent setup needs to work offline from the cloud.",
 "outcome": "An agent backed by a local model server, with the model chosen in OpenBot's model picker.",
 "steps": [
  "Start Ollama or LM Studio on the same computer and load a model.",
  "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.",
  "Create an agent that uses the detected model and send it a test prompt.",
  "Check the agent's reply in its conversation before giving it real work."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Local models may not match hosted models for tool use or long threads, and OpenBot still runs the agent with danger-full-access.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/nightly-labs-openbot/run-agent-on-local-model-server/",
 "md": "https://dedupedai.com/use-cases/nightly-labs-openbot/run-agent-on-local-model-server/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/nightly-labs-openbot--run-agent-on-local-model-server.json",
 "api_version": "v1"
}
