All projects

SadhanAI

A coding-practice platform where AI generates problems, test cases, and assignments from a single prompt — built solo, end-to-end.

sadhanai.com
01

At a glance

1
developer
single prompt
→ full problem
Org
model
Live
in production
02

How it works

01PromptUser describes desired problem in natural language.
02PlanLangGraph agent decomposes into spec + constraints.
03GenerateSynthesises problem statement, examples, test cases, edge cases.
04ServeStores in Postgres + pgvector, exposes via Next.js UI.
03

Architecture

User promptNext.js · UIFastAPILangGraphPostgres + pgvectorProblem + tests
04

Features

Problem genLangGraph agentic workflow synthesises full problems + test cases from a single prompt.
Debug modeAI emits intentionally broken code; users diagnose and fix it.
Live assistanceReal-time coding help while solving, post-submission code analysis after.
BundlesOne-prompt problem bundles. Generate and share with friends.
Org modelTeams → batches → instructors → assignments. Admins see time-per-student, completion rates, progress.
AuthBetter Auth + Google OAuth for secure user management.
05

Screenshots

// homepage.png
Homepage
// problem-view.png
Problem View
06

Full stack

Next.jsFastAPILangGraphPostgreSQLpgvectorBetter AuthGoogle OAuthDockerGCP