Skip to content

let's add AI to omnibloxks #757

@supervoidcoder

Description

@supervoidcoder

with all the hate on scratch, it only compels me to create a GOOD AI. Ai isn't inherently bad. But what Scratch did was an atrocity, a disgrace to its own goals.. well, let's do AI the good way!

everything is stored locally

you may be asking, "how are you gonna use AI if you don't pay for it?"
well, it depends on the users. you can choose to use Gemini, OpenAI, Claude, etc. api keys of your own, but those are sorta hidden away/unrecommended unless you have a potato. the other options are your local AI either using our own algorithm from WebGPU or setting up ollama locally and setting up a bridge. you just need a bit of storage and something that isn't a potato (even my school laptop can load a tiny model at decent speed).

but if the AI is so slow, what's the point?
nope.
the AI wont be a stupid chat bar like every other stereotypical AI now. It's for kids, and why go with the soulless generic crap? It will be a small assistant in the form of Boxy tucked away like clippy, and it shows a small text bubble to talk and chat on. this keeps chats not focused on the AI as much, and anthropomorphize it a little . the AI will focus on small feedback. the best part? through tool calling, the AI can choose to move boxy on the screen. this lets AI point to buttons, blocks, and give specific step by step feedback on them. this not only makes it better for potato users (less context for the AI) but it's way more user friendly too, so it's a win-win.
for project editing, it CAN edit. other AI tools for Scratch (both official and unofficial) edit the project by just like... magically popping up blocks on the editor. yknow, like every other AI tool literally everywhere. well, no. Boxy will grow arms, go to each category, and pick out blocks and drag them in their place so you learn what's actually happening. to save context, the AI can just spit out a bunch of scratchblocks and where to place them, but they are buffered by the animations.
while Boxy will be super nice to everything, it will passively agrressively kindly roast you if you ask it to vibe code specifically

boxy quote: "Sorry, buddy. I can suggest things to you, help you learn a concept, or brainstorm fun things, but if you're here to vibe code, this ain't the place for you, pal."

lol

we can start small in order. first we can make the animations. then we make it work with onnx runtime webgpu and run a small model. that's all we need.

Metadata

Metadata

Labels

High-PriorityNeeds immediate attention,bugSomething isn't workingenhancementNew feature or requestjavascriptPull requests that update javascript code

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions