Models on your computer

LM Studio and Ollama step by step, a server of your own, and a bigger context.

 Ask a question

What Sylphyx looks for

A model on your own computer costs nothing, and nothing leaves the machine. Sylphyx looks for LM Studio and Ollama on their usual addresses, with no key and no setting:

ServerNameAddress Sylphyx expects
LM Studiolmstudiohttp://127.0.0.1:1234/v1
Ollamaollamahttp://127.0.0.1:11434/v1

LM Studio

  1. Install it and download a model

    From lmstudio.ai. Pick a model that can call tools: the agent works through tools.

  2. Start its server on port 1234

    From the Developer tab, or from a terminal:

    lms server start
  3. Let Sylphyx find it

    In the app: Settings, Connections, On this computer, Look again. The models it has appear in the model menu. In the CLI:

    sylphyx models lmstudio
  4. Use it

    Choose a model, or let Sylphyx take the first one the server offers (embedding models are skipped):

    sylphyx --model lmstudio

Ollama

  1. Install it

    From ollama.com. It runs in the background and answers on port 11434; if it does not, start it with ollama serve.

  2. Download a model that can call tools

    By its name in Ollama's library:

    ollama pull MODEL
  3. Check that Sylphyx sees it

    Then use it as ollama/MODEL.

    sylphyx models ollama

Another address, or a bigger context

A server on another computer or port is a provider of your own in config.json, in the data folder. Any OpenAI-compatible address works; add "api": "anthropic" for an Anthropic-compatible one, and "key_env" to name the variable that holds its key. Sylphyx asks LM Studio how much its model can hold; for other servers, set the size in context_windows, by provider or by provider/model:

config.jsonJSON
{  "providers": {    "box": { "base_url": "http://192.168.1.20:1234/v1", "local": true }  },  "context_windows": { "box": 32768, "ollama": 32768 }}

The server above is then --model box/MODEL. If a local model is slow to answer the first time, that is it loading into memory.