OpenClaw
OpenClaw is an open-source CLI coding agent that supports multiple LLM providers. This guide shows you how to configure it to use KiosAPI.Prerequisites
- Node.js 18+ or Bun
- A KiosAPI API key (starts with
sk-)
Installation
Install OpenClaw globally:Configuration
1. Set environment variables
OpenClaw reads the API key and base URL from environment variables. Windows (PowerShell):~/.bashrc or ~/.zshrc:
2. Config file
Create or edit~/.openclaw/config.json:
sk-xxx with your actual KiosAPI key.
Usage
Interactive mode
Direct question
Specify a model
Troubleshooting
Authentication Error
- Verify your API key is set correctly and starts with
sk- - Ensure
apiBasein the config file matches the environment variable
Connection Error
- Confirm the base URL is
https://kiosapi.com/v1(with/v1) - Check your network and firewall settings
