By the end of this guide you will have a live KaireonAI tenant with seeded Starbucks demo data, made one recommendation, recorded one outcome, and inspected the full decision trace. No install required — everything runs against the hosted playground.Documentation Index
Fetch the complete documentation index at: https://docs.kaireonai.com/llms.txt
Use this file to discover all available pages before exploring further.
1. Sign up
Open the playground
Visit playground.kaireonai.com and
register. No email verification needed for the playground tier.
2. Get your API key
Open API Keys
In the playground, click Settings → API Keys → Create. Copy the key
when shown — it is displayed only once.
The same
KAIREON_API_KEY and KAIREON_TENANT_ID env vars also wire the
MCP server. If you set up MCP later, you can copy these same values into
your AI client’s MCP config.3. Make your first recommendation
- curl
- UI
- MCP
C001 over email.
Each result includes a score, interactionId, and the offer
metadata you need to render to the customer:interactionId — you need it for step 4.4. Record the outcome
The customer saw your top recommendation. Whether they clicked, ignored, or converted, KaireonAI uses that signal to learn. Record one outcome:- curl
- UI
- MCP
int_... with the interactionId from step 3. The response
confirms the outcome was recorded and feeds the online learners.5. See the decision trace
Every decision is fully explainable. Walk through eligibility, fit, match, and ranking to see exactly why each offer ranked where it did.- curl
- UI
- MCP
<trace_id> with the decisionTraceId from step 3. The
response includes per-stage gate results, fit-filter outcomes, scoring
breakdowns per algorithm, and the final ranking math.What just happened
You drove the entire KaireonAI decisioning loop end-to-end. In 5 minutes you used:- A Decision Flow — a configured pipeline that runs every recommendation through eligibility gates, fit filters, scoring algorithms, and ranking. The auto-seeded Base NBA Flow is what powered your /recommend call.
- The Recommend API — the runtime entry point that returns ranked offers along with the
interactionIdthat links the recommendation to its outcome. - The Respond API — closes the loop. Outcomes feed the online learners so the next recommendation for similar customers is better.
- The Decision Trace — full transparency into every gate, filter, score, and ranking decision. Every decision is reproducible and auditable.
Where to go next
Build a custom Decision Flow
Replace the Base NBA Flow with one you designed for your offers, channels, and policies.
Try the SDK
Same flow as above, in TypeScript or Python.
Wire the MCP server
Drive Kaireon from your AI assistant — Claude Desktop, Cursor, or any MCP-aware client.
Self-host
Run the same stack on your own infrastructure.