Configuration
It's time to give your AI a brain.
The Config File
PicoClaw uses a simple text file to store your settings. It is located at ~/.picoclaw/workspace/config.json.
Don't worry about finding it manually. You can open it with any text editor.
Connecting to an AI Provider
You need an API Key from a provider like OpenAI, DeepSeek, or OpenRouter.
Step 1: Get an API Key
- Go to DeepSeek or OpenAI.
- Sign up and find "API Keys".
- Create a new key and copy it. It usually starts with
sk-....
Step 2: Edit config.json
Open your config.json file and make it look like this:
json
{
"api_key": "sk-your-key-goes-here",
"base_url": "https://api.deepseek.com",
"model": "deepseek-chat",
"language": "en"
}- api_key: Paste your key inside the quotes.
- base_url: The address of the AI server. (For DeepSeek use
https://api.deepseek.com, for OpenAI usehttps://api.openai.com/v1). - model: The name of the model you want to use.
TIP
Save the file and restart PicoClaw for changes to take effect!