Prerequisites
Before you start, you’ll need Node.js^22.18.0 || >=24.0.0 (Node 23 is not supported).
1. Install the CLI
Install thekeystroke command globally.
2. Connect the CLI
Link the CLI to your Keystroke account.3. Scaffold a new project
Scaffold a new project from the default template.keystroke.config.ts, a committed tsconfig.json, a src/
directory with an example agent and workflow, and an AGENTS.md guide so your
coding agent knows how Keystroke works. Project scripts call the Keystroke CLI
for lint, typecheck, build, and test; the template includes TypeScript, Vitest,
and Node types for authoring and editor support.
Your local codebase is where you build. Your platform project is where Keystroke runs the deployed version for your team.
4. Deploy to the platform
List your platform projects:dist/ artifact. Your agents, workflows, and triggers now run in the cloud platform. Pass --project <slug> to deploy to a different project without changing keystroke.config.ts.
You do not need to run keystroke lint, keystroke typecheck, or keystroke build first — keystroke deploy runs those checks automatically and fails if anything is wrong.