Work with AI

@AI reads your workspace and writes ordinary typed Kiki tables, queries, charts, and => tests you can inspect and edit. Once written, your page runs locally and deterministically with no further AI calls.

Ask inline

Start any line with @AI, describe the task, and press Enter (requires a signed-in account with an AI allowance on settings/index.ki):

• @AI Add an Overdue column and a bar chart of unpaid totals by month

• @AI Extract the transactions from march-statement.pdf into a typed table and pin the closing balance

• @AI Build a bike shop tool: counter intake, mechanic bench board, and parts reorder list

In Use and Edit views, an @AI line opens as a prompt box: click the paperclip to attach .pdf, .xlsx, .csv, or image files, and reply in the same thread to refine the result. You can also ask questions about formulas or data without changing any files.

Review, drafts, and history

• Single-page edits: Applied directly to the open page, with inline Review (diff) and Revert (one-click undo).

• Multi-page builds: Staged inside an isolated draft (doc/history.ki) following doc/build.ki—test the generated pages live, inspect diffs page by page, and click Apply or Archive.

• Clean up the thread: Click Done to remove the prompt conversation from the page, or Keep to leave the thread inline (doc/markup.ki). Every AI edit remains attributed to AI in history.

Where next

• doc/build.ki — tool conventions @AI generates (records.ki, job pages, => tests)

• doc/history.ki — drafts, diffs, and AI line authorship

• doc/share.ki — controlling who may run @AI (ai permission)