Step 1 of 4 · Enable Agents
First Agent
Edit and run the code of each step in your browser. The first start installs the app, which takes a few minutes.
Add an Agent that greets a name and returns JSON. An Agent Definition declares the work; its Driver runs it. This first Driver is a function, so it runs offline after installation and needs no model account or credentials.
Before you start
Complete Installation and check
/api/health in your app. You need Node.js 22.22 or newer and pnpm.
Continue in that project directory. The configuration below uses the Vite
and Nitro path. In Nuxt, put the same ViteHub options in your module config;
the Agent Definition and server route stay the same.
Starting the workspace