Setup

TLDR; The Endpoints

While we provide instructions below for several tools (npm, uv, opencode etc.). If you are in a hurry, here are the information about the inference and MCP endpoints for your reference.

We have also added a skills repo for the SCB MCP available here: https://github.com/ashwinvis/scb-opendata-skills

In this hackathon, we execute MistralAI’s Devstral 2 Small (256K, 24B) in H100 GPUs, served through multiple instances of vLLM. The model was chosen as it fits consumer hardware and therefore can simulating a home development for those who never did it.

Standard installation with open-weights LLM from Mimer

For this Hackathon, we support the usage of OpenCode as it is a free and opensource tool that do not require any third-party account. If you want to use other tools (Claude Code, Mistral Vibe, etc), you can directly refer to their documentation and configuration of custom endpoints.

Important

Please notice that while there are instructions for Windows, we strongly support using Windows Subsystem for Linux (see WSL in the next tab) as the development environment is more robust and secure (i.e., it is easier to administrate Python environments).

  1. Download the OpenCode at its official download webpage.

  2. Open OpenCode once, and close it.

  3. On Windows Explorer, open %USERPROFILE%\.config\opencode

  4. Create a file named opencode.jsonc, and insert the JSON configuration given below, replacing the entire content, if the file was not empty:

  5. Now reopen OpenCode.

OpenCode JSON configuration

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "mimer": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Mimer AI",
      "options": {
        "baseURL": "http://mimer-aif-hackathon.icedc.se/v1"
      },
      "models": {
        "mistralai/Devstral-Small-2-24B-Instruct-2512": {
          "name": "Devstral 2 Small (256k)",
          "limit": {
            "context": 262144,
            "output": 262144
          }
        },
      }
    }
  },
  "model": "mistralai/Devstral-Small-2-24B-Instruct-2512",
  "mcp": {
    "scb_opendata_mcp": {
      "type": "remote",
      "url": "http://mimer-aif-hackathon.icedc.se/scb/mcp",
      "enabled": true
    },
    "swemo-mcp": {
      "type": "remote",
      "url": "http://mimer-aif-hackathon.icedc.se/swemo/sse",
      "enabled": true
    }
  }
}

Use Ctrl+P to access menus and switch the models and/or the MCPs. You can also use slash commands like /models and /mcps. You should now be able to select the model (Devstral 2 Small (256k)).

Skills

Agent skills can be added by running the commands:

Launch Git bash from the start menu. It should look like this. Then run the following commands.

$ mkdir -p $USERPROFILE/.config/opencode/skills

$ git clone https://github.com/ashwinvis/scb-opendata-skills
$ cp -r scb-opendata-skills/skills/*  $USERPROFILE/.config/opencode/skills/

Happy coding 🥳!