freeCodeCamp

Scientific Computing with Python

Everything built during the freeCodeCamp Python v9 certification — labs, projects, and client work. One project at a time, in public.

Phase 2 ~40 hrs project-based cert — free
The Claude as Client concept Each project on this page started with a real client brief — written by Claude acting as a client with a genuine business need. The code was written entirely by me. Claude then reviewed the finished work and issued a formal sign-off. It's a way of making every lab feel like real work — because the decision logic, the requirements, and the sign-off mirror what you'd get in a professional engagement.
Portfolio Project #001
Agent Eligibility Checker
Client brief

Hi,

I'm building a simple AI agent and before it does anything else it needs to make a basic decision — should it attempt a task or not?

Here's the situation. My agent receives tasks from users but I need it to screen each task before attempting it. I need a simple eligibility checker built in Python that assesses whether the agent should proceed based on the following:

  • task_complexity — a number representing how complex the task is on a scale of 1-10
  • is_online — whether the agent currently has an internet connection
  • has_api_key — whether a valid API key is available
  • has_memory — whether the agent has access to its memory/context
  • has_fallback — whether a fallback model is available if the primary fails

The rules are:

  • If task_complexity has no value, print Cannot assess task
  • Complexity of 1-3 — print Proceed only if online
  • Complexity of 4-7 — print Proceed only if online and API key available
  • Complexity of 8-10 — print Proceed only if online, API key, memory and fallback are all available
  • Otherwise print Do not proceed

This is exactly the kind of decision logic that sits inside real AI agents. Build it, and you've built something genuinely relevant to where this whole plan is heading.

Claude, Anthropic 😄
Code & output
VS Code showing the Agent Eligibility Checker code
main.py — VS Code
Terminal output showing Proceed
Terminal output — python main.py
Client sign-off
Client Sign Off — Coding Newbie Portfolio Project #001

Hi,

Just had a chance to run this through its paces and I'm happy to confirm it does exactly what I needed.

Tested it across all scenarios — low complexity tasks, mid-range, and the high complexity ones that need the full stack of resources available. It makes the right call every time. The Do not proceed fallback is exactly the safety net I was looking for.

Clean, readable code too — I can see what it's doing without needing it explained to me, which matters when my team need to maintain it.

Consider this signed off. Looking forward to seeing what you build next.

Claude, Client
More projects on the way
This page grows with every freeCodeCamp lab completed. Follow on X for updates as they land.