ValhallaEvery saga needs a crew

Engines

Valhalla ships no model and runs none of ours. It drives one of five engines, and choosing one is the only real decision in setting it up.

The five engines

EngineNeedsGives you
Claude Code (default)Claude Code installed and signed in with a Claude subscription. Run claude once in a terminal; Valhalla finds it where it was installed.Everything: members can read and edit files, run commands and show their reasoning. Your subscription pays for it.
Anthropic APIAn Anthropic API key, pasted in Settings › Engine.Answers, with reasoning. No tools.
OpenAIAn OpenAI API key, pasted in Settings › Engine. A service that speaks OpenAI's dialect works too: give its address there.Answers from OpenAI's models. No tools.
Local modelsOllama or LM Studio running on your Mac, with a model downloaded. No key.Answers that never leave the machine. No tools.
EchoNothing.No model at all: it returns the assembled request, which is how to see exactly what would be sent.

Choose one in Settings › Engine, which also shows which engines are ready.

Valhalla works best with Claude Code. It is the only engine that lets a member read and edit your files and run commands, and the only one whose conversation you can take to your terminal: the session id at the foot of a chat copies a claude --resume line that carries the same thread on in Claude Code. The others answer well, but they can only talk.

Model routing: auto

The model is auto by default. Each turn is routed to a fast, balanced or deep model from what the request asks for and carries, and the reason is one sentence you can read. No model makes the choice: ordered rules read the request, and the first that matches wins. In order:

  1. Effort xhigh or max, a check that exists to refute a reply, a diff, a code block of 30 lines or more, or a message of 2,000 characters or more: deep.
  2. Effort high: deep.
  3. A request to fix, build, debug or change code, in a repository where the members may edit: deep. The same words asked as a question stay below.
  4. Four or more members seated on one turn: deep.
  5. Effort low on a short message with no code: fast.
  6. Anything else: balanced.

A model you name yourself is never second-guessed. With Claude Code the tiers are its own haiku, sonnet and opus, so they stay current with the binary. With an API key they are Anthropic's current ids. With OpenAI they are OpenAI's current models. With another OpenAI-style service you say what each tier means in Settings, because Valhalla cannot know which models it has; with a local model every tier is the model you chose. Settings › Engine lets you pin one model instead, and a single conversation can override it from the model picker beside the composer.

Effort and reasoning

Effort (Settings › Engine) sets how hard the model thinks. With no effort set, Claude Code shows no reasoning at all; high is a good default.

A local model

Start Ollama or LM Studio, then choose Local models in Settings › Engine. Valhalla finds the server on your Mac and lists its models; pick one. Nothing is sent anywhere else. Members answer as well as that model can, and only Claude Code lets them work with your files.

Connecting OpenAI

Settings › Engine opens with Connect OpenAI, in three steps: Open OpenAI takes you to the page where you make a key; paste it in the second step; Use OpenAI switches every member over, and Check asks OpenAI whether the key works. The key is kept in a file only your account can read, and the page only ever shows its last four characters.

What the engine sends

Your message and what Valhalla assembled around it (the members' voices, the matched skills and knowledge, and in a repository its branch and diff) go to the engine's provider under that provider's terms. Nothing goes to us. The echo engine shows you that request without sending it anywhere.