Prerequisites
- A Veryfront project from Create project.
- An
agents/directory. For a minimal setup, runmkdir agents.
Define the agent
Createagents/assistant.ts:
id.
Verify it worked
Confirmagents/assistant.ts exports the assistant agent. The next page uses
that id in the API route.
Next, expose the agent with Create API.