AI coding assistants regenerate the same functions on every prompt. yakcc gives them a shared, verified library to pull from instead — across TypeScript, Python, and Go.
npm install -g @yakcc/cli@alpha Requires Node 18+. Paste into your terminal.
When an AI assistant in your editor needs a small function — to parse a date, validate an email, debounce a callback — it generates the code from scratch every time. The same dozen functions get reinvented across every codebase, each with subtle differences, each verified only by the tests you happen to write, each shipped to your users as part of your bundle.
yakcc is a shared library of those functions. Each piece — we call them atoms — comes with a stated contract, a small implementation, and property tests that prove the implementation matches the contract. When the AI in your editor reaches for "a function that validates an email," yakcc serves the verified atom that already exists instead of letting the AI generate a new one.
Atoms are identified by the hash of their content, so the same logical function always has the same identity — no matter who wrote it or when. They work across TypeScript, Python, and Go through a single shared format. The library is offline-first: the whole pipeline runs without ever touching the network. The public registry grows as developers contribute new atoms; every atom contributed once is available to everyone, forever.
Honest accounting of what is proven, what is in flight, and what is not yet built.
import validator from 'validator', yakcc
swaps in a 6-function atom — 98.8% fewer reachable
functions, same correctness.