Loading...
Playground
Follow Claude Code as it receives your prompt, spawns subagents, and solves ML tasks with Read·Write·Bash·Glob tools!
Which ML task should Claude Code handle?
Each scenario is an ML task Claude Code would tackle in a real repo. The orchestrator delegates via Task(subagent=...), and each agent invokes tools.
Prompt
Customer churn prediction
“We have telco customer records in telco_churn.csv. Build an XGBoost classifier and reach at least AUC 0.80 on validation.”
🎯 Deliver a validated churn model with AUC ≥ 0.80
All subagents are assumed to run inside a Claude Code session.
💡 Turn Code off, press ▶ Play — the session stops at Write train_*.py.
8 steps · subtasks per agent
Roadmap of how the orchestrator splits the user prompt into 8 subtasks and delegates via Task(). ▶ Play highlights the current turn.
Problem to solve
Customer churn prediction
Deliver a validated churn model with AUC ≥ 0.80
Break the big problem into 8 subtasks
Find the CSV dataset matching the request
Build a trainable feature matrix
Design a classifier suited to tabular data
Find hyperparameters that maximize validation AUC
Write a reproducible training script
Check AUC target and data leakage
Save model artifact (deploy optional)
Toggle spawnable specialists ON/OFF
Orchestrator writes plans and delegates via Task(subagent=...) · each agent uses Read/Write/Bash/Glob tools
Active subagents 5/6
Subagents that the Claude Code orchestrator invokes via Task(). The orchestrator is always active; toggle the rest.
Spawn subagents via Task() · write .cursor/plan.md
orchestrator · Task() spawn · .cursor/plan.md
Glob/Read/Grep · Write/Bash preprocessing
Explore with Glob/Read/Grep · preprocess with Write/Bash
Write/Edit configs · Bash HPO
Write configs/*.yaml · HPO/tuning with Bash
Write/Edit train/serve scripts
Write/Edit train_*.py · serve_*.py
Bash evaluation & audit · Read metrics
Bash pytest/bench · Read metrics.json
Write manifests · kubectl/curl Bash
Write deploy/*.yaml · kubectl/curl Bash
Required for this scenario
Click to toggle · turn progress
The horizontal track shows subagent delegation order in the Claude Code session. Click a role to toggle spawn targets; the session resets.
Claude Code session
·Claude CodeYou can toggle subagents from both the roster and the session board.
Task delegation · tool use · context handoff
Each turn is subagent tool use. Inspect Glob/Read/Write/Bash calls and workspace context handoff.
Customer churn prediction
We have telco customer records in telco_churn.csv. Build an XGBoost classifier and reach at least AUC 0.80 on validation.
🎯 Deliver a validated churn model with AUC ≥ 0.80
Press ▶ Play to start the Claude Code session.
Did all required turns pass?
Active subagents
4
Total turns
8
Turns done
0
Required roles
4
Press ▶ Play or Step to run the Claude Code session.