oneshotlm
Compare all models on this prompt →

Piano synth · mistral-nemo

Using the pre-provided tone.min.js (global Tone), build a playable piano keyboard controlled by mouse and computer keys that synthesizes notes with an ADSR envelope and visual key feedback.

⚠ no runnable output

This one-shot run produced no runnable artifact.

agent produced no index.html

The transcript below shows what the model did — read it to see why the one shot fell short.

transcript · 5 messages
user

Using the pre-provided tone.min.js (global Tone), build a playable piano keyboard controlled by mouse and computer keys that synthesizes notes with an ADSR envelope and visual key feedback.

assistant
bash {"command":"ls -la /workspace"}
toolResult

toolResult

total 388 drwxrwxrwx 3 node node 96 Jul 22 17:52 . drwxr-xr-x 1 root root 4096 Jul 22 17:52 .. -rw-r--r-- 1 node node 349169 Jul 22 17:52 tone.min.js

assistant

```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Piano Keyboard</title> <style> body { font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background-color: #f0f0f0; } #piano { display: flex; justify-content: center; gap: 10px; } .key { width: 50px; height: 200px; border: 1px solid #ccc; display: flex; justify-content: center; align-items: center; font-size: 2em; cursor: pointer; } .key.active { background-color: #ddd; } </style> </head> <body> <div id="piano"></div> <script src="tone.min.js"></script> <script> const notes = ['C4', 'D4', 'E4', 'F4', 'G4', 'A4', 'B4', 'C5', 'D5', 'E5', 'F5', 'G5']; const piano = document.getElementById('piano'); let synth = new Tone.Synth().toDestination(); notes.forEach(note => { const key = document.createElement('div'); key.classList.add('key'); key.innerText = note; key.addEventListener('click', () => playNote(note)); key.addEventListener('mousedown', () => key.classList.add('active')); key.addEventListener('mouseup', () => key.classList.remove('active')); key.addEventListener('mouseout', () => key.classList.remove('active')); piano.appendChild(key); }); document.addEventListener('keydown', event => { if (notes.includes(event.key)) { playNote(event.key); document.querySelector(`div[data-note="${event.key}"]`).classList.add('active'); } }); document.addEventListener('keyup', event => { if (notes.includes(event.key)) { document.querySelector(`div[data-note="${event.key}"]`).classList.remove('active'); } }); function playNote(note) { synth.triggerAttackRelease(note, '8n'); } </script> </body> </html> ```

TAKE IT TO CODE

This run produced no artifact — reuse the prompt with a different model or your own pi-agent run.

RUN

modelmistral-nemo
vendorMistral AI
harnesspi-agent
generated2026-07-22

METRICS

runtime
tokens in275
tokens out595
cached2.8k
cost / run$0.0000