Skip to content

A local LLM

Stage: code. Done by: coder and setup person.

Your next step

Read "What this path needs", then check your setup with scat check.

Code with a language model that runs on your own computer; you bring the model. You code as on the chat path: the assistant drafts and proposes, you decide, and the tool checks.

What this path needs

Stage: plan. Done by: setup person.

  • A model that can call tools, and a client that speaks MCP: streamable HTTP to the SCAT server, with the key sent as Authorization: Bearer <key> (MCP reference).
  • The SCAT server (scat-mcp) serving your vault, reachable from the client. The server answers 401 without its key.
  • The assistant's rules, contracts/assistant.md, given to the model as its system prompt; the server also offers them as scat://assistant-rules and the skill skills/scat-coding/SKILL.md.
  • The machine interface: the tools return the scat command's --json documents (CLI reference).
  • Enough memory and a context window large enough for the rules and the tool list; a small model may answer from its own guesses instead of calling the tool.

Worked example: Ollama with Open WebUI

Ollama runs the model and Open WebUI is the client that connects to the SCAT server. Any runner and client that meet the standards above work the same way.

How to check

Stage: code. Done by: coder.

Run scat check in your vault and read its last line. The tool, not the model, decides whether the vault conforms; you own the interpretation. The server cannot set a narrative to done, so the model cannot either: you do that in Obsidian.