Export API Keys
The cleanest OpenClaw setup is to provide Chirpier credentials through environment variables.
Use:
export CHIRPIER_API_KEY=chp_your_api_keyThat lets OpenClaw tasks, SDK examples, and chirpier-skills use the same runtime credential.
Why use an environment variable
- avoids hard-coding the key in prompts or source files
- works cleanly with OpenClaw task runners and shells
- matches the default resolution path used by the SDKs
- makes local testing and deployment more consistent
Typical usage
In shell-based runs:
export CHIRPIER_API_KEY=chp_your_api_key
openclaw run your-taskIn code, prefer reading from the environment:
const client = createClient({ key: process.env.CHIRPIER_API_KEY! });client = new_client(api_key=os.environ["CHIRPIER_API_KEY"])client, err := chirpier.NewClient(chirpier.Options{})For team environments, treat CHIRPIER_API_KEY like any other production secret.
Last updated on