---
format: "aidr-story-markdown/v1"
id: "1ccbec204999a9303185ecdf4333b8b6f0177607775aca368d7581a8606b5ed3"
canonical_url: "https://aidr.today/1ccbec20?lang=en"
title: "Setting up OpenCode with Ollama and sbx on Mac"
lang: "en"
requested_lang: "en"
available_langs: ["en","vi"]
translation_fallback: null
fallback_fields: []
published_at: "2026-09-11T00:45:26.000Z"
category: "Products"
topics: ["ollama","open-source","llm","coding"]
source_urls: ["https://tensorsandtokens.com/posts/opencode-ollama/","https://news.ycombinator.com/item?id=49652122"]
summary: "How to get started with running Ollama local models with Opencode and Docker Sandboxes."
---

# Setting up OpenCode with Ollama and sbx on Mac

> [Open the canonical story](<https://aidr.today/1ccbec20?lang=en>)

**Published:** 2026-09-11T00:45:26.000Z
**Category:** Products
**Topics:** ollama, open\-source, llm, coding

## Summary

How to get started with running Ollama local models with Opencode and Docker Sandboxes\.

## Sources

- [Story source](<https://tensorsandtokens.com/posts/opencode-ollama/>)
- [Discussion](<https://news.ycombinator.com/item?id=49652122>)

