Before you start: create a Fortytwo API key and buy credits — see Quickstart, step 1. Give each agent its own key with a Spend limit.
- Kilo CLI
- OpenCode
1
Install Kilo CLI
2
Add Fortytwo to the config
Open If the file has other settings, add
~/.config/kilo/kilo.jsonc and add the fortytwo provider. For a new file:~ is your home folder. Folders that start with a dot, such as .pi, .config or .codex, are hidden. To show them: Cmd+Shift+. in Finder on macOS, View → Show → Hidden items in File Explorer on Windows, Ctrl+H in most Linux file managers.~/.config/kilo/kilo.jsonc
fortytwo inside its provider object. If you set up Kilo Code in VS Code, Fortytwo is already in this file: skip this step.3
Connect Fortytwo
- Start Kilo in your project folder:
-
Type
/connect, search forFortytwoand select it.
- Paste your API key and press Enter. The field shows the key as plain text, so do not share your screen at this moment.
-
Kilo opens the model list. Choose Qwen3.8 27B.

-
In Select variant, choose medium to turn on reasoning. The prompt shows Qwen3.8 27B Fortytwo · medium.

4
Start a task
Type a task and press Enter. Kilo may ask before it runs a command; choose Allow once or Allow always. To change the model later, type 
/models; to change the reasoning level, type /variants.
fortytwo/qwen/qwen3.8-27b: the provider ID, then the Fortytwo model ID. More options: Kilo custom models , OpenCode custom provider .
Something not working with your agent, or using one we have not listed? Tell us in the platform: Feedback for ideas and small bugs, Contact support if it blocks your work, or Report a security issue.




