AI-native gamification engine

Your coding agent
builds the game.

Streakline reads your codebase and maps your app's real journeys into points, streaks, and leaderboards — from one prompt. Fully hosted, nothing to operate.

streakline · agent
$ npx streakline init inspecting repository… 7 user journeys found in src/ drafting scoring model → streakline.config.ts   lesson.completed   +10 streak reflection.saved   +15 cap 3/day routine.finished  +20 combo   review & deploy: streakline deploy
Built for Agent-native setup Versioned scoring Fully managed Five primitives, not fifty
AI-first, not AI-bolted-on

From codebase to engagement loop
in a single prompt.

Most gamification tools hand you a dashboard and a blank page. Streakline hands your agent the keys — it inspects what your product does and writes the scoring model for you to approve.

01

Point it at your repo

Run the CLI or drop the MCP server into your agent. Streakline reads your routes, events, and product journeys.

02

It drafts the model

The agent proposes scored events, multipliers, levels, and streaks mapped to what your app actually does.

03

You review the diff

Everything lands as a versioned config you approve — no black box, no dashboard archaeology.

04

Ship the loop

Approve, and it's live on Streakline Cloud. The SDK renders it in your app the same day.

Agent Skills
Drop-in skills so Claude & co. wire up gamification end-to-end.
MCP server
Your agent talks to Streakline natively over Model Context Protocol.
CLI
streakline init, preview, deploy — scriptable and CI-friendly.
llms.txt
The whole API, agent-readable, at /llms.txt.
Typed docs
OpenAPI + examples Cursor and Copilot can generate against.

→ See the scoring report the agent generates for your app

Get started in seconds

One SDK call. Every platform.

Track an event from anywhere your users are — web, native, or cross-platform. Scoring, levels, and streaks are handled server-side, so every SDK is a thin client over the same API.

npm install @streakline/sdk import { Streakline } from "@streakline/sdk"; const bl = new Streakline({ publicKey: "pk_live_…" }); await bl.track("user_123", "lesson.completed");
npm install @streakline/react import { useProfile, Leaderboard } from "@streakline/react"; const { score, level, streak } = useProfile("user_123"); <Leaderboard type="weekly" />
npx expo install @streakline/react-native import { Streakline } from "@streakline/react-native"; await Streakline.track("lesson.completed");
// Swift Package Manager import Streakline StreaklineSDK.shared.configure(apiKey: "pk_live_…") try await StreaklineSDK.shared.track(event: "lesson.completed")
// build.gradle.kts implementation("dev.streakline:sdk:0.1.0") Streakline.configure("pk_live_…") Streakline.track("lesson.completed")
flutter pub add streakline final bl = Streakline(publicKey: "pk_live_…"); await bl.track("lesson.completed");
// commonMain implementation("dev.streakline:sdk-kmp:0.1.0") Streakline.track("lesson.completed")
pip install streakline from streakline import Streakline bl = Streakline() bl.track(user="user_123", event="lesson.completed")
curl -X POST https://api.streakline.dev/api/v1/events \ -H "Authorization: Bearer pk_live_…" \ -d '{"user_id":"user_123","event_type":"lesson.completed"}'
Pre-built templates

Or start from a working economy.

Don't start from a blank page. Fork an opinionated starter for your category — the agent then tunes it to your actual app.

📚

Learning app

Lessons, quizzes, daily streaks, course leaderboards.

streakline init --template learning
🏃

Fitness & habit

Workouts, streaks with freeze tokens, weekly challenges.

streakline init --template fitness
💸

Fintech

Savings goals, milestones, responsible-use guardrails.

streakline init --template fintech
🛠️

Dev tool

Contributions, badges, team leaderboards.

streakline init --template devtool
🎧

Social / community

Posting, reactions, reputation tiers.

streakline init --template community

Blank

Start from nothing and let the agent map your repo.

streakline init
Focused on purpose

Five primitives. Not fifty.

Raffles, quizzes, mystery boxes, virtual storefronts — other platforms bury the loop under features you'll rip out in a month. Streakline ships the engagement loop that actually retains users, and stops there.

01

Events

Every meaningful action your users take — the atoms of the loop.

02

Points & levels

Multipliers, bonuses, and a progression curve that pays off.

03

Streaks

Habit loops with freeze tokens so one missed day doesn't churn them.

04

Achievements

Tiered badges from bronze to diamond for long-term motivation.

05

Leaderboards

Daily, weekly, all-time — individual or team, ranked in real time.

The part nobody else ships

Change your economy
without breaking it.

Scores are a projection over an immutable event log, governed by named versions. Rebalance multipliers, preview the impact, and recalculate safely — with a full audit trail and one-click rollback.

  • Versioned multipliersEvery scoring change is a named snapshot, not a destructive edit.
  • Preview before you shipDry-run a recalculation and see who moves before anyone notices.
  • Forward, hybrid, or full recalcGrandfather old scores, or rebalance from a cutoff date onward.
  • Audit & rollbackOld versions are kept. If a change lands wrong, revert it.
streakline.config.ts · v3 → v4 preview recalc: hybrid
 events:
-lesson.completed  ×8
+lesson.completed  ×10
 reflection.saved  ×15
+routine.finished ×20  // new
 cutoff: 2026-06-01
 ~ 1,284 users recalculated · 3 level-ups

Fully managed

No servers, queues, or databases to run. We operate the engine — you make one SDK call.

Real-time at scale

Leaderboards rank in milliseconds and stay fast as your user base grows — handled for you.

Anti-abuse built in

Cooldowns, daily caps, and idempotency stop farming and double-counts — on by default.

Your data, exportable

Every event and score is yours via the API and webhooks. Export it, pipe it anywhere, leave anytime — we host it, we don't hold it hostage.

Fully hosted

We run the engine.
You ship the loop.

Scoring, levels, streaks, leaderboards, and anti-abuse are a managed service — no infrastructure to operate, no scaling to babysit. Connect a key, send events, render the result. That's the whole job.

The gaps, productized

Built where the big
platforms won't go.

Trophy, GameLayer and the rest are hosted black boxes that bill per active user. The interesting features live in the things their model can't offer. Some shipped, some on the way — the whole list is on the roadmap.

Events out

Composable, not captive

We emit level-ups, unlocks, and broken streaks as webhooks — you keep your Resend, Knock, or Loops. No second-rate mailer bolted on.

No black box

Explainable scores

Every point returns its math: base × multiplier × bonuses, with caps and cooldowns shown. Debuggable for you, trustworthy for your users.

Zero-latency

Local-first feedback

The same declarative engine runs in your client for instant, optimistic points — then reconciles. Hosted-only rivals can't; their engine is private.

De-risk changes

Shadow economies

Dry-run a rebalance against live traffic before a single user feels it. See who'd move, then ship the version with confidence.

Not a blank dashboard

Repo-aware setup

The agent reads your actual routes and events and maps them to journeys. Others give you a text box; we give yours the codebase.

No re-instrumentation

Bring your own events

Already emitting events (PostHog, Segment, your database)? Point them at Streakline and map them — no new tracking code to write.

Pricing

Start free.
Pay as you grow.

Priced by monthly active users, not seats — predictable as you scale.

Free
$0 forever

Try it out and ship small projects.

  • 1,000 monthly active users
  • 1 project
  • All five primitives
  • Community support
  • 30-day event history
Sign up
Pro
$20 /mo

For indie apps finding their loop.

  • 10,000 MAU included
  • 3 projects
  • Versioned scoring + recalc
  • Webhooks + AI journey mapping
  • Email support · 90-day history
Sign up
Scale
$200 /mo

For products scaling retention.

  • 100,000 MAU included
  • Unlimited projects
  • AI economy tuner + shadow testing
  • Advanced analytics + SSO
  • Priority support · 1-yr history
Sign up
Custom
Let's talk

High-volume or regulated teams.

  • Unlimited MAU + SLA
  • SSO / SAML + audit logs
  • Data residency (EU / US)
  • Dedicated support
  • Custom contract
Sign up
It's a week, not a quarter

Ship the loop this week.

Hand your agent the repo and let it draft the model. You review a diff, hit deploy, and your users feel it the same day.