Skip to main content
Use this recipe when you want to verify local SDK setup without a UI.

Environment variables

export THINKFEEL_API_KEY=your_thinkfeel_api_key
export THINKFEEL_PERSONA_ID=your_persona_uuid

# Optional
export CURVE_PROMPT="hey what's up?"
export THINKFEEL_BASE_URL="https://playground.curvelabs.org/api/v1"

Install and run

npm install
npm start

# Offline tests
npm test
This local SDK check is for configuration testing only. It is not a deployed service and does not include user authentication, tenancy isolation, or abuse controls by default.

Base URL behavior

The cookbook examples use an OpenAI-compatible provider base URL, so THINKFEEL_BASE_URL defaults to https://playground.curvelabs.org/api/v1. ThinkFeel SDK and CLI setup are different. Pass only the site origin, such as https://playground.curvelabs.org, when configuring ThinkFeel directly.

Auth setup

New cookbook setup should use THINKFEEL_API_KEY and THINKFEEL_PERSONA_ID. The repo still reads legacy CURVE_API_KEY and CURVE_PERSONA_ID only when the matching THINKFEEL_* value is absent. Prefer npx thinkfeel login or npx thinkfeel configure --api-key-env THINKFEEL_API_KEY to avoid pasting keys into commands.