What belongs to a project?
Projects group the code and operational resources for a specific area of work:- Agents decide what to do when the steps are not fully known.
- Workflows run known steps reliably.
- Actions are typed capabilities agents and workflows reuse.
- Triggers start agents or workflows automatically.
- Skills teach agents how to do a job.
- Files give agents static context to read.
- Credentials let actions connect to external services.
- Run history shows what happened after agents and workflows run.
- Members can build, deploy, and manage the project.
How code fits in
A project is defined in TypeScript. The codebase behind a project is the source of truth for the agents, workflows, triggers, actions, skills, and files it can run.keystroke init scaffolds that codebase with a standard layout:
src/ by convention. Add a file that exports an agent, workflow, or trigger, and it becomes part of the project. Lint, typecheck, and test tooling ships in @keystrokehq/cli — not in project devDependencies. Because the project is code, your coding agent can read it, change it, run tests, and maintain it over time. See AI onboarding.
How to use projects
To build agents, workflows, etc, you edit the codebase and deploy it to a project — Keystroke is deploy-first. Deploy often: a full deploy ships everything, or--filter redeploys a single module fast.
keystroke deploy and other project-scoped commands use the slugs in keystroke.config.ts automatically. You can also run a local server with keystroke dev for offline iteration; see targets: local vs cloud for the full model.
You can also create and build projects from a chat-first agent over the Keystroke MCP server — it works in a hosted workspace and deploys to the same platform.
To go the other way — get an existing project’s code onto your machine — keystroke pull downloads its active deploy source into a local directory. See deploy a project.
Next steps
Manage projects
Create projects, invite teammates, and manage project settings.
Deploy a project
Deploy a TypeScript codebase to run on the platform.
Deploy individual files
Keep work-in-progress modules out of deploys.
Pull a project
Download a project’s active deploy source into a local directory.
Run history
Inspect the agents and workflows that have run in a project.