Doubleword UK Sovereign AI Inference Inside SuperQode

Doubleword‘s announcement, Sovereign Token Service: Making AI more efficient to run on British Infrastructure, is an encouraging development for the UK’s AI ecosystem. The programme aims to give government access to leading open-weight models on UK sovereign infrastructure while improving inference efficiency.

Superagentic AI has started using Doubleword inside SuperQode. Connect it with Bring Your Own Key; the same connection works with any SuperQode harness.

The setup uses Doubleword’s developer inference API. For workloads that must stay in a particular region, confirm hosting and routing with Doubleword. Its published data residency terms process requests entirely within Europe only on endpoints explicitly labelled as Europe-hosted; other endpoints may be processed in any trusted region, and overflow routing may leave that region.

Get Started

Sign in to the Doubleword platform, check the credits shown in your account, as offers can change, and create an Inference key, the key type SuperQode needs for model requests. In the console, open API Keys, select Inference, and copy the secret when it is displayed. Doubleword’s API key documentation covers the steps.

If you are new to SuperQode, install the CLI first:

curl -fsSL https://superqode.dev/install.sh | sh

Set the key in your shell, then launch SuperQode from that terminal so it inherits the variable:

export DOUBLEWORD_API_KEY="YOUR_DOUBLEWORD_INFERENCE_API_KEY"

In Fish:

set -gx DOUBLEWORD_API_KEY YOUR_DOUBLEWORD_INFERENCE_API_KEY

Open a project and start a harness. This example uses Workbench; replace workbench with any SuperQode harness you prefer.

cd your-project
superqode --harness workbench

If SuperQode is already running, select the harness in the interface:

:harness use workbench

Keep your real API key out of source files, screenshots and recordings.

Connect Through BYOK

Open the provider picker, choose Doubleword, and select a model. For coding, look for a model that supports tool calling:

:connect byok

Doubleword should already appear in the picker. If the catalogue looks stale, press R to refresh it, as described in the BYOK documentation. If you are configuring the endpoint manually, Doubleword’s OpenAI-compatible inference base URL is:

https://api.doubleword.ai/v1

Try a small task in SuperQode to confirm the connection, then check the corresponding activity in your Doubleword account.

In the macOS App

Install the latest SuperQode macOS app from superqode.dev. Select SuperQode Workbench or any other harness, choose BYOK, select Doubleword as the provider, paste your Doubleword Inference key, pick a model, and start working in the harness. You can watch the steps in the YouTube Video Demo Below

Current Limitation

The walkthrough uses Doubleword’s self-serve realtime API, intended for development and testing on shared, rate-limited infrastructure. Production realtime capacity is arranged separately; see its realtime inference guide. The public developer API is separate from the Sovereign Token Service government programme, so confirm regional hosting with Doubleword.

We will be using Doubleword inference in future demonstrations of SuperQode projects.

P.S; Originally posted on the Superagentic AI blog here