Capability

AI-assisted making

The AI view is a project workspace, not a separate chat toy. It helps draft scripts, maintain a specification, and keep revision-specific reasoning near the code that came from it.

Working With AI

01

Add an API key to use built-in AI

Add an OpenAI API key in Settings when you want XOBIT to generate and revise inside the browser. Without one, you can still use the guide with your own LLM in another tab.

02

Chat shapes the next change

Ask for a concrete change, explanation, or cleanup. The useful answer is tied to the current revision, so code, notes, and reasoning stay near the work they affect.

03

Specification records intent

The specification is the readable description of what the sketch should do. Keep behavior, parts, assumptions, and constraints clear so later revisions have better memory.

Useful Prompts

Make this sketch non-blocking and keep the same behavior.
Add a slider for brightness and a button to reset the animation.
Update the specification to match this code and list wiring assumptions.
Explain why this compile error happens before changing the sketch.

When a generated script uses pins, ask for `// xobit-circuit:` comments too. They help the Circuit view understand physical parts the code alone cannot prove.

Related Reference