Jev
Let's build your form
Jev by TypeSafe AI

Build a lead form that sorts hot, warm and cold

Jev is a new kind of AI from TypeSafe AI. It doesn’t chat. It makes quick decisions in a fraction of a second, for a tiny fraction of a cent.

You’ll have Claude build a lead form on your computer. As a buyer fills it out, Jev sorts them into hot, warm or cold, live. You won’t write any code. Claude does the building.

Your progress saves automatically, so you can stop and pick it back up anytime.
(1)
Step 1 of 8

Make an OpenRouter account

OpenRouter is the site that connects you to Jev. Click the button below and sign up with Google, GitHub or your email.

🔑 OpenRouter sign-upOpen → The OpenRouter sign-up screen with the Google button highlighted

Google is the fastest way in.

1
Already have an OpenRouter account? Sign in and skip to step 2.
(2)
Step 2 of 8

Add $5 of credit

Open the Credits page and buy $5, the smallest amount. The card fee adds under a dollar.

💳 OpenRouter CreditsOpen →
1
Sorting one lead costs a tiny fraction of a cent, so $5 lasts a very long time.
2
Leave auto top-up off. That way you can never spend more than the $5 you added.
(3)
Step 3 of 8

Make a key with a $5 limit

Open the Keys page and create a new key. Name it Lead Form and set its credit limit to $5. Copy the key and keep this tab open.

🗝️ OpenRouter KeysOpen →
1
Your key works like a password for your credit. Never post it, email it or put it on a web page.
2
The $5 limit is your safety net. Even if something goes wrong, this key can’t spend more.
(4)
Step 4 of 8

Open Claude in a new folder

Make a new folder on your Desktop called lead‑form. Open the Claude desktop app and click Code at the top. Press Cmd+N (Ctrl+N on Windows) and pick your lead-form folder.

The Claude desktop app top bar with the Code button selected

Click Code, not Home.

1
Claude builds everything inside that folder, so your other files stay untouched.
Use Codex or Cursor instead? Open the same folder there. The prompt in the next step works in both.
(5)
Step 5 of 8

Paste the build prompt

Copy this, paste it into Claude and press Enter. You don’t need to change a thing.

Build me a simple lead form website that runs on my computer. Use Node.js with no framework, and keep it to a few small files in this folder.

THE FORM (what a buyer lead sees)
One question per screen, big buttons, works on a phone:
1. First name
2. Email
3. Phone
4. When do you want to move? (In the next 30 days / 1 to 3 months / 3 to 6 months / 6 months or more / Just curious)
5. How will you pay? (Pre-approved for a mortgage / Paying cash / Not pre-approved yet / Not sure)
6. Do you need to sell a home first? (Yes / No)
7. Anything else you want me to know? (optional text box)

THE SORTING (Jev from TypeSafe AI, through OpenRouter)
After each answer to questions 4, 5 and 6, ask Jev how hot the lead is and update a live Hot / Warm / Cold meter with the percentages.
- Jev does NOT use the chat completions endpoint. Call POST https://openrouter.ai/api/alpha/decisions with the headers Authorization: Bearer <key> and Content-Type: application/json.
- Request body:
{
  "model": "typesafe/jev-1.13",
  "state": { the answers to questions 4, 5 and 6 so far },
  "questions": {
    "temperature": {
      "type": "choice",
      "instructions": "How ready is this lead to buy a home with an agent soon?",
      "criteria": {
        "hot": "Ready to buy within about 3 months and has financing or cash lined up.",
        "warm": "Serious about buying, but 3 to 6 months out or still getting financing ready.",
        "cold": "Just curious, 6 or more months out, or has no plan yet."
      }
    }
  }
}
- The result is in answers.temperature: "choice", "confidence", and "probabilities" for hot, warm and cold.
- Read the official tutorial first so you get it exactly right: https://openrouter.ai/docs/guides/community/jev-tutorial

SAFETY RULES (don't skip any)
- My OpenRouter key goes in a .env file as OPENROUTER_API_KEY. Only the server reads it. Never put it in the web page. Add .env to .gitignore.
- Only send Jev the answers to questions 4, 5 and 6. Never send the name, email, phone or the "anything else" box. Save those with the lead for me to read myself.
- A lead score must never use race, color, religion, national origin, sex, disability, familial status or age. Those are fair housing protected classes.
- If Jev's confidence is under 0.6, label the lead "Needs a human look" instead of hot, warm or cold.
- Keep the model pinned to typesafe/jev-1.13.

THE ADMIN VIEW
Split the screen: the form on the left (about 60%), and on the right a simple admin panel with the live hot, warm and cold percentages and a list of submitted leads with their final label. Save submitted leads to a leads.json file in this folder.

WHEN YOU'RE DONE
Ask me to paste my OpenRouter key, save it to .env, start the server, and give me the link to open in my browser. Explain anything I need to do in plain English, one step at a time. If I need to install Node.js, tell me exactly how.
1
Claude may ask to create files or run commands. Click Allow. It stays inside your folder.
2
If Claude says you need Node.js, click the button below, download the LTS version, install it, then tell Claude done.
⬇️ Node.js downloadOpen →
(6)
Step 6 of 8

Paste your key when Claude asks

When Claude asks for your OpenRouter key, paste the key you copied in step 3 and press Enter. Claude saves it, starts your form, and gives you a link.

1
The key goes in a hidden file on your computer that only the form’s server reads. It never shows up on the page.
2
Lost the key? Go back to the Keys page and make a new one the same way.
(7)
Step 7 of 8

Test it with two fake leads

Open the link. Fill out the form twice and watch the meter move after each answer.

1
A ready buyer: moving in the next 30 days, pre-approved, no home to sell. It should lean hot.
2
A browser: just curious, not pre-approved yet. It should lean cold.
3
Every lead lands on the right side with its label. They’re also saved in leads.json in your folder.
(8)
Step 8 of 8

Use it the right way

Jev sorts. You decide. Keep these three rules and you’re set.

1
Score the plan, never the person. Your form only sends Jev the timeline, the money and the home to sell. Keep it that way.
2
Call everyone. The label tells you who to call first, not who to skip.
3
“Needs a human look” means Jev wasn’t sure. Read those leads yourself.
It runs on your computer for now. To put it on your website, ask Claude: Help me put this form online, step by step.

Your leads sort themselves

A lead form that tells you who’s hot the moment they answer, built without writing a line of code.

OpenRouter account made
$5 of credit, auto top-up off
A key with a $5 limit
Form built by Claude
Tested one hot lead and one cold lead
Fair housing rules built in
Free Trainings

Want to go deeper with AI?

I teach this stuff step by step. All my trainings are waiting for you.

Watch my free trainings →

More step-by-steps at stringersteps.com