codeLinc 11 · Path 1: Dental

Cusp

Use your benefits before they run out.

A dental benefits optimizer: what is covered, what you owe, when to book it.

The problem

The plan answers one question. The employee has another.

What the plan says (paraphrased)

Major services are payable at 50% of the Maximum Allowable Charge, after the Calendar Year Deductible, subject to the Alternate Benefit provision and the Annual Maximum.

What the employee needs answered

My dentist says I need a crown. What will I owe?

Four defined terms in the plan. Not one dollar figure for the person holding it.

Cusp · codeLinc 11
What we built

Describe the care you need. We show what you will owe, and when to book it.

Core ask 1

Describe

Type the procedure. Add your plan as text, a PDF, or a photo.

For exampleA crown on my lower left molar.
Core ask 2

Translate

What is covered, what you owe, and the jargon in plain words.

For exampleThis plan pays 80% of a root canal, after your deductible.
Core ask 3

Sequence

Care ordered across the plan year to use the benefit well.

For exampleTwo procedures now, two after January 1.
Cusp · codeLinc 11
The key design decision

Claude reads and explains. The engine does every dollar.

LANGUAGE MODEL DETERMINISTIC CODE LANGUAGE MODEL Your words plus plan text, PDF or photo Claude extracts procedures, teeth, plan terms Cost engine computes every figure deductible, your share, annual max, network Claude explains in your language Plain- language answer figures are passed in, never generated Money has to be reproducible: same inputs, same dollars. A model can write fluently and still be wrong, so it never owns a number. Deterministic core Schema-constrained output Grounded extraction integer-cent money JSON schema, re-checked every field cites a quote
Cusp · codeLinc 11
Trust

Every number we read cites its source.

Schedule of benefits Annual maximum benefit: $1,500 per covered person per plan year. Annual deductible: $50 per person ... Page 2 · sample booklet EXTRACTED FIELD Annual maximum $1,500 Evidence: page 2 “Annual maximum benefit: $1,500 per covered person per plan year.” Verified against the document Quote not found in the PDF's own text? Flagged “needs review” for you to confirm. Last live run: 48 of 49 fields verified, 1 flagged. SPEND CAP Hard stop on AI spend cap At the cap, AI calls return 429 and the engine keeps answering. Last live run: 4 requests, $0.124.
Cusp · codeLinc 11
Computed by the Cusp engine

One root canal, $290 less in-network.

Root canal on tooth 26 (CDT D3330), Standard PPO 100/80/50: 80% in-network, 60% out, $50 deductible, $1,500 annual max. Dentist bills $1,200; in-network allowed $900 (25% network discount).

In-network $50 $170 $680 $300 You owe $220 Plan pays $680 Contract write-off $300 Out-of-network $50 $460 $690 You owe $510 Plan pays $690 Deductible Coinsurance (your share) Plan pays Contract write-off Estimates, not a guarantee
Cusp · codeLinc 11
Care across the plan year · computed by the Cusp engine

The same four procedures cost $698.50 less when sequenced.

Everything at once first visit, all four procedures 2026 maximum plan pays $880, max reached 2027 maximum no care planned for 2027 You owe $2,206.25 Sequenced Oct 10, 2026 and Jan 1, 2027 2026 maximum plan pays $489.75, $390.25 unused 2027 maximum plan pays $1,088.75, $411.25 unused You owe $1,507.75 $698.50 less Oct 10, 2026: crown 36, filling 14 / Jan 1, 2027: crown 46, root canal 26. A fresh $50 deductible applies in 2027 and it is still cheaper. Computed by the Cusp engine: Standard PPO 100/80/50, $620 used of $1,500, in-network, from 2026-10-03.
Cusp · codeLinc 11
The three bonus asks

Track it, compare it, and be reminded before it is gone.

Bonus 1

Usage tracker

Annual max used and remaining, all year.

$620 used $880 left
Bonus 2

Network compare

In-network against out-of-network, per procedure.

$220 $510 you owe, in vs out
Bonus 3

Year-end reminders

A nudge about unused benefits before they expire.

31 DEC $880 expires if unused
Cusp · codeLinc 11
Interactive 3D teeth

Tap a tooth, see what your plan does.

Upper Lower Schematic. The app renders all 32 teeth in 3D. You owe is in-network, from the engine.
Selected · tooth 26

Upper left first molar

Planned
Root canal
Class
Basic, 80%
You owe
$220
Cusp · codeLinc 11
Ten languages, read aloud

In your language, and out loud.

Englishen
Españoles
Françaisfr
Portuguêspt
简体中文zh
हिन्दीhi
العربيةar · rtl
Tiếng Việtvi
한국어ko
Русскийru
Explanation, in your language Grok text-to-speech server-side, audio/mpeg no key, or the call fails Device voice Dollars and dates formatted per locale.
Cusp · codeLinc 11
Architecture and safety

Keys and spend stay on the server.

APPS/APP One Expo codebase iOS · Android · web 3D teeth, 10 languages, read-aloud APPS/SERVER Hono API API keys live here only Spend-cap ledger Anthropic API Claude Sonnet 5.5 xAI Grok TTS read-aloud audio /api/* @codelinc/core cost engine, catalog, schemas, i18n @codelinc/teeth3d 3D model Estimates, not guarantees. Not medical or legal advice. Your text is data, not instructions.
Cusp · codeLinc 11
Under the hood

Every claim, with the file that proves it.

Deterministic core
Money is integer cents; a fractional amount throws. packages/core
Schema-constrained output
Claude must return JSON that fits a schema; the server re-validates it with zod. apps/server/src/ai
Grounded extraction
Each field carries a page and quote, checked against the PDF’s own text. Last live run: 48 of 49 verified, 1 flagged. apps/server/src/evidence.ts
Verified optimizer
The planner’s results are compared with brute-force search in core’s tests. packages/core/test/sequence.test.ts
Defense in depth
Key stays on the server, user text is fenced as data, hard spend cap, uploads checked by magic bytes, tests grep for leaked secrets. apps/server/test/leaks.test.ts
Graceful degradation
If Claude fails or the cap is hit, the engine still answers; if Grok TTS fails, the device voice reads. apps/server/test/claude.test.ts
Real documents
PDF, photo, EOB or ID card; progress streams live; the same file is never read twice; per-IP rate limits. apps/server/test/upload.test.ts
Contract-first
One API contract and typed schemas, shared by the server and the app. apps/server/API.md

Tests passing: core 218 · server 217 · teeth3d 46. Managed, memory-safe stack (TypeScript, no manual memory).

Cusp · codeLinc 11
Honest limits

What it is not, and what comes next.

Limits today

An estimate, not a claim decision. Your EOB has the final say.

Only as good as the plan terms and fees it is given.

Not medical advice. Your dentist decides the care.

Next

Try more carriers' real plan documents.

Look up network status from a provider directory.

Native-speaker review of the ten translations.

Cusp · codeLinc 11
Live demo

Let's try it.

My dentist says I need a crown on my lower left molar.
1Add the plan2Read the breakdown3Tap the tooth4Switch language
Cusp · Use your benefits before they run out. · github.com/teddytennant/codelinc
Speaker notes