Design AI flows for Apple's on-device model.
Build agents, tools and knowledge bases. Wire them into a flow, run it against the real model on your Mac, and export a Swift package your app can use.
Free · Requires macOS 27 and Apple Intelligence
Six pieces, each with one colour and one job.
The same colours appear on the canvas, in the inspector and in the trace, so you can see at a glance what each part of a flow does.
Start
The fields your app sends in: a question, a product ID, the user's last few messages.
Agents
Instructions plus a typed output: plain text, a choice from a list, or a structured object with nested fields.
RAG indexes
Your help center, manuals or lessons, split and indexed so an agent can find the right passage before it answers.
Tools
Functions the model can call. Define the arguments and result, and test with a mock response before you write the real code.
Branches
Route on an agent's output with simple checks such as equals, contains, is empty or greater than.
End
Each end becomes a typed case in the result your app receives, so Swift's compiler checks every path.
From idea to Swift package in four steps.
Build the pieces
Create agents, tools and knowledge indexes. Run any agent on its own to check its output.
Connect a flow
Place them on the canvas and connect them. Vicaya flags unconnected paths and type mismatches as you go.
Run and trace
Send a real input through the real model and see each step: what was routed, retrieved and returned.
Export
Generate a Swift package and add it to your app in Xcode. The same code that ran in the studio ships in your app.
screenshots/flow-canvas.pngTry Vicaya Studio on your Mac.
Free download. Your documents, prompts and test runs never leave your machine.