Agent Code Artifact | AI SDK Agents
Agent code artifact
What should we write?
Python streams into an editor beside the chat. Run it in your browser.
An iterative factorial, with a check for negatives
The mean of a list, safe on an empty one
Parse JSON and report a bad payload clearly
A small command line tool with two flags