Today, we're releasing three new CodeCrafters challenges on Applied AI:
Nov 19th, 2026 · 3 min read
New CodeCrafters challenges
What will I learn?
Build your own Tokenizer
Give GPT-2 the word strawberry and it splits it into three pieces: st, raw, berry. Put a space in front and the same word is one token, because the spaced version already sits in its vocabulary. Those pieces are all the model ever sees.
You'll write the tokenizer that produces them. It learns which character pairs to merge, turns text into token IDs, and decodes those IDs back into text. In the last stage, your program gives GPT-2's own IDs for the same text.
Build your own Inference Engine
GPT-2 writes one token at a time, and each new token means another run of the model. The program that does those runs is an inference engine. You'll write one for GPT-2 and match its output.
You'll load its weights, build the attention and transformer block that turn a prompt into the next token, then add the key-value cache that stops each new prediction from recomputing what the last one already worked out.
Build your own Firewall
Most attacks reach an application as an ordinary HTTP request. To tell one from normal traffic, something in front has to read each request the way the application will. You'll build that: a reverse proxy that scores each request against attack rules and asks a model to judge the ones that look risky.
The hard part is blocking attacks without turning away real users. You'll tune the thresholds, inspect request bodies and responses within size limits, keep protection working when the model fails, and finish by patching a vulnerable endpoint.
You're making new challenges again?!
Kinda! In May, we paused new challenges.
Since then we've been working on two questions. How fast can we turn an idea into a challenge we're happy to ship? And how do we pick topics that match the skills developers want for their careers?
Applied AI is where we're starting. These three challenges are our first answer to both, and they're in Early Access.
Give one a try
All three challenges are open to CodeCrafters members today. Once we've had a chance to refine them more, we'll open them to everyone in beta. Pick one from the catalog, and please email sarup@codecrafters.io with your feedback. We can't emphasize enough how valuable those are. We respond to all of them.
We're also working out what comes after challenges. One early idea is a track that teaches you to apply AI to your own engineering work. If you're in a position to represent your employer and help shape our Applied AI Engineering track, let's talk. We're actively seeking enterprise design partners.
And if one of our challenges made you a better or more confident programmer, please tell us. Those notes are the reason we keep going.