AI Agent
How the agent reads, plans, and writes code across your project
The agent reads your entire codebase before making changes. It knows what files exist, what functions are defined, and how components relate to each other. When you ask for something, it writes code that fits your project — not generic boilerplate.

What it can do
| Task | How it handles it |
|---|---|
| Build features | Reads the codebase, plans the implementation, creates and edits files |
| Fix bugs | Paste an error message or describe the behavior — it traces the issue and patches it |
| Refactor | Extract components, rename across files, restructure modules |
| Explain code | Ask about any file or function and get an answer grounded in the actual source |
| Database work | Create tables, write queries, configure auth, set up RLS policies |
How a request flows
You describe the change
Type what you want in the chat panel. Be specific — the more detail, the better the result.
The agent writes a plan
It reads the relevant files, identifies what needs to change, and lists the steps it'll take.
You approve or adjust
Review the plan. If something's off, say so and the agent revises. Approve when it looks right.
The agent executes
It writes code, creates files, installs packages, and runs migrations — then the preview updates automatically.