OpenCloud
CoPaw

CoPaw Installation

Step-by-step guide to deploying CoPaw on OpenCloud.

Install CoPaw

Step-by-step deployment

  1. (Recommended) Deploy AI Security first
    CoPaw works best with AI Security (LiteLLM) as its AI model provider:
    • Deploy the AI Security addon in your project (see AI Security)
    • CoPaw will automatically connect to it for AI model access
Without AI Security, you'll need to provide your own AI API keys directly.
  1. Deploy CoPaw
  • Go to Applications > Create Application
  • Select CoPaw
  • Choose a plan (Micro at ~$3/month works for most use cases)
  • Select your project
  • Click Deploy
  1. Configure messaging channels

After deployment, set up the channels you want to use:

  • Go to Environment Variables
  • Set the bot token for your desired channel(s):
    • IMESSAGE_BOT_TOKEN — for iMessage
    • Other channel-specific tokens as needed
  • Save and restart
  1. Access CoPaw

Open the CoPaw link to access the web interface and console.

Configuration

AI model setup

CoPaw uses three model levels for different tasks:

LevelUse case
LightQuick, simple responses
NormalStandard conversations (default)
ThinkingComplex reasoning and analysis

If connected to AI Security (LiteLLM), these models are automatically configured. Otherwise, set OPENAI_API_KEY and OPENAI_API_BASE in your environment variables.

Enabled channels

Control which messaging channels are active:

  1. Go to Environment Variables
  2. Update COPAW_ENABLED_CHANNELS (comma-separated list)
  3. Available channels: imessage, discord, dingtalk, feishu, qq, console
  4. Save and restart

Default environment variables

VariableDefaultDescription
COPAW_PORT8088Application port
COPAW_ENABLED_CHANNELSimessage,discord,dingtalk,feishu,qq,consoleActive channels
COPAW_PRIMARY_MODELnormalDefault model level
OPENAI_API_BASEAuto-set to AI Security (LiteLLM)AI API endpoint

Troubleshooting

ProblemSolution
CoPaw won't startCheck application logs for error messages
Bot doesn't respondVerify the channel bot token is set correctly
AI responses are emptyEnsure AI Security (LiteLLM) is running or API keys are configured
Channel not workingCheck COPAW_ENABLED_CHANNELS includes your channel
Copyright © 2026