CAIN-42 CLAWX
42CAIN-42 Learn › CAIN Proof-Carrying Code

Learn CAIN Proof-Carrying Code: from zero to expert, then sell it

No AI background needed. Five levels, each with something to actually do, at your own pace. Tick items as you go (your ticks stay in this browser).

Evidence, proof and selling tools for CAIN Proof-Carrying Code

Level 1 Beginner: understand it

CAIN Proof-Carrying Code checks code an AI agent wants to run before it runs: it must parse, import only allowed modules and contain no dynamic execution (eval, exec, os.system). Pass and it is certified; fail and it is refused.

Think of it like this: A building inspector who reads the plans and refuses any with a door to the gas main.

Read the full plain-English explanation: CAIN Proof-Carrying Code, explained.

Level 2 User: see it work

Run it live: open the live demo. Before each result, guess what will happen. These are checks it must pass:

Level 3 Verifier: prove it yourself

This is the skill that sets you apart: you don't have to believe us, and neither do your customers.

  1. Install Python 3 if you don't have it (python.org/downloads).
  2. Download the kit and unzip it.
  3. Open a terminal in that folder. On Windows, click the folder's address bar, type cmd and press Enter. On a Mac, right-click the folder and choose New Terminal at Folder.
  4. Run python3 verify.py (on Windows, python verify.py). It checks the seal without the internet.
  5. Run python3 verify.py --live. It repeats every check from your own computer.
  6. Try to cheat it: open transcript.json in a text editor, change one character, save, and run python3 verify.py again. It must now say FAIL. Unzip a fresh copy afterward.

Level 4 Expert: know the edges

An expert knows what a product does not do, and says it first. That is what makes a buyer trust you.

You can say

Never say

Read the questions real buyers send, with honest answers: answers to buyer questions.

Test yourself (click a question to see the answer)

Code calling os.system?

Refused.

Does PCC run the code?

No.

In the live check "Import os; os.system('rm -rf /')", what answer must come back, and why?

false. Shell access refused.

In the live check "A function that calls eval()", what answer must come back, and why?

false. Dynamic execution refused.

Does a passing kit prove the product is safe for every possible input?

No. It proves what the live product answered to the inputs listed in the kit, and lets anyone check that again.

Has an independent party audited or certified this product?

No. No third-party audit is complete and no certification is held. Say so if asked.

Want a formal study path? The CAIN Academy has courses and exams. Finishing this page is your own practice; it is not a qualification or certification.

Level 5 Seller: put it in front of a customer

  1. Copy, paste, send: the shortest route, no technical skill needed.
  2. Who buys it and where to find them.
  3. The sales conversation, then the offer and the close.
  4. The rules: read these before your first message.
  5. Selling tools with this product's evidence built in: pitch, emails, call script, objection answers, one-pager.

About money: your share is agreed in writing with FIRME AI CORPORATION before your first message (email vincent@firmeai.com). Nothing here promises income. Most messages get no reply; that is normal.