Setting Up Knowmio Agent for Continue.dev
This guide walks you through setting up Knowmio as a custom model in Continue.dev.Prerequisites
- Continue.dev extension installed (VS Code or Cursor)
- Knowmio API key (obtain from your Knowmio account)
Step 1: Create the Agent Configuration
-
Navigate to your Continue configuration directory:
- macOS/Linux:
~/.continue/ - Windows:
%USERPROFILE%\.continue\
- macOS/Linux:
-
Create or edit
config.yaml - Add the following configuration:
Step 2: Add Your API Key to Continue Hub Secrets
- Open Continue Hub and go to the settings page
- Navigate to Secrets
- Add a new secret:
- Name:
KNOWMIO_API_KEY - Value: Your Knowmio API key
- Name:
Step 3: Restart Continue
Restart the Continue extension or reload your IDE to apply the configuration.Step 4: Test the Integration
- Open Continue chat
- Select “Knowmio” from the model dropdown
- Send a test message: “Hi, how are you?”
Authentication Details
Knowmio uses Better Auth’s API key plugin with thex-api-key header for authentication. The configuration uses requestOptions.headers to send the API key in the correct format that Knowmio’s backend expects.
Troubleshooting
401 Unauthorized Error
- Verify your API key is correct
- Ensure the secret name matches exactly:
KNOWMIO_API_KEY - Check that the API key has the correct permissions
Configuration Parse Errors
- Verify YAML indentation (use 2 spaces, not tabs)
- Ensure no extra fields at the top level (name, version, schema should only be present for agent definitions)
Model Not Appearing
- Restart Continue/IDE
- Check the Continue logs for errors
- Verify the
apiBaseURL is correct
API Endpoint
The Knowmio OpenAI-compatible endpoint is located at:- Development:
https://api.dev.knowmio.com/api/openai - Production: Update the
apiBaseURL accordingly

