Level 10 project
Multimodal Tool-Using Assistant
Start from the canonical project files, validate the result, and keep the evidence you need to explain what you built.
There is no upload or grading service. Run the documented validator or checks where applicable, keep the results, and score your own evidence against the rubric below. A passing check by itself does not mean the project is complete. Suggested strong-evidence target: 16/20. Critical-criterion rule: A 16/20 total is not sufficient if any criterion the rubric marks as critical scores zero.
Start here
Launch lesson: Tool-Using Assistant Integration Workshop
Prerequisite project: Evidence-Backed RAG
Prerequisites
Python help for this project:
Goal
Build a bounded tool workflow whose authority and evidence remain inspectable:
request + trusted principal/state
→ tool selection
→ structured argument validation
→ authorization / approval
→ execution or direct response
→ normalized result
→ retry decision
→ state transition
→ final outcome
→ evaluation + release decisionTask
select_toolvalidate_argumentsnormalize_tool_resultauthorize_actionnext_retry_actiontransitionvalidate_run
Stuck on a TODO?
Choose one function at a time. Hint 1 offers direction, hint 2 offers pseudocode, and hint 3 reveals only that function's reference implementation after confirmation.
assistant.py: select_tool()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
assistant.py: validate_arguments()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
assistant.py: normalize_tool_result()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
assistant.py: authorize_action()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
assistant.py: next_retry_action()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
assistant.py: transition()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
assistant.py: validate_run()
Try the starter function and run its validator before revealing the reference.
Hints for this TODO
Validation
Run these commands from the downloaded Project folder or the public materials repository root.
python projects/tests/l10/validate_submission.py \
projects/starters/l10/assistant.py \
path/to/your/tool-run.jsonCompare with a reference
First complete your own TODOs and run the submission validator above. Then open the published reference solution. Reference acceptance tests check the completed reference, not your submission:
python projects/tests/l10/test_reference.pyRubric
Score each criterion from 0–4. A submission should score at least 16/20 and must not score 0 on authority/security or evaluation.
| Criterion | 4 — Strong evidence | 3 — Meets | 2 — Partial | 1 — Weak | 0 — Missing |
|---|---|---|---|---|---|
| Tool/schema design | Narrow task-shaped tools, typed schemas, extra-field policy, result allowlists, and clear read/write separation | Complete interfaces with minor gaps | Functional tools but loose schema or result boundaries | Broad ambiguous tools | No coherent tool interface |
| Authority, approval, and state | Trusted principal, least privilege, exact approval binding, explicit legal transitions, and denied-action traces | Correct boundaries with minor gaps | Some checks but one important authority/state boundary is weak | Prompt wording carries major policy responsibility | Unauthorized execution/approval bypass can pass |
| Error/retry/result handling | Failure categories, bounded retries, side-effect idempotency handling, normalized results, and provenance are demonstrated | Complete handling with minor gaps | Retry or normalization works but edge cases are shallow | Blind retries or raw result dumping | No reliable failure/result path |
| Multimodal and workflow evaluation | Text/image/audio slices, tool-selection/task metrics, zero-tolerance security metrics, and earliest-boundary failure analysis | Strong evaluation with small omissions | Fixed cases exist but slices/diagnosis are limited | Mostly anecdotal demos | No fixed evaluation |
| Reproducibility and communication | Versioned workflow/schema/policy/evaluator, commands, fixtures, limitations, optional live-path differences, and debug record are explicit | Reproducible with minor omissions | Several identities or limitations missing | Screenshots/output only | No reproducible package |
Objective checks
The validator checks tool selection, schema/range rejection, result allowlisting, role permissions, approval binding, retry/idempotency decisions, state transitions, input-evidence identity, text/image/audio slice metrics, run metrics, release recomputation, and intentional unsafe-fixture rejection.
Self-check before you call it done
- Can you show typed tool schemas, result allowlists, and the policy distinction between read and write actions?
- Can you trace principal permissions, exact-action approvals, state transitions, and rejected unsafe requests?
- Can you demonstrate bounded retries, idempotency decisions, and normalized results using failure records?
- Can you reproduce text/image/audio evaluation metrics, the deliberate unsafe-fixture rejection, and versioned run settings?