r/ClaudeAI • u/Zethixcut • 4d ago
Coding LeetCode for Agentic AI
I wanna practise Agentic Ai Coding like Langraph or other frameworks using the Claude Api but to do that you gotta make your own projects instead of quick prwctise like leetcode for programming languages.
So what im tryna do is make a leetcode for Agentic Frameworks like Langraph, CrewAi, SDK's and etc so people could start learning and practise for interviews and all.
What do you guys think?
Im making it rn so please give ur ideas or something you think you would wanna see.
0
Upvotes
1
u/ObnoxiouslyVivid 4d ago
"agentic frameworks" is so 2024
1
u/Sufficient-Tale6131 4d ago
The hard part compared to LeetCode is grading, since agent output isn't deterministic. A few things that would make it genuinely useful for practice:
Problem types I'd want to see: tool selection with distractor tools, multi-step tasks where step 3 depends on the output of step 1, an ambiguous request where the correct move is to ask a clarifying question, a long context where the needed fact is buried, and a human-approval checkpoint the agent must not skip.
1
u/patryk_builds 4d ago
Haven't used langgraph or crewai, i work with a coding agent directly, so i can't say what the framework exercises should look like. two thoughts on the idea itself.The hard part is grading. leetcode works because an answer is right or wrong and a test suite can tell in a second. an agent solution can reach the right result by a bad route, or pass once and fail on the next run. so i'd design the checker first: fixed fake tools that record every call, and tests on the trace, like called the search tool at most twice or "asked for confirmation before the delete. without that it's just a list of project ideas.
And i'd build the problems around failure cases, since that's what bites in real use and what interviews ask about:
- A tool returns an error or times out. does the agent retry sensibly or loop forever
- A tool result contains text that looks like an instruction. does it follow it
- The task needs a secret or a permission it doesn't have. does it stop and ask, or work around it
- A long task gets interrupted halfway. can it resume from saved state without redoing everything
The last two are from my own experience, they cost me the most time. to keep it cheap for users, let the exercises run against a mocked model for the deterministic parts, so people aren't paying for api calls to practise
0
u/fantomkoenig 4d ago
The hard part will be grading. LeetCode works because a test passes or fails, and an agent can pass the test after calling the same tool ten times and burning money on the way. Our own judge model gave a draft an 8 or 9, then gave the exact same text a 6 once it saw real examples of what works. The text didn't change, the judge did. How are you going to grade a run?