What is CodePal?

CodePal is an AI training partner for competitive programming. It helps students prepare for Codeforces contests, ICPC regionals, and national olympiads — at a fraction of the cost of a private tutor.

Unlike ChatGPT or generic coding assistants, CodePal doesn’t give answers. It uses the Socratic method: asking guiding questions, nudging the student toward the solution, and building real problem-solving skills.

Key Features

  • Socratic AI tutor — guides through problems with questions, not answers
  • Built-in code editor — C++ and Python with syntax highlighting, runs in the browser
  • Session memory — the tutor remembers your progress across sessions and adapts to your level
  • Contest-focused — problems and training paths aligned with Codeforces, ICPC, and olympiad formats

Why I Built This

This project grew out of a real need. I mentor a competitive programming student preparing for regional olympiads. He has a great teacher, but sessions are once a week. Between lessons, he needs daily practice with someone who can guide — not just check answers.

I tried general-purpose AI tools. They either give the solution outright (killing the learning) or lack the competitive programming context. So I built a specialized tutor that knows the domain and teaches through thinking.

More about the journey: Teaching My Kid Programming with AI.

Tech Stack

  • Frontend: Next.js (React)
  • AI backbone: Claude Opus 4.6 (premium tier), GPT-5 (base tier)
  • Infrastructure: servers in Russia, browser-based code execution
  • Method: Socratic dialogue with adaptive memory

Try It

codepal.ru — free tier available (1 session/month).