Set Up ASI:One in OpenWork

Overview

OpenWork is a free desktop app you hand tasks to. You describe what you want done, and it works through the steps on your computer. Connect it to ASI:One and it does that work with ASI:One models.

Some things you can ask it to do:

  • Research a topic and summarize what it finds.
  • Write, edit and tidy up documents.
  • Sort, rename and work with files on your computer.
  • Work in apps you connect to it.

OpenWork doesn’t have a button for adding ASI:One yet, so there’s one step where you paste a command into Terminal on a Mac, or PowerShell on Windows. It’s copy and paste only, and takes about a minute.

Already using ASI:One in OpenCode? OpenWork reads the same settings, so you can skip ahead to Check that OpenWork sees ASI:One.

What you need

  • A Mac or Windows computer.
  • OpenWork, downloaded from openworklabs.com and installed.
  • An ASI:One API key. Create one at asi1.ai/developer. It’s a long code that starts with sk_. Copy it, you’ll paste it in shortly.

Add ASI:One to your settings

  1. If OpenWork is open, quit it with OpenWork → Quit OpenWork.
  2. Open Terminal: press ⌘ Space, type Terminal, and press Return.
  3. Copy the command below with the copy button in its top corner, paste it into Terminal, and press Return.
(
mkdir -p ~/.config/opencode
if [ -e ~/.config/opencode/opencode.json ] || [ -e ~/.config/opencode/opencode.jsonc ]; then
echo "You already have OpenCode settings, so nothing was changed."
exit 1
fi
printf 'Paste your ASI:One API key, then press Return: '
read -rs ASI_KEY; echo
if [ -z "$ASI_KEY" ]; then
echo "No key was pasted, so nothing was changed."
exit 1
fi
cat > ~/.config/opencode/opencode.json <<EOF
{
"model": "asi/asi1-ultra",
"provider": {
"asi": {
"npm": "@ai-sdk/openai-compatible",
"name": "ASI:One",
"options": {
"baseURL": "https://api.asi1.ai/v1",
"apiKey": "$ASI_KEY"
},
"models": {
"asi1": { "name": "ASI1", "limit": { "context": 196000, "output": 40000 } },
"asi1-ultra": { "name": "ASI1 Ultra", "limit": { "context": 196000, "output": 40000 } },
"asi1-ultra-1m": { "name": "ASI1 Ultra 1M", "limit": { "context": 1000000, "output": 40000 } },
"asi1-mini": { "name": "ASI1 Mini", "limit": { "context": 196000, "output": 40000 } }
}
}
}
}
EOF
chmod 600 ~/.config/opencode/opencode.json
echo "Done. ASI:One is ready for OpenWork."
)
  1. When Terminal asks for your key, paste it and press Return. Nothing shows up as you paste. That’s normal, it keeps your key hidden.
  2. When you see Done. ASI:One is ready for OpenWork., close Terminal.

The command only creates a new settings file, and only if you don’t have one. It never changes existing settings, and your key stays on your computer.

Check that OpenWork sees ASI:One

This video shows the next two sections: checking that OpenWork found ASI:One, then choosing it in a workspace.

  1. Open OpenWork.
  2. Click Sign in at the bottom of the left sidebar to open the menu, then click Settings.
  3. Under Global, click AI Providers.
  4. Look for ASI:One in the list of connected providers. The Config label next to it means OpenWork picked it up from the settings file you just added.
  5. Click Back to app.

Choose ASI:One in a workspace

  1. In your workspace, click the model name under the task box. On a new install it says Big Pickle, OpenWork’s free starter model.
  2. Click Model, then pick ASI1 Ultra from the ASI:One list. On the Plus plan, pick ASI1 instead. You can also type ASI in the search box to find them.
  3. Type a first message, for example Hello, what can you help me with?, and send it.

OpenWork shows what it’s working on, then replies. From here, describe any task in your own words.

If something goes wrong

What you seeWhat to do
You already have OpenCode settings, so nothing was changed.You’ve used OpenCode on this computer before. Add ASI:One to your existing settings with Set Up ASI:One in OpenCode instead.
ASI:One isn’t in AI Providers or the model listQuit OpenWork completely, then open it again.
Replies fail with a message about your key, or it worked before but now failsYour key may be mistyped, deleted or replaced. Follow the steps below to add it again.

To add your key again, create a new one at asi1.ai/developer, quit OpenWork, and remove the settings file the command made.

Paste this into Terminal and press Return:

rm ~/.config/opencode/opencode.json

Then repeat Add ASI:One to your settings.

Next steps

  1. Set Up ASI:One in Eigent: another desktop app for handing off tasks
  2. Set Up ASI:One for Coding: use the same models in coding tools