LEVEL 3 · ENGINEER

Agent Budget Planner

A receipt-aware budget controller that keeps uncertain spending visible. Import execute_jobs and provide invoke(job) -> (value, actual_cost). Use unit=nano_dollars only when rates and receipts have actually been converted to that unit.

4 stages~8 hoursPythoncore
Estimate requests in integer microcreditsReserve capacity before dispatchSettle actual usage and release unused budgetSchedule within cost and time limits
YOU END UP WITH

A receipt-aware budget controller that keeps uncertain spending visible.

USEFUL FOR
  • Import execute_jobs and provide invoke(job) -> (value, actual_cost). Use unit=nano_dollars only when rates and receipts have actually been converted to that unit.
LEARN FIRST
  • Python 3.10+
  • functions, dictionaries, exceptions, integer arithmetic and callback functions.
WHY THESE LANGUAGES
  • Python The standard library makes parsing, scoring, and failure handling visible without hiding the mechanism behind a framework.
PROJECT OUTLINE

Agent Budget Planner in 4 stages

A receipt-aware budget controller that keeps uncertain spending visible.

  1. Estimate requests in integer microcredits

    Validate nonnegative integer token counts and rates, then compute the worst-case cost.

    starter · ~2 hours · Python

    integer accountingcost estimates
  2. Reserve capacity before dispatch

    Return a new ledger with a unique request reservation.

    core · ~2 hours · Python

    reservationsadmission control
  3. Settle actual usage and release unused budget

    Settle each request exactly once with actual cost no greater than its reservation.

    core · ~2 hours · Python

    settlementidempotencyimmutability
  4. Schedule within cost and time limits

    Schedule known job estimates under integer cost and millisecond limits.

    stretch · ~2 hours · Python

    deadlinestrace eventsbounded execution

All projects · Course catalog · Source on GitHub