Before you start
You need Node.js 22.18 or later and npm. Check your version withnode --version.
MCP and CLI tool calls run without a model key or Flow account. The messaging agent needs a
model; you can use your own provider key or Flow’s trial setup.
Create your project
1
Create the starter
Run this from the folder where you keep your projects:Use lowercase letters, digits and dashes for the folder name.
Terminal
--display-name is what
people call your agent.Already in an empty project folder?
Already in an empty project folder?
Use
init instead of new:Terminal
2
Choose how to try it
- MCP & CLI
- Messaging
Start the MCP server:It prints its MCP URL and a command to connect Claude Code. Keep it running.
In another terminal in the same project, read the café menu:Check it worked: you should see JSON with a
To try the same tools in an assistant, connect the MCP URL using the command printed by
the server. Remote hosts such as Claude or ChatGPT need a public HTTPS endpoint:
see MCP servers.
First terminal
Second terminal
menu array, including the café’s drinks,
prices, milk options and allergens.See the shape of the result
See the shape of the result
This is an excerpt; the starter returns the full menu.
3
Make it your product
Add your own tools in Check it worked: the command reports no configuration problems. Then exercise a real
request in the interface you chose.
src/tools.ts, write workflows in agent/skills/ and replace the café’s
instructions in agent/AGENTS.md. The starter also includes coding-agent skills in
.claude/skills/.Check the tool and CLI definitions:Terminal
Where to edit
If something does not connect
The MCP server chose another port
The MCP server chose another port
The starter uses Replace 8791 with the actual port. The variable name is derived from the project name.
MCP_PORT, else port 8790 or the next free port. Use the URL it prints.
For this my-agent project, set MY_AGENT_SERVER to that URL when running the CLI:Terminal
The messaging agent says no model key is set
The messaging agent says no model key is set
Run
npx @flow-engineer/flow link for Flow’s trial setup, or add your provider key to .env.
Restart npm start after changing environment values.The phone link works but the agent does not answer
The phone link works but the agent does not answer
Keep
npm start running and restart it after link writes keys or a channel sender.
WhatsApp and iMessage trial channels reply after you write first. Run
npx @flow-engineer/flow status to see what the folder has and what is missing.Add your first tool
Implement a capability and call it from the CLI.
Explore the playground
Inspect tool calls, switch channels and test sign-in.